#gallery-hero {
    background-image: url(img/gallery-herobg.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: column;
    padding-left: 300px;
    padding-top: 80px;
    padding-bottom: 8%;
}

@media screen and (max-width: 1390px) {
    #gallery-hero {
        padding-left: 45px;
        height: auto;
    }
}

#gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    padding: 80px 0px;
}

#gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

@media screen and (max-width: 1312px) {
    #gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.gallery-tile {
    position: relative;
    margin: 40px;
}

.gallery-tile a {
    text-decoration: none;
}

.gallery-img {
    background-image: url(img/gallery1.png);
    width: 603px;
    height: 392px;
}

.gallery-description {
    width: 603px;
    height: 197px;
    background-color: white;
}

.gallery-description h2 {
    font-weight: 400;
    margin: 0;
    padding: 40px 50px 20px 50px;
}

.gallery-description h3 {
    color: #009fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 4px;
    padding: 20px 50px;
}

.gallery-icon {
    background-color: #009fff;
    width: 108px;
    height: 108px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 450px;
    bottom: 180px;
}

@media screen and (max-width: 688px) {
    #gallery-grid {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .gallery-tile {
        margin: 10px;
        width: 80vw;
        height: 400px;
    }

    .gallery-icon {
        width: 80px;
        height: 80px;
        bottom: 180px;
        left: 65%;
    }

    .gallery-icon img {
        width: 60%;
    }

    .gallery-img {
        width: 100%;
        height: 50%;
    }

    .gallery-description {
        width: 100%;
        height: 50%;
    }
}

#gallery2 {
    background-image: url(img/gallery2.png);
}

#gallery3 {
    background-image: url(img/gallery3.png);
}

#gallery4 {
    background-image: url(img/gallery4.png);
}