*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    min-height: 100vh;
    background-color: black;
    background-size: cover; /* 让图片覆盖整个背景 */
    background-position: center; /* 调整图片位置 */
    background-repeat: no-repeat; /* 不重复背景图片 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.ring{
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ring i{
    position: absolute;
    border: 2px solid white;
    inset: 0;
    transition: all 0.5s;
}
.ring i:nth-child(1){
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    animation: animate 6s linear infinite;
}
.ring i:nth-child(2){
    border-radius: 41% 44% 56% 59% / 38% 62% 63% 37%;
    animation: animate 4s linear infinite;
}
.ring i:nth-child(3){
    border-radius: 41% 44% 56% 59% / 38% 62% 63% 37%;
    animation: animate 10s linear infinite reverse;
}
.ring:hover i{
    border: 6px solid var(--clr);
    filter: drop-shadow(0 0 20px var(--clr));
}
.login{
    position: absolute;
    width: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.login h2{
    color:white;
    font-size: 35px;
    letter-spacing: 7px;
    text-indent: 0%;
    margin-bottom: 16px;
}
.login .ipt-box{
    position: relative;
    width: 100%;
}
.login .ipt-box input{
    position: relative;
    width: 100%;
    padding: 12px 20px;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 40px;
    font-size: 18px;
    color: white;
    box-shadow: none;
    outline: none;
}
.login .ipt-box input[type="submit"]{
    width: 100%;
    background:linear-gradient(45deg,rgb(162, 0, 255),rgb(6, 108, 240));
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.login .ipt-box input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(162, 0, 255, 0.3);
}
.login .ipt-box input[type="submit"]:active {
    transform: translateY(0);
}
.login.ipt-box input::placeholder{
    color: rgba(255,255,255,0.75);
}
.login .links{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.login .links a{
    color: #fff;
    text-decoration: none;
}
@keyframes animate {
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(360deg);
    }
    
}
