body, main{
    background-color: #2b3a59;
}
h2{
    padding-top: 50px;
}
.gallery-container
{
    width: 100%;
    min-height: 50px;
    margin: 0px auto 0;
    text-align: center;
}
.gallery-container .box
{
    position: relative;
    width: 356px;
    height: 336px;
    background:var(--mainBlue);
    margin: 10px;
    box-sizing: border-box;
    display: inline-block;
    border: 8px solid white;
}
.gallery-container .box .imgBox
{
    position: relative;
}
.gallery-container .box .imgBox img
{
    object-fit: cover; 
    width: 340px; 
    height: 320px;
}
.gallery-container .box .details
{
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-color: rgba(43, 58, 89, 0.9);
    opacity: 0;
    transition: 1.5s;
}
.gallery-container .box .details:hover
{
    transition: 1.5s;
    opacity: 1;
}
.gallery-container .box .details .content
{
    position: absolute;
    top: 50%;
    transform : translateY(-50%);
    text-align : center;
    padding: 15px;
    color: white;
}
.gallery-container .box .details .content h3
{
    margin: 0;
    padding: 0%;
    font-size: 20px;
    color: white;
}
.gallery-container .box .details .content p
{
    color: var(--mainGrey);
}
@media screen and (min-width: 678px){
    nav{
        margin-bottom: 0px;
    }

}
@media screen and (min-width: 1025px){
    header {

        min-height: 150px;
    }
    main{
        margin-top: 0px;
    }

}