body {
    background: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, 'Geneva', Verdana, sans-serif;
    translate: "no";
}

*{
    box-sizing: border-box;
    margin: 0;
    text-decoration: none;
}

form {
    width: 400px;
    border: px solid #ccc;
    padding: 5px;
    background: #fff;
    border-radius: 15px;
    margin: 0 auto;
}

/* Styles untuk tablet */
@media (max-width: 768px) {
  form {
    width: 60%;
  }
}

/* Styles untuk smartphone */
@media (max-width: 480px) {
  form {
    width: 90%;
  }
}

input {
    display: block;
    border: 2px solid #ccc;
    width: 95%;
    padding: 10px;
    margin: 10px auto;
    border-radius: 10px;
}

.input1 {
    display: block;
    border: 2px solid #ccc;
    align-items: left;
    padding: 10px;
    margin-left: -160px;
    border-radius: 10px;
}

select {
    display: block;
    border: 2px solid #ccc;
    width: 95%;
    padding: 10px;
    margin: 10px auto;
    border-radius: 10px;
}

label {
    color: #000;
    font-size: 16px;
    padding: 10px;
}

textarea {
    display: block;
    border: 2px solid #ccc;
    width: 95%;
    padding: 10px;
    margin: 10px auto;
    border-radius: 10px;
    resize: none
}

.chat {
    width: 95%;
    border: 0px solid #ccc;
    padding: 5px;
    background: #fff;
    border-radius: 0px;
    margin: 0 auto;
    margin-top: 0px;
}

.chat input {
    display: block;
    border: 2px solid #ccc;
    width: 95%;
    padding: 10px;
    margin: 10px auto;
    border-radius: 5px;
}

.chat textarea {
    display: block;
    border: 2px solid #ccc;
    width: 95%;
    padding: 10px;
    margin: 10px auto;
    border-radius: 5px;
    resize: none
}

.daftar {
    width: 450px;
    border: 0px solid #ccc;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    margin: 0 auto;
}

.daftar input {
    display: block;
    border: 2px solid #ccc;
    width: 95%;
    padding: 10px;
    margin: 10px auto;
    border-radius: 10px;
}

.daftar label {
    color: #000;
    font-size: 16px;
    padding: 20px;
}

.toggle-password {
    display: block;
    width: 15%;
    padding: 0px;
    margin: 10px auto;
    border-radius: 5px;
    margin-top: -35px;
    margin-right: 5px;
}


h2 {
    text-align: center;
    margin-top: 20px;
    font-weight: bolder;
    text-transform: uppercase;
    color: rgb(2, 81, 155);
}

h3 {
    text-align: center;
    margin-top: 0px;
    font-weight: bolder;
    text-transform: uppercase;
    color: rgb(2, 81, 155);
}

h5 {
    text-align: center;
    margin-top: 5px;
    font-size: 18px;
    margin-bottom: 10px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.logo img {
    width: 30%;
    height: auto;
}

button {
    float: center;
    background: rgb(2, 81, 155);
    padding: 10px 15px;
    color: #fff;
    border-radius: 10px;
    margin-right: 10px;
    border: none;
}

button:hover {
    opacity: 0.7;
}

.button {
    float: right;
    background: rgb(2, 81, 155);
    padding: 10px 15px;
    color: #fff;
    border-radius: 10px;
    margin-right: 10px;
    border: none;
    text-decoration: none;
}

.button:hover {
    opacity: 0.7;
}

/* untuk halaman profil gereja */
.button1 {
    float: left;
    background: rgb(2, 81, 155);
    padding: 10px 45px;
    color: #fff;
    border-radius: 5px;
    border: none;
    text-decoration: none;
}

.button1:hover {
    opacity: 0.7;
}

.button2 {
    float: center;
    padding: 8px;
    color: green;
    margin-top: 2px;
    border-radius: 5px;
    text-decoration: none;
    font-size: medium;
}

.button2:hover {
    opacity: 0.7;
}

.button3 {
    float: center;
    padding: 8px;
    color: #ff0000;
    margin-top: 2px;
    border-radius: 5px;
    text-decoration: none;
    font-size: medium;
}

.button3:hover {
    opacity: 0.7;
}

.button4 {
    background: rgb(2, 112, 39);
    padding: 10px 20px;
    color: #fff;
    border-radius: 10px;
    border: none;
    margin: 0 auto;
}

.button4:hover {
    opacity: 0.7;

}

.error {
    background: #F2dede;
    color: #a94442;
    padding: 10px;
    width: 95%;
    border-radius: 5px;
    margin: 20px auto;
}

.pita {
    position: flex;
    width: 100%;
    color: #000000;
    background-color: #fff;
    margin-left: 0px;
    padding: 0px;
    box-shadow: 5px 10px 25px #808080;
    border: 0px solid #555555;
    z-index: 1;
}

.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.banner img {
    width: 95vw;
    height: auto;
    margin-top: 205px;
}

.banner1 {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

.banner1 img {
    width: 100%;
    height: auto;
    margin-top: 205px;
}


/*halaman main selain home*/
main {
    width: 95%;
    align-items: center;
    margin-top: -160px;
    margin-bottom: 0px;
    background-color: #fff;
    border-radius: 15px;
    z-index: 0;
}

/*halaman main renungan*/
.main {
    width: 95%;
    align-items: center;
    margin-top: -20px;
    margin-bottom: 0px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}

.main1 {
    width: 95%;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 0px;
    background-color: #fff;
    border-radius: 10px;
}


footer {
    width: 100%;
    bottom: 0;
    left: 0;
    align-items: center;
    margin-bottom: 0px;
    background-color: rgb(2, 81, 155);
    color: #fff;
    text-align: center;
    padding: 0px;
}

header {
    position: fixed; /* atau sticky */
    top: 0;
    left: 0;
    width: 100%;
    align-items: center;
    margin-bottom: 0px;
    background-color: rgb(2, 81, 155);
    z-index: 3;
}

.header1 {
    width: 100%;
    margin-top: 0px;
    padding: 20px;
    border-radius: 20%;
    font-size: 16px;
    color: #fff;
    background-color: #d35400;
    z-index: 0;
    text-align: right;
}

.header2 {
    width: 100%;
    margin-top: 0px;
    padding: 20px;
    border-radius: 20%;
    font-size: 16px;
    color: #fff;
    background-color: rgb(2, 81, 155);
    z-index: 0;
    text-align: right;
}

ul {
    list-style-type: none;
    width: 100%;
    align-items: center;
    margin: 0px;
    padding: 0;
    overflow: hidden;
    background-color: rgb(2, 81, 155);
}

li {
    float: left;
}

li a{
    display: block;
    color: #fff;
    text-align: left;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover{
    background-color: #fff;
    color: rgb(2, 81, 155);
}

.navbtn {
    background-color: rgb(2, 81, 155);
    color: #fff;
    padding: 5px;
    margin-left: 5px;
    font-size: 26px;
    cursor: pointer;
    float: right;
}

.navbtn1 {
    background-color: #d35400;
    color: #fff;
    padding: 5px;
    margin-left: 15px;
    font-size: 26px;
    cursor: pointer;
    float: right;
}

.dropbtn {
    background-color: rgb(2, 81, 155);
    color: #fff;
    padding: 16px;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: fixed;
    background-color: #fff;
    min-width: 16px;
    z-index: 1;
    box-shadow: 5px 5px 30px #555;
    border-radius: 0 10px 10px 0;    
}

.dropdown-content a {
    color: #000;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 14px;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgb(2, 81, 155);
    color: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: rgb(2, 81, 155);
}

table {
    border-collapse: collapse;
    margin: 0 auto;
    width: 95%;
}

td, th {
    border: 1px solid #ddd;
    padding: 8px;
}
  
tr:nth-child(even){background-color: #f2f2f2;}
  
tr:hover {background-color: #ddd;}
  
th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
}

/* untuk tabel tanpa garis halaman 1 */
.table1 {
    border-collapse: collapse;
    margin: 0 auto;
    width: 90%;
    font-size: 12px;
    margin-left: 20px;
}

.table1 td, th {
    border: none;
    padding: 0px;
    background-color: #fff;
}

/* untuk tabel data dengan header hijau */
.table2 {
    border-collapse: collapse;
    margin: 0 auto;
    width: 95%;
}
    @media only screen and (max-width: 768px) {
        table tr th:nth-child(6), table tr td:nth-child(6),
        table tr th:nth-child(7), table tr td:nth-child(7),
        table tr th:nth-child(8), table tr td:nth-child(8),
        table tr th:nth-child(9), table tr td:nth-child(9),
        table tr th:nth-child(10), table tr td:nth-child(10),
        table tr th:nth-child(11), table tr td:nth-child(11),
        table tr th:nth-child(12), table tr td:nth-child(12),
        table tr th:nth-child(13), table tr td:nth-child(13),
        table tr th:nth-child(14), table tr td:nth-child(14) {
          display: none;@media only screen and (max-width: 768px) {
          }
        }
}

.table2 td, th {
    border: 1px solid #ddd;
    padding: 2px 10px;
    font-size: 12px;
    text-align: left;
}
  
.table2 tr:nth-child(even){background-color: #ccc;}
  
.table2 th {
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    background-color: #04AA6D;
    color: white;
}

/* untuk tabel tanpa garis halaman pofil gereja */
.table3 {
    border-collapse: collapse;
    margin: 0 auto;
    width: 90%;
    font-size: 16px;
    margin-left: 20px;
}

.table3 td, th {
    width: auto;
    border: 0px solid #ddd;
    padding: 5px;
    background-color: #fff;
}

/* untuk tabel tanpa garis halaman lapoann keuangan */
.table4 {
    border-collapse: collapse;
    margin: 0 auto;
    width: 70%;
    font-size: 16px;
}

.table4 td, th {
    width: auto;
    border: 0px solid #ddd;
    padding: 8px;
    background-color: #fff;
}

.tambah-data {
    position: fixed;
    bottom: 100px;
    right: 30px;
    cursor: pointer;
}

.tambah-data1 {
    bottom: 100px;
    right: 50px;
    background-color: #ff0000;
    color: #fff;
    padding: 11px 14px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    margin-left: 5%;
}

.tablinks {
    border-radius: 20px 20px 0 0;
    width: 150px;
}

/* Halaman Utama */
.main3 {
    width: 95%;
    align-items: center;
    margin-top: -10%;
    margin-bottom: 0px;
    background-color: #fff;
    border-radius: 10px;
}

.menu {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    background: transparent;
    
}

.icon {
    width: 80%;
    height: 80%;
    padding: 2px;
    border: 0px solid #ddd;
    border-radius: 20%;
}

.icon:hover {
    opacity: 0.7;
    width: 90%;
    height: 90%;

}

.imgicon {
    width: 50%;
    padding: 9px 0px;
    margin-bottom: -20px;
}

.texticon {
    font-size: 12px;
    color: #000;
    margin-top: 15px;
    text-align: center;
    font-size: 12px;
}

.link {
    text-decoration: none;
}

.promo {
    width: 90%;
    border-radius: 10px;
}

/* Halaman Data Jemaat */
.div1 {
    display: grid;
    grid-template-columns: 25% 75%;
    width: 90%;
    background: transparent;
    border: 1px solid #ddd;
    border-right: 15px solid rgb(2, 81, 155);
    border-radius: 10px;
    margin-left: 5%;
}

.p1 {
    width: 200px;
    text-transform: uppercase;
    font-weight: bold;
    color: rgb(2, 81, 155);
    padding-top: 0px;
    margin-left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.p2 {
    width: 200px;
    font-size: small;
    color: #808080;
    margin-left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ft {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px 0 0 10px;
    margin-bottom: -5px;
}

/* halaman foto */
.p3 {
    width: 300px;
    text-transform: uppercase;
    font-weight: bold;
    color: rgb(2, 81, 155);
    padding-top: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p4 {
    width: 300px;
    font-size: small;
    color: #808080;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#player {
    width: 300px; /* mengatur lebar pemutar audio */
    height: 25px; /* mengatur tinggi pemutar audio */
  }