/* Styling utama */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}


#pemutar-video-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(7, 9, 129);
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(156, 154, 154, 0.2);
    overflow: hidden;
}

#pemutar-video-page h1 {
    margin-top: 20px;
    color: #333;
}

/* Video container */
.video-container {
    margin-top: 20px;
    width: 80%;
    max-width: 800px;
    background: rgb(0, 0, 0);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*iframe {*/
/*    width: 640px;*/
/*    height: 360px;*/
/*    border: none;*/
/*}*/

iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* Rekomendasi Video */
#recommendations-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 80%;
}

.recommendation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    background-color: #6d6b6b;
    cursor: pointer;
    transition: transform 0.3s;
}

.recommendation-item img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.recommendation-item img:hover {
    transform: scale(1.1);
}
.recommendation-item a {
    text-decoration: none; /* Menghilangkan garis bawah */
    color: white; /* Warna teks mengikuti default */
}


/* Informasi Pengguna */
#user-info p {
    color: #fff;
}

/* Video Card */
.video-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-card:hover {
    transform: scale(1.05);
}

.video-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}
.thumb {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Tombol Kategori */
#category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.btn {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    color: white;
    transition: transform 0.2s, background-color 0.2s;
}

.btn.dark {
    background-color: #3a3938;
    color: rgb(224, 216, 216);
}

.btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

a.btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background-color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.3s ease;
}

a.btn.dark:hover {
    background-color: #444;
}

/* Responsif untuk Layar Kecil */
@media (max-width: 768px) {
    #pemutar-video-page .container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #pemutar-video-page nav .categories {
        display: none;
    }
    
    #pemutar-video-page .burger-menu {
        margin-right: 10px;
        display: flex;
    }
    
    #recommendations-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*@media (max-width: 480px) {*/
/*    .pemutar-video-page .container {*/
/*        grid-template-columns: 1fr;*/
/*    }*/
    
/*    #category-buttons {*/
/*        flex-direction: column;*/
/*        align-items: center;*/
/*    }*/
/*}*/
