:root {
    --main-color: #234294;
    --main-text-color: #3d4254;
}

body {
    background: #f5f5f5;
    overflow: hidden;
}

.wrapper {
    max-width: 1240px;
    margin: 0 auto;
}

@media screen and (max-width: 1280px) {
    .wrapper {
        max-width: 820px;
    }
}

.logo {
    height: auto;
    width: 200px !important;
    object-fit: cover;
}

@media screen and (max-width: 820px) {
    .wrapper {
        padding: 0 10px;
    }
}

.line {
    position: absolute;
    z-index: -5;
    left: -570px;
    top: 420px;
}

@media screen and (max-width: 1280px) {
    .line {
        display: none;
    }
}

/* header */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

@media screen and (max-width: 820px) {
    .header {
        flex-direction: column;
        align-items: start;
    }
}

.header__buttons {
    display: flex;
    justify-content: end;
    position: relative;
    z-index: 20;
    align-items: center;
    gap: 24px;
}

@media screen and (max-width: 820px) {
    .header__buttons {
        gap: 5px;
        margin-top: 10px;
    }
}

.button {
    padding: 12px 32px;
    border-radius: 64px;
    text-decoration: none;
}

@media screen and (max-width: 820px) {
    .button {
        padding: 10px 20px;
    }
}

.button__login {
    border: 2px solid var(--main-color);
    font-weight: 700;
    color: var(--main-color);
    transition: 0.5s all;
}

.button__login:hover {
    background: var(--main-color);
    color: #fff;

    border-radius: 20px;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.13);
}

.button__signup {
    font-weight: 700;
    color: #fff;
    border: 2px solid var(--main-color);
    background: var(--main-color);
    transition: 0.5s all;
}

.button__signup:hover {
    background: #2d50b3;
    border-color: #2d50b3;

    border-radius: 20px;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.13);
}

.header__shape {
    position: absolute;
    right: -200px;
    top: -236px;
    width: 492px;
    height: 492px;
    border-radius: 492px;
    background: var(--main-color);
    filter: blur(400px);
}

.header a img {
    width: 300px;
}

/* hero */

.hero {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

@media screen and (max-width: 820px) {
    .hero {
        flex-direction: column;
        align-items: start;
    }
}

@media screen and (max-width: 1280px) {
    .hero {
        margin-top: 20px;
    }
}

@media screen and (max-width: 820px) {
    .hero__info {
        width: 100%;
    }
}

.hero__title {
    color: var(--main-text-color);
    font-size: 72px;
    font-weight: 500;
    letter-spacing: -1.8px;
}

@media screen and (max-width: 820px) {
    .hero__title {
        font-size: 62px;
    }
}

.hero__title__bold {
    font-weight: 700;
}

.hero_subtitle {
    margin-top: 10px;
    max-width: 355px;
    font-size: 18px;
    color: #595959;
}

@media screen and (max-width: 820px) {
    .hero_subtitle {
        font-size: 14px;
    }
}

.hero_singup {
    margin-top: 31px;
    padding: 16px 32px;
    font-size: 16px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    background: var(--main-color);
    transition: 0.5s all;
}

@media screen and (max-width: 820px) {
    .hero_singup {
        padding: 12px 0px;
        font-size: 14px;
    }
}

.hero_singup:hover {
    background: #2d50b3;
    border-radius: 20px;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.13);
}

.hero__partners {
    margin-top: 31px;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 16px;
}

@media screen and (max-width: 820px) {
    .hero__partners {
        flex-direction: column;
        align-items: start;
        gap: 5px;
    }
}

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

.partner_avatar {
    border-radius: 48px;
    width: 48px;
    height: 48px;
    border: 2px solid var(--White, #fff);
    background: url(<path-to-image>) lightgray 50% / cover no-repeat;

    transition: 0.4s all;
}

.partner_avatar:not(:first-of-type) {
    margin-left: -12px !important;
}

.partner_avatar:hover {
    transform: translateX(5px);
}

.hero__partners__info {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0px;
}

.hero__partners__info__title {
    color: #3d544d;
    font-size: 16px;
    font-weight: 700;
}

.hero__partners__info__subtitle {
    color: #b9b9b9;
    font-size: 12px;
    width: 229px;
}

@keyframes illustration {
    0% {
        transform: translateY(-5px);
    }
    50% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(-5px);
    }
}

.hero__illustration {
    position: relative;
}

.hero__illustration__img {
    padding: 0 !important;
    margin: 0 !important;

    transition: 0.5s all;

    animation: illustration infinite linear 2s;

    position: relative;
    z-index: 20;
}

@media screen and (max-width: 1280px) {
    .hero__illustration__img {
        width: 100%;
    }
}

/* about */

.about {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media screen and (max-width: 820px) {
    .about {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
}

.about__item {
    flex: 1 0 0;
    border-radius: 32px;
    background: #fff;
    padding: 64px;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 820px) {
    .about__item {
        width: 100%;
        padding: 5px;
    }
}

.about__title {
    color: var(--main-text-color);
    font-size: 48px;
    font-weight: 700;
}

.about__subtitle {
    color: #234294;
    font-weight: 500;
    line-height: 24px;
}
@media screen and (max-width: 1280px) {
    .about__item {
        padding: 14px;
    }
    .about__title {
        font-size: 28px;
    }
    .about__subtitle {
        font-size: 14px;
    }
}

/* how to */

.howto {
    margin-top: 105px;
    position: relative;
}

@media screen and (max-width: 1280px) {
    .howto {
        margin-top: 50px;
    }
}

.howto__info__block {
    background: #fff;
    padding: 58px 25px 58px 42px;
    border-radius: 40px 40px 0 0;
}

@media screen and (max-width: 820px) {
    .howto__info__block {
        padding: 15px;
    }
}

.howto__info__title_top {
    color: #262626;
    font-size: 64px;
    font-weight: 600;
    line-height: 110%;
    background: #bcdafc;
    padding: 2px 20px;
    border-radius: 20px 20px 0 20px;
    width: fit-content;
}

@media screen and (max-width: 820px) {
    .howto__info__title_top {
        font-size: 24px;
    }
}

.howto__illustration {
    animation: illustration linear infinite 2s;
}

@media screen and (max-width: 820px) {
    .howto__illustration {
        width: 100%;
    }
}

.howto__info {
    display: flex;
    position: relative;
    z-index: 20;
}

@media screen and (max-width: 1280px) {
    .howto__info {
        flex-direction: column;
    }
}

.howto__info__title {
    color: #262626;
    font-size: 64px;
    font-weight: 600;
    line-height: 110%;
    padding: 2px 20px;
    border-radius: 20px;
    width: fit-content;
}

.howto__info__title span {
    color: #262626;
    font-size: 64px;
    font-weight: 600;
    line-height: 110%;
    background: #bcdafc;
    padding: 2px 20px;
    border-radius: 0 20px 20px 20px;
    width: fit-content;
}

@media screen and (max-width: 820px) {
    .howto__info__title {
        font-size: 24px;
    }
    .howto__info__title span {
        font-size: 24px;
    }
}

.howto__info__subtitle {
    position: absolute;
    top: 0;
    right: 0;
    padding: 80px 0 60px 30px;
    border-radius: 40px;
}

@media screen and (max-width: 1280px) {
    .howto__info__subtitle {
        position: static;
        background: #fff;
        border-radius: 0px;
        padding: 10px 50px;
    }
}

@media screen and (max-width: 820px) {
    .howto__info__subtitle {
        font-size: 24px;
        padding: 0 20px;
    }
}

.howto__info__subtitle__text {
    color: #595959;
    font-size: 20px;
    max-width: 498px;
}

.howto__step {
    background: #fff;
    padding-top: 60px;
    border-radius: 0 40px 40px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 55px 38px;
    gap: 64px;
    position: relative;
    z-index: 20;
}

@media screen and (max-width: 1280px) {
    .howto__step {
        border-radius: 0px 0px 40px 40px;
        padding: 10px 50px;
        flex-direction: column;
        gap: 10px;
    }
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step {
    border-radius: 20px;
    padding: 24px;
}

@media screen and (max-width: 820px) {
    .howto__step {
        width: 100%;
        padding: 10px 10px;
    }
    .steps {
        width: 100%;
    }
}

.step:first-of-type {
    background: #dfdfdf;
}

.step__title {
    color: #262626;
    font-size: 24px;
    font-weight: 600;
    line-height: 150%;
}

.step__subtitle {
    color: #262626;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
}

.howto__shape {
    border-radius: 492px;
    background: var(--main-color);
    filter: blur(400px);
    position: absolute;
    width: 492px;
    height: 492px;
    bottom: -128px;
    left: -188px;
}

/* edge */

.edge {
    margin-top: 128px;
}

@media screen and (max-width: 1280px) {
    .edge {
        margin-top: 50px;
    }
}

.edge__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 1280px) {
    .edge__top {
        flex-direction: column;
        align-items: start;
    }
}

.edge__title {
    color: #262626;
    font-size: 48px;
    font-weight: 600;
    line-height: 120%;
    max-width: 550px;
}

@media screen and (max-width: 820px) {
    .edge__title {
        font-size: 28px;
        max-width: 280px;
    }
}

.edge__subtitle {
    color: #595959;
    font-size: 20px;
    max-width: 604px;
    line-height: 160%;
}

@media screen and (max-width: 820px) {
    .edge__subtitle {
        font-size: 15px;
        margin-top: 5px;
    }
}

.edge__info {
    display: flex;
    justify-content: space-between;
    gap: 34px;
    margin-top: 40px;
}

@media screen and (max-width: 820px) {
    .edge__info {
        flex-direction: column;
    }
}

.edge__info__block {
    border-radius: 20px;
    border: 1px solid #fff;
    background: #fff;
    flex: 1 0 0;
    padding: 40px 32px;
}

@media screen and (max-width: 820px) {
    .edge__info__block {
        padding: 20px 18px;
    }
}

.edge__info__block:first-of-type {
    border: 1px solid rgba(0, 51, 160, 0.4);
    background: rgba(60, 123, 218, 0.2);
}

.edge__info__title {
    color: #262626;
    font-size: 30px;
    font-weight: 600;
    line-height: 120%;
}

.edge__info__items {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    margin-top: 24px;
}

.edge__item {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 16px;
}

.edge__item__title {
    color: #262626;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
}

/* questions */

.ques {
    margin-top: 128px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 111px;
    position: relative;
    z-index: 20;
}

@media screen and (max-width: 820px) {
    .ques {
        flex-direction: column;
        margin-top: 30px;
        gap: 20px;
    }
}

.ques__title {
    max-width: 379px;
    color: #262626;
    font-size: 60px;
    font-weight: 600;
    line-height: 120%;
}

@media screen and (max-width: 820px) {
    .ques__title {
        font-size: 30px;
    }
}

/* footer */

footer {
    margin: 128px 0 72px 0;
    border-radius: 40px;
    border: 1px solid #dfdfdf;
    background: linear-gradient(122deg, #fff 0%, #f6f9ff 96.81%);
    padding: 57px 60px;
    position: relative;
    z-index: 20;
}

@media screen and (max-width: 820px) {
    footer {
        margin: 28px 0 22px 0;
        padding: 35px 20px;
    }
}

.footer__info {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

footer img {
    width: 250px;
}

@media screen and (max-width: 1280px) {
    .footer__info {
        flex-direction: column;
        align-items: start;
        gap: 25px;
    }
}

.footer__info__desc {
    max-width: 356px;
    color: #8c8c8c;
    font-size: 16px;
    margin-top: 20px;
    font-weight: 400;
    line-height: 150%;
}

.links {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 48px;
}

@media screen and (max-width: 820px) {
    .links {
        flex-direction: column;
        align-items: start;
        gap: 5px;
    }
}

.link {
    color: #8c8c8c;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    line-height: 150%;
}

.footer__copywrite {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 1280px) {
    .footer__copywrite {
        flex-direction: column;
        align-items: start;
        gap: 5px;
        margin-top: 40px;
    }
}

.copywrite__year {
    color: #8c8c8c;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}

.copywrite__text {
    color: #8c8c8c;
    text-align: right;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}

@media screen and (max-width: 820px) {
    .copywrite__text {
        text-align: left;
    }
}

.copywrite__text a {
    color: var(--main-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    text-decoration-line: underline;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.footer__shape {
    width: 492px;
    height: 492px;
    border-radius: 492px;
    background: var(--main-color);
    filter: blur(400px);
    position: absolute;
    left: -228px;
    bottom: 0;
}

.footer__shapes {
    position: relative;
}
