:root {
  --background: #000;
  --text: #fff;
  --black: #000;
  --white: #fff;
  --buttons: #fff;
  --widgets_background: #fff;
  --widgets_text: #000;
  --widgets_buttons: #000;
  --green: #25B555;
  --red: #FF6600;
  --blue: #25B1B5;
}


nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 200px;
    width: calc(100% - 400px);
    position: absolute;
}
nav .logo{
    height: 40px;
}
nav .links{
    display: flex;
    gap: 20px;
}
nav .links a.mobile{
    display: none;
}

.home{
    height: 100vh;
    padding: 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.exchange_widgets{
    display: flex;
    gap: 25px;
}
.more{
    display: none;
}
.exchange_widgets:has(#showmore:checked) .more{
    display: block;
}
.showmore{
    display: block;
}
.showmore input{
    display: none;
}
.showmore span{
    margin: 15px auto 0;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 10px;
    outline: 2px solid var(--widgets_buttons);
    display: block;
    width: fit-content;
    border-radius: 25px;
    cursor: pointer;
}
.showmore span:hover{
    background: var(--widgets_buttons);
    color: var(--text);
}
.showmore input:checked ~ span{
    background: var(--widgets_buttons);
    color: var(--text);
}
.exchange{
    background: var(--widgets_background);
    padding: 25px;
    border-radius: 25px;
    width: 450px;
}
.exchange *{
    color: var(--widgets_text);
}
.exchange h3{
    font-size: 20px;
    font-weight: 500;
}
.exchange > h3{
    margin: 15px 0 5px;
}
.exchange > h3:first-child{
    margin: 0 0 5px;
}

.exchange .type_input{
    display: flex;
    outline: 2px solid var(--widgets_buttons);
    outline-offset: -2px;
    border-radius: 25px;
    overflow: hidden;
    user-select: none;
}
.exchange .type_input input{
    display: none;
}
.exchange .type_input input:checked + label {
    background: var(--widgets_buttons);
    color: var(--text);
}
.exchange .type_input label:hover{
    background: var(--widgets_buttons);
    color: var(--text);
}
.exchange .type_input label{
    width: 50%;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

.exchange .currency_amount_input{
    display: flex;
    outline: 2px solid var(--widgets_buttons);
    outline-offset: -2px;
    border-radius: 10px;
    padding-right: 10px;
    position: relative;
}
.exchange .currency_amount_input input{
    outline: none;
    border: none;
    padding: 15px;
    font-size: 20px;
    width: 100%;
    background: var(--widgets_background);
}
.currency{
    display: flex;
    align-items: center;
    gap: 5px;
    user-select: none;
}
.exchange .currency_amount_input .currency{
    cursor: pointer;
}
.currency img{
    height: 30px;
}
.exchange .currency_amount_input .currency img:last-child{
    filter: brightness(0);
}
.currency span{
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}
.currency p{
    font-size: 18px;
    font-weight: 600;
    background: var(--widgets_buttons);
    color: var(--text) !important;
    padding: 5px 10px;
    border-radius: 6px;
}
.exchange .currency_amount_input .show_currency_search, .exchange .currency_amount_input #close_currency_search{
    display: none;
}
.exchange .currency_amount_input .show_currency_search:not(:checked) ~ .search:first-of-type{
    display: none;
}
.exchange .currency_amount_input .show_currency_search:not(:checked) ~ .search_close:first-of-type{
    display: none;
}
.exchange .currency_amount_input .search_close{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 2;
}
.exchange .currency_amount_input .search{
    position: absolute;
    background: var(--widgets_background);
    width: 100%;
    top: 100%;
    outline: 2px solid var(--widgets_buttons);
    outline-offset: -2px;
    border-radius: 10px;
    margin-top: -2px;
    padding-bottom: 15px;
    z-index: 3;
    max-height: 360px;
    overflow-y: scroll;
}
.exchange .currency_amount_input .search .bar{
    position: relative;
    margin: 15px;
}
.exchange .currency_amount_input .search .bar input{
    width: calc(100% - 30px);
    background: none;
    outline: 2px solid var(--widgets_buttons);
    outline-offset: -2px;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 18px;
}
.exchange .currency_amount_input .search .bar button{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0, -50%);
    background: none;
    outline: none;
    border: none;
    filter: brightness(0);
    cursor: pointer;
    height: 30px;
}
.exchange .currency_amount_input .search .bar button img{
    height: 30px;
}
.exchange .currency_amount_input .search .table{
    width: 100%;
}
.exchange .currency_amount_input .search .table .head{
    margin: 0 15px 5px;
    display: flex;
}
.exchange .currency_amount_input .search .head span{
    font-size: 16px;
}
.exchange .currency_amount_input .search .head span:nth-child(1){
    width: 70%;
}
.exchange .currency_amount_input .search .list button{
    width: 100%;
    display: flex;
    border: none;
    outline: none;
    padding: 5px 15px;
    cursor: pointer;
    background: none;
}
.exchange .currency_amount_input .search .list button:hover{
    background: var(--widgets_buttons);
}
.exchange .currency_amount_input .search .list button:hover span{
    color: var(--text);
}
.exchange .currency_amount_input .search .list button span{
    width: 70%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 20px;
    font-weight: 500;
}
.exchange .currency_amount_input .search .list button span img{
    height: 30px;
}
.exchange .currency_amount_input .search .list button p{
    font-size: 18px;
    font-weight: 600;
    background: var(--widgets_buttons);
    color: var(--text);
    padding: 5px 10px;
    border-radius: 6px;
}


body:has(#standard:checked) .exchange .currency_to .currency {
    width: 100%;
    padding: 12px 0 12px 12px;
}
body:has(#standard:checked) .exchange .currency_to .currency span{
    width: 100%;
    justify-content: center;
}
body:has(#standard:checked) .exchange .currency_to .amount {
    display: none;
}

body:has(#payment:checked) .exchange .currency_from .currency{
    width: 100%;
    padding: 12px 0 12px 12px;
}
body:has(#payment:checked) .currency_from .currency span{
    width: 100%;
    justify-content: center;
}
body:has(#payment:checked) .exchange .currency_from input[type="text"] {
    display: none;
}



.text_input{
    display: flex;
    outline: 2px solid var(--widgets_buttons);
    outline-offset: -2px;
    border-radius: 10px;
}
.text_input input, .exchange .text_input textarea{
    outline: none;
    border: none;
    padding: 15px;
    font-size: 20px;
    width: 100%;
    background: var(--widgets_background);
}
.text_input textarea{
    resize: none;
    min-height: 75px;
}
.exchange a{
    display: block;
}
.exchange .button3{
    margin-top: 15px;
    background: var(--widgets_buttons);
    color: var(--text);
}
.exchange button.button3{
    width: 100%;
    position: relative;
}
.exchange .button3 .loading{
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.exchange:valid .button3:focus{
    color: #0000;
}
.exchange:valid .button3:focus .loading{
    display: block;
}
.exchange .note{
    margin-top: 5px;
}
.exchange .info div{
    display: flex;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}
.exchange .info div span{
    font-size: 18px;
    font-weight: 600;
    background: var(--widgets_buttons);
    color: var(--text);
    padding: 5px 10px;
    border-radius: 6px;
    margin-left: auto;
    text-overflow: ellipsis;
    overflow: hidden;
}
.exchange .message{
    background: var(--widgets_buttons);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}
.exchange .message.info{
    background: var(--blue);
}
.exchange .message.issue{
    background: var(--red);
}
.exchange .message.success{
    background: var(--green);
}

.widgets .lookup{
    margin: 50px auto;
}
.widgets .scroller{
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.widgets .scroller::before {
    left: 0;
    background: linear-gradient(to right, var(--background), transparent);
}

.widgets .scroller::after {
    right: 0;
    background: linear-gradient(to left, var(--background), transparent);
}
.widgets .scroller::before,
.widgets .scroller::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 10%;
    z-index: 2;
    top: 0;
}
.widgets .scroller .elements{
    display: flex;
    width: max-content;
    animation: scroll-horizontal 30s linear infinite;
    user-select: none;
}
.widgets .scroller:hover .elements{
    animation-play-state: paused;
}
@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.widgets .scroller.points{
    margin-top: -60px;
}
.widgets .scroller.points div span{
    font-size: 50px;
    font-weight: 1000;
    flex-shrink: 0;
    padding: 0 10px;
}
.widgets .scroller.points div span:nth-child(2n){
    color: transparent;
    -webkit-text-stroke: 2px var(--text);
}

.widgets .scroller.rates section{
    background: var(--widgets_background);
    padding: 25px;
    border-radius:  25px;
    margin: 0 10px;
    display: flex;
    gap: 5px;
}
.widgets .scroller.rates section hr{
    margin: 0 10px;
}
.widgets .scroller.rates section *{
    color: var(--widgets_text);
}

.faq{
    max-width: 1000px;
    margin: 100px auto 0 auto;
    padding: 0 25px;
}
.widgets section h3{
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
}
.faq .questions{
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-size: 20px;
    line-height: 1.3;
}
.faq .questions div h4{
    font-size: 25px;
    font-weight: 700;
}

.reserves{
    max-width: 1000px;
    margin: 100px auto 0 auto;
    padding: 0 25px;
}
.widget{
    padding: 25px;
    background: var(--widgets_background);
    border-radius: 25px;
}
.reserves .widget{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.reserves .widget *{
    color: var(--widgets_text);
}
.reserves .widget section{
    width: 100%;
    display: flex;
    position: relative;
}
.reserves .widget .currency{
    margin: 5px 0;
}
.reserves .widget section .bar{
    background: var(--widgets_buttons);
    height: 100%;
    position: absolute;
    right: 0;
    border-radius: 25px;
    display: flex;
    overflow: hidden;
}
.reserves .widget section .bar span{
    color: var(--text);
    margin: auto 0 auto auto;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    padding: 0 15px;
}
.reserves .widget .note{
    padding-top: 15px;
    text-align: center;
    font-size: 18px;
    color: var(--widgets_text);
}




.collage {
    display: grid;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}
.collage section{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.collage section.inv{
    border: 2px solid var(--text);
    background: none;
}
.collage section:not(.inv) *{
    color: var(--widgets_text);
}
.collage section h4{
    font-size: 25px;
    font-weight: 700;
}
.collage section > span{
    font-size: 70px;
    font-weight: 400;
}


.statistics{
    margin-top: 50px;
    padding: 0 25px;
}
.collage section{
    background: var(--widgets_background);
    border-radius: 25px;
    padding: 25px;
}
.statistics .collage section:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}

.statistics .collage section:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

.statistics .collage section:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.statistics .collage section:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2;
}
@media (max-width: 1000px) {
    .statistics .collage section:nth-child(1) {
      grid-column: 1 / 3;
      grid-row: 1;
    }
    .statistics .collage section:nth-child(2) {
      grid-column: 1;
      grid-row: 2;
    }
    .statistics .collage section:nth-child(3) {
      grid-column: 2;
      grid-row: 2;
    }
    .statistics .collage section:nth-child(4) {
      grid-column: 1 / 3;
      grid-row: 3;
    }
}

.fees{
    margin-top: 50px;
    padding: 0 25px;
}
.fees .collage section:nth-child(1){
    grid-column: 1;
    grid-row: 1 / span 2;
}
.fees .collage section:nth-child(2) {
    grid-column: 1;
    grid-row: 3;
}

.fees .collage section:nth-child(3){
    grid-column: 2;
    grid-row: 1;
}
.fees .collage section:nth-child(4) {
    grid-column: 2;
    grid-row: 2 / span 2;
    max-height: 148px;
    overflow: scroll;
    justify-content: start;
}
.fees .collage .special > div{
    display: flex;
    margin: 5px 0;
    align-items: center;
    min-width: fit-content;
}
.fees .collage .special div > p{
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
}
.fees .collage .special div > p:not(:last-child){
    padding: 5px;
}
.fees .collage p.type{
    background: var(--widgets_buttons);
    color: var(--text);
    border-radius: 25px;
    margin-right: 5px;
    min-width: 20px;
}
.fees .collage .special div > p:last-child{
    margin-left: auto;
}
.fees .collage .special div > hr{
    width: 100%;
    margin: auto 15px;
}
.captcha{
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
    align-items: end;
}
.captcha img{
    width: fit-content;
    height: fit-content;
    filter: invert();
}



.start{
    background: var(--widgets_background);
    padding: 50px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}
.start h2{
    color: var(--widgets_text);
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}
.start a{
    color: var(--text);
    background: var(--widgets_buttons);
    border: solid 2px var(--widgets_buttons);
    width: fit-content;
}
.start a:hover{
    outline: solid 2px var(--widgets_buttons);
}

/**
 * ==============================================
 * Dot Flashing
 * ==============================================
 */
.dot-flashing {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--text);
  color: var(--text);
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}
.dot-flashing::before, .dot-flashing::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}
.dot-flashing::before {
  left: -15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--text);
  color: var(--text);
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 0s;
}
.dot-flashing::after {
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--text);
  color: var(--text);
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 1s;
}

@keyframes dot-flashing {
  0% {
    background-color: var(--text);
  }
  50%, 100% {
    background-color: #ffffff30;
  }
}



@media (max-width: 1300px) {
    nav{
        padding: 25px;
        width: calc(100% - 50px);
    }
}
@media (max-width: 1050px) {
    .home{
        height: fit-content;
        margin: 50px 0 100px;
    }   
    .exchange_widgets{
        flex-direction: column;
    }
}
@media (max-width: 950px) {
    nav{
        flex-direction: column;
        padding: 25px;
        gap: 20px;
        position: relative;
    }
    nav .logo{
        margin: 0 auto;
    }
    .reserves .widget section .bar span{
        display: none;
    }
}
@media (max-height: 900px) {
    nav{
        flex-direction: column;
        padding: 25px;
        gap: 20px;
        position: relative;
    }
    nav .logo{
        margin: 0 auto;
    }
    .reserves .widget section .bar span{
        display: none;
    }
    nav{
        padding: 25px;
        width: calc(100% - 50px);
    }
    .home{
        height: fit-content;
        margin: 50px 0 100px;
    }
}
@media (max-width: 500px) {
    .home{
        margin: 0 0 25px;
    }
    .home, .exchange{
        width: calc(100% - 50px);
    }
    .widgets .scroller.points{
        margin-top: 50px;
    }
    .widgets .lookup{
        border-radius: 0;
    }
    .reserves .widget section .bar{
        display: none;
    }
    .statistics .collage, .fees .collage{
        display: flex;
        flex-direction: column;
    }
}
