@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600;700&display=swap');

@font-face {
    font-family: 'Colus';
    src: url('../assets/fonts/Colus.otf') format('opentype');
    font-style: normal;
}

@font-face {
    font-family: 'Evolventa';
    src: url('../assets/fonts/Evolventa.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('../assets/fonts/Jost.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Jost Bold';
    src: url('../assets/fonts/Jost-SemiBold.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Evolventa Bold';
    src: url('../assets/fonts/Evolventa-Bold.ttf') format('truetype');
}

:root {
    --grey-10: #F5F5F5;
    --grey-20: #EDEDED;
    --grey-30: #e7e7e7;
    --grey-40: #dedede;
    --grey-50: #d6d6d6;
    --grey-base: #cecece;
    --grey-60: #acacac;
    --grey-70: #898989;
    --grey-80: #676767;
    --grey-90: #454545;
    --grey-100: #292929;

    --red-10: #ffcfcf;
    --red-20: #ffaeae;
    --red-30: #ff8686;
    --red-40: #ff5e5e;
    --red-50: #ff3535;
    --red-base: #ff0d0d;
    --red-60: #d50b0b;
    --red-70: #aa0909;
    --red-80: #800707;
    --red-90: #550404;
    --red-100: #330303;

    --primary-black: #080808;
    --primary-white: #FFFFFF;
}

a {
    text-decoration: none;
}

body {
    background: url(../assets/back.jpg) !important;
    font-family: Evolventa;
    color: #080808;
    margin: 0;
}

body.dark {
    background: url(../assets/back_dark.jpg) !important;
    color: #E7E7E7;
}

.nice_divider {
    background: url(../assets/nice_divider.png);
    width: 100%;
    height: 56px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

body.dark .nice_divider {
    opacity: 0.2;
}

.all_head {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 49px 16px 40px;
    max-width: 500px;
    margin: 0 auto;
}

.all_title {
    text-align: center;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.30), 0px 1px 3px rgba(0, 0, 0, 0.15);
    font-family: Colus;
    font-size: 32px;
    line-height: 36px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.192px;
    text-transform: uppercase;
    z-index: 2;
}

body.dark .long {
    opacity: 0.2;
}

body.dark .all_title {
    text-shadow: none;
}

.all_title span {
    color: #aa0909;
}

body.dark .all_title span {
    background: linear-gradient(180deg, #BD9C49 0%, #E6B843 63.5%, #EECE7F 79%, #8C7845 98.5%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.all_after_title {
    text-align: center;
    font-size: 18px;
    line-height: 24px;
    z-index: 2;
}

a {
    color: inherit;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
}

.red_but {
    min-width: 290px;
    width: fit-content;
    height: 52px;
    background: linear-gradient(270deg, #330303 14.81%, #800707 57.41%, #330303 100%);
    position: relative;
    margin: 0 17px;
    padding: 3px 0;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.30)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.15));
    cursor: pointer;
    transition: filter 0.3s ease;
}

.red_but:hover {
    filter: drop-shadow(0px 1px 2px #0000007c) drop-shadow(0px 1px 3px #00000056);
}

.in_red_but {
    color: #EDEDED;
    font-family: Colus;
    font-size: 18px;
    line-height: 23px;
    text-transform: uppercase;
    text-align: center;
    padding: 11px;
    position: relative;
    height: 100%;
}

.in_red_but::after,
.in_red_but::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #D9D9D9;
    z-index: 0;
}

.in_red_but::after {
    top: 0;
}

.in_red_but::before {
    bottom: 0;
}

.red_but:hover .in_red_but {
    color: #FFFFFF;
}

.red_but::after,
.red_but::before {
    content: "";
    position: absolute;
    top: 0;
    width: 17px;
    height: 100%;
    background: url(../assets/krai.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.red_but::before {
    left: -16px;
}

.red_but::after {
    right: -16px;
    transform: rotate(180deg);
}

.red_mini_but {
    min-width: 260px;
    width: fit-content;
    height: 52px;
    background: linear-gradient(270deg, #330303 14.81%, #800707 57.41%, #330303 100%);
    position: relative;
    margin: 0 10px;
    padding: 3px 0;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.30)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.15));
    cursor: pointer;
    transition: all 0.3s ease;
    cursor: pointer;
}

.red_mini_but:hover {
    filter: drop-shadow(0px 1px 2px #0000007c) drop-shadow(0px 1px 3px #00000056);
}

.red_mini_but:hover .in_red_mini_but {
    color: #FFFFFF;
}

.in_red_mini_but {
    color: #EDEDED;
    font-family: 'Evolventa Bold';
    font-size: 14px;
    line-height: 24px;
    text-transform: uppercase;
    text-align: center;
    padding: 11px;
    position: relative;
    height: 100%;
    white-space: nowrap;
}

.in_red_mini_but::after,
.in_red_mini_but::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #cecece;
    z-index: 0;
}

.in_red_mini_but::after {
    top: 0;
}

.in_red_mini_but::before {
    bottom: 0;
}

.in_red_mini_but img {
    position: absolute;
    left: 8px;
}

.red_mini_but::after,
.red_mini_but::before {
    content: "";
    position: absolute;
    top: 0;
    width: 9px;
    height: 100%;
    background: url(../assets/krai_red.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.red_mini_but::before {
    left: -8px;
}

.red_mini_but::after {
    right: -8px;
    transform: rotate(180deg);
}

.paper_but {
    background: url(../assets/white-paper.jpg);
    padding: 3px 0;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 252px;
    width: fit-content;
    margin: 0 11px;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.30)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.15));
    cursor: pointer;
    transition: filter 0.3s ease;
}

.paper_but:hover {
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.377)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.26));
}

body.dark .paper_but {
    background: url(../assets/black_but.png) center / cover no-repeat;
}

.paper_but::after,
.paper_but::before {
    content: "";
    position: absolute;
    top: 0;
    width: 13px;
    height: 100%;
    background: url(../assets/krai_white.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

body.dark .paper_but::before {
    background: url(../assets/krai_black_2.svg) center / cover no-repeat;
}

body.dark .paper_but::after {
    background: url(../assets/krai_black_2_r.svg) center / cover no-repeat;
    transform: none;
}

.paper_but::after {
    right: -11px;
    transform: rotate(180deg);
}

.paper_but::before {
    left: -11px;
}

.in_paper_but {
    font-family: Colus;
    font-size: 18px;
    line-height: 23px;
    text-transform: uppercase;
    text-align: center;
    padding: 11px;
    position: relative;
    height: 100%;
    width: 100%;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.in_paper_but::after,
.in_paper_but::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #787878;
    z-index: 0;
}

.in_paper_but::after {
    top: 0;
}

.in_paper_but::before {
    bottom: 0;
}

body.dark .in_paper_but::after,
body.dark .in_paper_but::before {
    background: #6f5d2f;
}

.paper_but:hover .in_paper_but {
    color: #aa0909;
}

body.dark .paper_but:hover .in_paper_but {
    color: #BD9C49;
}

.round_but {
    background: url(../assets/white-paper.jpg);
    padding: 3px 0;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 330px;
    width: fit-content;
    margin: 0 9px;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.30)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
    cursor: pointer;
}

body.dark .round_but {
    background: url(../assets/black_but.png) center / cover no-repeat;
}

.round_but:hover {
    transform: scale(1.02);
}

.round_but::after,
.round_but::before {
    content: "";
    position: absolute;
    top: 0;
    width: 9px;
    height: 100%;
    background: url(../assets/krai_white_2.svg) center / cover no-repeat;
}

body.dark .round_but::before {
    background: url(../assets/krai_black.svg) center / cover no-repeat;
}

body.dark .round_but::after {
    background: url(../assets/krai_black_r.svg) center / cover no-repeat;
}

.round_but::after {
    right: -8px;
    transform: rotate(180deg);
}

body.dark .round_but::after {
    transform: none;
}

.round_but::before {
    left: -8px;
}

.in_round_but {
    font-family: 'Evolventa Bold';
    font-size: 14px;
    line-height: 24px;
    text-transform: uppercase;
    text-align: center;
    padding: 11px;
    position: relative;
    width: 100%;
    height: 100%;
    white-space: nowrap;
}

.in_round_but::after,
.in_round_but::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #676767;
    z-index: 0;
}

.in_round_but::after {
    top: 0;
}

.in_round_but::before {
    bottom: 0;
}

body.dark .in_round_but::after,
body.dark .in_round_but::before {
    background: #6f5d2f;
}

.in_round_but img {
    position: absolute;
    left: 8px;
}

#form-signup button,
#form-signup__modal button {
    background-image: url(../assets/redmain.png);
    height: 64px;
    color: var(--grey-20);
    font-size: 18px;
    line-height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-family: Colus;
    text-align: center;
    background-color: inherit;
    cursor: pointer;
    transition: all 250ms ease-out;
    filter: drop-shadow(0px 2px 2px #0000004D);
    margin: 0 auto;
    font-weight: 400;
}

.submit-email,
.white_form_but {
    background-image: url(../assets/white.png);
    width: 252px;
    min-width: 252px;
    color: var(--primary-black);
    display: block;
    padding: 15px 0;
    font-size: 16px;
    line-height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-family: Colus;
    font-weight: 400;
    text-align: center;
    background-color: inherit;
    cursor: pointer;
    min-height: 52px;
    height: 52px;
    transition: all 250ms ease-out;
    filter: drop-shadow(0px 2px 2px #0000004D);
}

body.dark .submit-email {
    background-image: url(../assets/black.png);
    color: #E7E7E7;
}

.hello_form {
    max-width: 448px;
    max-height: fit-content;
    padding: 16px;
    position: fixed;
    border-radius: 30px;
    box-shadow: 0px 2px 6px 2px #00000026, 0px 1px 2px 0px #0000004D;
    background-image: url(../assets/white-paper.jpg);
    z-index: 7000;
    top: 17px;
    transition: all 0.3s ease-out;
}

body.dark .hello_form {
    background-image: url(../assets/paper_black.jpg);
    background-size: cover;
}

.hide_hello {
    right: -500px;
}

.hello_close {
    position: absolute;
    right: 16px;
    top: 16px;
    background-image: url(../assets/close.svg);
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.hello_close:hover {
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.336));
}

.show_hello {
    right: 17px;
}

.hello_signup-form h3 {
    display: none;
}

.hello_signup-form .left_form {
    gap: 4px;
}

.hello_section-emailtg h3 {
    display: none;
}

.hello_section-emailtg .section-emailtg {
    padding: 0;
    background: inherit;
}

.hello_section-emailtg .section-emailtg:after {
    border: none;
}

.section-emailtg .likeh3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
}

.hello_section-emailtg .step {
    font-size: 18px;
    line-height: 20px;
}


.hello_section-emailtg .bonuses {
    padding: 0 0 16px;
}

.hello_section-emailtg .bonuses img {
    width: 32px;
    height: 32px;
}

.hello_section-emailtg .form_send {
    font-size: 14px;
    line-height: 20px;
    text-align: left;
}

.hello_section-emailtg .form_disclamer {
    font-size: 14px;
    line-height: 20px;
    padding: 24px 0 0;
    display: block;
}

.hello_section-emailtg .email-tg {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.hello_inform {
    background-image: url(../assets/white-paper.jpg);
    width: 100%;
    height: 100%;
    border-radius: 18px;
    position: relative;
}

body.dark .hello_inform {
    background-image: url(../assets/paper_black.jpg);
    background-size: cover;
}

.hello_inform:after {
    content: "";
    position: absolute;
    bottom: 4px;
    height: calc(100% - 10px);
    left: 4px;
    border: 1px dotted #997759;
    border-radius: 16px;
    width: calc(100% - 10px);
    pointer-events: none;
}

.hello_text {
    display: block;
    font-family: Evolventa;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
}

.hello_swap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

.hello_swap_item {
    font-family: Colus;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    color: var(--primary-black);
    padding: 8px 0px;
    border-bottom: 2px solid var(--primary-black);
    cursor: pointer;
    transition: all 0.3s ease-out;
    width: 100%;
}

body.dark .hello_swap_item {
    color: #E7E7E7;
    border-bottom: 2px solid #E7E7E7;
}

.hello_swap_item.active {
    color: var(--red-70);
    border-bottom: 2px solid var(--red-70);
}

body.dark .hello_swap_item.active {
    color: #BD9C49;
    border-bottom: 2px solid #BD9C49;
}

.hello_signup {
    gap: 0px !important;
    padding: 24px;
}

.hello_recover {
    font-family: Evolventa Bold;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: var(--primary-black);
}

.hello_recover a {
    color: var(--red-70);
}

.hello_title {
    color: var(--primary-black);
    font-family: Colus;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.008em;
    text-align: left;
}

body.dark .hello_title {
    color: #E7E7E7;
}

.hellotgform {
    flex-direction: column !important;
}

.helloh3 {
    font-size: 18px;
    line-height: 24px;
    font-family: Jost Bold;
    letter-spacing: -0.01em;
}


.long {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
}

@media (min-width: 875px) {

    .all_head {
        max-width: 1190px;
    }

    .all_title {
        font-size: 48px;
        line-height: 52px;
        letter-spacing: -0.01em;
    }

    .all_after_title {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (max-width: 750px) {

    .nice_divider {
        background-size: cover;
    }
}


@media (max-width: 450px) {
    .red_but {
        min-width: 90%;
    }
}