* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}
video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    z-index: -1;
}
#register-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: absolute;
    /* height: 78vh; */
    /* width: 28vw; */
    width: 380px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8.5px);
    border-radius: 10px;
    color: white;
    text-transform: uppercase;
    z-index: 1;
    overflow: hidden;
}
.header {
    margin: 3rem 0;
    width: 100%;
    text-align: center;
    letter-spacing: 0.4rem;
    text-indent: 0.4rem;
}
.header h2 {
    font-weight: 100;
    text-shadow: 2px 2px 4px #333;
}

i {
    z-index: 5;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.input-group > i {
    position: absolute;
    color: #3c354e;
    top: 1.4rem;
    /* top: 50%;
    transform: translateY(-50%); */
    left: 3rem;
}
.input-group {
    position: relative;
    padding: 6px 2rem;
    width: 100%;
}
.input-group input {
    font-family: "Open Sans", sans-serif;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 2rem;
    padding-left: 40px;
    width: 100%;
    height: 3rem;
    border: none;
    outline: none;
    color: #3c354e;
    font-size: 1rem;
}
.input-group input:focus {
    display: inline-block;
    background: white;
    box-shadow: 0 0 10px #aaa;
}
.input-group input::placeholder {
    color: #999;
    font-weight: 100;
    font-size: 1rem;
}
.input-group .tooltip{
    display: none;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    background: #0E0E10;
    backdrop-filter: blur(8.5px);
    font-size: 0.92rem;
    text-align: center;
    padding: 10px 20px;
    border-radius: 1.2rem;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    letter-spacing: 0;
    text-indent: 0;
    z-index: 10;
}
.input-group .tooltip::before{
    position: absolute;
    content: "";
    top: -46%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid;
    border-color: #0000 #0000 #0E0E10 #0000;
}
.input-group input:invalid {
    background: white;
    box-shadow: 0 0 10px #aaa;
}
.input-group input:invalid+.tooltip {
    top: 64px;
    opacity: 1;
    pointer-events: auto;
}
#captcha-form .input-group {
    width: 260px;
}
#captcha {
    font-family: "JetBrains Mono", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.6rem;
    text-indent: 0.6rem;
}
#captcha::placeholder {
    font-size: 1rem;
    letter-spacing: 0;
    text-indent: 0;
}
.shake {
    animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}
@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-3px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(3px, 0, 0);
    }
}

.body {
    width: 100%;
    height: 60px;
    position: relative;
}
.pages {
    position: absolute;
    display: inline-flex;
    top: 0;
    left: 0;
}
.page {
    width: 380px;
}
#page2 {
    /* display: none; */
    align-items: center;
    flex-direction: column;
    opacity: 0;
}
#captcha-check {
    display: none;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 1.2rem;
}
#captcha-check .success {
    color: #1bea59;
}
#captcha-check .error {
    color: #f74e4e;
}

.footer {
    margin: 3rem 0;
    padding: 0 2rem;
    width: 100%;
    text-align: center;
}
.footer button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8.5px);
    text-transform: capitalize;
    width: 100px;
    height: 36px;
    border: none;
    color: #ddd;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 0.92rem;
}
.footer button:hover {
    color: white;
    text-shadow: 0 0 2px white;
    background: rgba(255, 255, 255, 0.25);
}
.footer a {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8.5px);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-indent: 0.2rem;
    width: 100px;
    height: 36px;
    border: none;
    color: #ddd;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 0.92rem;
    text-decoration: none;
    animation-name: showmessage;
    animation-duration: 0.6s;
}
.footer a:hover {
    color: white;
    text-shadow: 0 0 2px white;
    background: rgba(255, 255, 255, 0.25);
}

.eye-group span {
    position: absolute;
    color: #3c354e;
    top: 1.2rem;
    right: 3rem;
    letter-spacing: 0;
    text-indent: 0;
}

.content {
    /* height: 280px; */
    width: 100%;
}
.content-body {
    padding: 10px 2rem;
    text-align: center;
}
.content-body p {
    animation-name: showmessage;
    animation-duration: 0.6s;
}
@keyframes showmessage {
    from {
        opacity: 0;
    }
    80% {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.question span {
    font-family: "Roboto Mono";
    font-size: 8px;
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    position: absolute;
    display : flex;
    justify-content: center;
    align-items : center;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #ddd;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8.5px);
    cursor: pointer;
}
.question span:hover {
    color: white;
    text-shadow: 0 0 2px white;
    background: rgba(255, 255, 255, 0.25);
}

.question .help{
    display: none;
    position: absolute;
    top: 50px;
    left: 3.5rem;
    font-size: 8px;
    padding: 6px 16px;
    width: fit-content;
    text-transform: none;
    background: rgba(14, 14, 16, 0.9);
    backdrop-filter: blur(8.5px);
    font-size: 0.92rem;
    text-align: center;
    border-radius: 1.2rem;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    letter-spacing: 0;
    text-indent: 0;
    z-index: 20;
}

.question:hover .help{
    top: 55px;
    opacity: 1;
    pointer-events: auto;
}

.header h2.language-zh {
    letter-spacing: 0.4rem;
    text-indent: 0.4rem;
}
.header h2.language-en {
    letter-spacing: 0.1rem;
    text-indent: 0.1rem;
}

.footer button.language-zh {
    letter-spacing: 0.2rem;
    text-indent: 0.2rem;
}
.footer button.language-en {
    letter-spacing: 0;
    text-indent: 0;
}

.tooltip {
    white-space: nowrap;
    text-transform: none;
    color: white;
}

.content-body p {
    text-transform: none;
}
