/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

/* Variables */

:root {
    --index: calc(1vw + 1vh);
    --color1: #3c1642;
    --color-background: #DAD7CD;
    --color-background2: #F3F3F3;
    --color4: #C128E5;
    --color5: #4A4A4A;
    --color6: #131723;
    --color7: #282A3A;
    --color8: #3C3E4E;
    --color9: #D046FF;
    --color10: #D53CF9;
    --color11: #AD14D1;
    --color12: #56ECD8;
    --color13: #03030D;
    --color-font: #000000;
    --fontsize12: 12px;
    --fontsize14: 14px;
    --fontsize16: 16px;
    --fontsize18: 18px;
    --fontsize20: 20px;
    --fontsize21: 21px;
    --fontsize22: 22px;
    --fontsize24: 24px;
    --fontsize32: 32px;
    --fontsize38: 38px;
    --fontsize48: 48px;
    --fontsize52: 52px;
    --fontsize56: 56px;
    --fontsize72: 72px;
}

/* Common styles */
/* ---------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--color-font);
    font-family: "Roboto Condensed", sans-serif;
    font-size: var(--fontsize16);
    font-style: normal;
    font-weight: 400;
    line-height: 180%;
    background-color: var(--color-background);
}

body._lock {
    overflow: hidden;
}

@media (min-width: 1000px) {
    body {
        background-image: url(img/desktop-image.png);
        background-repeat: no-repeat;
        background-position-x: center;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

h1 {
    margin-top: 30px;
    width: 100%;
    background: var(--color1);
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    color: var(--color12);
    font-family: "Roboto Condensed", sans-serif;
    font-size: var(--fontsize48);
    word-wrap: break-word;
    padding: 0 10px;
}

@media (min-width: 767px) {
    h1 {
        font-size: var(--fontsize52);
    }
}

h2 {
    
    margin-top: 24px;
    
    color: var(--color12);
    font-family: "Roboto Condensed", sans-serif;
    font-size: var(--fontsize32);
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    background: var(--color1);
    padding: 0 10px;
}

@media (min-width: 767px) {
    h2 {
        width: fit-content;
    }
}

h3 {
    margin-top: 24px;
    color: var(--color12);
    font-family: "Roboto Condensed", sans-serif;
    font-size: var(--fontsize24);
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    background: var(--color1);
}

@media (min-width: 767px) {
    h3 {
        width: fit-content;
    }
}

h4 {
    position: relative;
    color: var(--color-font);
    font-family: "Roboto Condensed", sans-serif;
    font-size: var(--fontsize20);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
}

a {
    color: var(--color-font);
    cursor: pointer;
    transition: all 200ms ease-in-out;
}

a:hover {
    color: var(--color1);
}

ol,
ul {
    padding-left: 0;
    line-height: 148%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    list-style-position: inside;
}

p {
    padding-top: 12px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: var(--fontsize16);
    font-style: normal;
    font-weight: 400;
    line-height: 180%;
}

section,
article,
figure {
    max-width: 1140px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.bg-mobile-side {
    position: absolute;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    left: 50%;
    top: 35px;
    transform: translateX(-50%);
    width: 100vw;
    z-index: -1;
}

@media (min-width: 1000px) {
    .bg-mobile-side {
        display: none;
    }
}

.bg-mobile-side img {
    margin: 0;
}

section {
    display: flex;
    align-items: stretch;
    width: 100%;
    padding-top: 16px;
}

.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 styles */
/* ---------------------------------------------------- */

.container__header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 15px;
}

@media (min-width: 768px) {
    .container__header {
        padding: 5px 30px;
    }
}

@media (min-width: 1000px) {
    .container__header::before {
        position: absolute;
        content: "";
        width: 100vw;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        background: var(--color-background);
    }
}

/* Mobile menu styles */
/* ---------------------------------------------------- */

.menu__wrapper {
    position: fixed;
    display: flex;
    align-items: center;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 84px;
    width: 100vw;
    z-index: 5;
}

@media (min-width: 1000px) {
    .menu__wrapper {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        top: unset;
        left: unset;
        transform: none;
        height: unset;
        width: 50%;
        z-index: 5;
    }
}

.menu {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 320px;
    z-index: 5;
    background: var(--color-background);
    padding: 0 15px;
}

.menu::before {
    position: absolute;
    content: "";
    width: 100vw;
    height: 84px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-background);
}

@media (min-width: 768px) {
    .menu {
        padding:  0 25px;
        min-width: unset;
    }
}

@media (min-width: 1000px) {
    .menu {
        position: relative;
        width: unset;
        left: 0;
        transform: none;
        z-index: 0;
        padding: 0;
    }

    .menu::before {
        background: transparent;
    }
}

/* logo styles */
/* ---------------------------------------------------- */

.logo__wrapper {
    display: flex;
    flex-direction: row;
    text-align: left;
    text-transform: uppercase;
    color: var(--color1);
    padding: 23px 0;
    margin-left: 5px;
    z-index: 5;
    font-size: var(--fontsize18);
    font-weight: 400;
    transition: opacity 500ms ease-in-out;
}

.logo__wrapper span {
    margin-right: 75px;
}

.logo__wrapper img {
    margin: 0 12px 0 0;
}

.logo__wrapper.active {
    display: none;
}

/* buttons styles */
/* ---------------------------------------------------- */

.buttons__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    margin-top: 80px;
}

.buttons__wrapper button {
    width: 100%;
}

@media (min-width: 1000px) {
    .buttons__wrapper {
        flex-direction: row;
        width: unset;
        margin-top: 0;
        z-index: 10;
    }
}

button {
    position: relative;
    display: flex;
    padding: 16px 34px;
    justify-content: center;
    align-items: center;
    font-size: var(--fontsize16);
    cursor: pointer;
    user-select: none;
    transition: all 200ms ease-in-out;
    color: #fff;
    font-family: "Roboto Condensed", sans-serif;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    border-radius: 8px;
    background: var(--color1);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    border: 1px solid #000;
    text-align: center;
}

button:hover {
    background: var(--color-background);
}

section button,
article button {
    width: 100%;
    background: var(--color11);
    font-weight: 600;
    font-family: "Roboto Condensed", sans-serif;
    padding: 16px 42px;
    border-radius: 8px;
    box-shadow: 0px 4px 0px 0px #000;
}

section button:hover,
article button:hover {
    background: var(--color1);
}

article button {
    margin-top: 12px;
}

@media (min-width: 1000px) {
    section button,
    article button {
        width: 212px;
        padding: 16px 0;
    }
}

button:active {
    scale: 0.98;
}

.login__btn {
    background: var(--color-background);
    padding: 16px 40px;
}

.login__btn:hover {
    background: var(--color1);
}

/* Menu-button mobile */
/* ---------------------------------------------------- */

.menu__button {
    position: relative;
    display: block;
    width: 56px;
    height: 56px;
    cursor: pointer;
    border: none;
    margin-left: 20px;
    padding: 5px;
    border-radius: 15px;
    border: 1px solid var(--color-font);
    background: var(--color1);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    z-index: 5;
    transition: all 200ms ease-in-out;
}

.menu__button:hover {
    background: 1px solid var(--color-background2);
}

.menu__button span {
    position: absolute;
    content: "";
    width: 30px;
    height: 2px;
    border-radius: 5px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-background);
}

.menu.active .menu__button span {
    height: 0;
    animation: btn-menu-middle .5s forwards;
}

.menu.no-active .menu__button span {
    height: 2px;
    animation: btn-menu-middle-back .5s forwards;
}

.menu.active .logo__wrapper {
    opacity: 0;
}

@media (min-width: 1000px) {
    .menu.active .logo__wrapper {
        transition: none;
        opacity: 1;
    }
}

/* before */

.menu__button span::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 2px;
    border-radius: 5px;
    left: 0;
    top: -10px;
    background: var(--color-background);
}

.menu.active .menu__button span::before {
    top: 0;
    animation: btn-menu-up .5s forwards;
}

.menu.no-active .menu__button span::before {
    top: -10px;
    animation: btn-menu-up-back .5s forwards;
}

/* after */

.menu__button span::after {
    position: absolute;
    content: "";
    width: 30px;
    height: 2px;
    border-radius: 5px;
    left: 0;
    top: 10px;
    background: var(--color-background);
}

.menu.active .menu__button span::after {
    top: 10px;
    animation: btn-menu-down .5s forwards;
}

.menu.active .menu__button {
    background: transparent;
    border: none;
    box-shadow: none;
}

.menu.no-active .menu__button{
    background: var(--color1);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.menu.no-active .menu__button span::after {
    top: 0;
    animation: btn-menu-down-back .5s forwards;
}

@keyframes btn-menu-up {
    0% {
        top: -10px;
    }

    50% {
        top: 0;
        transform: rotate(0);
    }

    100% {
        top: 0;
        transform: rotate(45deg);
        background: var(--color-font);
        width: 40px;
        left: -5px;
    }
}

@keyframes btn-menu-up-back {
    0% {
        top: 0;
        transform: rotate(45deg);
    }

    50% {
        top: 0;
        transform: rotate(0);
    }

    100% {
        top: -10px;
        background: var(--color-font);
    }
}

@keyframes btn-menu-down {
    0% {
        top: 10px;
    }

    50% {
        top: 0;
        transform: rotate(0);
    }

    100% {
        top: 0;
        transform: rotate(-45deg);
        background: var(--color-font);
        width: 40px;
        left: -5px;
    }
}

@keyframes btn-menu-down-back {
    0% {
        top: 0;
        transform: rotate(-45deg);
    }

    50% {
        top: 0;
        transform: rotate(0);
    }

    100% {
        top: 10px;
        background: var(--color-font);
    }
}

@keyframes btn-menu-middle {
    0% {
        height: 2px;
    }

    50% {
        height: 0;
    }

    100% {
        height: 0;
    }
}

@keyframes btn-menu-middle-back {
    0% {
        height: 0;
    }

    50% {
        height: 0;
    }

    100% {
        height: 2px;
    }
}

@media (min-width: 1000px) {
    .menu__button {
        display: none;
    }
}

/* main block styles */
/* ---------------------------------------------------- */

main {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding: 24px 15px 0;
    position: relative;
}

@media (min-width: 767px) {
    main {
        padding: 25px 30px 0;
    }
}

/* navigation styles */
/* ---------------------------------------------------- */

nav {
    position: absolute;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    top: -100vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    width: 100vw;
    height: 100vh;
    list-style: none;
    box-sizing: border-box;
    background-color: var(--color-background);
    transition: all .5s ease-in-out;
}

nav figure {
    position: absolute;
    bottom: 0;
    z-index: -1;
}

@media (min-width: 1000px) {
    nav figure {
        display: none;
    }
}

nav.active {
    top: 0;
}

nav li {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: none;
    cursor: pointer;
    transition: all 200ms ease-in-out;
}

nav ul {
    padding: 0 15px;
    width: 100%;

}

nav li.active,
nav li:hover {
    border: 1px solid var(--color-font);
    border-radius: 8px;
    background: var(--color1);
    box-shadow: 0px 4px 0px 0px var(--color-font);
}

nav li a {
    cursor: pointer;
    color: var(--color-font);
    text-decoration: none;
    font-size: var(--fontsize22);
    font-weight: 700;
}

nav li.active a,
nav li:hover a {
    
    color: var(--color12);
}

@media (min-width: 768px) {
    nav ul {
        padding: 0 20px;
    }
}

@media (min-width: 1000px) {
    nav {
        position: relative;
        display: inline-flex;
        padding: 0;
        flex-direction: row;
        align-items: flex-start;
        gap: 24px;
        left: unset;
        transform: unset;
        top: unset;
        width: unset;
        height: unset;
        box-sizing: border-box;
    }

    nav ul {
        padding: 0;
        gap: 16px;
        border-radius: 0;
        border: none;
        background: transparent;
        flex-direction: row;
        list-style: none;

    }

    nav li {
        display: list-item;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border: none;
        padding: 0;
        width: unset;
    }

    nav li a {
        font-size: var(--fontsize16);
        text-decoration: none;
        font-weight: 400;
    }

    nav li.active,
    nav li:hover {
    border: none;
    background: transparent;
    box-shadow: none;
}

    nav li.active a,
    nav li:hover a {
        text-decoration: none;
        color: var(--color1);
    }
}

/* images styles */
/* ---------------------------------------------------- */

.banner {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.banner-main {
    border-radius: 5px;
    height: 94px;
    overflow: hidden;
}

@media (min-width: 767px) {
    .banner-main {
        height: 300px;
        border-radius: 0;
    }
}

.banner img {
   border-radius: 16px;
    object-fit: cover;
    object-position: center;
}

.banner--content {
    margin-top: 24px;
    max-width: 500px;
    border-radius: 10px;
    height: 142px;
}

.banner-side {
    display: flex;
    flex-direction: column;
    padding-left: 0;
}

.banner--side {
    position: relative;
    width: 100%;
    max-width: unset;
    /* height: 153px; */
    margin-top: 24px;
    overflow: hidden;
    border-radius: 10px;
    order: -1;
}

@media (min-width: 1000px) {
    .banner-side {
        display: block;
        padding-left: 325px;
        /* min-height: 425px; */
    }

    .banner--side {
        position: absolute;
        display: flex;
        /* height: 406px; */
        overflow: hidden;
        width: 305px;
        left: 0;
        top: 0;
        margin: 0;
        margin-top: 24px;
        flex-shrink: 0;
        border-radius: 10px;
    }
}

section h3 {
    padding: 0;
}

@media (min-width: 767px) {
    .banner--content {
        border-radius: 10px;
        height: 200px;
    }
}

/* table styles */
/* ---------------------------------------------------- */

table {
    width: 100%;
    background: transparent;
    text-align: center;
    font-family: "Roboto Condensed", sans-serif;
    font-size: var(--fontsize18);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-collapse: separate;
    border-spacing: 0;
    border: var(--color2);
}

@media (min-width: 1000px) {
    table {
        margin: 40px auto;
        font-size: var(--fontsize16);
    }
}

table thead {
    display: none;
}

table tr {
    text-align: center;
    height: 60px;
}

@media (min-width: 1000px) {
    table tr {
        height: 65px;
        font-weight: 400;
    }
}

table th {
    width: 25%;
}

table tbody tr:nth-child(4n),
table tbody tr:nth-child(4n-1) {
    background: transparent;
}

table tbody tr:nth-child(4n-2) {
    background: var(--color-background2);
    color: var(--color-font);
}

table tbody tr:nth-child(4n-3) {
    background: var(--color-background2);
    color: var(--color-font);
}

tr:nth-child(2n-1) td:first-child {
    border-top-left-radius: 10px;
}

tr:nth-child(2n-2) td:first-child {
    border-bottom-left-radius: 10px;
}

tr:nth-child(2n-1) td:last-child {
    border-top-right-radius: 10px;
}

tr:nth-child(2n-2) td:last-child {
    border-bottom-right-radius: 10px;
}

tr:nth-child(4n-3) td:first-child {
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    border-left: 1px solid #000;
}

tr:nth-child(4n-2) td {
    border-bottom: 1px solid #000;
    box-shadow: 0px 4px 0px 0px #000;
}

tr:nth-child(4n-2) td:first-child {
    border-left: 1px solid #000;
}

tr:nth-child(4n-2) td:last-child {
    border-right: 1px solid #000;
}

table tbody tr td {
    position: relative;
    width: 25%;
}

@media (min-width: 1000px) {
    tr:nth-child(4n-3) td:first-child {
        border-right: none;
    }

    tr:nth-child(4n-2) td {
        border: none !important;
        box-shadow: none !important;
    }

    table tbody tr:nth-child(2n-1) td{
        background: var(--color-background2);
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
        box-shadow: 0px 4px 0px 0px #000;
    }

    table tbody tr:nth-child(2n-1) td:first-child{
        border-left: 1px solid #000;
    }

    table tbody tr:nth-child(2n-1) td:last-child{
        border-right: 1px solid #000;
    }

    table tbody tr:nth-child(2n) {
        color: var(--color-font);
        background: transparent;
    }

    tr:nth-child(n) td:first-child {
        border-radius: 10px 0 0 10px;
    }

    tr:nth-child(n) td:last-child {
        border-radius: 0 10px 10px 0;
    }

    tr td:first-child {
        font-weight: 500;
        font-size: var(--fontsize21);
        color: #3c1642;
    }

    tr:nth-child(2n) td:first-child {
        color: var(--color-font);
    }

    table tbody tr:nth-child(2n) {
        color: var(--color-font);
        background: transparent;
    }
}

/* footer styles */
/* ---------------------------------------------------- */

.footer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    font-family: "Roboto Condensed", sans-serif;
    font-size: var(--fontsize16);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 10px 16px 30px;
    margin-top: 24px;
    text-align: center;
    background: var(--color13);
    color: rgba(255, 255, 255, 0.5);
}

/* button-up styles */
/* ---------------------------------------------------- */

.button__up {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    user-select: none;
    position: fixed;
    right: 15px;
    bottom: 30px;
    z-index: 4;
    width: 56px;
    height: 56px;
    border-radius: 15px;
    transition: all 200ms ease-in-out;
    cursor: pointer;
    padding: 0;
}

@media (min-width: 1000px) {
    .button__up {
        right: 20px;
    }
}

@media (min-width: 1000px) {
    .button__up {
        right: 30px;
    }
}

.button__up svg{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.button__up--active {
    opacity: 1;
    visibility: visible;
    user-select: auto;
}