#gallery_loading{
    position: absolute;
    top: 10vh;
    left: 0;
    height: 30rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--oe-granite);
    z-index: 999;
    background-color: #FFF;
}

#gallery{
    background-image: url('../img/waves\ at\ dusk.jpg');
    background-position: bottom center;
}
.w-12{
    width: 5rem;
}

.gallery_card__wrapper{
    margin: 10vh 0;
    position: relative;
}

.gallery_card__row {
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
    max-width: 1400px;
    margin: auto;
}

.gallery_card__container {
    padding: 1.2rem;
    flex-basis: 25%;
    position: relative;
    display: flex;
    min-width: 25%;
}

.gallery_card {
    min-height: 30rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--oe-granite);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.gallery_card h2{
    font-size: 2.4rem !important;
    text-shadow: 1px 1px 5px #000;
}

.gallery_card .booknow {
    position: absolute;
    bottom: 2rem;
    background-color: rgba(0, 32, 75, .6);
}

.gallery_card__overlay{
    height: 100%;
    width: 100%;
    background-color: #ededed;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery_card__overlay h2{
    font-size: 2.4rem !important;
    color: var(--oe-granite) !important;
}

.gallery_card__container h2{
    overflow-wrap: anywhere;
}

.gallery_card__overlay .booknow{
    margin: 0 auto;
}

#backToMainGallery {
    position: absolute;
    top: -10px;
    left: 1.2rem;
    z-index: 2;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#close{
    position: absolute;
    top: 0;
    right: 8.33333%;
    z-index: 2;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 2rem;
}

@media (max-width:1280px){
    .gallery_card__container{
        flex-basis: 33%;
    }
}

@media (max-width:991px){
    .gallery_card__container{
        flex-basis: 50%;
    }
}

@media (max-width:480px){
    .gallery_card__container{
        flex-basis: 100%;
        min-height: 465px;
    }
}