body {
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("/media/註冊/bg_7.jpg");
    /*width: 99%;*/
    /*height: 99%;*/
    background-size: cover;
    /*padding-top: 10px;*/
    /*filter: blur(5px);*/
    z-index: -1;
}

.login-wrapper {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /*background: #000000;*/
    font-family: 'Poppins', sans-serif;
}

.登入畫面 {
    position: relative;
    height: 620px;
    width: 620px;
    background: rgba(70, 69, 69, 0.8);
    border-radius: 50px;
    overflow: hidden; /*超出部分隱藏*/
    box-shadow: 0 5px 25px rgba(72, 72, 72, 0.2);
    z-index: 5;

}

.登入畫面 form {
    position: absolute;
    inset: 4px;
    background: rgb(0, 0, 0);
    padding: 50px 40px;
    border-radius: 50px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;

}


.登入畫面 form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("/media/註冊/霧面_1.png") no-repeat center;
    background-size: cover;
    filter: blur(10px);
    z-index: -1;
}

/* RGBe 關鍵區域 開始 */
.登入畫面::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    height: 620px;
    width: 620px;
    background-image: linear-gradient(0deg, transparent, transparent, #ffd500, #ffd500, #ffd500);
    z-index: 1;
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
}

.登入畫面::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    height: 620px;
    width: 620px;
    background-image: linear-gradient(0deg, transparent, transparent, #ffd500, #ffd500, #ffd500);
    z-index: 1;
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
    animation-delay: -3s;
}

.RGB1 {
    position: absolute;
    top: 0;
    inset: 0;

}

.RGB1::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    height: 620px;
    width: 620px;
    background-image: linear-gradient(0deg, transparent, transparent, #e86464, #e86464, #e86464);
    z-index: 1;
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
    animation-delay: -1.5s;
}

.RGB1::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    height: 620px;
    width: 620px;
    background-image: linear-gradient(0deg, transparent, transparent, #e86464, #e86464, #e86464);
    z-index: 1;
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
    animation-delay: -4.5s;
}


@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* RGBe 關鍵區域 結束 */
/*Login 照片*/
.form img {
    position: absolute;
    left: calc(50% - 50px);
    top: 0;
    width: 100px;
    /*background: rgba(255, 255, 255, 0.8);*/
    border-radius: 50%;
    margin-top: 20px;
    box-shadow: 0 5px 25px rgba(56, 55, 55, 0.5);
}

.form h2 {
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: #5e5a5a;
    font-weight: 900;
    font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
    margin-top: 9rem;
    font-size: 1.5rem;
}

.form .input-group {
    position: relative;
}

input {
    -webkit-text-fill-color: #ffffff;
}

/*自動填入消除空白問題*/
input:-webkit-autofill {
    transition: background-color 5000s ease-in-out 0s;
}

/*UserName Password格子設計*/
.form .input-group input {
    width: 100%;
    padding: 10px 0;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: none;
    border-bottom: 2.5px solid #3d3d3d;
    outline: none;
    background-color: transparent;
    color: #000000;
}

.form .input-group input {
    -webkit-text-fill-color: #000000;
}

.form .input-group label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 18px;
    pointer-events: none;
    transition: .3s ease-out;
    color: #000000;
    font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
    font-weight: 900;
}

.form .input-group input:focus + label,
.form .input-group input:valid + label {
    transform: translateY(-31px);
    color: #fae061;
    font-size: 18px;
    font-weight: 900;
    font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
}

.submit-btn {
    display: block;
    margin-left: auto;
    border: none;
    outline: none;
    background: #59483e;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 30px;
    font-weight: 900;
    color: #ffffff !important;
    box-shadow: 0 5px 25px rgba(72, 72, 72, 0.4);
}

.submit-btn:focus {
    box-shadow: #59483e 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #59483e 0 -3px 0 inset;
}

.submit-btn:hover {
    box-shadow: #59483e 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px 0px, #59483e 0 -3px 13px 0px inset;
    transform: translateY(-5px);
}

.submit-btn:active {
    box-shadow: #59483e 0 3px 7px inset;
    transform: translateY(2px);
}


.忘記密碼 {
    letter-spacing: 10px;
    color: #ffffff;
    font-weight: 900;
    font-size: 24px;
    font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
    border-bottom: 0px solid #3d3d3d;
}

.註冊 {
    color: inherit;
    line-height: 50px;
    letter-spacing: 5px;
}

/*忘記密碼畫面*/
#忘記密碼 {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    transition: 1s;
}

#忘記密碼:target {
    height: 100%;
    opacity: 1;
}

.close {
    position: absolute;
    right: 20px;
    top: 5px;
    font-size: 30px;
    font-weight: 900;
    text-decoration: none;
    color: inherit;
}

.social-icons {
    margin: 10px auto;
    text-align: center;
}

.social-icons img {
    width: 40px;
    margin-right: 12px;
    margin-left: 20px;
    cursor: pointer;
    border-radius: 30%;
}

.訊息提示 {
    color: #b61f1f;
    font-size: 14px;
    font-weight: 900;
}

.emoji {
    font-size: 30px;

}

.fa-user-astronaut, .fa-key {
    font-size: 30px;
}