.hidden {
    display: none;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: #ffffff;
}

header {
    text-align: center;
    padding: 20px 15px;
}

header h1 {
    font-size: 22px;
    margin: 0;
}

header p {
    font-size: 14px;
    margin-top: 5px;
    color: #cccccc;
}

#gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
}

@media (min-width: 600px) {
    #gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    header h1 {
        font-size: 26px;
    }
}

@media (min-width: 900px) {
    #gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    header h1 {
        font-size: 30px;
    }
}

.card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);

    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s ease;
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.card h3 {
    margin: 10px;
    font-size: 15px;
    color: #ffffff;
}

#modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 1000;
}

#modal-content {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

html {
    scroll-behavior: smooth;
}