/*---------Youtube Video---------*/

@media screen and (max-width: 700px) {
    .youtube-video-close {
        right: 2vw;
        top: 2vw;
        width: 5vw;
        height: 5vw;
    }

    .youtube-video-close:before {
        height: 0.5vw;
        width: 5vw;
        margin-top: 3vw;
    }

    .youtube-video-close:after {
        height: 0.5vw;
        width: 5vw;
        margin-top: 3vw;
    }
}

@media screen and (max-width: 400px) {
    .youtube-video-close {
        right: 5vw;
        top: 5vw;
        width: 10vw;
        height: 10vw;
    }

    .youtube-video-close:before {
        height: 1vw;
        width: 10vw;
        margin-top: 3vw;
    }

    .youtube-video-close:after {
        height: 1vw;
        width: 10vw;
        margin-top: 3vw;
    }
}



/*---------Main Nav---------*/

@media screen and (max-width: 900px) {
    .main-wrapper {
        padding: 0;
        margin: 0;
    }

    .main-nav {
        padding: 0;
        align-items: baseline;
    }

    .main-nav .logo {
        margin: 25px 0 0 25px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 75px 0 0 0;
        text-align: center;
        margin: 25px;
        position: absolute;
        z-index: 10000000;
        right: 0;
        top: 0;
        background: white;
        border-radius: 15px;
        -webkit-box-shadow: 0px 8px 17px -4px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 8px 17px -4px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 8px 17px -4px rgba(0, 0, 0, 0.3);
        transition: all 200ms ease-in-out;
    }

    .main-nav li {
        padding: 25px 50px;
        font-size: 1.5rem;
        font-weight: 100;
        color: #333;
    }

    .main-nav li a {
        color: #333;
    }

    .main-nav li:hover {
        background: rgba(0, 0, 0, 0.15);
    }

    .main-nav li.sign-up {
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 40px 0;
        border: none;
        border-radius: 0px;
        background: rgba(0, 0, 0, 0.15);
    }

    .nav-opened {
        opacity: 1;
        visibility: visible;
    }

    .nav-closed {
        opacity: 0;
        visibility: hidden;
        transform: perspective(20em) rotateX(5deg);
    }

    .close-btn {
        transition: all 150ms ease-in-out;
    }

    .btn-open {
        display: visible;
        background: #444;
        top: 53px;
        right: 40px;
        width: 40px;
        height: 5px;
        border-radius: 5px;
        position: absolute;
        z-index: 99999999999;
        transform: rotate(135deg);
    }

    .btn-open:before {
        content: '';
        position: relative;
        display: block;
        background: #444;
        width: 30px;
        height: 5px;
        top: 15px;
        border-radius: 5px;
        z-index: 999999999999;
        right: -10px;
        opacity: 0;
    }

    .btn-open:after {
        content: '';
        position: relative;
        display: block;
        background: #444;
        width: 40px;
        height: 5px;
        top: 15px;
        right: -20px;
        border-radius: 5px;
        z-index: 999999999999;
        transform: rotate(270deg);
        transform-origin: 0%;
    }

    .btn-closed {
        display: visible;
        background: white;
        top: 50px;
        right: 40px;
        width: 40px;
        height: 5px;
        border-radius: 5px;
        position: absolute;
        z-index: 99999999999;
    }

    .btn-closed:before {
        content: '';
        position: relative;
        display: block;
        background: white;
        width: 30px;
        height: 5px;
        top: 10px;
        border-radius: 5px;
        z-index: 999999999999;
        right: -10px;
    }

    .btn-closed:after {
        content: '';
        position: relative;
        display: block;
        background: white;
        width: 40px;
        height: 5px;
        top: -15px;
        border-radius: 5px;
        z-index: 999999999999;
    }


}

/*---------Header---------*/

@media screen and (max-width: 1600px) {
    .hero-left {
        width: 30vw;
    }

    .hero-right {
        width: 70vw;
    }
}

@media screen and (max-width: 1400px) {
    .hero-left {
        width: 30vw;
    }

    .hero-right {
        width: 70vw;
        margin-left: 25px;
    }
}

@media screen and (max-width: 900px) {
    .hero-wrapper {
        display: block;
        margin: 0;
        padding: 50px;

    }

    .hero-left {
        width: 100%;
        position: relative;
        margin: 0;
        padding: 0;
    }

    .hero-right {
        width: 100%;
        margin: 25px 0 0;
        left: 0;
        position: relative;
        float: unset;
    }

    header {
        margin-bottom: 60vw;
    }
}

@media screen and (max-width: 700px) {
    .hero-right {
        width: 125%;
        margin: 0 0 0 50px;
        left: 0;
        position: relative;
        float: unset;
    }

    header {
        margin-bottom: 75vw;
    }
}

@media screen and (max-width: 375px) {
    .hero-right {
        width: 200%;
        margin: 50px 0 0 -50px;
        left: 0;
        position: relative;
        float: unset;
    }

    header {
        margin-bottom: 100vw;
    }

    .hero-left h1 {
        font-size: 2.2rem;
    }
}

/*---------First Section---------*/

@media screen and (max-width: 1320px) {
    .first-separation {
        width: 50vw !important;
        margin-bottom: 0px;
        padding: 0 100px;
    }

    .phone-video {
        margin-left: -150px;
    }

    .point {
        width: calc(50% + 50px);
        margin-bottom: 0px;
    }

    .point:nth-of-type(2) {
        margin-left: calc(50% + 100px);
    }

    .features-wrapper {
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 1100px) {

    .phone-video {
        margin-left: -100px;
        width: 70%;
    }

    .marketing-tool-wrapper {
        width: calc(30% + 150px);
        margin-right: 0;
        padding: 50px;
        margin-top: -350px;
    }

    .point {
        width: 100%;
        margin-bottom: 0px;
    }

    .point img {
        width: 7rem;
        height: 7rem;
        margin-left: calc(50% - 3.5rem);
        margin-top: -15px;
    }

    .point:nth-of-type(2) {
        margin-left: 0;
        margin-top: 25px;
    }

    .point:nth-of-type(3) {
        margin-top: 25px;
    }

    .features-wrapper {
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 900px) {
    .first-separation {
        font-size: 2.5rem;
        width: 90vw !important;
        margin-bottom: -50px;
        margin: 0 auto;
        padding: 50px;
        text-align: center;
    }

    .features-wrapper {
        flex-direction: column;
    }

    .phone-video {
        width: 100%;
        margin-left: 0;
    }

    .marketing-tool-wrapper {
        width: 80%;
        margin: 100px auto 0 auto;
    }

    .point {
        margin-left: 0px;
    }

    .point:nth-of-type(2) {
        right: 0;
        margin-left: 0;
        margin-top: 25px;
    }

    .point:nth-of-type(3) {
        margin-top: 25px;
    }

    .point img {
        width: 10rem;
        height: 10rem;
        margin-left: calc(50% - 5rem);
        margin-top: -15px;
    }
}

@media screen and (max-width: 700px) {
    .marketing-tool-wrapper {
        width: 90%;
        margin: 100px auto 0 auto;
    }

    .point {
        margin-left: 0px;
    }

    .point:nth-of-type(2) {
        right: 0;
        margin-left: 0;
        margin-top: 25px;
    }

    .point:nth-of-type(3) {
        margin-top: 25px;
    }

    .point img {
        width: 15rem;
        height: 15rem;
        margin-left: calc(50% - 7.5rem);
        margin-top: -15px;
    }
}

@media screen and (max-width: 600px) {
    .first-separation {
        font-size: 2.5rem;
        width: 100vw !important;
        margin-bottom: 100px;
        margin: 0 auto;
        padding: 50px;
        text-align: center;
    }

    .phone-video {
        margin-top: -150px;
    }
}

@media screen and (max-width: 500px) {
    .marketing-tool-wrapper {
        width: 100%;
        margin: 50px auto 0 auto;
    }

    .point {
        margin-left: 0px;
    }

    .point:nth-of-type(2) {
        right: 0;
        margin-left: 0;
        margin-top: 25px;
    }

    .point:nth-of-type(3) {
        margin-top: 25px;
    }

    .point img {
        width: 10rem;
        height: 10rem;
        margin-left: calc(50% - 5rem);
        margin-top: -15px;
    }

    .phone-video {
        margin-left: -75px;
        width: calc(100% + 100px);
    }
}

@media screen and (max-width: 450px) {
    .first-separation {
        font-size: 2.5rem;
        width: 100vw !important;
        margin-bottom: 100px;
        margin: 0 auto;
        padding: 50px;
        text-align: center;
    }

    .phone-video {
        margin-top: -175px;
    }

    .point {
        padding: 75px 50px;
        width: calc(100% + 50px);
        margin-left: -25px !important;
    }

    .point h3 {
        font-size: 1.3rem;
        margin-top: 25px;
    }

    .point p {
        font-size: 1rem;
    }

    .point img {
        width: 10rem;
        height: 10rem;
        margin-left: calc(50% - 5rem);
        margin-top: -15px;
    }
}


/*---------Video---------*/

@media screen and (max-width: 700px) {
    .video-desktop {
        visibility: hidden;
        margin: 0;
        padding: 0;
        height: 0;
        width: 0;
    }

    .video-mobile {
        visibility: visible;
        margin: 0;
        padding: 0;
        height: 100%;
        width: 100%;
    }

    .video-wrapper {
        padding: 50px 10%;
    }
}



/*---------How It Works---------*/

@media screen and (max-width: 1300px) {
    .steps-wrapper {
        width: calc(60% - 50px);
    }

    .how {
        width: 100%;
    }

    .how:nth-last-of-type(2) {
        float: unset;
        margin-top: 25px;
    }

}

@media screen and (max-width: 900px) {
    .how-it-works-wrapper {
        flex-direction: column;
    }

    .how-it-works-title {
        text-align: center;
        font-size: 1.8rem !important;
        width: calc(100% + 55px);
        margin: 0 auto !important;
        padding: 50px;
        margin-bottom: 75px !important;
    }

    .how-it-works-title ul {
        text-align: left;
    }

    .publish-wrapper {
        float: unset !important;
        width: calc(40% - 50px);
    }

    .publish-wrapper h3 {
        font-size: 1.5rem !important;
        width: 100%;
    }

    .site-image {
        width: 5rem;
        height: 5rem;
    }

    .site-image:nth-of-type(1) {
        /*background: #db3236;*/
        background: #acdff3;
        margin-top: 100px;

    }

    .site-image:nth-of-type(2) {
        /*background: #3b5998;*/
        background: #acdff3;
        margin-top: -3rem;
        margin-left: 5rem;
    }

    .site-image:nth-of-type(3) {
        /*background: #008373;*/
        background: #acdff3;
        margin-top: -1.5rem;
    }

    .site-image:nth-of-type(4) {
        /*background: #c41200;*/
        background: #acdff3;
        margin-top: -3rem;
        margin-left: 5rem;

    }

    .site-image:nth-of-type(5) {
        /*background: #720e9e;*/
        background: #acdff3;
        margin-top: -1.5rem;

    }


    .steps-wrapper {
        width: calc(60% - 50px);
        margin-left: 40%;
    }

    .how {
        width: 100%;
    }

    .how:nth-last-of-type(2) {
        float: unset;
        margin-top: 25px;
    }
}

@media screen and (max-width: 800px) {
    .how-it-works-title ul {
        text-align: left;
        margin: 0 auto;
        margin-bottom: 50px;
    }

    .publish-wrapper {
        float: unset !important;
        width: 0vw;
        position: absolute;
        height: 0px;
        /* margin-left: 15px; */
        left: 10vw;
        right: 0;
        visibility: hidden;
    }

    .steps-wrapper {
        width: 80%;
        margin: 0 auto !important;
        margin-top: 50px !important;
    }

    .how {
        width: 100%;
        margin: 0;
        margin-top: 75px !important;
    }

    .how:nth-last-of-type(2) {
        float: unset;
    }

}

@media screen and (max-width: 450px) {
    .how-it-works-title ul {
        visibility: hidden;
        height: 0px;
        margin: 0;
    }

    .how-it-works-title {
        margin-bottom: 0 !important;
        padding: 0;
        text-align: center;
        width: 100vw !important;
        height: 50px;
    }

    .how-it-works-title h3 {
        width: 100% !important;
        margin: 0 auto;
        text-align: center;

    }

    .steps-wrapper {
        width: 100%;
        margin: 0 auto !important;
        margin-top: 50px !important;
    }

    .how {
        width: calc(100% - 50px);
        margin: 0;
        margin-top: 75px !important;
        margin-left: 25px;
    }

    .how img {
        margin-top: -25px;
    }

    .how h3 {
        font-size: 1.3rem;
        margin-top: 25px;
    }

    .how p {
        font-size: 1rem;
    }
}

/*---------Industries---------*/

@media screen and (max-width: 1300px) {
    .industries-container {
        height: 500px;
    }

    .industries-scroll-container {
        height: 500px;
        padding-top: 50px;
    }
}

@media screen and (max-width: 900px) {
    #popular_industries {
        text-align: center !important;
        width: 100vw !important;
        padding: 50px;
        justify-content: center !important;
        margin-left: 0 !important;
        margin-top: 100px;
    }

    .industries-container {
        height: 500px;
        margin-top: -100px
    }

    .industries-scroll-container {
        height: 500px;
    }

    .industries-wrapper {
        height: calc(22vw + 00px);
        width: 300%;
        padding-right: 100px;
        align-items: center;
    }

    .industry {
        margin-top: 200px;
    }
}


/*---------Get Started---------*/

@media screen and (max-width: 450px) {
    .get-started-wrapper h3 {
        font-size: 3.5rem;
    }

    .get-started-wrapper {
        padding: 75px 25px;
    }
}


/*---------Slants---------*/

@media screen and (max-width: 900px) {

    .video-background,
    .testimonial-container,
    .footer {
        width: calc(100vw + 50px);
    }
}