* {
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #655e5e;
    color: #fff;
    padding-top: 60px;
}
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}
.card {
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
}
.card img {
    width: 100%;
    height: auto;
    display: block;
}
.card h3 {
    margin: 0;
    padding: 15px;
    background-color: #444;
}
.card p {
    padding: 10px 15px;
    margin: 0;
    font-size: 0.9em;
}
/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #444;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
}
.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
}
/* Responsive styling */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .modal-content {
        width: 90%;
    }

    .navbar {
        padding: 10px 15px; /* Sesuaikan padding untuk ukuran lebih kecil */
    }

    .logo img {
        max-height: 40px; /* Ukuran logo lebih kecil di layar kecil */
    }

    .nav-links {
        gap: 10px; /* Mengurangi jarak antara tombol */
    }

    .nav-links a {
        padding: 8px 15px; /* Sesuaikan padding tombol */
        font-size: 12px; /* Ukuran font lebih kecil */
    }
    
}

.date-overlay {
    padding: 10px;
    font-weight: bold;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    background-color: #000000;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 60px;
}

.logo img {
    max-height: 50px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: black;
    background-color: #c8b072;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bolds;
}

.nav-links a:hover {
    background-color: #555;
}

/* Button Login dan Daftar */
.btn {
    font-size: 14px;
    font-weight: bold;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #c8b072;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    font-weight: bold;
}

#keterangan {
    margin-top: 20px;
    padding: 10px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

  /* style.css */
  #scrollToTopBtn {
    display: none; /* tombol tidak akan terlihat kecuali saat di-scroll */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 18px;
    background-color: red;
    color: rgb(255, 255, 255);
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
  }
  
  #scrollToTopBtn:hover {
    background-color: #000000;
  }

  footer {
    font-size: 14px;
    color: #c8b072;
    padding: 10px;
    font-weight: bold;
    justify-content: center;
    display: flex;
}

#livechat-button {
    position: fixed;
    left: 20px; /* Jarak dari kiri */
    bottom: 20px; /* Jarak dari bawah */
    z-index: 9999; /* Agar tombol chat berada di depan konten */
}

#livechat-button img {
    border-radius: 50%; /* Membuat tombol chat bulat */
    width: 60px; /* Ukuran ikon chat */
    height: 60px; /* Ukuran ikon chat */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Menambahkan bayangan */
    transition: transform 0.3s ease; /* Animasi hover */
}

#livechat-button img:hover {
    transform: scale(1.1); /* Membesarkan tombol sedikit saat hover */
}

