@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body{
    font-family: Poppins;
    margin: 0;
    background-color: #010101;
    color: #eee;
}
svg{
    width: 25px;
}
header{
    width: 1200px;
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 50px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}
.logo video {
    width: 300%;  /* atau ukuran yang Anda inginkan */
    height: auto;  /* atau ukuran yang Anda inginkan */
    margin-top: 35px; /* Sesuaikan dengan jumlah piksel yang Anda inginkan */
}
header .menu{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: 500;
}
.order-button {
    display: inline-block;
    background-color: #00b22d; /* Warna hijau */
    color: #ffffff; /* Warna putih untuk teks */
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px; /* Ujung rounded */
    transition: background-color 0.3s ease;
}

.order-button:hover {
    background-color: #01701d; /* Warna hijau yang lebih gelap saat hover */
}







/* css slider */
.slider{
    height: 100vh;
    margin-top: -50px;
    position: relative;
}
.slider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}
.slider .list .item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .list .item::after{
    content: '';
    width: 100%;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(
        to top, #000 10%, transparent
    );
}
.slider .list .item .content{
    position: absolute;
    left: 10%;
    top: 20%;
    width: 500px;
    max-width: 80%;
    z-index: 1;
}
.slider .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
}
.slider .list .item .content h2 {
    font-size: 100px;
    margin: 0;
    line-height: 100px; /* Jarak Antar baris */
}
.slider .list .item.active{
    opacity: 1;
    z-index: 10;
}






/* CSS tambahan untuk halaman kedua */
.second-page {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

.second-page .page-title {
    text-align: center; /* Pusatkan teks judul */
    margin-top: 20px; /* Jarak antara judul dan kartu-kartu */
    margin-bottom: 20px; /* Jarak antara judul dan slider */
    font-size: 24px; /* Ukuran font judul */
    color: #5c5c5c; /* Warna teks judul */

}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    margin: 20px;
    width: 250px;
    border: 1px solid #8b8b8b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px; /* Mengatur radius sudut kartu */
    overflow: hidden; /* Untuk memastikan konten di dalam kartu tidak menonjol keluar */
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: auto;
    display: block;
}

.card-buttons { /*buat pencetan kartu*/
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

.card-buttons button {
    border-radius: 10px; /* Mengatur radius sudut untuk tombol */
    padding: 10px 20px; /* Menambahkan padding untuk tombol agar lebih lebar */
    margin: 5px; /* Menambahkan margin untuk menjaga jarak antara tombol */
    cursor: pointer;
    border: 0.5px solid white;
    background-color: transparent; /* Warna latar belakang tombol */
    color: white; /* Warna teks tombol */
    font-size: 16px;
    transition: background-color 0.3s ease; /* Transisi saat tombol dihover */
}

.card-buttons button:hover {
    background-color: #f7f7f7; /* Warna latar belakang tombol saat dihover */
    color: #131313;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    width: 90%; /* atau ukuran yang Anda inginkan */
    max-width: 90vw; /* ukuran maksimum lightbox */
    height: 0;
    padding-bottom: 56.25%; /* Proporsi aspek 16:9 */
    position: relative;
}

.lightbox-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    border: 0.5px solid white;
    box-sizing: border-box;
    border-radius: 15px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
}




.video-container {
    display: flex;
    overflow-x: auto; /* Membuat kontainer scrollable secara horizontal */
    gap: 10px; /* Jarak antar video */
    padding: 10px;
    box-sizing: border-box;
}
.tiktok-embed {
    flex: 0 0 320px; /* Lebar video yang lebih besar */
    height: 570px; /* Tinggi video yang lebih besar */
    border: 0.5px solid white;
    box-sizing: border-box;
    border-radius: 15px;
}









/* CSS tambahan untuk halaman kedua */
.third-page {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

.third-page .page-title {
    text-align: center; /* Pusatkan teks judul */
    margin-top: 20px; /* Jarak antara judul dan kartu-kartu */
    margin-bottom: 20px; /* Jarak antara judul dan slider */
    font-size: 24px; /* Ukuran font judul */
    color: #5c5c5c; /* Warna teks judul */
}

.price-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.price {
    width: 250px;
    height: 420px;
    border: 1px solid #8b8b8b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px; /* Mengatur radius sudut kartu */
    overflow: hidden; /* Untuk memastikan konten di dalam kartu tidak menonjol keluar */
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.price:hover {
    transform: translateY(-10px) scale(1.1);
}

.price-image {
    width: 100%;
    height: auto;
    display: block;
}

.price-buttons { /*buat pencetan kartu*/
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

.price-buttons button {
    border-radius: 10px; /* Mengatur radius sudut untuk tombol */
    padding: 10px 20px; /* Menambahkan padding untuk tombol agar lebih lebar */
    margin: 5px; /* Menambahkan margin untuk menjaga jarak antara tombol */
    cursor: pointer;
    border: 0.5px solid white;
    background-color: transparent; /* Warna latar belakang tombol */
    color: white; /* Warna teks tombol */
    font-size: 16px;
    transition: background-color 0.3s ease; /* Transisi saat tombol dihover */
}

.price-buttons button:hover {
    background-color: #f7f7f7; /* Warna latar belakang tombol saat dihover */
    color: #131313;
}






/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}
.footer-content {
    margin-bottom: 10px;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}
.footer-links a:hover {
    text-decoration: underline;
}
.footer-social a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}
.footer-social a:hover {
    text-decoration: underline;
}







@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active a,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}
.slider .list .item.active a{
    animation-duration: 1.6s;
}
.arrows{
    position: absolute;
    top: 30%;
    right: 50px;
    z-index: 100;
}
.arrows button{
    background-color: #eee5;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #eee;
    transition: .5s;
}
.arrows button:hover{
    background-color: #eee;
    color: black;
}
.thumbnail{
    position: absolute;
    bottom: 50px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 250px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
}
.thumbnail::-webkit-scrollbar{
    width: 0;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
}
.thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.thumbnail .item.active{
    filter: brightness(1.5);
}
.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
}

@media screen and (max-width: 670px) {
    .thumbnail {
        display: none; /* Menghilangkan thumbnail */
    }
    .slider .list .item .content h2{
        font-size: 60px;
        line-height: 60px; /* Jarak Antar baris */
    }
    .arrows{
        top: 10%;
    }
}

@media screen and (max-height: 800px) {
    .thumbnail {
        display: none; /* Menghilangkan thumbnail */
    }
}

@media screen and (max-width: 670px) and (max-height: 800px) {
    .thumbnail {
        display: none; /* Menghilangkan thumbnail */
    }
    
    .slider .list .item .content h2 {
        font-size: 50px;
        line-height: 60px; /* Jarak Antar baris */
    }
    
    .arrows {
        top: 10%;
    }
}
