* {
    font-size: 14px;
}

#mainpage {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    min-height: 39rem;
    background-color: #FEF4F4;
    overflow: hidden;
}

.content {
    display: flex;
    flex-grow: 1;
    overflow: auto;
    position: relative;
}

.nav-img-group {
    display: flex;
    padding: 0.25rem;
}

.nav-logo {
    /* width: 12rem; */
    height: 2.2rem;
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bg-top, .bg-top img, .bg-btm, .bg-btm img {
    width: 100%;
}

.bg-top, .bg-btm {
    position: absolute;
}

.bg-btm {
    bottom: 0.25rem;
    height: 50%;
    border-bottom: 0.2rem solid #003353;
    opacity: 65%;
}

.bg-btm img {
    object-fit: contain;
}

.bg-top {
    height: 75%;
    top: 0;
    border-top: 0.2rem solid #003353;
}

.bg-top img, .bg-btm img {
    height: 100%;
    object-position: bottom;
}

.bg-top img {
    object-fit: cover;
}

.column-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Login */
.content-box {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: auto;
    overflow: auto;
    z-index: 2;
    height: 95%;
    min-width: 62%;
    border-radius: 1rem 1rem 0 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(to bottom, #ffffff 80%, #f9f3f51c 96%, rgb(239 243 248 / 8%) 100%);
}

.login-group {
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 100%;
}

.login-logo {
    margin: auto;
    padding: 1.5rem 0;
}

.login-logo img {
    padding: 0 1.8rem;
    max-width: 100%;
    width: 22rem;
}

.line-1 {
    background-color: #faddde;
    height: 0.18rem;
    width: 100%;
    margin: 1.75rem 0 1.5rem;
    border-radius: 5rem;
    background: linear-gradient(90deg, #faddde 0%, #92c1f0c4 100%);
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Sign up */
.content-box.su {
    padding: 1rem 0.5rem;
}

.content-box.su form {
    padding: 0 5rem;
}

.signup-img-btn {
    display: flex;
    padding: 1rem;
    position: absolute;
    right: 0;
}

.signup-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 0.5rem;
}

.role-box {
    background-color: #e2eefc;
    padding: 0.25rem 0.5rem 0;
    border-radius: 0.25rem;
    min-width: 16rem;
    border: 0.15rem solid transparent;
    box-shadow: inset 0.2rem 0.2rem 0.3rem #cee0f5;
}

.role-box select {
    border: 0;
}

.role-box i {
    top: 0.8rem !important;
}

/* Verify */
.vrf-sub {
    font-size: 0.9rem;
    opacity: 75%;
    margin-bottom: 0.25rem;
}

/* Input */
input:focus, select:not(.no-focus):focus, textarea:focus, .role-box:focus-within {
    border-color: #3d9cd48c !important;
    box-shadow: 0 0 0 0.1rem #3d9cd494 !important;
}

/* 
.login-btn-2 {
    width: 21rem;
} */

.input-border-black {
    width: 100%;
}



/* Button */
.login-btn-1 {
    border: 0;
    background-color: transparent;
    color: #2788c3;
    font-size: 0.9rem;
    padding: 0.75rem 0.5rem;
}

/* Capcha */
.input-icon-btn span, .input-icon-btn>i {
    position: absolute;
    text-align: center;
    width: 2rem;
    color: #2788c3;
    line-height: initial;
}

.input-icon-btn span {
    left: 0.5rem;
    top: 0.63rem;
    font-size: 1rem;
}

.input-icon-btn button {
    display: flex;
    border: 2px solid #adc5df;
    width: 2.75rem;
    padding: 0.25rem 0.5rem;
    box-shadow: inset 0 0 0 0.165rem #f4f8fe;
    background-color: #3d9bd4;
    position: absolute;
    right: 0;
    z-index: 1;
    height: 100%;
}

.input-icon-btn button i {
    margin: auto;
    color: #ffffff;
}

/** webkit scrollbar */
::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
}

::-webkit-scrollbar-track {
    background: #f6f6f6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #999;
}

::-webkit-scrollbar-corner {
    background: #f6f6f6;
}

@media (max-width: 1400px) {
    .content-box {
        min-width: 75%;
    }
}

@media (max-width: 1200px) {
    .signup-img-btn {
        position: relative !important;
    }

    .content-box.su form {
        padding: 0 1.5rem;
    }
}

@media (max-width: 1024px) {
    .content-box {
        min-width: 95%;
        max-width: 95%;
    }
}

@media (any-pointer: fine) {
    @media (min-width: 1600px) {
        * {
            font-size: 17px;
        }
    }
}

@media (any-pointer: coarse) {
    * {
        font-size: 1.4vw;
    }

    .signup-img-btn {
        position: relative !important;
    }

    @media (max-width: 1400px) {
        * {
            font-size: 1.15vw;
        }
    }

    @media (max-width: 1024px) {
        * {
            font-size: 1.25vw;
        }

        @media (orientation: portrait) {
            * {
                font-size: 1.8vw;
            }
        }
    }

    @media (max-width: 992px) {
        * {
            font-size: 2vw;
        }
    }

    @media (max-width: 576px) {
        * {
            font-size: 3.6vw;
        }
    }
}