@media (min-width: 2000px) {
    #team .scroll-line2_2 {
        left: calc(60% - 3px);
    }
    #team .scroll-line2_3 {
        left: calc(85% - 6px);
    }
    #team .scroll-line2_3 {
        width: 60%;
    }
    #team .scroll-line2_1 {
        left: 30%;
        width: 30%;
    }
    .team-member3 {
        width: 35%;
        margin-right: -10%;
    }
}
@media (max-width: 980px) {
    /* .social-links span, .social-links .description-title {
        letter-spacing: .53vw;
    } */

}
@media (max-width: 640px) {
    body, section {
        height: calc(100vh - 50px);
    }
    .logo-mobile {
        display: block;
    }
    .menu-opener {
        position: fixed;
        top: 40px;
        left: 10%;
        /* left: 40px; */
        /* visibility: hidden; */
        /* opacity: 0; */
    }
    .menu-opener span {
        /* line-height: 3.5em; */
        font-size: 10px;
    }
    .menu-opener span:first-child {
        margin-bottom: 30px;
    }
    .menu-opener span a {
        color: #000;
    }
    .menu-trigger-wrapper {
        height: 15px;
    }
    .menu-opened .menu-trigger-wrapper {
        height: auto;
    }
    .menu-trigger-wrapper a {
        height: 100%;
    }
    .menu-trigger-wrapper .sub-menu {
        flex-direction: column;
    }
    .menu-trigger-wrapper .sub-menu li {
        margin: 0 0 30px;
    }
    .menu-trigger-wrapper .sub-menu li:last-child {
        display: none;
    }
    .section-title {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    /* Home Section */
    .mouse-icon-right, .mouse-icon-left {
        width: 12px;
        height: 40px;
    }
    .scroll-text {
        font-size: 8px;
    }
    .home-container {
        max-height: none;
        height: 100%;
    }
    #home .scroll-line1 {
        left: 100%;
    }
    .logo-container {
        margin-right: 0;
    }
    .logo-container img {
        /* width: 100vw; */
        width: 100%;
        max-width: 250px;
    }
    .home-stairs svg {
        max-width: 250px;
        width: 100%;
    }
    .logo-stairs-wrapper {
        justify-content: center;
        width: 100%;
        /* height: auto; */
        align-self: flex-end;
        justify-self: center;
        margin-top: 45px;
        opacity: 0;
        visibility: hidden;
    }
    .welcome-words span {
        letter-spacing: 5px;
        font-size: calc(10px + 1vw);
    }
    #ww1 {
        margin-right: 0;
        float: left;
    }
    #ww2 {
        float: right;
    }
    #ww3 {
        line-height: 2em;
        float: left;
        min-width: 100%;
        margin-top: 25px;
    } 
    /* End Home Section */



    /* SCROLL LINES */
    .scroll-lines-wrapper {
        position: absolute;
        width: 100% !important;
        height: 100%;
    }

    /* PORTFOLIO SECTION */
    #portfolio {
        -webkit-filter: blur(5px);
                filter: blur(5px);
        margin-top: 70vh;
    }
    .carousel-wrapper {
        width: 100%;
        /* left: 10%; */
        /* max-width: 100%; */
        height: 50vh;
        position: absolute;
        top: calc(50% - 25vh);
        overflow: hidden;
    }
    #portfolio .scroll-lines-wrapper {
        width: 100%;
    }
    .carousel-img {
        width: 100%;
        height: 100%;
    }
    .carousel-img img {
        width: 100%;
        height: 100%;
    }
    .portfolio-services-number {
        display: none;
    }
    #portfolio-title, #portfolio-services-title {
        min-width: 100%;
        margin-right: 0;
    }
    .section-title span {
        font-size: 12px;
        letter-spacing: 8px;
    }
    #portfolio-number, #portfolio-services-number {
        display: none;
    }
    #portfolio .scroll-line1 {
        left: 100%;
    }
    .portfolio-container {
        /* height: 100vh; */
        height: 100%;
        padding-bottom: 10vh;
    }
    .carousel-wrapper.on-the-roll {
        opacity: 0;
        visibility: hidden;
    }
    .accomplished-container {
        padding-bottom: 10vh;
    }
    #portfolio-accomplished-number {
        display: none;
    }
    .dots {
        display: none;
    }
    .pswp__zoom-wrap {
        height: 100%;
    }
    .pswp__img {
        height: 100% !important;
        width: 100% !important;
        -o-object-fit: contain;
           object-fit: contain;
    }



    /* SERVICES SECTION */
    .services-container {
        /* height: 100vh; */
        height: 100%;
        padding-bottom: 10vh;
    }
    #services .section-description {
        display: none;
    }
    #services .scroll-lines {
        width: 100%;
        z-index: 9;
    }
    #services .scroll-line1 {
        background: #000 !important;
        width: 0;
        left: 0;
    }
    #services .scroll-lines2 {
        width: 70%;
        left: 100%;
    }
    #services .scroll-line2_1 {
        left: 20%;
    }
    .services-subtitle1 {
        left: 28%;
        bottom: calc(28% + 3px);
    }
    .section-subtitle span {
        font-size: 10px;
        text-transform: uppercase;
        max-width: 100px;
    }
    .section-subtitle i.arrow-right {
        display: none;
    }
    #services .scroll-line2_2 {
        right: 0;
        left: auto;
        bottom: 0 !important;
        top: auto !important;
    }
    .services-subtitle3 {
        right: -115px;
        left: auto;
        bottom: calc(63% + 4px);
    }
    #services .scroll-line2_3 {
        left: 30%;
        top: 0;
    }
    .services-subtitle2 {
        left: calc(34% + 5px);
        top: 48%;
    }
    #services-number {
        display: none;
    }
    .services-team-section-title {
        display: block;

    }



    /* TEAM SECTION */
    .team-container {
        /* height: 100vh; */
        height: 100%;
        padding-bottom: 10vh;
        flex-direction: column-reverse;
        padding-top: 20vh;
    }
    .team-section-title {
        align-self: flex-start;
    }
    #team-number {
        display: none;
    }
    #team .scroll-lines {
        width: 100%;
    }
    #team .scroll-lines2 {
        left: 100%;
    }
    #team .scroll-line2_1 {
        left: 0;
        width: 15%;
        height: 100%;
    }
    #team .scroll-line2_2 {
        left: calc(15% - 1px);
        width: 15%;
        height: 100%;
    }
    #team .scroll-line2_3 {
        left: calc(30% - 2px);
        width: 15%;
        height: 100%;
    }
    #team .scroll-line2 {
        background: #000;
        width: 200%;
        left: calc(45% - 3px);
    }
    /* .team-members {
        transform: skew(.78rad);
        height: 100%;
        transform-origin: bottom;
        width: 53%;
        left: 100%;
        top: 0;
    }
    .team-member1 {
        top: 39%;
        right: 35px;
        transform: skew(-.78rad);
        position: absolute;
        width: auto;
    }
    .team-member2 {
        position: absolute;
        transform: skew(-.78rad);
        width: auto;
        right: 35px;
        top: 51%;
    }
    .team-member3 {
        position: absolute;
        transform: skew(-.78rad);
        width: auto;
        right: 35px;
        top: 63%;
    }
    .team-members span {
        font-size: 10px;
        display: block;
        width: auto;
        color: #000 !important;
    } */
    
    .team-section-description {
        /* position: absolute; */
        position: relative;
        text-align: left;
        height: 100%;
        top: 0;
        /* padding-top: 25vh; */
        width: 100%;
        opacity: 0;
        visibility: hidden;
    }
    #team .description-title, .team-section-description p {
        opacity: 1;
        visibility: visible;
        font-size: 12px !important;
        color: #fff !important;
        text-shadow: -1px 0px 0px rgba(0,0,0,.9);
    }
    #partners-title {
        color: #000;
    }
    #partners-number {
        display: none;
    }
    #partners {
        /* display: block; */
        /* padding-top: 25vh; */
        width: 100%;
        justify-content: flex-start;
    }
    .partners-logos-wrapper {
        position: relative;
    }
    .logos-sami-dfine {
        margin-top: 5vh;
    }



    /* CONTACT SECTION */
    .contact-container {
        flex-direction: column;
        /* height: 100vh; */
        height: 100%;
        padding-top: 100px;
        padding-bottom: 10vh;
    }
    .social-links span {
        font-size: calc(1vh + 1vw + 2.5px);
        letter-spacing: 5px;
    }
    .contact-section-title {
        align-self: self-end;
        order: 2;
    }
    .social-links {
        /* display: grid; */
        justify-content: center;
        align-content: center;
        position: relative;
        width: 100%;
        padding: 50px 0;
    }
    #contact .description-title {
        letter-spacing: 5px;
        font-size: calc(1vh + 1vw + 2.5px);
        line-height: 1.3em;
        /* left: 150%; */
        white-space: nowrap;
        margin-bottom: 25px;
    }
    #contact-number {
        display: none;
    }
    .social-links a {
        display: block;
    }
    .team-partners-section-title {
        margin-right: 0;
    }
}
@media (min-width: 640px) {
    .menu-opener {
        opacity: 0;
        visibility: hidden;
    }
}
@media (max-width: 400px) and (max-height: 700px) {
    #services .scroll-lines2 {
        width: 65%;
    }
}