* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.media-section {
    padding: 50px 0;
    background-color: rgb(0, 0, 0);
}

.container {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.gallery-category {
    margin-bottom: 40px;
}

h2 {
    font-size: 30px;
    color: #333;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}


/* Galeri Video */
.gallery-video {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.video-item {
    margin-bottom: 20px;
}

.video-item iframe {
    border-radius: 10px;
}

@media (max-width: 1200px) {
    /* Pada layar medium (desktop lebih kecil) */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr); /* Menyusun 3 kolom */
    }

    .video-item iframe {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Pada layar tablet atau mobile medium */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Menyusun 2 kolom */
    }

    .video-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Pada layar mobile kecil */
    .gallery-grid {
        grid-template-columns: 1fr; /* Menyusun 1 kolom */
    }

    .video-item {
        width: 100%;
    }
}