.navbar-head li:nth-child(2) > a {
    text-decoration: underline; 
}

.container {
    grid-template-rows: fit-content;
}

.gallery {
    display: flex; 
    flex-flow: row wrap; 
    justify-content: space-evenly;
    background-color: #aeaeae;
}

.gallery img {
    transform: scale(1);
    transition: transform 0.25s;
    align-content: flex-start;
    float: left;
    margin: 0;
    z-index: 0;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.1);
}

@media (min-width: 390px) {
    .gallery {
        grid-column: 1 / 13;
        grid-row: 1 / 2;
    }
    
    .gallery img {
        object-fit: cover; 
        height: auto; 
        width: 70%;
    }
}

@media (min-width: 576px) {
    .gallery {
        grid-column: 2 / 12;
        grid-row: 1 / 2;
    }
    
    .gallery img {
        object-fit: cover;
        height: auto;
        width: 50%;
     }
}