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

ul {
    font-family: "Dela Gothic One", sans-serif;
    text-align: center;
    font-size: 2rem;
    list-style: none; 
}

nav {
    background: #F8B195;
    padding: 1rem;
    text-align: left;
}

body {
    font-family: "Dela Gothic One", sans-serif;
    background-color: #F67280;
    text-align: center;
}

nav a {
    text-decoration: none;
    color: white;
}

h1 {
    text-align: center;
    font-size: 3.5rem;
    padding: 1rem 0;
    background-color: #FA735C;
    color: white;
}

figcaption {
    width: 100%;
    text-align: center;
    font-size: 0.833rem;
    color: #101010;
}

#gallery {
    padding: 1rem;
    display: grid;
    gap: 1rem;
}

#gallery img, header img {
    width: 100%;
    display: block; 
}

#gallery img {
    max-width: 400px;
    object-fit: cover;
    aspect-ratio: 16/9;
    cursor: pointer; 
}

header img {
    max-width: 1600px;
    margin: 0 auto;
}

#gallery figcaption, dialog figcaption {
    transform: translateY(-1.482rem);
    background: rgba(240, 240, 240, 0.7);
    padding: 0.2rem;
}


dialog {
    max-width: 90vw;
    max-height: 90vh;
    border: none;
    border-radius: 8px;
    padding: 1rem;
    margin: auto;
}


dialog::backdrop {
    background: rgba(0, 0, 0, 0.8);
}

dialog img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}


@media screen and (min-width: 400px) {
    #gallery { grid-template-columns: 1fr 1fr; }
}

@media screen and (min-width: 800px) {
    #gallery { grid-template-columns: 1fr 1fr 1fr; }
}

@media screen and (min-width: 1200px) {
    #gallery { grid-template-columns: repeat(4, 1fr); }
}
