@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap";
@import"https://fonts.googleapis.com/css2?family=Bungee&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap";


/* modal */


.modal-container {
    background-color: #353f51;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    border: 0.5px solid #fff;
}

.modal-header {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
    font-family: var(--font-poppins), var(--font-notoSans), var(--font-notoSansSC), var(--font-notoSansThai), -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", helvetica, "Apple SD Gothic Neo", sans-serif;
    font-weight: 700;
    display: block !important;
}

.modal p {
    margin: 0;
}

.highlight {
    color: #7bf98e;
}

.modal-input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
    color: white !important;
    font-family: var(--font-poppins), var(--font-notoSans), var(--font-notoSansSC), var(--font-notoSansThai), -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", helvetica, "Apple SD Gothic Neo", sans-serif;
    font-weight: 700;
}

.modal-input::placeholder {
    color: gray;
}

.link-bold {
    font-family: Bungee, cursive;
    font-weight: 700;
}

.modal-button:hover {
    background-color: #f1e866 !important;
}


.modal-button {
    transition: all 0.3s ease;
    background-color: #ffed00 !important;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-button img {
    margin-right: 10px;
}

.modal-text {
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    font-weight: 600;
}

#modal-text-error {
    color: red;
    font-size: 14px;
    margin-top: 15px;
    display: none;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-link {
    color: #ffed00!important;
    text-decoration: none;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
}

.modal {
    transition: opacity 0.5s ease;
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    transition: all 0.5s ease;
    height: -moz-fit-content;
    height: fit-content;
    right: 0;
    max-height: 461;
    overflow: auto;
    transition: margin-top 0.3s ease, height 0.3s ease;
    transform: translateZ(0);
    padding: 70px 24px;
    border-radius: 6px;
    max-width: 470px;
    z-index: 1000000000;
    font-family: var(--font-poppins), var(--font-notoSans), var(--font-notoSansSC), var(--font-notoSansThai), -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", helvetica, "Apple SD Gothic Neo", sans-serif;

    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: 100dvh;
    width: 100dvw;
    max-height: 100dvh;
}

.modal-container {
    max-width: 470px;
}

.modal.show {
    display: flex;
}

#overlay.active,
.modal.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 30;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay {
    opacity: 0;
    transition: opacity 0.2s;
}

.overlay {
    opacity: 0;
    transition: opacity 0.2s;
}

.overlay-visible {
    opacity: 1;
}

#overlay.hiding,
.modal.hiding {
    animation: fadeOut 0.5s ease forwards;
}

.close-modal {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.close-modal:hover {
    transform: scale(0.95);
}

.close-modal:active {
    transform: scale(0.65);
}

.modal-hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}

.modal-visible {
    opacity: 1;
    display: block;
    transform: scale(1);
}