* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #111;
    color: white;
}

header {
    text-align: center;
    padding: 40px 20px;
}

header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

header p {
    color: #aaa;
}

.gallery {
    width: min(1200px, 92%);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    padding-bottom: 50px;
}

.card {
    display: block;
    color: white;
    text-decoration: none;

    background: #1b1b1b;
    border-radius: 12px;

    overflow: hidden;

    transition: transform 0.2s ease;
}

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

.thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.3s ease;
}

.card:hover .thumbnail img {
    transform: scale(1.05);
}

.play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 55px;
    height: 55px;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.75);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
}

.info {
    padding: 15px;
}

.info h2 {
    font-size: 17px;
    margin-bottom: 7px;
}

.info p {
    color: #999;
    font-size: 14px;
}


/* TABLET */

@media (max-width: 900px) {

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* MOBILE */

@media (max-width: 600px) {

    header h1 {
        font-size: 28px;
    }

    .gallery {
        grid-template-columns: 1fr;
        width: 94%;
    }

}
