*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:poppins, sans-serif;
}
body{
    background-color: #020202;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.box{
    position: relative;
    width: 600px;
    height: 400px;
    padding: 40px 50px;
    border-radius: 20px;
    overflow: hidden;
}
.box::before{
    content: "";
    position: absolute;
    width: 800%;
    height: 800%;
    border-radius: 15px;
    background: linear-gradient(45deg, cyan, magenta, cyan);
    background-size: 400px 400px;
    filter: drop-shadow(0 15px 50px #000);
    animation: rotate 5s linear infinite;
    z-index: -2;
}
.box::after{
    content: "";
    position: absolute;
    inset: 4px;
    width: 580px;
    height: 380px;
    background: #0d0e0d;
    border-radius: 15px;
    border: 4px solid #6384f1 ;
    z-index: -1;
}

@keyframes rotate {
    0%{
        transform: rotate(0deg);
        background-position:0% 50%;
    }
    100%{
        transform: rotate(360deg);
        background-position:100% 50%;
    }
    
}

.login-form{
    color: white;
    text-align: center;
}

.login-form h2{
    margin-bottom: 30px;
    letter-spacing: 1px;
}
.inputBox{
    position: relative;
    margin-bottom: 30px;
}


.inputBox input{
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #332f33;
    background: transparent;
    border-radius: 25px;
    color: rgb(248, 4, 4);
    font-size: 15px;
    outline: none;
}

.inputBox span{
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #742e2e;
    pointer-events: none;
    transition: 0.4s;
}

.inputBox input:focus ~ span,
.inputBox input:valid ~ span{
    top: -10px;
    left: 15px;
    color: cyan;
    background: #1b1b1b;
    padding: 0 5px;
}

.inputBox input[type="submit"]{
    background: #288585;
    color: rgb(39, 20, 20);
    cursor: pointer;
    font-weight:bold;
    border: none;
    transition: 0.3s;
}

.inputBox input[type="submit"]:hover{
    background: #00e0e0;
}

.links{
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
}

.links a{
    color: #1629d1;
    text-decoration: none;
    transition: 0.3s;
}

.links a.signup{
    color: #0a6ceb;
}

.links a:hover{
    color:cyan;
}