/*======= Tile Gallery =======*/
.yankee-tile-gallery {
    position: relative;
    height: 600px;
    width: 570px;
    max-width: 100%;

    @include respond-below(md) {
        margin-bottom: 50px;
    }

    @include respond-below(xs) {
        height: 460px;
    }

    .image-one,
    .image-two,
    .image-three {
        background-size: cover;
        background-position: center;
        background-color: #ddd;
        position: absolute;
    }

    .image-one {
        left: 0;
        top: 0;
        width: 370px;
        height: 350px;
        z-index: 1;

        @include respond-between(md, lg) {
            width: 350px;
        }

        @include respond-below(xs) {
            width: 270px;
            height: 250px;
        }
    }

    .image-two {
        bottom: 0;
        right: 0;
        width: 400px;
        height: 355px;
        box-shadow: 0px 8px 16px 0px rgba(7, 28, 31, 0.04);
        border: 10px solid $white;
        z-index: 2;

        @include respond-between(md, lg) {
            width: 355px;
        }

        @include respond-below(xs) {
            width: 250px;
            height: 250px;
        }
    }

    .image-three {
        left: 25px;
        bottom: 80px;
        width: 115px;
        height: 115px;
        z-index: 1;

        @include respond-below(xs) {
            left: 15px;
            bottom: 40px;
        }
    }

    &::before,
    &::after {
        position: absolute;
        content: "";
        background-color: $primary-color;
    }

    &::before {
        top: 70px;
        left: 370px;
        height: 20px;
        width: 20px;
        transform: translateX(-50%);
        z-index: 2;

        @include respond-between(md, lg) {
            left: 350px;
        }

        @include respond-below(xs) {
            left: 270px;
        }
    }

    &::after {
        top: 120px;
        right: 70px;
        width: 85px;
        height: 85px;
        background-color: rgba($primary-color, 0.15);

        @include respond-between(md, lg) {
            right: 30px;
        }

        @include respond-below(xs) {
            right: 0;
            width: 50px;
            height: 50px;
        }
    }
}