@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 0;
    outline-style: none;
    -webkit-padding-start: 0;
    padding: 0;
    border: none;
    background-color: transparent;
    font-size: 1rem;
    cursor: text;
}

input[type=number] {
    -moz-appearance: textfield;
}

.input-s {
    text-align: center;
    color: #f0ebe3;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    will-change: auto;
    border: solid;
    background: #f0ebe320;
    border-color: #f0ebe340;
    padding: 9px 0;
    border-width: 1px;
    border-radius: 30px;
    font-family: "ClashGrotesk-Variable", "Toss Product Sans", "M PLUS 1" !important;
}

.currency-module {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    opacity: 1;
    transition: .2s;
    height: 100%;
}

.currency-module.dis {
    opacity: 0;
    transition: .2s;
}

.alter-logo {
    width: 50px;
    opacity: .3;
}

.modal {
    position: fixed;
    color: #f0ebe320;
    opacity: 1;
    visibility: visible;
    will-change: auto;
    border-radius: 5px;
    z-index: 2;
    height: 100%;
}

.modal-def {
    position: relative;
    display: flex;
    align-items: center;
    opacity: 1;
    visibility: visible;
    background: #f0ebe320;
    border-radius: 10px;
    margin: 10px 0;
    width: 100%;
    max-width: 300px;
    transition: .2s;
    will-change: auto;
}

.m-from.will, .m-to.will, .terms.will, .grasp-core.will {
    will-change: contents, opacity, transform;
}

.conv-from:hover, .conv-to:hover, .indi:hover, .grasp-toggle:hover {
    will-change: contents, opacity, transform;
}

.modal.dis,
.modal-def.dis {
    opacity: 0;
    visibility: hidden;
}

.modal-def.dis {
    transition: .2s;
}

.modal.dis > .modal-in,
.modal-def.dis > .modal-def-in {
    display: none;
}

.modal-in {
    width: 100%;
    padding: 30px;
}

.modal-def-in {
    width: 100%;
    padding: 10px;
    cursor: pointer;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 52px;
    width: 100%;
}

.modal-header-close {
    width: 40px;
    padding: 7px;
    background: #f0ebe330;
    border-radius: 20px;
    margin-left: 20px;
    cursor: pointer;
    border: solid;
    border-color: #f0ebe340;
    border-width: 1px;
}

.modal-input-wrap {
    width: 100%;
    will-change: auto;
    display: flex;
    transition: .5s ease;
    flex-direction: column;
    align-items: flex-end;
    overflow: hidden;
    height: 100vh;
}

.modal-def-input-wrap {
    width: 100%;
    will-change: auto;
    display: flex;
    transition: .5s ease;
    flex-direction: column;
    align-items: flex-end;
    overflow: hidden;
}

.m-i-w-to {
    align-items: flex-start;
}

.input-desc {
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.name-invisible {
    display: none;
}

.cur-list {
    display: grid;
    padding: 10px 0 100px 0;
    margin-top: 15px;
    margin-bottom: 50px;
    border-radius: 20px;
    width: 100%;
    overflow-y: scroll;
    will-change: auto;
    transition: .2s ease;
    scrollbar-width: none;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 20px;
}

.cur-def-list {
    display: grid;
    margin-top: 15px;
    width: 100%;
    overflow: hidden;
    will-change: auto;
    transition: .2s ease;
    scrollbar-width: none;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 15px;
}

.cur-def-list > .curs {
    display: block;
    color: #f0ebe3;
    cursor: pointer;
    transition: .2s ease;
    will-change: auto;
    overflow: unset;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0;
    background: none;
}

.cur-def-list {
    display: flex;
    margin-top: 10px;
    width: 100%;
}

.cur-def-list > .curs > .cur-n {
    padding: 0;
}

.cur-list.mid, .c-l-to.mid {
    justify-content: center;
}

.c-l-term {
    margin: 0;
    justify-content: center;
}

.c-s-term {
    font-size: 1rem !important;
}

.cur-list::-webkit-scrollbar {
    display: none;
}

.cur-list.dis {
    max-width: 450px;
    width: 0px;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: .2s ease;
    white-space: nowrap;
    margin-top: -21px;
}

.curs {
    display: block;
    color: #f0ebe3;
    cursor: pointer;
    transition: .2s ease;
    will-change: auto;
    overflow: unset;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 0;
    background: #f0ebe330;
    border-radius: 10px;
}

.curs.act {
    background: #f0ebe355;
    box-shadow: 0 0 1px 1px #f0ebe380 inset;
}

.curs.dis {
    display: none;
}

.curs.dis > .cur-n {
    opacity: 1;
    visibility: visible;
}

.curs.adis {
    display: none;
}

.cur-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cur-n {
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    font-family: "ClashGrotesk-Variable" !important;
}

.cur-desc {
    font-weight: 500;
    font-size: .8rem;
    color: #f0ebe3bb;
    text-transform: uppercase;
    font-family: "ClashGrotesk-Variable", "Toss Product Sans" !important;
}

.head {
    width: 100%;
    padding: 30px;
    min-width: 300px;
}

.head-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-left {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-bottom: -.245rem;
}

.logo-title {
    height: 23px;
    cursor: pointer;
}

.theme {
    width: 17px;
    margin-left: 10px;
}

.svgwrap {
    cursor: pointer;
}

.lang {
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
}

.grasp {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    width: 100%;
    max-width: 600px;
}

.grasp-toggle {
    display: flex;
    align-items: center;
}

.grasp-icon {
    width: 60px;
    margin-left: 5px;
    cursor: pointer;
    fill: #f0ebe3;
}

.t-s-grasp {
    cursor: pointer;
}

.grasp-core {
    margin-top: 20px;
    opacity: 1;
    visibility: visible;
    background: transparent;
    transition: .2s;
    will-change: auto;
    width: 100%;
    max-width: 350px;
}

.grasp-core.dis {
    height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    margin: 0;
}

.grasp-confirm {
    margin-bottom: 20px;
    text-align: center;
    opacity: 1;
    visibility: visible;
    transition: .2s;
}

.grasp-confirm.dis {
    display: none;
}

.grasp-confirm.anidis {
    height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    margin: 0;
}

.grasp-title {
    font-weight: 600;
    font-size: 1.12rem;
}

.grasp-desc {
    margin: 10px 0;
    font-size: 1rem;
    color: #606060;
}

.grasp-button {
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
}

.grasp-input {
    width: 100%;
    text-align: center;
    background: #f0f0f0;
    padding: 8px 7px;
    font-size: 1.1rem;
    border-radius: 10px;
}

.grasp-input.dis {
    display: none;
}

.indi {
    display: flex;
}

.conv-from > .indi {
    justify-content: flex-end;
}

.conv-from {
    align-items: flex-end;
}

.conv-from, .conv-to {
    display: flex;
    color: #626262;
    font-size: 1.2rem;
    width: 50%;
    flex-direction: column;
}

.text-sample {
    color: #f0ebe3c8;
}

.converter {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.conv-top {
    display: flex;
    justify-content: center;
    width: 100%;
}

.divide-line-v {
    border: solid;
    border-color: #f0ebe340;
    border-width: 0 1px 0 0;
    margin: 0 30px;
}

.from-s, .to-s, .term-s {
    font-weight: 600;
    color: #f0ebe3;
    cursor: pointer;
    font-family: "ClashGrotesk-Variable", "Toss Product Sans", "M PLUS 1" !important;
}

.from-s, .to-s {
    font-weight: 500;
    color: #f0ebe3;
    font-size: 1.3rem;
    cursor: pointer;
    margin-bottom: -5px;
    font-family: "ClashGrotesk-Variable", "Toss Product Sans", "M PLUS 1" !important;
}

.inp-from {
    text-align: end;
    border: none;
    appearance: none;
    padding: 0;
    font-size: 2.5rem;
    width: 100%;
    color: #f0ebe3;
    font-family: "Inter" !important;
}

.out-to {
    color: #f0ebe3;
    font-size: 2.5rem;
    font-family: "Inter" !important;
}

.graphs {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding: 25px;
    border: solid;
    border-radius: 20px;
    border-width: 1px;
    border-color: #f0ede320;
}

.graphs.dis {
    display: none;
}

.updateDate {
    display: flex;
    font-size: 0.8rem;
    color: #d0d0d0;
    display: flex;
}

.lastU {
    color: #f0ebe380;
    font-weight: 400;
    font-style: italic;
    cursor: default;
    font-size: .75rem;
}

#container {
    width: 100%;
    max-width: 600px;
    height: 200px;
}

.top-margin {
    margin-top: 82px;
    display: none;
}

@media screen and (max-width: 955px) {
    .inp-from, .out-to {
        font-size: 2.1rem;
    }

    .divide-line-x {
        max-width: 300px;
    }
}

@media screen and (max-width: 750px) {
    .inp-from, .out-to {
        font-size: 1.8rem;
    }

    .divide-line-x {
        max-width: 260px;
    }

    .conv-from, .conv-to {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 650px) {
    .conv-from, .conv-to {
        width: 100%;
    }

    .conv-from {
        align-items: flex-start;
    }

    .inp-from {
        text-align: start;
    }

    .conv-to {
        align-items: flex-end;
    }

    .out-to {
        text-align: end;
    }

    .conv-top {
        flex-direction: column;
    }

    .divide-line-v {
        border-width: 1px 0 0 0;
        margin: 15px 0;
    }

    .divide-line-x {
        display: none;
    }

    .conv-from, .conv-to {
        font-size: 1.1rem;
    }

    .currency-module {
        align-items: center;
        justify-content: flex-end;
        flex-direction: column-reverse;
    }

    .graphs {
        flex-direction: column-reverse;
    }

    .modal {
        width: 100%;
    }

    .top-margin {
        display: block;
    }
}

@media screen and (max-width: 600px) {

    .graphs {
        padding: 20px 10px;
    }
}

@media screen and (max-width: 400px) {
    .head {
        padding: 20px;
    }
}

.margin {
    height: 200px;
}