@charset "utf-8";
body{
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    color: rgb(255, 255, 255);
    overflow: hidden;
}
.back{
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-image: url("loginback.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: scale(1.05);
}
.back::before{
    content: "";
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px); 
    position: fixed;
}
.back:hover::before{
    backdrop-filter: none;
}

.log{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 500px;
    min-height: 300px;
    background-color: rgba(50, 59, 88, 0.7);
    overflow: hidden;
    border-radius: 10px;
    box-shadow:0 0 10px rgba(50, 59, 88, 0.8);
    backdrop-filter: blur(5px);
}

.logtitle{
    -webkit-background-clip: text;
    font-size: 40px;
    font-weight: bolder;
    background-image: linear-gradient(90deg , rgba(98, 201, 248,0.6),rgba(243, 111, 255, 0.6),rgba(247, 129, 129, 0.6),rgba(241, 239, 104, 0.6),rgba(117, 226, 84, 0.6),rgba(98, 201, 248,0.6));
    background-size: 800%;
    animation: gradient 30s infinite linear;
    color: transparent;
    line-height: 100px;
}

.logbody .txt{
    color: rgb(255, 255, 255);
    border: none;
    border-bottom: 1px solid rgba(18, 21, 32, 0.7);
    background: transparent;
    transition: 0.3s;
    height: 30px;
    padding-top: 10px;
}
.logbody .txt:hover{
    transform: scaleX(1.1);
}

.logbody .txt:focus{
    outline: none;
    border-bottom:  1px solid rgba(137, 160, 245, 0.7);
    color: rgba(139, 164, 252, 0.7);
}

.logbody .sub{
    width: 80%;
    height: 45px;
    margin-top: 10%;
    margin-left: 10%;
    border: none;
    border-radius: 10px;
    background-color: rgba(86, 116, 156,0.8);
    font-size: 16px;
    font-family: "幼圆";
    color: rgb(180, 216, 233);
}
.logbody .sub:hover{
    background-color: rgba(118, 155, 202, 0.8);
    box-shadow: 0 0 10px rgba(118, 155, 202, 0.8);
}

.ykbt{
    margin-top: 20px;
    margin-left: 70%;
    border: none;
    background-color: transparent;
}
.ykbt:hover{
    color: rgb(180, 216, 233);
}

@keyframes gradient{
    100%{
        background-position: -800% 0%;
    }
}
