@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700&display=swap');

:root {
    --index: calc(1vw + 1vh);
    --greylight: #919191;
    --grey: #393939;
    --wheat: #E7D9D9;
    --black: #000;
    --wheatlight: #EEEAF5;
    --white: #fff;
    --textcolor: #F7F8FF;
    --fontsize12: 12px;
    --fontsize14: 14px;
    --fontsize16: 16px;
    --fontsize18: 18px;
    --fontsize20: 20px;
    --fontsize22: 22px;
    --fontsize24: 24px;
    --fontsize28: 28px;
    --fontsize32: 32px;
    --fontsize52: 52px;
    --fontsize56: 56px;
}

html,
body {
    overflow-x: hidden;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--textcolor);
    font-family: 'Onest', sans-serif;
    font-size: var(--fontsize16);
    font-style: normal;
    font-weight: 400;
    line-height: 21.76px;
    background-color: var(--black);
    box-sizing: border-box;
}

.bold {
    font-family: 'Onest', sans-serif;
    font-size: var(--fontsize20);
    font-style: normal;
    font-weight: 700;
    line-height: 148%;
}

@media (min-width: 767px) {
    .bold {
        font-size: var(--fontsize24);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

a {
    color: inherit;
    cursor: pointer;
}

ol {
    line-height: 200%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
}

ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0;
    line-height: 148%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
}

li {
    font-weight: 400;
}

p {
    padding-top: 10px;
    padding-bottom: 10px;
}

section,
article,
.container {
    max-width: 90%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    margin-top: 20px;
}

section,
article {
    margin-bottom: 30px;
}

@media (min-width: 767px) {
    .container {
        width: calc(var(--index) * 57);
        margin-top: 40px;
        max-width: 95%;
    }
}

.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="ratio"].visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: insert(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

header {
    height: 84px;
}

.background-header {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--black);
    z-index: 20;
}

.container__header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--black);
    margin-top: 0;
    z-index: 10;
    margin-left: auto;
    margin-right: auto;
}

.logo__wrapper {
    text-align: left;
    padding: 30px 0;
    z-index: 20;
    text-transform: uppercase;
    color: #E65BC1;
    font-weight: 700;
}

@media (min-width: 767px) {
    .logo__wrapper {
        width: 30%;
    }
}

nav {
    display: none;
    list-style: none;
}

nav.active {
    position: absolute;
    top: 84px;
    left: 50%;
    padding-top: 16px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: var(--black);
    background-size: cover;
    background-position-y: bottom;
    background-repeat: no-repeat;
    gap: 16px;
    height: calc(100vh - 84px);
    width: 100vw;
}

.active li, li a {
    display: flex;
    width: 95%;
    height: 40px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 767px) {
    nav {
        display: flex;
        justify-content: flex-end;
        gap: 3rem;
        width: 100%;
        z-index: 20;
        margin-right: 3rem;
    }
}

nav li, li a {
    text-decoration: none;
    color: var(--white);
    cursor: pointer;
    transition: all 200ms ease-in-out;
    font-size: var(--fontsize18);
}

@media (min-width: 767px) {
    nav a {
        font-size: var(--fontsize16);
    }
}

nav a:hover {
    color: var(--grey);
}

.buttons__wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    z-index: 20;
}

@media (min-width: 767px) {
    .buttons__wrapper {
        gap: 5px;
        width: 30%;
    }
}

.button {
    display: flex;
    position: relative;
    height: 42px;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--grey);
    border-radius: 4px;
    background: var(--white);
    color: var(--black);
    font-family: 'Onest', sans-serif;
    font-size: var(--fontsize16);
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    cursor: pointer;
    user-select: none;
    transition: all 200ms ease-in-out;
}

.button:hover {
    background: var(--greylight);
}

.button:active {
    background: var(--grey);
}

.login__btn {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.menu__btn {
    content: "";
    background: url(img/Menu.svg);
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: background 200ms ease-in-out;
    z-index: 20;
}

.menu__btn.close {
    background: url(img/Menu-close.svg);
}

@media (min-width: 767px) {
    .menu__btn {
        display: none;
    }
}

.main-screen {
    position: relative;
    background: var(--white);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: calc(80vh - 84px);
}

@media (min-width: 767px) {
    .main-screen {
        position: relative;
        background: #B1A6C9;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: right;
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: calc(80vh - 84px);
    }
}

.black-square {
    position: absolute;
    width: 100vw;
    top: 0;
    height: 80vh;
    background: var(--black);
}

@media (min-width: 767px) {
    .black-square {
        position: absolute;
        width: 80vw;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        height: calc(80vh - 84px);
        background: var(--black);
    }
}

.main-screen__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-screen__subtitle {
    display: none;
}

@media (min-width: 767px) {
    .main-screen__subtitle {
        display: block;
        margin-top: 100px;
        text-align: center;
        font-family: 'Onest', sans-serif;
        font-size: var(--fontsize12);
        font-style: normal;
        font-weight: 600;
        line-height: 166.667%;
        letter-spacing: 5.5px;
        text-transform: uppercase;
        color: var(--white);
        z-index: 1;
    }
}

h1 {
    position: relative;
    top: 22vh;
    text-align: center;
    font-family: 'Onest', sans-serif;
    font-size: var(--fontsize52);
    font-style: normal;
    font-weight: 500;
    line-height: 54px;
    color: #E65BC1;
    z-index: 1;
}

h1 {
    width: 300px;
}

@media (min-width: 767px) {
    h1 {
        width: 500px;
    }

    h1 {
        font-size: var(--fontsize52);
        line-height: 144.231%;
        margin-top: 20px;
        top: 0;
    }
}

.main-screen__transition {
    position: absolute;
    top: calc(100vh - 84px);
    transform: translateY(-50%);
    z-index: 1;
}

@media (min-width: 767px) {
    .main-screen__transition {
        display: none;
    }
}

.main-screen__transition img {
    width: 100vw;
    height: 130px;
    object-fit: cover;
}

.banner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    z-index: 2;
    margin-top: 20px;
}

@media (min-width: 767px) {
    .banner {
        margin-top: 40px;
    }
}

.banner img {
    width: 100%;
    max-width: 95%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

@media (min-width: 767px) {
    .banner img {
        width: 900px;
    }
}

.list-marked__section {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}

.blocks__section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-direction: column;
    margin-bottom: 20px;
}

@media (min-width: 767px) {
    .blocks__section {
        flex-direction: row;
        margin-bottom: 40px;
    }
}

.block__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    border-radius: 12px;
    padding: 23px 29px;
    height: 220px;
    border: 1px solid var(--white);
}

.block__number {
    color: var(--white);
    text-align: center;
    font-family: 'Onest', sans-serif;
    font-size: var(--fontsize56);
    font-style: normal;
    font-weight: 700;
    line-height: 148%;
}

.block__text {
    color: var(--white);
    text-align: center;
    font-family: 'Onest', sans-serif;
    font-size: var(--fontsize12);
    font-style: normal;
    font-weight: 400;
    line-height: 148%;
}

.block__item.wide {
    flex-grow: 3;
}

@media (min-width: 767px) {
    .block__text {
        font-size: var(--fontsize16);
    }
}

.text-border__section {
    border-radius: 10px;
    border: 1px solid var(--white);
    padding: 28px 12px;
}

@media (min-width: 767px) {
    .text-border__section {
        border-radius: 10px;
        border: 1px solid var(--white);
        padding: 41px 33px;
    }
}

h2 {
    position: relative;
    color: inherit;
    font-family: 'Onest', sans-serif;
    font-size: var(--fontsize28);
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    text-align: inherit;
    margin: 30px auto;
}

.line-black-left:after {
    content: "";
    position: absolute;
    height: 1px;
    width: 95vw;
    background: var(--black);
    bottom: 0;
    left: 0;
    z-index: 1;
}

.line-black:after {
    content: "";
    position: absolute;
    height: 1px;
    width: 95vw;
    background: var(--black);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

@media (min-width: 767px) {

    .line-black:after,
    .line-black-left:after {
        width: 30vw;
    }

    .line:after {
        content: "";
        position: absolute;
        height: 1px;
        width: 30vw;
        background: #7E6FA1;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }
}

.text__section p {
    font-weight: 300;
    line-height: 30px;
    margin-bottom: 20px;
}

.text__section--table p {
    font-weight: 400;
}

@media (min-width: 767px) {
    h2 {
        font-size: var(--fontsize32);
        line-height: 234.375%;
    }
}

.text__section {
    font-size: var(--fontsize16);
}

.text__section--table {
    border-radius: 10px;
    border: 1px solid var(--white);
    padding: 28px 12px;
}

@media (min-width: 767px) {
    .text__section--table {
        border-radius: 0;
        border: none;
        padding: 0;
    }
}

.text__section--white {
    position: relative;
    background: var(--white);
    color: var(--black);
    overflow: hidden;
}

/* .text__section--white h2 {
    padding-top: 40px;
} */

@media (min-width: 767px) {
    .text__section--white {
        padding-top: 10px;
    }
}

figure img {
    border-radius: 14px;
}

.block__decoration {
    position: absolute;
    z-index: 2;
}

.part1 {
    top: -135px;
    left: -145px;
}

.part2 {
    top: -165px;
    right: -95px;
    transform: rotate(63deg);
}

.part3 {
    bottom: -135px;
    right: -145px;
    transform: rotate(-180deg);
}

.part4 {
    bottom: -165px;
    left: -95px;
    transform: rotate(-118deg);
}

@media (min-width: 767px) {
    .part1 {
        top: -110px;
        left: -100px;
    }

    .part2 {
        top: -140px;
        right: -45px;
        transform: rotate(63deg);
    }

    .part3 {
        bottom: -110px;
        right: -90px;
        transform: rotate(-180deg);
    }

    .part4 {
        bottom: -140px;
        left: -45px;
        transform: rotate(-118deg);
    }
}

.center h2,
.center p {
    text-align: inherit;
}

.center__mobile {
    text-align: center;
}

@media (min-width: 767px) {

    .center h2 {
        text-align: center;
    }

    .center__mobile {
        text-align: inherit;
    }
}

.middle__banner {
    margin-top: 20px;
    margin-bottom: 20px;
    /* width: 500px; */
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;

}

.middle__banner img {
    width: 90%;
    height: 200px;
    object-fit: cover;
    object-position: right;
    border-radius: 10px;
}

@media (min-width: 767px) {
    .middle__banner {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .middle__banner img {
        width: 500px;
        object-position: center;
        border-radius: 40px;
    }
}

.table {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    background: #B1A6C9;
}

@media (min-width: 767px) {
    .table {
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

.table th {
    height: 80px;
    padding: 12px 4px;
    text-align: start;
    background: var(--white);
    font-family: 'Onest', sans-serif;
    font-size: var(--fontsize12);
    font-weight: 500;
    color: var(--black);
}

@media (min-width: 767px) {
    .table th {
        height: 80px;
        padding: 12px 20px;
        font-size: var(--fontsize16);
    }
}

.table tr td {
    background: var(--black);
    height: 80px;
    padding: 12px;
    color: var(--white);
    font-family: 'Onest', sans-serif;
    font-size: var(--fontsize12);
    font-weight: 400;
}

@media (min-width: 767px) {
    .table tr td {
        height: 80px;
        padding: 12px 20px;
        font-size: var(--fontsize14);
    }
}

.footer {
    color: var(--white);
    font-family: 'Onest', sans-serif;
    font-size: var(--fontsize18);
    font-style: normal;
    font-weight: 400;
    line-height: 155.556%;
    margin-top: 28px;
    margin-bottom: 28px;
    text-align: center;
    opacity: 0.5;
}

.button__up {
    display: block;
    opacity: 0;
    visibility: hidden;
    user-select: none;
    background-color: var(--white);
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    border: 1px solid var(--black);
    transition: all 200ms ease-in-out;
}

@media (min-width: 767px) {
    .button__up {
        width: 60px;
        height: 60px;
    }
}

.button__up--active {
    opacity: 1;
    visibility: visible;
    user-select: auto;
}