* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1280px;
    padding: 0 15px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

body {
    background: linear-gradient(160.48deg, #150118 1.19%, #03051D 39.25%);
    font-family: 'sf_pro_roundedregular', sans-serif;
}

.wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;

}

main {
    flex: 1 0 auto;
}

/* fonts */
@font-face {
    font-family: 'sf_pro_roundedregular';
    src: url('../fonts/fontsfree-net-sf-pro-rounded-regular-webfont.woff2') format('woff2'),
    url('../fonts/fontsfree-net-sf-pro-rounded-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* Header */

.header {
    background: #090022;
    padding: 20px 0;
    position: fixed;
    top: 0;
    z-index: 5;

    left: 0;
    right: 0;
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
}

.burger {
    position: relative;
    height: 45px;
    width: 35px;
    margin-left: auto;
    cursor: pointer;
    display: none;
    visibility: hidden;
    transition: all .3s ease 0s;
}

.burger__top {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #FFFFFF;
    top: 43%;
    transform: translateY(-43%);
}


.burger__bottom {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #FFFFFF;
    top: 66%;
    transform: translateY(-63%);
}

.burger::before {
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    background: #FFFFFF;
    top: 18%;
    transform: translateY(-22%);
}

.header__logo {
    font-weight: 700;
    font-size: 24px;
}

.nav {
    flex: 0 0 65%;
    font-weight: 600;
    font-size: 20px;
}

.nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__item {
    cursor: pointer;
    display: block;
}

.hidden {
    display: none;
    visibility: hidden;
}

/*
Intro
*/

.intro {
    padding: 125px 0 50px;
    margin-top: 50px;
    color: #ffffff;
    position: relative;
    height: 950px;
}

.intro__img {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 100%;
    min-width: 85%;
    height: 950px;
    opacity: 0.6;
    z-index: -1;

}

.intro__title {
    font-weight: 600;
    font-size: 64px;
    width: 40%;

}

.intro__title span {
    color: #E200E7;
}

.intro__text {
    margin: 80px 0 130px;
    width: 45%;
    font-weight: 400;
    font-size: 24px;
}

.intro__link {
    font-weight: 600;
    font-size: 36px;
    font-family: 'sf_pro_roundedregular', sans-serif;
    color: #F424E0;
    padding: 20px 0;
    background: #000239;
    border: 4px solid #F424E0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    width: 22%;
    margin-bottom: 80px;
    justify-content: center;
}

.intro__socials {
    display: flex;
    align-items: center;
}

.intro__social {
    border: 2px solid #751398;
    border-radius: 10px;
    margin-right: 20px;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*
Help
 */


.help {
    margin: 30px 0 50px;
}

.help__title {
    display: flex;
    align-items: center;
    font-weight: 600;
    flex: 1 0 auto;
    font-size: 48px;
    color: #ffffff;
}

.help__title:before {
    content: '';
    height: 2px;
    flex: 0 0 20%;
    margin-right: 40px;
    background: #751398;
}

.help__title:after {
    content: '';
    height: 2px;
    flex: 1 0 auto;
    background: #751398;
    margin-left: 40px;
}

.help__wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
}

.help__item {
    border: 4px solid transparent;
    background: #000239;
    border-radius: 10px;
    padding: 27px 28px 75px;
    flex: 0 0 22%;
    color: #ffffff;
    transition: all .2s linear;
}

.help__item:hover {
    border-color: #F724E2;
}

.help__item--title {
    font-weight: 600;
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.help__item--text {
    font-weight: 400;
    font-size: 18px;
}


/* About */
.about {
    margin: 60px 0;
    color: #ffffff;

}

.about__title {
    font-weight: 700;
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 0 auto;
}

.about__title:after {
    content: '';
    flex: 0 0 20%;
    background: #751398;
    height: 2px;
    margin-left: 40px;
}

.about__wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 46px;
}

.about__img {
    flex: 0 0 62%;
}

.about__img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.about__text {
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 46px;

}

/*
Process
*/

.process {
    margin: 60px 0;
    color: #ffffff;
}

.process__wrapper {
    display: flex;
    justify-content: space-around;
    margin: 100px 0;
    flex-wrap: wrap;
}

.process__item {
    flex: 0 0 40%;
    text-align: right;
}

.process__left {
    text-align: left;
}

.process__item img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.process__item--title {
    font-weight: 500;
    font-size: 42px;
    width: 85%;
    margin-left: auto;
    margin-bottom: 24px;
}


.process__item--text {
    font-weight: 400;
    font-size: 24px;
    width: 85%;
    margin-left: auto;
}

.process__item--divide {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 40px;
}

.process__divider {
    width: 6px;
    height: 170px;
    background: #ffffff;
    margin-top: 24px;
}

/*
services
*/

.services {
    margin: 100px 0;
}


.services__wrapper {
    display: flex;
    justify-content: space-around;
    margin: 100px 0;
}

.services__item {
    flex: 0 0 32%;
}

.services__img img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.services__text {
    margin: 30px 0 0 0;
    color: #ffffff;
    font-size: 24px;
}

/*
Portfolio
*/

.portfolio {
    margin: 60px 0;
}

.portfolio__sub-title {
    font-size: 48px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 100px;
    flex: 1 0 auto;
}

.portfolio__sub-title:after {
    content: '';
    background: #751398;
    height: 2px;
    flex: 0 0 37%;
    margin-left: 40px;
}

.portfolio__wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin: 100px 0 50px;
}

.portfolio__item {
    margin-bottom: 30px;
}

.portfolio__item--half {
}

.portfolio__more {
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    font-size: 36px;
    border: 4px solid #F424E0;
    border-radius: 10px;
    color: #F424E0;
    padding: 20px 50px;
    background: none;
}

/*
Videos
*/
.videos {
    margin: 100px 0;
}

.videos__main {
    margin: 100px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.videos__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.videos__prev, .videos__next {
    border: none;
    background: none;
    flex: 0 0 10%;
    cursor: pointer;
}

.videos__thumbs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 0 auto;
}

/*
Directions
*/
.directions {
    margin: 100px 0;
}

.directions__item--circle {
    background: #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
}

.directions__item {
    border: 1px solid #651291;
}

.directions__item:hover {
    border-color: #651291;
}

.directions__list {
    padding-left: 28px;
}

.directions__list--item {
    margin-bottom: 8px;
    font-weight: 400;
    font-size: 18px;
}

/*
Contacts
*/
.contacts {
    margin: 100px 0;
}

.contacts__form {
    padding: 43px 28px;
    background: #000239;
    border-radius: 10px;
    margin: 100px 0;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.contacts__lines {
    position: absolute;
    right: 0;
    bottom: 0;

}

.contacts__map {
    flex: 0 0 45%;
}

.contacts__map img {
    max-width: 100%;
    height: 100%;
    mix-blend-mode: exclusion;
}

.contacts__form--inner {
    flex: 0 0 53%;
    z-index: 1;
}

.contacts__phone {
    font-weight: 700;
    margin-bottom: 11px;
}

.contacts__phone, .contacts__email {
    display: block;
    color: #ffffff;
    font-size: 36px;
}

.contacts__email {
    text-decoration: underline;

}

.contacts__socials {
    margin: 65px 0;
}

.contacts__form--input {
    background: #02051C;
    display: block;
    width: 100%;
    border-radius: 10px;
    border: none;
    margin-bottom: 10px;
    padding: 20px 53px 20px 20px;
    font-weight: 400;
    font-size: 24px;
    font-family: 'sf_pro_roundedregular', sans-serif;
    color: #ffffff;
}

.contacts__btn {
    font-weight: 600;
    font-size: 36px;
    background: none;
    border: 4px solid #F424E0;
    border-radius: 10px;
    color: #F424E0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 62px;
    margin-top: 24px;
    cursor: pointer;
}

/*
Footer
*/

.footer {
    padding: 30px 0;
    color: #ffffff;
}

.footer__wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer__logo {
    font-weight: 700;
    font-size: 24px;
}

.footer__socials {
    flex-wrap: wrap;
    flex: 0 0 25%;
}

.footer__social {
    margin-bottom: 20px;
}

.footer__item {
    display: block;
    flex: 0 0 25%;
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 14px;
}

.footer__item svg {
    margin-right: 6px;
}

.footer__item:first-child {
    font-weight: 600;
    font-size: 16px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.73);
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    padding-top: 22px;
}

@media (max-width: 1199px) {
    .container {
        max-width: calc(100% - 25px);
        padding: 0;
    }

    .burger {
        display: block;
        visibility: visible;
        margin-right: 25px;
        z-index: 25;
        transition: all .2s linear;
    }

    .burger__active {
        transition: all .2s linear;
    }

    .backdrop__active {
        background: rgba(217, 217, 217, 0.2);
        backdrop-filter: blur(50px);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .burger__active:before {
        top: 20px;
        transform: rotate(45deg);
        content: '';
        position: absolute;
        transition: all .4s linear;
        height: 2px;
        width: 100%;
        background: #FFFFFF;
    }

    .burger__active .burger__top {
        display: none;
        visibility: hidden;
    }


    .burger__active .burger__bottom {
        transform: rotate(-45deg);
        content: '';
        position: absolute;
        transition: all .4s linear;
        height: 2px;
        width: 100%;
        background: #FFFFFF;
        top: 20px;
    }


    .nav__list {
        position: fixed;
        display: flex;
        flex-direction: column;
        right: -100%;
        top: 0;
        z-index: 20;
        bottom: 0;
        padding-left: 15px;
        padding-top: 35px;
        background: linear-gradient(160.48deg, rgba(21, 1, 24, 0.32) 1.19%, rgba(3, 5, 29, 0.32) 39.25%);
        backdrop-filter: blur(40px);
        transition: all .3s ease-in-out;
        align-items: flex-start;
        min-width: 0;
        border-left: 1px solid #FFFFFF;
        border-bottom: 1px solid #FFFFFF;
        overflow-y: scroll;
        overflow-x: hidden;
        justify-content: flex-start;
    }

    .nav__item {
        font-weight: 600;
        font-size: 20px;
        margin-bottom: 19px;
    }

    .hidden {
        display: block;
        visibility: visible;
        font-weight: 600;
        font-size: 20px;
    }

    .nav__list--active {
        right: 0;
        min-width: 100%;
    }

    .intro__title {
        width: 60%;
        font-weight: 600;
        font-size: 64px;
    }

    .intro__img {
        min-width: 100%;
        max-width: unset;
    }

    .intro__text {
        width: 60%;
        z-index: 1;
        background: rgba(0, 2, 57, 0.32);
        backdrop-filter: blur(40px);
        /* Note: backdrop-filter has minimal browser support */
        padding: 20px;
        border-radius: 10px;
    }

    .intro__link {
        width: 40%;
    }

    .intro__socials {
        flex-wrap: wrap;
        width: 35%;
    }

    .intro__social {
        margin-bottom: 15px;
    }

    .help__title {
        justify-content: center;
    }

    .help__title span {
        flex: 1 0 auto;
        text-align: center;
    }

    .help__title:before, .help__title:after {
        flex: 1 0 20%;
    }

    .help__title:before {
        margin-right: 15px;
    }

    .help__title:after {
        margin-left: 15px;
    }

    .help__wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .help__item {
        flex: 0 0 35%;
        margin: 0 15px 30px;
    }

    .about__wrapper {
        padding: 0 0 100px;
        position: relative;
    }

    .about__img {
        background-image: url("../assets/about.png");
        background-repeat: no-repeat;
        background-size: cover;
        padding: 35px 0;
        position: absolute;
        opacity: 0.8;
        filter: blur(3px);
        left: 0;
        top: 40%;
        transform: translateY(-50%);
        width: 100%;
        height: 500px;
        z-index: -1;
    }

    .about__img img {
        display: none;
    }

    .about__info {
        flex: 0 0 100%;
    }

    .about__text {
        width: 50%;
        margin-left: auto;
        background: rgba(0, 2, 57, 0.32);
        backdrop-filter: blur(40px);
        /* Note: backdrop-filter has minimal browser support */
        padding: 20px;
        border-radius: 10px;
        font-weight: 400;
        font-size: 24px;
    }

    .process__item--title {
        width: 100%;
    }

    .process__item--text {
        width: 100%;
    }

    .process__divider {
        height: 188px;
    }

    .services__wrapper {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .services__item {
        width: 40%;
        margin-bottom: 30px;
    }

    .portfolio__wrapper {
        align-items: center;
    }

    .portfolio__item {
        flex: 0 0 45%;
        margin: 0 0 20px 0;
    }

    .portfolio__item img {
        width: 100%;
        object-fit: cover;
        height: 350px;
        border-radius: 10px;
    }

    .portfolio__sub-title:after {
        flex: 1 0 auto;
    }

    .contacts__form {
        flex-wrap: wrap;
    }

    .contacts__map {
        flex: 0 0 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    .contacts__map img {
        min-width: 100%;
    }

    .contacts__socials {
        width: 100%;
    }

    .contacts__form--inner {
        flex: 0 0 100%;
    }

    .footer__wrapper {
        flex-wrap: wrap;
    }

    .footer__logo {
        flex: 0 0 50%;
    }

    .footer__socials {
        flex: 0 0 100%;
        order: 1;
        justify-content: center;
        margin-top: 35px;
    }

}

@media (max-width: 991px) {
    .intro {
        height: 650px;
    }

    .intro__title {
        width: 75%;
        font-weight: 600;
        font-size: 40px;
    }

    .intro__text {
        width: 100%;
        font-weight: 400;
        font-size: 15px;
    }

    .intro__img {
        height: 600px;
        min-width: 160%;
    }

    .intro__socials, .intro__link {
        display: none;
        visibility: hidden;
    }


    .about {
        margin: 50px 0;
        padding: 0;

    }

    .about__wrapper {
        padding: 0;
    }

    .about__img {
        opacity: 0.4;
    }

    .about__text {
        flex: 0 0 100%;
        width: 100%;
        font-weight: 400;
        font-size: 14px;
        background: none;
        backdrop-filter: blur(0);
    }

    .process__item {
        flex: 0 0 90%;
        text-align: left;
    }

    .process__item--img {
        display: none;
        visibility: hidden;
    }

    .process__item img {
        visibility: hidden;
    }

    .first {
        order: 0;
    }

    .second {
        order: 1;
    }

    .third {
        order: 2;
    }

    .fourth {
        order: 3;
    }

    .fifth {
        order: 5;
    }

    .sixth {
        order: 4;
    }

    .services__item {
        width: 80%;
        text-align: center;
    }

    .services__text {
        font-size: 16px;
    }

    .help__title {
        font-size: 36px;
    }

    .portfolio__sub-title {
        font-size: 32px;
        padding-left: 15px;
    }

    .portfolio__more {
        font-size: 20px;
    }

    .contacts__email, .contacts__phone {
        font-size: 18px;
    }

    .contacts__email {
        margin-bottom: 35px;
    }

    .contacts__btn {
        font-size: 17px;
    }

    .footer__socials {
        display: flex;
        visibility: visible;
    }

    .contacts__form {
        padding: 10px;
    }

    .contacts__form--input {
        padding: 9px 15px;
    }

    .contacts__form--input::placeholder {
        font-size: 14px;

    }
}

@media (max-width: 767px) {
    .help__item {
        flex: 0 0 90%;
    }

    .process__item {
        flex: 0 0 80%;
    }

    .process__item--text {
        font-weight: 400;
        font-size: 16px;
        width: 70%;
        text-align: left;
        margin-right: auto;
        margin-left: 0;
        line-height: 1.5;
    }

    .process__item--title {
        font-size: 32px;
    }

    .directions__list--item {
        width: 70%;
        margin: 0 auto 6px;
        text-align: center;
    }

    .footer__list {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }

    .footer__logo {
        flex: 0 0 100%;
        order: -2;
        text-align: center;
    }

    .footer__socials {
        order: -1;
    }

    .contacts {
        margin-bottom: 50px;
    }
}

@media (max-width: 575px) {
    .process, .contacts, .help, .about {
        margin: 50px 0;
    }

    .process__item--text {
        width: 100%;
    }

    .about__wrapper {
        margin: 25px 0;
    }

    .about__text {
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .directions__list--item {
        width: 100%;
    }

    .contacts__form, .help__wrapper, .videos__main, .portfolio__wrapper, .services__wrapper, .process__wrapper {
        margin: 35px 0;
    }

    .portfolio__sub-title {
        margin-top: 35px;
    }

    .help__title span {
        flex: 1 0 80%;
    }

    .portfolio__item img {
        height: 200px;
    }
}
