@media (max-width: 100em) {

    .hallway-item {
        height: 40rem;
        width: 29rem;
    }

    .gallery-img {
        width: 35rem;
        height: 25rem;
    }

}

@media (max-width: 81.25em) {

    .about-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 120rem;
        align-content: center;
        justify-items: center;
    }

    .about-two {
        margin-left: 0rem;
    }

    .about-three {
        grid-column: 1/3;
        margin-top: 3.6rem;
    }

    .hallway::before {
        display: none;
    }

    .hallway-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 160rem;
        justify-items: center;
        gap: 3.6rem;
    }

    .quad-container {
        grid-template-columns: 1fr 1fr;
    }

    .quad-header-box {
        grid-column: 1/3;
    }

    .overlay-box {
        height: 70rem;
    }

    .overlay-container {
        grid-template-columns: 1fr;
    } 

    .gallery-container {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-text-box {
        grid-column: 1/3;
    }

    .duo-container {
        grid-template-columns: 1fr;
    }

    .duo-img, .duo-img-two {
        height: 40rem;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .testimonials-text-box {
        grid-column: 1/2;
    }
    

}

@media (max-width: 56.25em) {

    html {
        font-size: 55%;
    }

    .about-caption {
        font-size: 2.4rem;
    }

    .about-two {
        margin-left: 3rem;
    }

    .gallery-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .gallery-text-box {
        grid-column: 1/2;
    }
    
}




@media (max-width: 37.5em) {

    .about-container,
    .hallway-container,
    .quad-container {
        grid-template-columns: 1fr;
    }

    .about-two {
        margin-bottom: 3.6rem;
        grid-row: 1/2;
    }

    .about-three,
    .quad-header-box,
    .gallery-text-box {
        grid-column: 1/2;
    }

    .overlay-text,
    .overlay-video,
    .gallery-text,
    .duo-text,
    .testimonials-item {
        width: 100%;
    }

    .about-three {
        width: 30rem;
        margin-left: 0rem;
    }

    .overlay-video {
        margin-top: auto;
        padding: 0.6rem;
    }

    .overlay-caption,
    .duo-header,
    .testimonials-caption,
    .quad-caption,
    .gallery-caption {
        font-size: 3.6rem;
    }

    .duo-text-box {
        padding: 2.4rem 1.2rem 1.2rem 1.2rem;
    }

    .duo-text-box-two {
        padding: 2.4rem 1.2rem 1.2rem 1.2rem;
    }

    .testimonials,
    .duo,
    .gallery,
    .overlay,
    .quad,
    .hallway,
    .about {
        padding: 2.4rem 1.2rem;
    }

}

@media (max-width: 74em) {

    .hero-img {
        width: 80rem;
    }

    .hero-icons {
        padding-right: 2.4rem;
    }

    .hero-icon {
        width: 4rem;
    }

    .slide-text {
        font-size: 3rem;
    }

    .locations-container {
        gap: 3.6rem;
    }
    
    .locations-item {
        font-size: 2.4rem;
    }

    .row-container {
        grid-template-columns: 1fr;
        row-gap: 4.8rem;
    }

    .overlay-container {
        grid-template-columns: 1fr;
    }

    .overlay-img-box {
        grid-row: 2/3;
    }

    .icons-container {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-container {
        columns: 3;
    }

}

@media (max-width: 66.25em) {

    .row-two {
        grid-row: 2/3;
    }

    .intro {
        padding: 2.4rem 0.6rem;
    }
    
    .intro-container {
        grid-template-columns: 1fr;
        row-gap: 2.4rem;
    }
}


@media (max-width: 56.25em) {

    .hero-img {
        width: 70rem;
    }

    .page-title {
        padding: 4.8rem 0.6rem;
        font-size: 4.8rem;
        text-align: center;
    }

    .page-header {
        font-size: 3.6rem;
        text-align: center;
    }

    .page-z-img {
        width: 100%;
    }

    .page-z-container {
        grid-template-columns: 1fr;
    }
    

}

@media (max-width: 60em) {

    .locations-container {
        gap: 2.4rem;
    }

    .locations-item {
        font-size: 1.8rem;
    }
}

@media (max-width: 48.75em) {

    .locations-container {
        flex-direction: column;
    }

    .locations-item {
        font-size: 2.4rem;
    }

}

@media (max-width: 48.75em) {

    .hero-img {
        width: 55rem;
        height: 100%;
    }

    .hero-header {
        font-size: 4.8rem;        margin-top: 3%;
    }

    .info {
        margin-bottom: 30rem;
    }

    .info-container {
        grid-template-columns: 1fr;
    }

    .info-header {
        font-size: 4.8rem;
    }

    .info-img-box {
        position: absolute;
        justify-self: center;
        align-self: center;
        width: 120%;
        transform: translate(0);
        left: 48%;
        top: 135%;
        z-index: 1;
    }


    .icons-container {
        grid-template-columns: 1fr;
    }

    .gallery-container {
        columns: 2;
    }

    .gallery-img-box {
        padding: 0.3rem 0;
    }

    .gallery-img {
        padding: 0rem;
    }

    .cta-container {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 4.8rem;
    }

    .video-container {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
        row-gap: 4.8rem;
    }

}


@media (max-width: 37.5em) {

    .logo {
        width: 20rem;
        justify-self: center;
        align-self: center;
        margin-top: 1rem;
        margin-right: 1rem;
    }

    .hero-bottom-box {
        flex-direction: column;
        height: 70vh;
        background-image: url("/imgs/hero-mobile.jpeg");
        background-position-y: 80%;
        background-size: cover;
    }

    .hero-icons {
        background-color: #edf2ec;
        justify-content: center;
        align-content: center;
        padding: 1.2rem;
        border-top-left-radius: 13px;
    }

    #about {
        padding-top: 4.8rem;
    }

    .hero-img {
        display: none;
    }


    .hero-icons {
        flex-direction: row;
    }

    .hero-header {
        font-size: 3.6rem;
        text-align: center;
    }



    .info {
        padding: 0rem 1.2rem 12rem;
        margin-bottom: 15rem;
    }

    .info-header {
        font-size: 3rem;
    }

    .info-img-box {
        position: absolute;
        justify-self: center;
        align-self: center;
        width: 120%;
        transform: translate(0);
        left: 48%;
        top: 125%;
        z-index: 1;
    }


    .overlay-header {
        font-size: 3rem;
    }

    .open-nav {
        width: 5rem;
    }

    .overlay-four-img-box {
        columns: 1;
    }

    .cta-title {
        font-size: 3rem;
    }

    .cta-text-box {
        font-size: 1.8rem;
    }

    .video-item {
        height: 40rem;
    }

    .icons-header {
        font-size: 2.4rem;
    }
    
    .icons-text {
        font-size: 1.8rem;
    }

    .icons-img {
        width: 7rem;
    }

}

@media (max-width: 28.1em) {

    .info-img-box {
        top: 118%;
    }

}