* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #000000;
    --border: #000000;
    --gray: #ffffff70;
    --gray2: #1B1B19;
    --gray3: #ffffff50;
    --darkblack: #ffffff10;
    --darkblack2: #ffffff20;
    --darkblack3: #ffffff40;
    --orange: #FF9862;
    --white: #ffffff;
}

body {
    background-color: var(--bg);
    font-family: "Poppins", sans-serif;
}

.color_white {
    color: var(--white);
}

.color_orange {
    color: var(--orange);
}

.color_gray {
    color: var(--gray);
}

.fs_12 {
    font-size: 12px;
}

.fs_14 {
    font-size: 14px;
}

.pointer {
    cursor: pointer;
}

.btn_white,
.btn_white:hover {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    background-color: var(--white);
}

.btn_orange,
.btn_orange:hover {
    background-color: var(--orange);
}

.valonex_nav {
    padding: 30px 68px;
    background-color: var(--darkblack);
    overflow: hidden;
}

.navbar-brand img {
    width: 140px;
}

.valonex_nav::after {
    content: "";
    position: absolute;
    left: -110px;
    width: 578px;
    height: 578px;
    border-radius: 50%;
    background-image: url("../img/header/shap.svg");
    position: absolute;
    background-size: cover;
    top: -150%;
    z-index: -4;
}

.valonex_nav .navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
    padding: 0 20px;
}


.history_tabel tbody {
    border: 1px solid var(--gray2);
    border-radius: 10px 0 0 0;
}

.history_tabel thead {
    border: 1px solid var(--gray2);
}

.history_tabel tbody tr td {
    background-color: var(--bg);
    font-size: 14px;
    font-weight: 400;
    color: var(--white);
    padding-block: 14px;
}

.history_tabel thead tr th {
    background-color: var(--gray2);
    font-size: 15px;
    font-weight: 400;
    padding-block: 14px;
    color: var(--gray3);
    white-space: nowrap;
}

.history_tabel tbody tr:last-child td:first-child,
.history_tabel tbody tr:last-child td:last-child {
    border-radius: 10px;
}

.history_tabel thead tr th:first-child,
.history_tabel tbody tr td:first-child {
    padding-left: 52px;
    border-radius: 10px 0 0 0;
}

.history_tabel thead tr th:last-child,
.history_tabel tbody tr td:last-child {
    padding-right: 52px;
    border-radius: 10px 0 0 0;
}

.tabs_velonex {
    border-bottom: 2px solid var(--white);
}

.tabs_velonex .nav-item.show .nav-link,
.tabs_velonex .nav-link:focus-visible,
.tabs_velonex .nav-link:focus,
.tabs_velonex .nav-link.active,
.tabs_velonex .nav-link:hover {
    background-color: transparent;
    border: none !important;
    outline: none !important;
    box-shadow: none
}


.tabs_velonex .nav-link {
    font-size: 16px;
    font-weight: 400;
    padding: 20px;
    width: 50%;
    color: var(--white) !important;
    position: relative;
    border: none;
}

.tabs_velonex .active::after {
    content: "";
    position: absolute;
    bottom: -1.4px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--orange);
}

.swap_bg {
    background-image: url("../img/swap/swap_bg.webm");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    height: calc(100vh - 124px);
    width: 100%;
    display: block;
    padding: 30px;
}

/* .video-background {
    position: relative;
    width: 100%;
    height: calc(100vh - 100px);
    height: 100%;
    overflow-y: scroll;
    padding: 30px;
    padding-bottom: 0;
    background: #00000090;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.video-background video {
    position: absolute;
    top: 12%;
    bottom: 0%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, 0%);
    object-fit: cover;
    opacity: 1;
} */

.video-background {
    background-image: url("../img/swap/swap_bg.gif");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 1;
}

.video-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00000090;
    z-index: -1;
}

.overflow {
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    width: 100%;
    padding-top: 50px;
}

.swap_cards {
    border: 1px solid var(--gray2);
    padding: 30px;
    border-radius: 26px;
    color: var(--gray);
    background: var(--gray2);
    background-image: url("../img/swap/swapcard.svg");
    background-repeat: no-repeat;
    background-size: cover;
    border: 2px solid #635750;
    transition: all 0.8s ease-in-out 0.1s;
}

.swap_cards input,
input:focus,
input:focus-visible,
input::placeholder {
    font-family: "Poppins", sans-serif;
    border: 0;
    height: 42px;
    text-align: end;
    font-size: 28px;
    color: var(--white);
    outline: none;
    border-right: 1px solid var(--gray);
}

.selct_swap {
    background-color: transparent;
    border: 1px solid var(--darkblack2);
    padding: 9px 8px;
    border-radius: 6px;
    color: var(--darkblack3);
}

.swap_btn {
    border: 3px solid var(--bg);
    padding: 13px;
    border-radius: 12px;
    position: absolute;
    z-index: 2;
    background-color: var(--gray2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.swap_cards1 {
    position: relative;
    top: 0;
}

.swap_cards2 {
    position: relative;
    top: 0;
}

.swap2_active {
    position: relative;
    top: 224px;
    transition: all 0.8s ease-in-out 0.1s;
}

.swap2_active2 {
    position: relative;
    top: -224px;
    transition: all 0.8s ease-in-out 0.1s;
}

.network_modal .modal-content {
    background-color: var(--gray2);
    border-radius: 26px;
}

.network_modal .modal-header,
.network_modal .modal-body {
    background-color: var(--gray2);
    color: var(--white);
}

.network_modal .modal-header {
    border-radius: 26px 26px 0 0;
}

.network_modal .modal-body {
    border-radius: 0 0 26px 26px;
}

.token_list {
    padding: 12px 20px 12px 12px;
    border-radius: 26px;
    transition: all .2s ease-in;
}

.token_list:hover {
    background-color: var(--Dark);
    transition: all .2s ease-in;
}

.token_list .token_gap .pera_title {
    transform: translate(8px);
    transition: all .2s ease-in;
}

.white_dote {
    opacity: 0;
    transition: all .2s ease-in;
}

.token_list:hover {
    background-color: var(--bg);
}

.token_list:hover .white_dote {
    opacity: 1;
    transition: all .2s ease-in;
}

.token_list:hover .token_gap .pera_title {
    transform: translate(-8px);
    transition: all .2s ease-in;
}

.search_box,
.search_box:focus {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    border: 1px solid var(--darkblack2);
    padding: 15px 15px 15px 43px;
    background-color: var(--bg);
    color: var(--white);
    font-size: 16px;
    box-shadow: none;
}

.search_icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}

.custom-toggler {
    border: 0;
    padding: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.toggler-bars {
    position: relative;
    width: 28px;
    height: 22px;
    display: inline-block;
}

.bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--orange);
    transition: transform .10s ease, opacity .25s ease, top .10s ease, width .10s ease;
}

.bar1 {
    top: 0;
    width: 70%;
    left: 15%;
}

.bar2 {
    top: 9px;
    width: 100%;
    left: 0;
}

.bar3 {
    top: 18px;
    width: 70%;
    left: 15%;
}

.custom-toggler[aria-expanded="true"] .bar2 {
    opacity: 0;
    transform: scaleX(0);
}

.custom-toggler[aria-expanded="true"] .bar1 {
    top: 9px;
    left: 0;
    width: 100%;
    transform: rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .bar3 {
    top: 9px;
    left: 0;
    width: 100%;
    transform: rotate(-45deg);
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

@media screen and (max-width: 1099px) {
    .valonex_nav {
        padding: 30px;
    }
}

@media screen and (max-width: 1024px) {
    .valonex_nav .navbar-nav .nav-link {
        font-size: 14px;
        padding: 0 12px;
    }

    .valonex_nav {
        padding: 23px 38px;
    }
}

@media screen and (max-width: 991px) {
    .sidebar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 250px;
        background: #1a1a1a;
        padding: 1rem;
        transition: left 0.3s ease-in-out;
        z-index: 1050;
        overflow-y: auto;
    }

    .sidebar-collapse.show {
        left: 0;
    }
}

@media screen and (max-width: 768px) {
    .swap_bg {
        height: 100%;
        width: 100%;
        padding: 40px 58px 138px;
    }

    .history_tabel thead tr th,
    .history_tabel tbody tr td {
        font-size: 14px;
        padding: 14px 20px;
        white-space: nowrap;
    }

    .swap_btn {
        padding: 10px;
    }

    .swap_btn svg {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 600px) {
    .valonex_nav {
        padding: 20px 18px;
    }

    .valonex_nav::after {
        left: -64px;
        top: 0%;
        width: 180px;
        height: 180px;
    }

    .swap_bg {
        height: calc(100vh - 80px);
        padding: 18px;
    }

    .tabs_velonex .nav-link {
        font-size: 14px;
        padding: 14px;
    }

    .swap_cards {
        padding: 20px 22px;
    }

    .fs_14 {
        font-size: 12px;
    }

    .swap_cards input,
    input:focus,
    input:focus-visible,
    input::placeholder {
        font-size: 20px;
        width: 100%;
    }

    .swap2_active2 {
        top: -192px;
    }

    .swap2_active {
        top: 204px;
    }
}