body{
    background-color: white;
    font-family: "Merriweather", serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
 
}


nav {
    display: flex;
    justify-content: center;
    padding: 1em 0;
}

nav ul{
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    gap: 1.5em;
    list-style-type: none;
    font-weight: 400;
    font-size: 1.2rem;
    padding: 0;
    margin: 0;

}
.column {
    display: grid;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

nav a {
    text-decoration: none;
    color: rgb(38, 218, 235);
    padding: 0.5em 1em;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

nav a:hover{
    color: white;
    background-color: rgb(26, 67, 67)
}


.photo-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    justify-content: center;
    align-items: start;
    padding: 2em;
}

figure {
    display: flex;
    flex-direction: column;
    border: 2px solid rgb(208, 208, 197); 
    padding: 1px;
    margin: 1em;
    transition: transform 0.3s ease-in-out;
}

figure:hover {
    transform: scale(1.08);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-image {
        width: 100%;
        max-width: 800px;
        height: auto;
        display: block;
        margin: 0 auto;
        position: relative;
        
}

.centered {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2)

 }

.gallery-img{
    width: 100%;
    height: 200px;
    object-fit:cover;
    border-radius: 5px;
    
}
@media (max-width: 768px) {
    .container{
        width: 90%;
    }
    .photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(120px,1fr));
    }
    .centered{
        font-size: 1em;
        padding: 0.5em;
    }

nav ul{
    flex-direction:column;
    align-items: center;
    gap: 1em;
    }
}
    

