@media only screen and (max-width: 1700px) {

    footer {
        padding-bottom: 25px;
    }

    .container {
        padding: 14px;
    }

    header {
        padding: 0px 14px 0px 14px;
    }

    .split-divs {
        flex-direction: column;
    }

    .split-divs>div:first-child {
        border-bottom: 1px solid var(--primary-one);
        padding-bottom: 10px;
    }

    .split {
        width: 100%;
    }

    .mobile-link {
        display: block;
    }

    .mobile-scroll-note {
        display: block;
    }

    .btn-expand {
        display: none;
    }

    .tab-content {
        padding-bottom: 80px;
    }

}

@media only screen and (max-width: 1066px) {

    .hero-app {
        height: 75%;
    }

    .hero-nav-container {
        bottom: 12%;
    }

    .btn-icon-round {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 1em;
    }

    .btn-replay {
        font-size: 250%;
    }

    .container {
        padding: 14px;
    }

    .mobile-link {
        display: block;
    }

    .popup,
    .container-video picture,
    .container-video video {
        width: 100%;
    }

    header {
        padding-bottom: 14px;
    }

    #slider-desktop {
        display: none;
    }

    #slider-mobile {
        display: flex;
    }

    #nav-desktop {
        display: none;
    }

    #btn-nav-mobile {
        display: block;
    }

    #img-container-logo {
        padding-bottom: 0;
    }

    #case-study-top-row {
        flex-direction: column;
    }

    #case-study-top-left,
    #case-study-top-right {
        width: 100%;
        height: auto;
    }

    #case-study-top-right {
        min-height: 450px;
        justify-content: space-evenly;
    }

    #links-final {
        width: auto;
        max-width: 360px;
        margin-bottom: 25px;
    }

}

@media only screen and (max-width: 820px) {

    .hero-app {
        height: 65%;
    }

    .survey-row {
        flex-direction: column;
    }

    .survey-icons {
        width: 100%;
    }

    .empty-div {
        display: none;
    }

    .personas {
        min-height: 786px;
    }

    .personas .hide .flex {
        flex-direction: column;
        justify-content: flex-end;
    }

    .persona-left {
        width: 100%;
        flex-direction: row;
    }

    .rcs1-plans,
    .winds1-plans {
        min-height: 550px;
    }

    .carousel.carousel-photos {
        height: 512px;
    }

    .btn-expand-mobile {
        display: flex;
    }

}

@media only screen and (max-width: 760px) {
    .popup {
        align-self: flex-start;
        max-height: 100%;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-nav-container {
        bottom: 15%;
    }

    footer {
        flex-direction: column;
        justify-content: center;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

    .footer-text {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .container-footer {
        width: 100%;
        justify-content: flex-end;
    }

    .footer-bottom .container-footer {
        justify-content: space-between;
    }

    #desktop-skills,
    #desktop-facts {
        display: none;
    }

    #mobile-skills,
    #mobile-facts {
        display: flex;
    }

    #contact .container {
        flex-direction: column-reverse;
        height: auto;
    }

    .contact-leftside {
        width: 100%;
        height: auto;
        justify-content: center;
        padding-right: 0;
        border-right: none;
        border-top: 1px solid var(--primary-one);
    }

    .contact-rightside {
        min-width: 0;
        height: auto;
        flex: unset;
    }

    section {
        margin-bottom: 150px;
    }

    .persona-right>.flex-sm:first-child {
        flex-direction: column;
    }

    .carousel.carousel-photos {
        height: 467px;
    }

    .case-study-container .carousel.carousel-wireframes-gtm {
        height: 921px;
    }

}

@media only screen and (max-width: 560px) {

    .skewed-header {
        top: 15%;
    }

    .container-video .btn-replay {
        font-size: 175%;
    }

    .hero-carousel-container h1 {
        font-size: 2.2em;
        transform: translateX(-10px) skew(20deg);
    }

    .hero-nav-container {
        bottom: 15%;
    }

    #about-header-desktop {
        display: none;
    }

    #about-header-mobile {
        display: block;
        padding-left: 14px;
    }

    #about {
        flex-direction: column;
    }

    .container-about {
        flex-direction: column;
    }

    .about-leftside {
        flex-direction: row;
    }

    .about-leftside:last-child {
        width: 50%;
    }

    .profile-img {
        width: 50%;
    }

    #contact-need-desktop {
        display: none;
    }

    #contact-need-mobile {
        display: flex;
    }

    .carousel {
        flex-direction: column;
        row-gap: 5px;
    }

    .carousel-subtitle p {
        margin-left: 0;
    }

    .mobile-carousel-btns {
        display: flex;
        width: 100%;
        height: auto;
        justify-content: space-between;
    }

    .carousel-img-container {
        width: 100%;
    }

    .btn-previous,
    .btn-next {
        position: unset;
        transform: translateY(0);
    }

    .desktop-carousel-btns {
        display: none;
    }

    .rcs1-plans,
    .winds1-plans {
        min-height: 355px;
    }

    .ors2-plans {
        min-height: 805px;
    }

    .carousel.carousel-photos {
        height: 391px;
    }

    .case-study-container .carousel.carousel-wireframes-gtm {
        height: 820px;
    }

}

@media only screen and (max-width: 422px) {

    section {
        margin-bottom: 200px;
    }

    .hero-nav-container {
        min-height: 130px;
        bottom: 27%;
    }

    .caption {
        flex-direction: column;
    }

    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
    }

    .nav-mobile {
        padding: 14px 14px 25px 14px;
    }

    .nav-mobile-buttons {
        flex-direction: column;
    }

    .container-footer {
        flex-direction: column;
        position: relative;
    }

    .container-notices {
        align-self: center;
        padding-bottom: 100px;
    }

    .social-media {
        position: fixed;
        transform: translateX(-14px);
        right: 0;
        bottom: 14px;
        transition: transform 0.3s ease-in-out;
    }

    .footer-bottom .social-media {
        transform: translateX(calc(-100vw/2 + 87px));
        bottom: 40px;
    }

    .about-leftside {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .about-leftside:last-child {
        width: 100%;
    }

    .profile-img {
        width: 100%;
        max-width: 200px;
    }

    .contact-needs {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        width: 185px;
    }

    #contact .submit {
        height: 69px;
        align-items: center;
        flex-direction: column;
    }

    .links {
        flex-direction: column;
        align-items: center;
    }

    .content-triggers {
        flex-direction: column;
    }

    .persona-left {
        flex-direction: column;
    }

    .carousel-plans {
        max-height: 615px;
    }

    .carousel-renderings {
        max-height: 200px;
    }

    .rcs1-plans,
    .winds1-plans {
        min-height: 260px;
    }

    .ors2-plans {
        min-height: 592px;
    }


    .carousel.carousel-photos {
        height: 288px;
    }

    .case-study-container .carousel.carousel-wireframes-gtm {
        height: 610px;
    }

}

@media only screen and (max-width: 376px) {
    .hero-nav-container {
        bottom: 35%;
    }

    h1.h1-lg {
        width: 99%;
    }

    .case-study-container .carousel.carousel-wireframes-gtm {
        height: 540px;
    }

}