body {
    margin: 0;
    font-family: Arial, sans-serif;
    padding-bottom: 60px; /* Memberikan ruang untuk footer */
    background-image: url(https://galerinakal-tv.com/assets/ayooo.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

/* Contoh penggunaan font di elemen lain */
h1, h2, h3 {
    font-family: 'Arial', sans-serif; /* Menggunakan Playfair Display untuk heading */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    padding: 10px 0px;
    z-index: 1000;
    border-bottom: 1px solid #7c4a08;
}

/* Toggle Menu Icon */
.toggle {
    cursor: pointer;
    font-size: 28px;
    color: #ff9000;
    margin-left: 20px;
}

/* Logo Wrapper */
.logo-wrapper {
    display: flex;
    flex-grow: 1; /* Memaksa logo berada di tengah */
    justify-content: center;
}

/* Logo in Navbar */
.logo-img {
    width: 70%;
    height: auto;
    max-height: 60px;
}

/* Search Icon */
.search-icon {
    cursor: pointer;
    font-size: 28px;
    color: #ff9000;
    margin: 0 10px;
}

.kategorii {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    background-color: #2b2b2b;
    padding: 10px;
    border-radius: 10px;
    box-shadow: #ff6100 3px 4px 10px;
}

.kategorii i {
    font-size: 15px;
    color: white;
    cursor: pointer;
    margin-right: 30px;
}

.submenu {
    display: flex;
    align-items: center;
}

.subarrow {
    position: relative;
    left: 100%;
}

.dropdown-menu {
    overflow: hidden;
    max-height: 0;
    background-color: #33333338;
    color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 100%;
    max-width: 350px;
    margin: 10px auto;
    padding: 0;
    display: grid;
    gap: 10px;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

.dropdown-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    background-color: #3d3c3c;
    border-radius: 3px;
    text-align: center;
    transition: background-color 0.3s ease;
    font-size: 14px;
    margin-bottom: 5px;
    border: 1px solid #242424;
}

/* Dropdown Menu */
.menu {
    position: fixed;
    right: 0;
    background-color: black;
    padding: 10px;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 85%;
    height: 100%;
    transition: transform 0.4s ease;
    transform: translateX(-450px);
}

.menu.active {
    transform: translateX(0px);
}

.img-close {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.img-close-img {
    width: 50%;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.menu-item {
    color: white;
    padding: 10px;
    border-bottom: 1px solid #444;
}

#searchInput {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
    outline: none;
    width: 80%;
}

.menu-item:last-child {
    border-bottom: none;
}

/* Main Content */
.content {
    padding: 20px;
    margin-top: 70px; /* Memberikan ruang untuk navbar */
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: black;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.nav-button {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    color: #ff9000;
}

.nav-button i {
    font-size: 24px;
}

.nav-button span {
    display: block;
    font-size: 12px;
    color: white;
    margin-top: 5%;
}

@media (min-width: 900px) {
    .footer {
        display: none;
    }
    .logo img {
        width: 100%;
    }
}

 .container {
            max-width: 1200px;
            margin: 70px auto;
            padding: 20px;
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .video-card {
            position: relative; 
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .video-card img {
            width: 100%;
            height: 180px;
        }

        .video-info {
            text-align: center;
            margin-top: 5px; 
        }

        .video-info a {
            color: white; 
            text-decoration: none; 
        }

        .video-info h3 {
            font-size: 13px;
            color: white; 
            margin: 0; 
        }

        /* Durasi Video dan Subkategori */
        .video-duration, .video-subcategory {
            background-color: #cacaca); 
            color: #000; 
            border-radius: 5px;
            padding:2px;
            font-weight:bold;
        }
        
        .video-data span{
            font-size:12px;
            color:white;
            text-decoration:none;
        }

        .video-subcategory {
            bottom: 40px; /* Posisi di atas durasi */
            right: 45px;
        }
        
        .gratisss{
            position: absolute;
            right: 5px;
            top: 3px;
            color: white;
            background: #333333;
            font-size: 10px;
            padding: 2px;
            border-radius: 5px;
            letter-spacing:1px;
            font-weight: bold;
        }
        
        .vvippp{
            position: absolute;
            right: 5px;
            top: 3px;
            color: white;
            background: #ff0000;
            font-size: 10px;
            padding: 2px;
            border-radius: 5px;
            letter-spacing: 1px;
            font-weight: bold;
        }