@font-face {
    font-family: Unbounded;
    font-weight: 400;
    src: url(../fonts/Unbounded-Blond.woff2);
}

@font-face {
    font-family: Unbounded;
    font-weight: 600;
    src: url(../fonts/Unbounded-Medium.woff2);
}

@font-face {
    font-family: Unbounded;
    font-weight: 800;
    src: url(../fonts/Unbounded-Bold.woff2);
}

body {
    background: url('../images/bg_main.png');
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    font-family: Unbounded;
    overflow-x: hidden;
    margin: 0;
    height: 100%;
    min-height: 100vh;
}

.header {
}

.container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    margin: auto;
}

.logo {
    width: 370px;
    margin: auto;
}

.menu_block {
    display: flex;
    justify-content: space-between;
}

.head_link {
    display: block;
    background: url(../images/back_header.png);
    padding: 10px 5px;
    border-radius: 5px;
    width: 100%;
    margin: auto;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

.active {
    background: url(../images/back_header_active.png);
}

.main {
    margin: 20px 0;
}

.main_block {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.torch_block {
    max-width: 200px;
    max-height: 360px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 20px;
    &:first-child {
        left: 20px;
    }
}

.torch {
}

.exchange_block {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 80px;
    padding-bottom: 40px;
    width: 100%;
    max-width: 800px;
    & .torch_block {
        display: none;
    }
}

.exchange_block_bg {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../images/back_exch.png);
    background-size: cover;
}

.title {
    text-align: center;
    margin: auto;
    margin-top: 56px;
    color: #E1B669;
    width: 68%;
    max-width: 400px;
}

.exchange_block .title {
    margin-top: 100px;
}

.details_block {
    width: 70%;
    margin: auto;
    margin-top: 40px;
    background: url(../images/bg_exc.png);
    border-radius: 15px;
    padding: 15px;
    background-size: cover;
    background-position: center;
}

.det_bl {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.title_change {
    margin: 10px 0;
    font-size: 19px;
    font-weight: 600;
}

.change_bl {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.change_bl {
    .select2.select2-container {
        width: 45% !important;
    }
}

.input_block {
    width: 45%;
    height: 40px;
    display: flex ;
    align-items: center;
    position: relative;
}

.input_form {
    width: auto;
    padding: 0 15px;
    font-size: 16px;
    height: 40px;
    background-color: transparent;
    border: none;
    border-radius: 5px;
    width: 100%;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: unset;
    font-weight: 400;
    border-radius: 8px;
    background-position: left;
    background: #ffffff;
}

.input_form::placeholder {
    color: #333333;
}

.input_form:focus {
    outline: none;
}

.icon_input {
    position: absolute;
    right: 10px;
    width: 30px;
    transform: rotate(12deg);
}

.course_dt {
    font-size: 15px;
    margin-top: 10px;
}

.btn {
    width: 70%;
    margin: auto;
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    border: none;
    background: url(../images/back_btn.png);
    font-family: 'Unbounded';
    font-weight: 800;
    font-size: 26px;
    text-transform: uppercase;
    cursor: pointer;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.under_wrap {
    background: url(../images/block_down.png);
    margin-top: -10px;
    width: 100%;
    height: 70px;
    background-size: contain;
}

.under_blocks {
}

.chart-container {
    width: 100%;
    height: 590px;
    background: url(../images/grap_dop.png);
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
}

.charting {
    background: url(../images/grap_bg.png);
    height: 100%;
    border-radius: 15px;
}

.aboutus_block {
    & .title {
        font-size: 36px;
        max-width: none;
    }
}

.we_wrap {
    display: flex;
    justify-content: space-around;
    margin-top: 32px;
}

.w_b {
    background-size: cover;
    background: url(../images/bg_exc.png);
    padding: 20px 60px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-size: cover;
    background-position: center;
    border: 5px solid #472D1E;
    border-radius: 15px;
    width: 45%;
}

.w_b_ico {
    width: 150px;
    margin-bottom: 20px;
    height: 150px;
}

.w_b_t {
    font-size: 36px;
    text-align: center;
}

.w_b_p {
    font-weight: 600;
    text-align: center;
    font-size: 19px;
    margin: 14px 0;
}

.w_b_s {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    margin: auto;
    color: #E1B669;
    font-size: 18px;
}

.footer {
    margin: 45px 0;
    flex: 0 0 auto;
}

.roadmap_block {
    margin-top: 120px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.footer_logo {
    width: 250px;
}

.road_wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-left: 20px;
    gap: 40px;
}

.r1b {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.link {
    text-decoration: none;
    color: #fff;
    margin: 7.5px 0;
    font-size: 22px;
}

.r2b {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer_block {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 24px;
}

.partners {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu_block > .none {
    text-decoration: none;
    padding: 10px 5px;
    border-radius: 5px;
    width: 100%;
    max-width: 160px;
    margin: auto;
}

.none {
    text-decoration: none;
}

.bestchange {
    width: 150px;
    margin: 7.5px 0;
}

.exnode {
    width: 150px;
}

.contact_block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.email {
    color: #E1B669;
    font-size: 17px;
}

select {
    -webkit-appearance: none;
    /* Убираем стандартное оформление в браузерах */
    -moz-appearance: none;
    appearance: none;
    padding: 11px 15px;
    font-size: 16px;
    background-color: transparent;
    border: none;
    outline: none;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    position: relative;
    background-image: url('../images/back_ex_block.png');
    /* иконка стрелки */
    background-repeat: no-repeat;
    background-size: cover;
    font-family: unset;
    font-weight: 400;
}

/* Стилизация для options */
option {
    padding: 10px;
    font-size: 16px;
    /* background-color: #ff0000; */
    border-bottom: 1px solid #eee;
    color: #333;
    background-image: url(../images/back_ex_block.png);
}

/* Стили при наведении на option */
option:hover {
    background-color: #e5e5e5;
}

/* Для select при фокусе */
select:focus {
    border-color: #007bff;
    outline: none;
}

.change_bl > select {
    width: 45%;
    background-size: cover;
    border-radius: 8px;
}

.partners > .title {
    width: 100%;
}

.block_menu {
    display: flex ;
}

.menu_mobile {
    display: none;
}

@media screen and (max-width: 1100px) {
    .torch_block {
        display: none;
    }

    .exchange_block {
        position: relative;
    }

    .exchange_block {
        & .torch_block {
            right: -30px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            &:first-child {
                left: -40px;
            }
        }
    }

    .aboutus_block {
        & .title {
            font-size: 24px;
        }
    }

    .w_b {
        padding-bottom: 60px;
    }

    .w_b_ico {
        width: 100px;
        height: 100px;
    }

    .w_b_t {
        font-size: 22px;
    }

    .w_b_p {
        font-size: 18px;
    }

    .w_b_s {
        font-size: 16px;
    }

    .roadmap_block {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }

    .footer_logo {
        width: 230px;
    }

    .link {
        font-size: 18px;
    }
}

@media screen and (max-width: 1000px) {
    .exchange_block .torch_block {
        right: -25px;
        &:first-child {
            left: -50px;
        }
    }
}

@media screen and (max-width: 800px) {
    body {
        background: url('../images/bg_main.png');
        background-size: cover;
        background-repeat: no-repeat;
        color: #fff;
        font-family: Unbounded;
        overflow-x: hidden;
        margin: 0;
    }

    .header {
    }

    .container {
        width: 100%;
        max-width: 1400px;
        display: flex;
        flex-direction: column;
        margin: auto;
    }

    .logo {
        width: 370px;
        margin: 0;
    }

    @media screen and (max-width: 500px) {
        .logo {
            width: 290px;
        }
    }

    @media screen and (max-width: 400px) {
        .logo {
            width: 270px;
        }
    }

    .block_menu {
        display: flex ;
        align-items: center;
        justify-content: space-between;
    }

    .close-btn {
        font-size: 30px;
        color: white;
        cursor: pointer;
        text-align: right;
        padding-bottom: 20px;
    }

    .menu_mobile {
        display: flex;
        flex-direction: column;
        background: url(../images/info_bg.png);
        background-repeat: no-repeat;
        background-size: cover;
        color: white;
        padding: 20px;
        position: fixed;
        top: 0;
        right: -250px;
        /* Скрываем меню слева */
        width: 250px;
        height: 100%;
        transition: left 0.3s ease;
        z-index: 9999;
        transition: right 0.3s ease-in-out;
        /* Плавная анимация появления и скрытия */
    }

    .menu_mobile a {
        text-decoration: none;
        color: white;
        padding: 15px 0;
        font-size: 18px;
    }

    /* Стили для кнопки бургера */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        cursor: pointer;
        margin: 20px;
    }

    .burger-icon {
        background-color: #333;
        height: 5px;
        width: 100%;
        border-radius: 5px;
    }

    /* Стили для отображения меню */
    .menu_mobile.open {
        right: 0;
        /* Показываем меню */
    }

    .menu_block {
        display: none;
    }

    .head_link_mob {
        display: block;
        background: url(../images/back_header.png);
        padding: 10px 5px;
        border-radius: 5px;
        width: 100%;
        margin: auto;
        text-align: center;
        color: #fff;
        font-weight: 600;
    }

    .head_link {
        display: block;
        background: url(../images/back_header.png);
        padding: 10px 5px;
        border-radius: 5px;
        width: 100%;
        margin: auto;
        text-align: center;
        color: #fff;
        font-weight: 600;
    }

    .active {
        background: url(../images/back_header_active.png);
    }

    .main {
        margin: 20px 0;
    }

    .main_block {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .torch {
    }

    .exchange_block {
        display: flex;
        flex-direction: column;
        padding: 30px;
        /* margin: 20px; */
        width: 90%;
    }

    .title {
        text-align: center;
        margin: auto;
        margin-top: 90px;
        color: #E1B669;
        font-size: 22px;
        max-width: 380px;
    }

    .details_block {
        width: 65%;
        margin: auto;
        margin-top: 40px;
        background: url(../images/bg_exc.png);
        border-radius: 15px;
        padding: 15px;
        background-size: cover;
        background-position: center;
    }

    .det_bl {
        display: flex;
        flex-direction: column;
        margin-bottom: 14px;
    }

    .title_change {
        margin: 10px 0;
        font-size: 19px;
        font-weight: 600;
    }

    .change_bl {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .input_block {
        height: 40px;
        display: flex ;
        align-items: center;
        position: relative;
    }

    .input_form {
        width: 100%;
        /* padding: 0px 15px; */
        font-size: 16px;
        height: 40px;
        background-color: transparent;
        border: none;
        border-radius: 5px;
        width: 100%;
        position: relative;
        background-repeat: no-repeat;
        background-size: cover;
        font-family: unset;
        font-weight: 400;
        border-radius: 8px;
        background-position: left;
        background-color: #fff;
    }

    .input_form::placeholder {
        color: #333333;
    }

    .input_form:focus {
        outline: none;
    }

    .icon_input {
        position: absolute;
        right: 10px;
        width: 30px;
        transform: rotate(12deg);
    }

    .course_dt {
        font-size: 15px;
        margin-top: 10px;
    }

    .btn {
        width: 65%;
        margin: auto;
        margin-top: 20px;
        padding: 20px;
        border-radius: 15px;
        border: none;
        background: url(../images/back_btn.png);
        font-family: 'Unbounded';
        font-weight: 800;
        font-size: 26px;
        text-transform: uppercase;
        cursor: pointer;
    }

    .under_wrap {
        background: url(../images/block_down.png);
        margin-top: -10px;
        width: 100%;
        height: 70px;
        background-size: cover;
        background-position: center;
    }

    .under_blocks {
    }

    .chart-container {
        width: 100%;
        height: 590px;
        background: url(../images/grap_dop.png);
        border-radius: 10px;
        padding: 20px;
        margin: 20px auto;
    }

    .charting {
        background: url(../images/grap_bg.png);
        height: 100%;
        border-radius: 15px;
    }

    .aboutus_block {
    }

    .we_wrap {
        display: flex;
        justify-content: space-around;
        margin-top: 25px;
    }

    .w_b {
        background-size: cover;
        padding: 40px 60px 90px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-size: cover;
        background-position: center;
        border: 5px solid #472D1E;
        border-radius: 15px;
        width: 45%;
    }

    .w_b_ico {
        width: 100px;
        margin-bottom: 20px;
        height: 100px;
    }

    .w_b_t {
        font-size: 24px;
        text-align: center;
    }

    .w_b_p {
        font-weight: 600;
        text-align: center;
        font-size: 19px;
        margin: 10px 0;
    }

    .w_b_s {
        text-align: center;
        margin: auto;
        color: #E1B669;
        font-size: 18px;
    }

    .footer {
        margin: 45px 0;
    }

    .roadmap_block {
        display: flex;
        align-items: start;
        flex-direction: column;
        gap: 12px;
    }

    .footer_logo {
        width: 200px;
    }

    .road_wrap {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 20px;
        margin-left: 20px;
    }

    .r1b {
        display: flex;
        flex-direction: column;
    }

    .link {
        text-decoration: none;
        color: #fff;
        margin: 7.5px 0;
        font-size: 17px;
    }

    .r2b {
        display: flex;
        flex-direction: column;
    }

    .footer_block {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        padding: 0 15px;
    }

    .partners {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    @media screen and (max-width: 767.9px) {
        .title_change {
            font-size: 16px;
        }

        .course_dt {
            font-size: 14px;
        }

        .exchange_block {
            width: 100%;
            margin-bottom: 40px;
        }

        .exchange_block_bg {
            background-repeat: no-repeat;
        }

        .btn {
            width: 65%;
            padding: 15px;
            font-size: 26px;
        }

        .change_bl {
            gap: 4px;
        }

        .icon_input {
            width: 20px;
        }

        .we_wrap {
            flex-direction: column;
            align-items: center;
            gap: 24px;
        }

        .w_b {
            width: 90%;
            padding: 20px;
        }

        .link {
            font-size: 15px;
        }

        .road_wrap {
            gap: 24px;
        }
    }

    @media screen and (max-width: 680px) {
        .logo {
        }

        .exchange_block {
            padding: 0 15px;
        }

        .exchange_block_bg {
            display: none;
        }

        .torch_block, .exchange_block .torch_block {
            display: none;
        }

        .title {
            margin: auto;
            text-align: center;
            width: 100%;
            margin-top: 40px;
            font-size: 30px;
            max-width: 500px;
        }

        .details_block {
            width: 80%;
        }
    }

    @media screen and (max-width: 580px) {
        .roadmap_block {
            flex-direction: column;
            align-items: center;
            gap: 24px;
            margin-top: 40px;
        }

        .exchange_block .title {
            margin-top: 20px;
        }

        .footer_logo {
            width: 150px;
        }

        .footer_block {
            flex-direction: column;
            align-items: center;
            gap: 24px;
        }

        .contact_block {
            display: flex;
            align-items: center;
            gap: 12px
        }
    }

    @media screen and (max-width: 550px) {
        .title {
            margin: 0;
            margin-top: 45px;
            font-size: 24px;
        }

        .details_block {
            width: 100%;
        }

        .btn {
            width: 100%;
        }
    }

    .menu_block > .none {
        text-decoration: none;
        padding: 10px 5px;
        border-radius: 5px;
        width: 100%;
        max-width: 160px;
        margin: auto;
    }

    .none {
        text-decoration: none;
    }

    .bestchange {
        width: 150px;
        margin: 7.5px 0;
    }

    .exnode {
        width: 150px;
    }

    .contact_block {
    }

    .email {
        color: #E1B669;
        font-size: 17px;
    }

    select {
        -webkit-appearance: none;
        /* Убираем стандартное оформление в браузерах */
        -moz-appearance: none;
        appearance: none;
        padding: 11px 15px;
        font-size: 16px;
        background-color: transparent;
        border: none;
        border-radius: 5px;
        width: 100%;
        cursor: pointer;
        position: relative;
        background-image: url('../images/back_ex_block.png');
        /* иконка стрелки */
        background-repeat: no-repeat;
        background-size: cover;
        font-family: unset;
        font-weight: 400;
    }

    /* Стилизация для options */
    option {
        padding: 10px;
        font-size: 16px;
        /* background-color: #ff0000; */
        border-bottom: 1px solid #eee;
        color: #333;
        background-image: url(../images/back_ex_block.png);
    }

    /* Стили при наведении на option */
    option:hover {
        background-color: #e5e5e5;
    }

    /* Для select при фокусе */
    select:focus {
        border-color: #007bff;
        outline: none;
    }

    .change_bl > select {
        width: 45%;
        background-size: cover;
        border-radius: 8px;
    }

    .partners > .title {
        width: 100%;
    }
}

.info_block_sec {
    background-size: cover;
    background: url(../images/bg_exc.png);
    padding: 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-size: cover;
    background-position: center;
    border: 5px solid #472D1E;
    border-radius: 15px;
    margin: 15px 8px;
}

.subt {
    color: #E1B669;
    font-size: 18px;
    margin: 10px 0;
}

.text_sec {
    font-size: 15px;
    margin: 5px 0;
}

.sup_btn {
    background-color: #fff;
    border: 2.5px solid #472D1E;
    border-radius: 15px;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px 45px;
    font-size: 18px;
    font-family: Unbounded;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    justify-content: center;
    margin-top: 10px;
}

.sup_btn > svg {
    margin-left: 7px;
}

.info_block_sec > .none {
    width: 100%;
    max-width: 280px;
}

@media screen and (max-width: 800px) {
    .info_block_sec {
        padding: 20px 20px;
    }

    #referral-link-container {
        display: flex;
        flex-direction: column ;
    }
}
