/*-----------
    Fonts
-----------*/
@font-face
{
    font-family: 'LayGrotesk';
    font-weight: normal;
    font-style: normal;

    font-display: swap;
    src: url('../fonts/LayGrotesk-Regular.woff') format('woff');
}

@font-face
{
    font-family: 'LayGrotesk';
    font-weight: 500;
    font-style: normal;

    font-display: swap;
    src: url('../fonts/LayGrotesk-Medium.woff') format('woff');
}

@font-face
{
    font-family: 'LayGrotesk';
    font-weight: 600;
    font-style: normal;

    font-display: swap;
    src: url('../fonts/LayGrotesk-Semibold.woff') format('woff');
}

@font-face
{
    font-family: 'LayGrotesk';
    font-weight: 700;
    font-style: normal;

    font-display: swap;
    src: url('../fonts/LayGrotesk-Bold.woff') format('woff');
}



/*------------------
    Reset styles
------------------*/
*
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;

    scroll-margin-top: 0;
}

*:before,
*:after
{
    box-sizing: border-box;
}

html
{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
        -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body
{
    margin: 0;

    overscroll-behavior: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
    text-rendering: optimizeLegibility;
    text-decoration-skip: objects;
}

img
{
    border-style: none;
}

textarea
{
    overflow: auto;
}

input,
textarea,
input:active,
textarea:active,
button
{
    margin: 0;

    -webkit-border-radius: 0;
            border-radius: 0;
         outline: none transparent !important;
    box-shadow: none;

    -webkit-appearance: none;
            appearance: none;
    -moz-outline: none !important;
}

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

    -webkit-appearance: none;
}

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

:focus
{
    outline: 0;
}

:hover,
:active
{
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
}


::-ms-clear
{
    display: none;
}



/*-------------------
    Global styles
-------------------*/
html
{
    height: 100%;
    min-height: -moz-available;
    min-height: -webkit-fill-available;
    min-height:         fill-available;
}


body
{
    font-family: 'LayGrotesk';
    font-size: 18px;
    line-height: 20px;

    display: flex;
    flex-direction: column;

    height: 100%;
    min-height: -moz-available;
    min-height: -webkit-fill-available;
    min-height:         fill-available;

    letter-spacing: .25px;

    color: #000;
    background: #fff;
}


button
{
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;

    display: inline-block;

    cursor: pointer;
    vertical-align: top;

    color: inherit;
    border: none;
    background: none;
}



/*----------------
    Mini modal
----------------*/
.modal_cont
{
    position: relative;
}


.mini_modal
{
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;

    visibility: hidden;

    transition: .2s linear;
    pointer-events: none;

    opacity: 0;
}


.mini_modal.active
{
    visibility: visible;

    pointer-events: auto;

    opacity: 1;
}



.first_section
{
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}


.first_section .image
{
    position: relative;

    background: #ddd;
}


.first_section .image .img
{
    display: block;

    width: 100%;
}


.first_section .image .logo
{
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: -96px;
    left: 0;

    display: block;

    width: 192px;
    height: 192px;
    margin: 0 auto;

    border-radius: 50%;
}


.first_section .data
{
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;

    padding: 156px 33px 40px;
}


.first_section .desc
{
    text-align: center;
}


.first_section .btn
{
    margin-top: auto;
}



.second_section
{
    display: none;
    flex: 1 0 auto;
    flex-direction: column;
}


.second_section .image
{
    position: relative;

    background: #ddd;
}


.second_section .image .img
{
    display: block;

    width: 100%;
}


.second_section .data
{
    position: relative;

    display: flex;
    flex: 1 0 auto;
    flex-direction: column;

    padding: 94px 33px 40px;
}


.second_section .balance
{
    position: absolute;
    z-index: 3;
    top: -56px;
    left: 0;

    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;

    width: 100%;
    padding: 20px;

    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .05), 0 10px 10px rgba(0, 0, 0, .04), 0 21px 13px rgba(0, 0, 0, .03), 0 38px 15px rgba(0, 0, 0, .01), 0 60px 17px rgba(0, 0, 0, .00);

    gap: 8px;
}


.second_section .balance .title
{
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;

    width: 100%;

    letter-spacing: .25px;
}


.second_section .balance .logo
{
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 50%;
}


.second_section .balance .logo img
{
    display: block;

    width: 100%;
    height: 100%;

    border-radius: 50%;
}


.second_section .balance .val
{
    font-size: 36px;
    font-weight: 600;
    line-height: 20px;

    letter-spacing: .25px;
    text-transform: uppercase;
}


.second_section .balance .denom
{
    font-size: 36px;
    font-weight: 700;
    line-height: 20px;

    letter-spacing: .25px;
    text-transform: uppercase;
}



.stake_section
{
    display: none;
    flex: 1 0 auto;
    flex-direction: column;

    padding-bottom: 40px;
}



.stake_section .back
{
    margin-bottom: 2px;
    padding: 10px;
}


.stake_section .back_btn
{
    font-weight: 600;

    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}


.stake_section .back_btn .icon
{
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

    width: 48px;
    height: 48px;
}


.stake_section .back_btn .icon svg
{
    display: block;

    width: 24px;
    height: 24px;
}



.stake_section .form
{
    font-size: 16px;

    padding: 0 10px;
}



.stake_section .exp
{
    font-size: 16px;

    margin-top: 44px;
    padding: 10px;

    color: #959696;
}


.stake_section .exp > *
{
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}


.stake_section .exp > * + *
{
    margin-top: 12px;
}


.stake_section .swap_btn,
.stake_section .send_btn
{
    width: calc(100% - 20px);
    margin: auto 10px 0 !important;
}



.liquidity_section
{
    display: none;
    flex: 1 0 auto;
    flex-direction: column;

    padding-bottom: 40px;
}



.liquidity_section .back
{
    margin-bottom: 2px;
    padding: 10px;
}


.liquidity_section .back_btn
{
    font-weight: 600;

    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}


.liquidity_section .back_btn .icon
{
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

    width: 48px;
    height: 48px;
}


.liquidity_section .back_btn .icon svg
{
    display: block;

    width: 24px;
    height: 24px;
}



.liquidity_section .form
{
    font-size: 16px;

    padding: 0 10px;
}


.liquidity_section .form .section
{
    position: relative;

    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;

    padding: 13px 11px;

    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #f4f4f4;
}


.liquidity_section .form .section + .section
{
    margin-top: 12px;
}


.liquidity_section .form .token_label
{
    font-weight: 700;

    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;

    width: calc(50% - 2px);
    height: 44px;
    padding: 7px;

    color: #19076e;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fff;

    gap: 6px;
}


.liquidity_section .form .token_label .logo
{
    width: 28px;
    height: 28px;

    border-radius: 50%;
}


.liquidity_section .form .token_label .logo img
{
    display: block;

    width: 100%;
    height: 100%;

    border-radius: inherit;
}


.liquidity_section .form .field
{
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;

    width: calc(50% - 2px);
}


.liquidity_section .form .input
{
    width: 100%;
    height: 44px;
    padding-right: 7px;
    padding-bottom: 19px;
    padding-left: 7px;

    text-align: right;

    color: #19076e;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fff;
}


.liquidity_section .form .price
{
    font-size: 16px;

    position: absolute;
    z-index: 3;
    top: 22px;
    right: 8px;

    white-space: nowrap;
    pointer-events: none;

    color: #959696;
}


.liquidity_section .form .plus
{
    position: absolute;
    z-index: 3;
    top: -23px;
    right: 0;
    left: 0;

    display: block;

    margin: 0 auto;

    pointer-events: none;
}


.liquidity_section .form .balance
{
    font-size: 12px;

    margin-top: 2px;

    color: #959696;
}


.liquidity_section .form .balance span
{
    color: #3011a0;
}


.liquidity_section .form .max_btn
{
    font-weight: 600;

    margin-top: 2px;
    margin-left: auto;

    color: #19076e;
}


.liquidity_section .pool_btn
{
    width: calc(100% - 20px);
    margin: auto 10px 0 !important;
}



.form ::-webkit-input-placeholder
{
    color: #959696;
}

.form :-moz-placeholder
{
    color: #959696;
}

.form ::-moz-placeholder
{
    opacity: 1;
    color: #959696;
}

.form :-ms-input-placeholder
{
    color: #959696;
}


.form .line
{
    margin-bottom: 20px;
}


.form .label
{
    margin-bottom: 2px;

    color: #959696;
}


.form .field
{
    position: relative;
}


.form .input
{
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;

    display: block;

    width: 100%;
    height: 58px;
    padding: 0 13px;

    color: currentColor;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: none;
}

.form .input:-webkit-autofill
{
    -webkit-box-shadow: inset 0 0 0 50px var(--form_bg_color) !important;
}


.form .chain .current
{
    font-weight: 600;

    position: relative;
    z-index: 9;

    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;

    width: 100%;
    height: 58px;
    padding: 0 13px;

    color: #959696;
    border: 1px solid #d9d9d9;
    border-radius: 8px;

    gap: 6px;
}


.form .chain .current .logo
{
    width: 36px;
    height: 36px;

    border-radius: 50%;
}


.form .chain .current .logo img
{
    display: block;

    width: 100%;
    height: 100%;

    border-radius: inherit;
}


.form .chain .current b
{
    color: #000;
}


.form .chain .current .arr
{
    position: absolute;
    z-index: 3;
    top: 0;
    right: 14px;
    bottom: 0;

    display: block;

    width: 28px;
    height: 28px;
    margin: auto 0;

    transition: transform .2s linear;
    pointer-events: none;

    color: #959696;
}


.form .chain .current.active
{
    border-color: transparent;
}

.form .chain .current.active .arr
{
    transform: rotate(180deg);
}


.form .chain .mini_modal
{
    z-index: 7;
    top: 0;
    left: 0;

    width: 100%;
    padding-top: 67px;

    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #fff;
}


.form .chain .mini_modal:before
{
    position: absolute;
    top: 58px;
    right: 0;
    left: 0;

    display: block;

    width: calc(100% - 26px);
    height: 1px;
    margin: 0 auto;

    content: '';

    background: #d9d9d9;
}


.form .chain .mini_modal button
{
    font-weight: 600;

    position: relative;
    z-index: 9;

    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;

    width: 100%;
    height: 58px;
    padding: 0 13px;

    color: #959696;

    gap: 6px;
}


.form .chain .mini_modal button .logo
{
    width: 36px;
    height: 36px;

    border-radius: 50%;
}


.form .chain .mini_modal button .logo img
{
    display: block;

    width: 100%;
    height: 100%;

    border-radius: inherit;
}


.form .chain .mini_modal button b
{
    color: #000;
}


.form .chain .mini_modal button.active
{
    display: none;
}


.form .token
{
    font-size: 18px;
    font-weight: 700;

    position: absolute;
    z-index: 3;
    top: 0;
    right: 14px;

    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;

    height: 100%;

    pointer-events: none;

    color: #19076e;

    gap: 6px;
}


.form .token .logo
{
    width: 36px;
    height: 36px;

    border-radius: 50%;
}


.form .token .logo img
{
    display: block;

    width: 100%;
    height: 100%;

    border-radius: inherit;
}


.form .bottom
{
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;

    margin-top: 6px;
}


.form .balance
{
    color: #959696;
}


.form .balance span
{
    color: #3011a0;
}


.form .btns
{
    font-size: 18px;
    font-weight: 600;

    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;

    margin-left: auto;

    color: #19076e;

    gap: 18px;
}



.btn
{
    font-weight: 700;

    display: block;

    width: 100%;
    height: 52px;

    color: #fff;
    border-radius: 10px;
    background: #6039ff;
}


.btn.send_btn,
.btn.swap_btn
{
    display: none;
}

.btn.show
{
    display: block;
}

.btn.disabled
{
    pointer-events: none;

    color: #959696;
    background: #f2f2f2;
}


.btn + .btn
{
    margin-top: 20px;
}







/*-----------
    Modal
-----------*/
.modal_overlay
{
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, .50);

    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
}



.modal
{
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;

    display: none;

    width: 100%;
    height: 100%;
    min-height: -moz-available;
    min-height: -webkit-fill-available;
    min-height:         fill-available;

    pointer-events: none;
}


.modal_content
{
    position: absolute;
    z-index: 100;
    bottom: 0;
    left: 0;

    display: flex;
    overflow: auto;
    flex-wrap: wrap;

    width: 100%;
    max-height: 100%;
    padding: 40px 0 0;
}


.modal_content .data
{
    display: flex;
    flex-direction: column;

    width: 100%;
    padding: 30px 30px 50px;

    pointer-events: auto;

    border-radius: 30px 30px 0 0;
    background: #fff;
    box-shadow: 0 -115px 32px 0 rgba(0, 0, 0, .00), 0 -74px 30px 0 rgba(0, 0, 0, .01), 0 -42px 25px 0 rgba(0, 0, 0, .03), 0 -18px 18px 0 rgba(0, 0, 0, .05), 0 -5px 10px 0 rgba(0, 0, 0, .05);
}


.modal_content .title
{
    font-size: 20px;
    font-weight: 600;
}


.modal_content .desc
{
    font-size: 16px;

    margin-top: 1px;
}


.modal_content img
{
    display: block;

    width: 100%;
    margin-top: 22px;

    border-radius: 10px;
}


.modal_content .btn
{
    margin-top: 30px;
}


.modal_overlay
{
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(244, 244, 244, .46);

            backdrop-filter: blur(2.45px);
    -webkit-backdrop-filter: blur(2.45px);
}
