.for-landscape {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    z-index: 10000;
    background: #131116;
    display: none;
}

.phone {
    height: 50px;
    width: 100px;
    border: 3px solid white;
    border-radius: 10px;
    animation: rotate 1.5s ease-in-out infinite alternate;
    /* display: none; */
}

.message {
    color: white;
    font-size: 1em;
    margin-top: 40px;
    /* display: none; */
}

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    50% {
        transform: rotate(-90deg)
    }

    100% {
        transform: rotate(-90deg)
    }
}

@media only screen and (max-device-width: 813px) and (orientation: landscape) {

    .phone,
    .message,
    .for-landscape {
        display: flex;
    }
}


@media (max-width: 1580px) {
    h1 {
        font-size: 2.2vw;
    }
}

@media (max-width: 1500px) {
    .about-team-screen p {
        margin-top: 2.6vw;
        font-size: 1vw;
    }

    @media (max-width: 1216px) {
        .triger {
            font-size: 90px;
        }
    }

    @media (max-width: 1024px) {
        #container {
            z-index: -1;
            opacity: 0.4;
        }

        #container-2 {
            transform: translateX(20%);
            overflow: visible;
            display: none;
        }

        canvas {
            opacity: 0.4;
        }

        #container-5 canvas {
            opacity: 1;
        }

        #container-4 canvas {
            opacity: 1;
        }

        h1 {
            font-size: 40px;
            text-align: center;
        }

        h2 {
            font-size: 40px;
            width: 100%;
        }

        .third-p {
            font-size: 2vw;
        }

        .thank-you-screen {
            top: 0;
        }

        .plans-screen {
            top: 0;
        }

        .fifth-p {
            font-size: 2vw;
        }

        .p-fourth {
            font-size: 2vw;
        }



        .left-content {
            width: 100%;
            position: relative;
            padding-right: 3%;
            padding-left: 3%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            margin-left: 0%;
        }

        .bg {
            opacity: 0;
        }

        .drag-to {
            text-align: center;
            margin-top: 25px;
        }

        .drag-and-drop {
            margin-top: 60px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            /*opacity: 0;*/
        }

        .content-wrapper p {
            font-size: 4vw;
            letter-spacing: 1px;
            line-height: 1.6em;
        }

        .right-content-fourth {
            width: 100%;
            margin-left: 0px;
            margin-right: 0px;
            padding-left: 5%;
            padding-right: 5%;
        }

        .left-content:nth-child(2) {
            width: 100%;
            margin-left: 0px;
            margin-right: 0px;
            padding-left: 5%;
            padding-right: 5%;
        }

        .right-third {
            display: none;
        }

        .left-content-fourth {
            width: 100%;
            margin-left: 0px;
            margin-right: 0px;
            padding-left: 5%;
            padding-right: 5%;
        }

        .left-content-fourth.footer {
            width: 100%;
            margin-left: 0px;
            margin-right: 0px;
            padding-left: 5%;
            padding-right: 5%;
        }

        .before-portfolio {
            width: 100%;
            margin-left: 0px;
            margin-right: 0px;
            padding-left: 5%;
            padding-right: 5%;
        }

        .before-portfolio-h2-wrapper {
            width: 100%;
        }

        .third {
            height: auto;
            padding-top: 12%;
        }

        .last {
            padding-top: 10%;
        }

        .about-team {
            top: 0;
        }

        .about-team-screen p {
            font-size: 1.2vw;
        }

    }

    @media (max-width: 820px) {
        body {
            touch-action: none;
        }

        h1 {
            font-size: 6vw;
        }

        h2 {
            font-size: 6vw;
        }

        .button {
            transform: scale(0.8);
        }

        .triger {
            font-size: 8vw;
        }

        .about-team-screen p {
            font-size: 2.2vw;
        }


        .content-wrapper p {
            font-size: 4.6vw;
            letter-spacing: 1px;
            line-height: 1.6em;
        }

        .last {
            height: auto !important;
        }

        .contacts {
            font-size: 16px !important;
        }

        .thank-you-screen-text-p-1 {
            font-size: 14px;
        }

        .thank-you-screen-text-p-2 {
            font-size: 12px;
        }

        .pink.middle {
            font-size: 24px;
        }

        .pink.mini {
            font-size: 16px;
        }

        .plans-screen-window p {
            font-size: 12px;
        }

        .about-team-screen-logo {
            display: none;
        }

        .about-team-screen {
            width: 100%;
            padding-top: 0vw;
            padding-bottom: 4vw;
            padding-left: 0vw;
            padding-right: 0vw;

        }

        .about-team-screen p {
            padding-left: 3.5vw;
            padding-right: 7vw;
        }

        .pink.about {
            font-size: 3vw;
            padding-left: 3.5vw;
            padding-right: 7vw;
            margin-top: 4vw;

        }
    }



    @media (max-width: 460px) {

        body {
            -moz-touch-action: none;
            -khtml-touch-action: none;
            -webkit-touch-action: none;
            touch-action: none;
            overflow-x: hidden;
        }

        h2 {
            font-size: 6vw;
        }

        .right-third {
            display: block;
        }

        #container-2 canvas {
            transform: scale(1);
        }

        .about-team-screen p {
            font-size: 16px;
        }


        .content-wrapper {
            padding-left: 20px;
            padding-right: 20px;
        }

        .third {
            height: auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            padding-top: 12vh;
            /*padding-bottom: 30%;*/
            position: relative;
            overflow: hidden;
        }

        .fifth {
            height: auto;
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 6vh;
            padding-bottom: 12vh;
        }

        .before-portfolio {
            padding-top: 0%;
        }

        .last {
            padding-top: 12vh;
        }

        .third-bg {
            height: 100vh;
            width: 100vh;
            z-index: -2;
        }



        .right-content.right-third {
            height: 60vh;
            width: 100%;
            margin-top: 24%;
            /*display: none;*/
        }

        .thank-you-screen-close img {
            max-width: 20px;
        }

        .thank-you-screen-close {
            top: 3%;
        }

        #container-2 {
            position: relative;
            height: 100%;
            transform: translateX(0%);
            overflow: hidden;
            opacity: 1;
            display: block;
        }

        #container-2 canvas {
            opacity: 1;
            display: block;
        }

        .right-third {
            overflow: hidden;
        }

        .third-p {
            font-size: 4vw;
            margin-top: 24%;
        }

        .fifth-p {
            font-size: 4vw;
            margin-top: 24%;
        }

        .p-fourth {
            font-size: 4vw;
            margin-top: 24%;
        }


        p {
            opacity: 0;
            transform: translateY(20px);
        }

        .drag-and-drop {
            transform: scale(0.8);
        }

        .left-content {

            justify-content: flex-end;
            align-items: center;
            overflow: hidden;
            padding-bottom: 10%;
            padding-right: 20px;
            padding-left: 20px;
        }

        .left-content:nth-child(2) {
            justify-content: center;
            align-items: flex-start;
            padding-bottom: 0%;
            height: 50%;
            width: 100%;
        }

        .content-wrapper p {
            font-size: 5.6vw;
        }

        .scroll-down {
            width: 70%;
            margin: 0 auto;
        }

        .scroll-down-text {
            font-size: 10px;
        }

        .left-content:nth-child(2) {
            margin-left: 0%;
            margin-right: 0px;
            padding-left: 20px;
            padding-right: 20px;
        }

        .rigth-content {
            margin-right: 0px;
            margin-left: 0px;
            padding-left: 20px;
            padding-right: 20px;
        }


        .fourth {
            height: auto;
            /*padding-top: 10%;*/
            padding-bottom: 10%;
            padding-top: 12vh;
        }

        .right-content-fourth {
            text-align: right;
            height: 60%;
            width: 95%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-right: 20px;
            margin-left: 20px;
            padding-left: 0px;
            padding-right: 0px;
            align-self: flex-end;
        }

        .left-content-fourth {
            height: 35%;
            width: 95%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-left: 20px;
            margin-right: 20px;
            padding-right: 0px;
            padding-left: 0px;
        }

        .before-portfolio-h2-wrapper {
            width: 95%;
        }

        #container-5 {
            width: 50vh;
            height: 50vh;
        }

        .portfolio {
            display: none;
        }

        .links-wrapper {
            width: 50vh;
            height: 50vh;
        }

        .text-field {
            min-width: auto;
            max-width: none;
        }

        .scene-nav--prev {
            left: 10%;
            right: auto;
        }

        .scene-nav--next {
            right: 10%;
            left: auto;

        }

        .scene-nav {
            bottom: 0%;
            top: auto;
        }

        .h3-wrapper {

            top: 10%;
            font-size: 20px;
        }

        .left-content-fourth.footer {
            width: 90%;
        }

        form .button {
            margin-right: 0px;
            margin-top: 15px;
        }

        .thank-you-screen-circle-1 {
            width: 100vh;
            height: 100vh;
        }

        .thank-you-screen-circle-2 {
            width: 100vh;
            height: 100vh;
        }

        .contacts {
            font-size: 14px !important;
        }

        .right-content-last {
            width: 100%;
        }

        .right-content-last a {
            margin-top: 20px !important;
        }

        .plans-circle-1,
        .plans-circle-2 {
            height: 100vh;
            width: 100vh;
        }

        .plans-screen-window p {
            opacity: 1 !important;
            margin-top: 0px;
        }

        .plans-screen-window {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .plans-screen-window-item {
            margin-top: 60px;
        }

        .about-team-screen p {
            opacity: 1 !important;
            font-size: 14px;
            margin-top: 0px;
        }

        .pink.about {
            font-size: 5vw;
            margin-top: 5vw;
        }

        .about-team-circle {
            width: 100vh;
            height: 100vh;
        }

        .about-team-circle-2 {
            width: 100vh;
            height: 100vh;
        }

                .plans-screen-window-item {
            margin-top: 40px;
        }

        .plans-screen-window-item:nth-child(1) {
            margin-top: 40px;
        }

                 .plans-screen-window {
            padding-top: 20px;
            padding-bottom: 20px;
         }
    }


    @media (max-width: 330px) {
        .right-content-fourth {

            margin-right: 20px;
            margin-left: 20px;
            padding-left: 6px;
        }

        .button-text {
            font-size: 19px;
        }

        .form-button {
            font-size: 19px;
        }

        .contacts {
            font-size: 10px !important;
        }

        .right-content-last a {
            margin-top: 15px !important;
        }

        .pink.middle {
            font-size: 22px;
        }
         .plans-screen-window {
            padding-top: 20px;
         }
        .plans-screen-window-item {
            margin-top: 30px;
        }

        .plans-screen-window-item:nth-child(1) {
            margin-top: 30px;
        }

        .pink.mini {
            font-size: 14px;
        }

        .about-team-screen p {
            font-size: 12.5px;
        }

    }