@import url("./nullstyle.css");
@import url("./burger.css");

.wraper {
    overflow-x: hidden;
    min-height: 100vh;
    background-color: #10151c;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0px 30px;
    box-sizing: content-box;
}

.default-title {
    font-weight: 500;
    font-size: 44px;
    line-height: 132%;
}

.default-text {
    font-size: 18px;
    line-height: 156%;
    color: #7e8597;
}

.subscribe-form__form {
    display: flex;
    margin-bottom: 18px;
}

.subscribe-form__email {
    flex: 0 1 300px;
    padding: 23px;
    border-radius: 30px 0 0 30px;
    font-size: 14px;
    line-height: 100%;
    color: #7e8597;
    background: #ffffff;
}

.subscribe-form__email:focus {
    outline: 1px solid #0366ee;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 10%), 0 0 10px #8cbcfe;
}

.subscribe-form__button {
    flex: 0 0 146px;
    border-radius: 0 30px 30px 0;
    font-weight: 500;
    font-size: 18px;
    line-height: 128%;
    text-align: center;
    color: #ffffff;
    background: #e46138;
    position: relative;
    overflow: hidden;
}

.subscribe-form__button::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-250%) skewX(-30deg);
    transition: transform 0.7s ease-in-out;
}

.subscribe-form__button:hover::before {
    transform: translateX(200%) skewX(-30deg);
}

.subscribe-form__label span {
    padding-left: 30px;
    font-size: 14px;
    line-height: 128.5%;
    color: #d1d1d1;
    background: url("../assets/cardy/signUp-icon.svg") left no-repeat;
}

.button {
    transition: all .4s ease;
}

.button:hover {
    background-color: #cda72a;
    transform: translateY(-7px);
    color: #fff;
    box-shadow: 0px 10px 25px rgba (46, 223, 229, 0, 445);
}

@media (max-width: 768px) {
    .default-title {
        font-size: 40px;
    }

    .default-text {
        word-break: break-word;
    }

    .subscribe-form__email {
        flex-basis: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .default-title {
        font-size: 30px;
    }

    .default-text {
        font-size: 16px;
    }

    .subscribe-form__form {
        flex-direction: column;
    }

    .subscribe-form__email,
    .subscribe-form__button {
        flex-basis: auto;
    }

    .subscribe-form__email {
        border-radius: 15px 15px 0 0;
        padding: 20px;
    }

    .subscribe-form__button {
        border-radius: 0 0 15px 15px;
        padding: 15px 0;
    }
}

/* --- HEADER --- */

.header__navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 46px;
    padding: 20px 0;
    column-gap: 111px;
}

.header__menu {
    display: flex;
    position: relative;
    opacity: 100;
}

.header__list {
    justify-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__link {
    font-size: 16px;
    line-height: 21px;
    position: relative;
}

.header__link:hover {
    transition: all 0.4s;
}

.header__link:after,
link {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: #e46138;
    transition: width 0.4s;
}

.header__link:hover:after {
    content: "";
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2px;
    background-color: #e46138;
    transition: width 0.4s;
}

.header__link:not(:last-child) {
    margin-right: 46px;
}

.header__burger {
    display: none;
}

.header__graph {
    flex: 1 1 auto;
    max-width: 395px;
    height: 2px;
    background: linear-gradient(270deg,
            rgba(8, 8, 8, 0) 0%,
            rgba(255, 255, 255, 0.514157) 48.87%,
            rgba(8, 8, 8, 0) 100.58%);
}

.header__button {
    flex: 0 0 146px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 146px;
    height: 46px;
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    border-radius: 6px;
}

.header__button:hover {
    background-color: #e46138;
}

@media (max-width: 992px) {
    .header__navigation {
        column-gap: normal;
    }

    .header__graph {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        position: fixed;
        border-bottom: 1px solid #e46138;
        width: 100%;
        background-color: #10151c;
        background-color: rgba(32, 30, 30, 0.9);
        z-index: 100;
    }

    .header__burger {
        display: inline-block;
    }

    .header__button {
        display: none;
    }

    .header__navigation {
        padding: 13px 0;
    }

    .header__menu {
        position: fixed;
        z-index: 100;
        padding: 50px 30px;
        left: 0;
        top: 55px;
        bottom: 0;
        width: 100%;
        max-width: 20rem;
        background: #fff;
        transform: translateX(-100%);
    }

    .header__menu.active {
        transform: translateX(-0%);
        transition: all 0.3s ease 0s;
    }

    .header__list {
        color: #000;
        flex-direction: column;
        align-items: flex-start;
        justify-content: normal;
        row-gap: 30px;
    }

    .header__link {
        font-size: 23px;
    }

    .header__link:not(:last-child) {
        margin-right: 0px;
    }
}

/* --- CARDY --- */

.cardy {
    padding: 100px 0 85px;
}

.cardy__body {
    background: url("../assets/cardy/bg-card.png") right no-repeat;
}

.cardy__content {
    flex: 1 0 auto;
    position: relative;
}

.cardy__title {
    font-weight: 700;
    font-size: 58px;
    line-height: 124%;
    max-width: 550px;
    margin-bottom: 16px;
}

.cardy__text {
    max-width: 490px;
    margin-bottom: 45px;
}

.cardy__picture {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

@media (max-width: 1090px) {
    .cardy__body {
        background: none;
    }
}

@media (max-width: 768px) {
    .cardy {
        padding: 90px 0 40px 0;
    }

    .cardy__title {
        font-size: 48px;
        max-width: none;
    }

    .cardy__text {
        max-width: none;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .cardy__title {
        font-size: 36px;
    }
}

/* --- COMPANIES --- */

.companies {
    margin-bottom: 50px;
}

.companies__body {
    position: relative;
    padding: 40px 0 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    row-gap: 10px;
}

.companies__body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(270deg,
            rgba(8, 8, 8, 0) 0%,
            rgba(255, 255, 255, 0.514157) 48.87%,
            rgba(8, 8, 8, 0) 100.58%);
}

.companies__item {
    flex: 0 1 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    height: 67px;
}

.companies__item:first-child {
    justify-content: flex-start;
}

.companies__item-introduction {
    font-size: 21px;
    line-height: 128.5%;
    width: 205px;
    justify-content: flex-start;
}

@media (max-width: 992px) {
    .companies {
        margin-bottom: 0px;
    }

    .companies__body {
        padding: 40px 0 20px 0;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .companies__body {
        padding-bottom: 0;
    }

    .companies__item:not(:first-child) {
        flex: 0 1 50%;
    }

    .companies__item:first-child {
        flex: 1 0 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .companies__body {
        flex-direction: column;
        row-gap: 10px;
    }

    .companies__item:not(:first-child) {
        flex: 1 1 auto;
    }
}

/* --- VERIFICATION --- */

.verification {
    padding: 52px 0;
}

.verification__container {
    display: flex;
    flex-direction: column;
}

.verification__title {
    text-align: center;
    max-width: 760px;
    align-self: center;
    margin-bottom: 40px;
}

.verification__body {
    display: flex;
    gap: 30px;
}

.verification__item {
    padding: 42px 26px 44px;
    flex: 1 1 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #141a25;
    border-radius: 18px;
    min-width: 200px;
    transform: translate(0, 100%);
    opacity: 0;
}

.verification__item._active {
    transform: translate(0, 0);
    opacity: 1;
    transition: all .7s ease 0s;
}

.verification__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 45px;
}

.verification__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verification__option {
    font-weight: 500;
    font-size: 24px;
    line-height: 142%;
    text-align: center;
    max-width: 161px;
    margin-bottom: 14px;
}

.verification__description {
    text-align: center;
}

@media (max-width: 992px) {
    .verification {
        padding: 20px 0;
    }

    .verification__icon {
        margin-bottom: 20px;
    }

    .verification__body {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .verification__item {
        padding: 20px;
    }
}

/* --- FEATURES --- */

.features {
    padding: 60px 0;
}

.features__body {
    display: flex;
    justify-content: space-between;
    column-gap: 30px;
}

.features__body>div:first-child {
    opacity: 0;
    transform: translate(-100%, 0);
}

.features__body>div:last-child {
    opacity: 0;
    transform: translate(100%, 0);
}

.features__body._active>div {
    opacity: 1;
    transform: translate(0, 0);
    transition: all .7s ease .0s;
}

.features__picture {
    flex: 0 1 50%;
    max-width: 560px;
}

.features__picture img {
    width: 100%;
}

.features__content {
    flex: 0 1 50%;
    padding-top: 120px;
    display: flex;
    justify-content: flex-end;
}

.features__content:nth-child(1) {
    justify-content: flex-start;
}

.features__description {
    max-width: 460px;
}

.features__title {
    margin-bottom: 24px;
}

.features__text {
    margin-bottom: 50px;
}

.features__button {
    width: 180px;
    height: 62px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e46138;
    border-radius: 8px;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
}

@media (max-width: 1200px) {
    .features {
        padding: 40px 0;
    }

    .features__content {
        padding-top: 0;
    }

    .features__title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 20px 0;
    }

    .features__body {
        row-gap: 40px;
        align-items: center;
    }

    .features__description {
        max-width: none;
    }

    .features:nth-child(2n) .features__body {
        flex-direction: column-reverse;
    }

    .features:nth-child(2n + 1) .features__body {
        flex-direction: column;
    }

    .features__picture,
    .features__content {
        flex-basis: auto;
    }

    .features__text {
        margin-bottom: 40px;
    }

    .features__picture {
        max-width: 400px;
    }

    .features__button {
        width: auto;
    }
}

/* --- VIDEOS --- */

.videos {
    padding: 47px 0;
}

.videos__title {
    text-align: center;
    margin-bottom: 50px;
}

.videos__demos {
    display: flex;
    justify-content: space-between;
    column-gap: 30px;
}

.videos__demo {
    padding: 31px 10px;
    flex: 0 1 370px;
    border-radius: 24px;
    column-gap: 30px;
    height: 475px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.videos__demo::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    width: 48px;
    height: 48px;
    background: url("../assets/videos/play.svg") center no-repeat;
}

.videos__demo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    opacity: 0.5;
    border-radius: 24px;
}

.videos__demo:nth-child(1) {
    background: url(../assets/videos/demo_01.png) top center no-repeat;
}

.videos__demo:nth-child(2) {
    background: url(../assets/videos/demo_02.png) top center no-repeat;
}

.videos__demo:nth-child(3) {
    background: url(../assets/videos/demo_03.png) top center no-repeat;
}

.videos__demo:nth-child(1):after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #442471 100%);
}

.videos__demo:nth-child(2):after {
    background: linear-gradient(180deg, rgba(5, 11, 12, 0) 4.38%, #050e0e 100%);
}

.videos__demo:nth-child(3):after {
    background: linear-gradient(180deg, rgba(29, 37, 48, 0) 4.38%, #162633 100%);
}

.video__description {
    max-width: 310px;
    color: #ffffff;
    position: relative;
    z-index: 5;
}

@media (max-width: 768px) {
    .videos {
        padding: 20px 0;
    }

    .videos__demos {
        flex-direction: column;
        row-gap: 30px;
        align-items: center;
    }

    .videos__demo {
        max-width: 370px;
    }
}

@media (max-width: 480px) {
    .videos__demo {
        flex-basis: 320px;
        background-position: unset;
    }
}

/* --- BANNER --- */

.banner {
    padding: 25px 0;
}

.banner__body {
    padding: 45px 70px;
    border-radius: 24px;
    background: #141a25 url("../assets/banner/Illustration.svg") right center no-repeat;
    opacity: 0;
    transform: translate(0, 100%);
}

.banner__content {
    max-width: 510px;
}
.banner._active .banner__body {
    opacity: 1;
    transform: translate(0, 0);
    transition: all .7s ease .0s;
}

.banner__title {
    margin-bottom: 14px;
}

.banner__text {
    margin-bottom: 42px;
}

@media (max-width: 992px) {
    .banner__body {
        background: #141a25;
    }
}

@media (max-width: 768px) {
    .banner__content {
        max-width: none;
    }

    .banner__body {
        padding: 20px 40px;
    }
}


@media (max-width: 480px) {
    .banner__body {
        padding: 20px;
    }
}

/* --- FOOTER --- */

.footer {
    padding: 130px 0 30px 0;
}

.footer__body {
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
    column-gap: 100px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    margin-bottom: 38px;
}

.footer__logo a {
    display: inline-block;
}

.footer__email {
    font-weight: 500;
    font-size: 14px;
    line-height: 171%;
    text-transform: uppercase;
    color: #7E8597;
    position: relative;
}

.footer__navigation {
    flex: 0 1 710px;
    display: flex;
    justify-content: space-between;
    column-gap: 50px;
}

.footer__links {
    flex: 0 1 20%;
}

.footer__title {
    font-weight: 500;
    font-size: 18px;
    line-height: 23px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    white-space: nowrap;
}

.footer__list {
    display: flex;
    flex-direction: column;
}

.footer__link {
    font-size: 14px;
    line-height: 214%;
    color: #7E8597;
    white-space: nowrap;
}

.footer__link {
    transform: translateX(-0.75em);
    transition: transform 200ms;
}

.footer__link::before {
    content: "";
    display: inline-block;
    width: 0.75em;
    color: #888;
    opacity: 0;
    transition: opacity 200ms;
}

.footer__link:hover {
    transform: none;
}

.footer__link:hover::before {
    opacity: 1;
}

.footer__copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
}

.footer__label {
    width: 100%;
    max-width: 230px;
    height: 48px;
    background: #131A22;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 128.5%;
    transition: all .5s ease;
}

.footer__label:hover {
    background-color: #e46138;
    transition: all .7s ease;
}

.footer__terms {
    display: flex;
    column-gap: 36px;
}

@media (max-width: 992px) {
    .footer {
        padding-top: 35px;
    }

    .footer__contacts {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
    }

    .footer__logo {
        margin-bottom: 0px;
    }

    .footer__body {
        flex-direction: column;
    }

    .footer__navigation {
        flex-basis: auto;
    }
}

@media (max-width: 768px) {
    .footer__body {
        margin-bottom: 50px;
    }

    .footer__navigation {
        flex-wrap: wrap;
        column-gap: 0;
        row-gap: 30px;
    }

    .footer__links {
        flex: 0 1 33.333%;
        justify-content: center;
    }

    .footer__links:last-child {
        flex-basis: auto;
    }

    .footer__links:last-child .footer__list {
        flex-direction: row;
        justify-content: space-between;
        column-gap: 30px
    }

    .footer__terms {
        column-gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer__body {
        margin-bottom: 20px;
    }

    .footer__contacts {
        flex-direction: column;
        margin-bottom: 20px;
        align-items: flex-start;
    }

    .footer__logo {
        margin-bottom: 10px;
    }

    .footer__navigation {
        row-gap: 20px;
    }

    .footer__links,
    .footer__links:last-child {
        flex: 1 1 50%;
    }

    .footer__links:last-child .footer__list {
        flex-direction: column;
    }

    .footer__copyright {
        flex-direction: column;
    }

    .footer__label {
        max-width: none;
    }
}