*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}
body{
    background-image: linear-gradient(to right, #004e99, #051a2d);
    background-size: cover;
    background-attachment: fixed;
}

.container{
    width: 100%;
    height: 80vh;
   
}

.form-box{
    width: 90%;
    max-width: 400px;
    position: absolute;
    left: 50%;
    transform: translate(-50%,20%);
    background-color: #0842c9;
    padding: 30px 30px 30px;
    border-radius: 15px;
    box-shadow: 8px  9px 4px 7px #1f1d1d; 
}

header::after{
    content: '';
    width: 60px;
    height: 4px;
    border-radius: 3px;
    background: #3c00a0;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
}
header{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    text-shadow: 
        0 0 20px rgb(97, 37, 139),
        0 0 30px #fff,
        0 0 40px #ffffff,
        0 0 50px rgb(97, 37, 139);
    margin-bottom: 40px;
    position: relative;
    animation: headerChange 7s ease infinite;
}
@keyframes headerChange{
    0%{color: #fff;}
    100%{color: #020d2f;}
}

.sub-head{
    font-size: 25px;
    color: #020d2f;
}

.labels{
    display: flex;
    flex-direction: column;
}
label{
    font-weight: bolder;
    color: #ffffffee;
    animation: fadeInRight 3s ease;
    font-family: Arial, Helvetica, sans-serif;
}

input{
    height: 40px;
    border: #020d2f;
    border-width: 2px;
    border-radius: 5px;
    color: #020d2f;
    box-shadow: 4px  5px 4px 2px #1f1d1d; 
    animation: fadeInRight 2s ease;
}
@keyframes fadeInRight{
    0%{
        opacity: 0;
        transform: translateX(-50px);
    }
    100%{
        opacity: 1;
        transform: translateX(0px);
    }}

input::placeholder{
    text-indent: 15px;
    font-weight: bold;
}
#in-gap1{
    margin-bottom: 40px;
}
.new-placeholder::placeholder{
    color: red;
}

#in-gap2{
    margin-bottom: 40px;
}
#in-gap3{
    margin-bottom: 30px;
    height: 60px;
}
#la-gap{
    margin-bottom: 10px;
}

footer{
    text-align: center;
    margin-top: 20px;
}

button{
    width: 220px;
    height: 50px;
    color: #fff;
    font-size: 17px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    border-radius: 50px;  
    background-color: #032c7d; 
    border: none; 
    position: relative;
}
button:hover{
    color: #020d2f;
    background-color: #fff;
    /* position: relative;  */
}


@property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
button::after{
    content: '';
    position: absolute;
    height: 50px;
    width: 224px;
    border-radius: 50px;
    background-image: conic-gradient(from var(--angle), transparent 10%, red);
    animation: 2s spin linear infinite;
    left: -1%;
    z-index: -1;
    margin-top: -15px;
    filter: blur(0.1rem);
}
@keyframes spin{
    from{
        --angle: 0deg;
    }
    to{
        --angle:360deg
    }
}


@media (max-width: 800px) {
    .container{
        width: 100%;
        height: 100%;
    }

    .form-box{
        width: 80%;
        max-width: 350px;
        position: absolute;
        left: 50%;
        transform: translate(-50%,20%);
        padding: 20px 20px 20px;
        border-radius: 15px;
        box-shadow: 8px  9px 7px 4px #1f1d1d; 
    }

    .body{
        background-image: linear-gradient(to left, #004e99, #051a2d);
    }
    
    button::after{
        content: '';
        position: absolute;
        height: 50px;
        width: 224px;
        border-radius: 50px;
        background-image: conic-gradient(from var(--angle), transparent 10%, red);
        animation: 2s spin linear infinite;
        left: -1%;
        z-index: -1;
        margin-top: -15px;
        filter: blur(0.1rem);
    }
}