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

body {
    background-color: #e9f5db;
    color: #333;
    font-family: Cambria, Georgia, serif;
    line-height: 1.6;
}

h1 {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 2rem;
    color: #333;
}


.image-grid {
    --gap: 20px;
    --num-cols: 3;

    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    gap: var(--gap);
    padding: 40px 60px;
    margin: 0 auto;
    max-width: 1400px;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.centered-item {
    grid-column: 2;
}

.grid-item > a {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 5px;
}

.grid-item > a > img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid-item > a:hover > img {
    transform: scale(1.1);
}


/* .grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
}


.grid-item > img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}


.grid-item > img:hover {
    transform: scale(1.1);
} */



.description {
    font-size: 1.0rem;
    color: #333;
    line-height: 1.3;
    text-align: justify; 
    margin-top: 20px;
}

@media screen and (max-width: 1024px) {
    .image-grid {
        --num-cols: 1;
        padding: 20px;
    }

    h1 {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}


@media screen and (max-width: 1024px) {
    .image-grid {
        --num-cols: 1;
    }
}

.navbar {
    display: flex;
    justify-content: center;
    gap: 90px;
    background-color: #e9f5db;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ccc;
    margin-bottom: 0; 
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.7rem;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #005f56;
}

.footer {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    color: #555;
    font-size: 0.9rem;
}

.footer a {
    color: #005f56;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}
