@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

/* 
    font-family: 'Open Sans', sans-serif;
*/
:root {
    --dark-theme-bg-color: #202124;
    --light-theme-bg-color: #e8eaed;
    --clear-theme-bg-color: #fcfbff;
    --dark-theme-text-color: #e8eaed;
    --light-theme-text-color: #202124;
    --text-color-light-blue: #6d8cc0;
    --text-color-blue: #1f5fac;
    --text-color-toq-blue: #00a7e4;

}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    outline: none;
}

html::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

li {
    list-style: none;
}

body {
    width: 100vw;
    min-height: 100vh;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    overflow-x: hidden;
}

.currency-symbol {
    font-weight: 700;
    font-size: 8px;
    color: #cd7a8a;
}

header,
main {
    max-width: 1200px;
    margin: 0 auto;
}

main {
    display: flex;
}

main>.flyer {
    width: 600px;
    background-image: url(../img/pattern.png);
    background-position: top;
    background-size: contain;
    background-repeat: no-repeat;
}

header,
header nav {
    width: 100%;
}

header nav ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
}

header nav ul li ul {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: black;
    border-radius: 25px;
}

header nav ul li ul li {
    padding: 5px 20px;
    font-weight: 800;
    font-size: 14px;
    background-color: #2b2c30;
    color: var(--clear-theme-bg-color);
    border-radius: 25px;
    cursor: pointer;
}

header nav ul li ul li.active {
    background: linear-gradient(to bottom right, #cd7a8a 10%, #5772a3);
    color: var(--clear-theme-bg-color)
}

header nav ul li ul li:nth-child(2) {
    margin: 0 5px;
}

header nav ul li ul li:hover {
    background-color: #6f6d6d;
    color: #d78a9a;
}

header nav ul li>span {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    border-radius: 25px;
    border: none;
    color: var(--clear-theme-bg-color);
    font-weight: 800;
    /* width: 50px; */
    padding: 0 10px;
    height: 30px;
    cursor: pointer;
}

.__wallet_bud {
    position: relative
}

.__wallet_bud>span:nth-child(2) {
    display: none;
    transition: all ease-out 350ms;
    font-size: 10px;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translate(-50%, -50%);
    touch-action: auto;
}

.__wallet_bud:hover span:nth-child(2) {
    display: flex;
    transition: all ease-in 350ms;
    justify-content: center;
    align-items: center;
}

.dark-theme {
    background-color: var(--dark-theme-bg-color);
    color: var(--dark-theme-text-color);
}

.light-theme {
    background-color: var(--light-theme-bg-color);
    color: var(--light-theme-text-color);
}

.logo-text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: italic;
}

main {
    width: 100%;
    min-height: calc(100vh - 400px);
}

.container {
    width: 100%;
    max-width: 450px;
    margin: 0px auto;
}

.form-contain {
    width: 100%;
    padding: 10px;
}

.form-contain form {
    background: black;
    padding: 10px;
    border-radius: 25px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

.form-row {
    width: 100%;
    padding: 10px;
}

.swap-contain {
    position: relative;
}

.form-column {
    position: relative;
    padding: 5px 25px;
    background: var(--dark-theme-bg-color);
    border-radius: 25px;
    margin: 5px 0;
}

.form-column h1 {
    display: flex;
    align-items: center;
}

.form-column p {
    font-weight: 600;
    font-size: 13px;
    margin-top: 10px;
}

.form-column label {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 25%;
    border-radius: 100px;
    border: 1px solid #ddd;
    padding: 3px 10px;
    background: linear-gradient(to top left, #000 60%, #fff);
    transition: all ease-out 250ms;
    cursor: pointer;
}

.form-column label:hover {
    background: linear-gradient(to bottom right, #000 60%, #fff);
    transition: all ease-in 250ms;
}

.form-column input {
    padding: 10px;
    background: transparent;
    color: var(--clear-theme-bg-color);
    font-size: 28px;
    font-weight: 800;
    border: none;
    text-align: right;
    width: 75%;
}

.form-column select {
    width: 100%;
    padding: 10px 20px;
    border-radius: 5px;
    background: #000;
    text-align: center;
    color: #ddd;
    font-weight: 800;
    font-style: italic;
    color: #cd7a8a;
}

.link-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(to bottom right, #cd7a8a 10%, #5772a3);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 105%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    cursor: pointer;
}

.link-icon img {
    height: 15px;
}

.btn-contain {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.btn-contain .sub-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    border-top: 1px solid #cfb149;
    border-left: 1px solid #cfb149;
    border-right: 1px solid #006691;
    border-bottom: 1px solid #006691;
    border-radius: 25px;
}

.btn-contain .sub-btn:hover {
    background: #6f6d6d;
    color: #006691;
}

.btn-contain .sub-btn.invalid {
    background: linear-gradient(to bottom right, #a1606c 10%, #27e9ee);
    color: #666;
}

.btn-contain .sub-btn.valid {
    background: linear-gradient(to bottom right, #cfb149 10%, #006691);
    color: #fff;
}

.swap-sub-btn {
    width: 100%;
    padding: 20px;
    border-radius: 100px;
    background: #202124;
    border: none;
    font-weight: 700;
    color: #ddd !important;
    cursor: pointer;
}

.result-contain>.form-column>.form-column-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 12px;
}

.form-column-row strong {
    color: green;
}

#error {
    color: red;
    font-weight: 600;
    font-size: 12px;
}

#notifiers {
    background: transparent;
    position: fixed;
    top: 10px;
    right: 10px;
    overflow-y: auto;
    height: 100vh;
    overflow-x: hidden;
    z-index: 999;
}

#notifiers .__notification-container {
    padding-bottom: 20px;
    border-radius: 5px;
    min-width: 200px;
    max-width: 400px;
    position: relative;
    font-size: 12px;
    font-style: italic;
    margin: 5px 0;
    animation: SlideInRight 250ms;
    z-index: 9999;
}

#notifiers .__notification-container.success {
    background-color: #659968;
}

#notifiers .__notification-container.error {
    background-color: #e23b3b;
}

#notifiers .__notification-container.warn {
    background-color: #a1606c;
    color: var(--light-theme-text-color);
}

.__notifier-img-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px;
}

#notifiers .__notifier-img-container img {
    height: 20px;
    width: 20px;
    cursor: pointer;
}

.__notification-container img:hover {
    transform: scale(1.1);
    /* transform: rotateX(180deg); */
    transition: all 250ms;
}

#notifiers p {
    padding: 0 10px;
}

.notice {
    padding: 40px;
    font-size: 10px;
    font-weight: 600;
    color: #cd7a8a;
    background-color: black;
    border-radius: 25px;
}

.max-holder {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

#max_btn {
    border: 1px solid #cd7a8a;
    color: #cd7a8a !important;
    padding: 0px 10px;
    border-radius: 100px;
    font-size: 10px;
    cursor: pointer;
}


footer {
    position: relative;
    bottom: 0;
    left: 0;
    padding: 10px;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    font-weight: 700;
    font-size: 12px;
    font-style: italic;
}

.pairs-contain .form-column {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100px;
    color: var(--text-color-toq-blue);
}

.pairs-contain .form-column h1 {
    font-size: 14px;
}

.pairs-contain .form-column h3 {
    color: green;
    font-size: 14px;
}

.film {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

.film>button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.film>div>h3 {
    font-size: 12px;
    margin: 10px 0;
}

.film>div {
    background: linear-gradient(to top right, #111010 80%, #fff);
    width: 100%;
    max-width: 350px;
    padding: 10px;
    padding-bottom: 50px;
}

.film>div input {
    width: 100%;
    padding: 10px 20px;
    background: #828282;
    border: 1px solid #666;
    border-radius: 100px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.film>div>div {
    height: 400px;
    width: 100%;
    overflow: hidden;
}

.film>div>div>ul {
    width: 100%;
    overflow-y: auto;
    height: 100%;
}

.film>div>div>ul>li {
    padding: 5px 10px;
    background: #222222;
    margin: 10px 5px;
    border-radius: 100px;
    box-shadow: 0 5px 10px -5px #1ecbd1;
    cursor: pointer;
    margin-right: 10px;
}

.film>div>div>ul>li:hover {
    background: #000;
}

.__import-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.__no-item {
    background: transparent !important;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.__btn-control {
    display: flex;
    align-items: center;
}

.__btn-control>button {
    border: none;
    padding: 3px 10px;
    font-weight: 700;
    font-size: 10px;
    background: #1ecbd1;
    border-radius: 50px;
    cursor: pointer;
}

.__no-item strong {
    font-size: 10px;
}

.__main-item {
    display: flex;
    align-items: center;
}

.__main-item img {
    width: 25px;
    height: 25px;
}

.__main-text {
    display: grid;
    grid-template-columns: 1fr;
    padding-left: 10px;
    line-height: 15px;
}

.__main-text strong {
    font-size: 9px;
}

.__main-text span {
    font-size: 12px;
    font-weight: 600;
    color: #1ecbd1;
}

.hide {
    display: none !important;
}

@media only screen and (max-width:800px) {
    .flyer {
        display: none !important;
    }
}