@import url(https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css);

a.goto {
    text-decoration: none;
    color: unset;
}

@media only screen and (min-width:1000px) {
    header {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 60px;
        background-color: #fff;
        filter: drop-shadow(0 1px 5px #ececec)
    }

    header>#center {
        flex: 1;
        max-width: 1200px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        height: 100%
    }

    header>#center>#left {
        display: flex;
        height: 100%
    }

    header>#center>#left>#logo {
        display: flex;
        /* justify-content: center; */
        align-items: center;
        /* width: 94px; */
        height: 100%
    }

    header>#center>#left>#logo img {
        cursor: pointer;
        height: 40px;
    }

    header>#center>#left>#top-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-left: 24px;
    }
    header>#center>#left>#top-menu>.btn {
        width: 99px;
        color: rgba(0, 0, 0, .5);
        font-family: Pretendard;
        font-size: 15px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        cursor: pointer
    }

    header>#center>#left>#top-menu>.btn.activated {
        color: rgba(0, 0, 0, .8)
    }

    header>#center>#right {
        display: flex;
        flex-direction: row;
        align-items: center
    }

    header>#center>#right>#balance {
        color: rgba(24, 77, 215, .8);
        font-family: Pretendard;
        font-size: 15px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        border-radius: 20px;
        background: #f8f8f8;
        /* width: 120px; */
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: inset 0 0 3px #e6e6e6;
        padding: 0px 10px;
    }


    header>#center>#right>#profile>#name {
        font-family: Pretendard;
        font-size: 15px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        color: rgba(0, 0, 0, 0.5);
        /* width: 120px; */
        height: 30px;
        display: flex;
        align-items: center;
        padding: 0px 10px;
    }

    header>#center>#right>#profile {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: right;
    }

    header>#center>#right>#profile>.name {
        color: rgba(0, 0, 0, .5);
        font-family: Pretendard;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-left: 10px;
        margin-right: 10px
    }

    /* header>#center>#right>#profile>#profile {
        margin-right: 25px
    } */

    header>#center>#right>#wrapper {
        display: none
    }

    header>#center>#right>#profile>#name {
        color: rgba(0, 0, 0, .7);
        font-family: Pretendard;
        font-size: 15px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        display: flex;
        align-items: center;
    }
}

@media only screen and (max-width:1000px) {
    header {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 60px;
        background-color: #fff;
        filter: drop-shadow(0 1px 5px #ececec)
    }

    header>#center {
        flex: 1;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        height: 100%
    }

    header>#center>#left {
        display: flex;
        height: 100%
    }

    header>#center>#left>#logo {
        display: flex;
        /* justify-content: center; */
        align-items: center;
        /* width: 94px; */
        height: 100%
    }

    header>#center>#left>#logo img {
        cursor: pointer;
        height: 40px;
        padding-left: 19px;
    }

    header>#center>#left>#top-menu>.btn {
        display: none
    }

    header>#center>#right {
        display: flex;
        flex-direction: row;
        align-items: center
    }

    header>#center>#right>#balance {
        color: rgba(24, 77, 215, .8);
        font-family: Pretendard;
        font-size: 15px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        border-radius: 20px;
        background: #f8f8f8;
        /* width: 120px; */
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: inset 0 0 3px #e6e6e6;
        padding: 0px 10px;
    }

    header>#center>#right>#profile {
        display: none
    }

    header>#center>#right>#wrapper {
        padding-left: 12px;
        padding-right: 19px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center
    }
}

body {
    margin: 0;
    padding: 0
}

header {
    position: relative;
    z-index: 10
}

#popup {
    position: absolute;
    top: 53px;
    /* left: -3px; */
    padding: 24px;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    border-right: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
    border-left: 1px solid #d0d0d0;
    background: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .1);
    width: calc(157px - 48px);
    z-index: -100
}

#popup {
    cursor: default
}

#popup>.menu,
#popup>.menu>a {
    color: rgba(0, 0, 0, .6);
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration-line: none;
    cursor: pointer
}

#burger {
    cursor: pointer
}

#profile {
    cursor: pointer
}

@media only screen and (max-width:1000px) {
    .header-dropdown {
        display: flex;
        flex-direction: column;
        padding: 11px 6px 11px 0;
        background: #fff;
        filter: drop-shadow(0 1px 5px #ececec)
    }

    .header-dropdown>.menu {
        color: rgba(0, 0, 0, .5);
        font-family: Pretendard;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        height: 40px;
        display: flex;
        flex-direction: row;
        align-items: center;
        cursor: pointer;
        transition: 100ms ease-in-out;
        padding-left: 31px
    }

    .header-dropdown>.menu:hover {
        background-color: rgba(0, 0, 0, .1)
    }
}

@media only screen and (max-width:660px) {
    .footer-row {
        flex-direction: column
    }
}

@media only screen and (min-width:1000px) {
    .header-dropdown {
        display: none
    }
}

.footer-wrapper {
    background-color: #121a33
}

.footer {
    color: #66769f;
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    line-height: normal;
    margin-left: 6px;
    margin-top: 38px;
    padding-right: 70px;
    padding-top: 60px;
    padding-bottom: 100px
}

.footer>.footer-title {
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px
}

.footer>.footer-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px
}

.footer>.footer-img {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px
}

.footer>.footer-row>.footer-elem {
    font-weight: 400;
    text-align: center
}

.footer>.button-row {
    margin-top: 31px;
    display: flex;
    gap: 27px;
    justify-content: center
}

.footer>.button-row>.button-elem {
    color: #66769f;
    font-weight: 600;
    cursor: pointer
}

#modal {
    z-index: 10;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .2)
}

.modal-alert-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    width: 100vw;
    height: 100vh;

    position: fixed;
    top: 0px;
    left: 0px;

    background: rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.modal-alert-title {
    color: #000;
    font-family: Pretendard;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0px;
    padding-bottom: 23px;
    margin-bottom: 3px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    text-align: center;
}

.modal-alert {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
    background: #FFF;
    display: flex;
    flex-direction: column;
    color: rgba(0, 0, 0, 0.5);
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 20px;
    max-width: 500px;
    width: calc(100% - 60px);
    margin-bottom: 26px;
}

.modal-alert>button.close {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    color: rgba(0, 0, 0, 0.5);
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline;
    border: none;
    background: none;
    padding: 0px;
}

.modal-alert .content-wrapper {
    padding: 20px 26px 32px 26px;
    display: flex;
    flex-direction: column;
    row-gap: 21px;
}

.modal-alert .button-wrapper {
    display: flex;
    width: 100%;
    height: 48px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #149dff;
    color: #000;
    text-align: center;
    font-family: Pretendard;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.modal-alert .button-wrapper>#button {
    color: white;
    font-weight: 500;
}

.modal-alert .row {
    color: rgba(0, 0, 0, 0.80);
    font-family: Pretendard;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.modal-alert .row.center {
    display: flex;
    justify-content: center;
}

.modal-alert .row>#left {
    color: rgba(0, 0, 0, 0.8);
    font-family: Pretendard;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    width: 110px;
}

.modal-alert .row>#right {
    color: rgba(0, 0, 0, 0.8);
    font-family: Pretendard;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#modal .modal-alert {
    box-sizing: border-box;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin-bottom: 0;
}

#modal .content-wrapper,
#modal .content-wrapper>#content {
    min-height: 0;
}

#modal .modal-alert-title {
    flex-shrink: 0;
}

input.no-spin-btn::-webkit-outer-spin-button,
input.no-spin-btn::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number].no-spin-btn {
    -moz-appearance: textfield;
}
