@media only screen and (max-width: 1700px) {

    .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;
    }

}

@media only screen and (max-width: 1066px) {

    .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 {
        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;
    }

    #links-final {
        width: auto;
        max-width: 360px;
        margin-bottom: 25px;
    }

}

@media only screen and (max-width: 820px) {

    .survey-row {
        flex-direction: column;
    }

    .survey-icons {
        width: 100%;
    }

    #work .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;
    }

}

@media only screen and (max-width: 760px) {
    .popup {
        padding-bottom: 80px;
    }

    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;
    }
}

@media only screen and (max-width: 560px) {

    .hero-btns-container {
        bottom: 15%;
    }

    #about-header-desktop {
        display: none;
    }

    #about-header-mobile {
        display: block;
    }

    .container-about {
        flex-direction: column;
    }

    .about-leftside {
        flex-direction: row;
    }

    #contact-need-desktop {
        display: none;
    }

    #contact-need-mobile {
        display: flex;
    }

    #work .carousel {
        flex-direction: column;
        row-gap: 5px;
    }

    .mobile-carousel-btns {
        display: flex;
        width: 100%;
        height: auto;
        justify-content: space-between;
    }

    .carousel-img-container,
    .carousel .scroll-y {
        width: 100%;
    }

    .btn-previous,
    .btn-next {
        position: unset;
        transform: translateY(0);
    }

    .desktop-carousel-btns {
        display: none;
    }
}

@media only screen and (max-width: 422px) {

    .hero-btns-container {
        bottom: 20%;
    }

    .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;
    }

    #hero h1 {
        font-size: 2.75em;
    }

    .about-leftside {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .contact-needs {
        width: 100%;
        flex-direction: column;
    }

    #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;
    }

}