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

    scroll-margin-top: 24px;
}

*: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%;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

body
{
    margin: 0;

    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    -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
-------------------*/
:root
{
    --bg: #003504;
    --scroll_width: 17px;
    --text_color: #fff;
    --font_size: 16px;
    --font_family: 'Outfit', 'Arial', sans-serif;
}


::selection
{
    color: #fff;
    background: #003504;
}

::-moz-selection
{
    color: #fff;
    background: #003504;
}



html
{
    height: 100%;
    min-height: -moz-available;
    min-height: -webkit-fill-available;
    min-height:         fill-available;
}


body
{
    font: var(--font_size) var(--font_family);

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

    color: var(--text_color);
}

body.lock
{
    overflow: hidden;

    padding-right: var(--scroll_width);
}


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;
}


.wrap
{
    position: relative;
    z-index: 9;

    display: flex;
    overflow: clip;
    flex-direction: column;

    min-height: 100%;

    background: var(--bg);

    overscroll-behavior: none;
}


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

    overscroll-behavior: none;
}


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

    width: 100%;
    padding: 0 16px;
}


.row
{
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
}



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

    width: 100%;
    height: 100%;

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

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



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

    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: 3;
    bottom: 0;
    left: 0;

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

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


.modal_content .close_btn
{
    position: absolute;
    z-index: 9;
    top: 12px;
    right: 10px;

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

    width: 48px;
    height: 48px;

    color: #fff;
}


.modal_content .close_btn svg
{
    display: block;

    width: 24px;
    height: 24px;
}


.modal_content .data
{
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    padding: 22px 20px 20px;

    pointer-events: auto;

    border-radius: 18px 18px 0 0;
    background: #003504;
}


.modal_content .data:before
{
    position: absolute;
    top: 4px;
    right: 0;
    left: 0;

    display: block;

    width: 36px;
    height: 5px;
    margin: 0 auto;

    content: '';
    pointer-events: none;

    border-radius: 7px;
    background: #fff;
}


.modal_content .modal_title
{
    font-size: 20px;
    font-weight: 500;

    margin-bottom: 22px;
}


.modal_content .modal_desc
{
    font-size: 14px;
    font-weight: 500;

    margin-top: 32px;
}


.modal_content .img
{
    display: block;

    width: 329px;
    max-width: 100%;
    margin: 0 auto;
}


.modal_content .btns
{
    margin-top: auto;
}


.modal_content .btns .btn
{
    font-size: 18px;
    font-weight: 500;

    display: block;

    width: 100%;
    height: 52px;

    border-radius: 12px;
    background: #950fff;
}



/*-----------------
    Transitions
-----------------*/
.modal-enter-active,
.modal-leave-active
{
    transition: transform .4s linear;
    transform: translateY(0%);

    will-change: transform;
}


.modal-enter-from,
.modal-leave-to
{
    transform: translateY(100%);
}



.fade-enter-active,
.fade-leave-active
{
    transition: opacity .25s linear;

    opacity: 1;

    will-change: opacity;
}


.fade-enter-from,
.fade-leave-to
{
    opacity: 0;
}
