.gallery {
    padding: 40px;
}

.gallery .a {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1475px;
    margin: 0 auto;
}

.gallery img {
    height: 200px;
    width: auto;
    padding: 3px;
}

@media (min-width:650px){
    .gallery img {
        height: 400px;
    }
}
@media (min-width:1170px) and (max-width:1400px){
    .gallery .b {
        height: 350px;
    }
}

/* SAME CODE IS WITHIN INDEX.CSS ;;; THIS IS FOR THE SAME ELEMENT AT BOTTOM OF BOTH PAGES */
.contact h3 {
    font-size: calc(2.5em - 1vw);
    text-align: center;
}

.contact a {
    display: block;
    width: 300px;
    margin: 10px auto;
    padding: 10px;
    text-align: center;
    color: black;
    text-decoration: none;
    border: 2px solid black;
}

.contact .a {
    padding: 10px;
}

@media (min-width:800px) {
    .contact .a {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .contact .a div {
        padding: 20px;
    }
}