@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

/*body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #e2e2e2,#c9d6ff );
    color: #333;
}*/

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    background: linear-gradient(to right, #e2e2e2, #c9d6ff);
}


.container{
    margin: 0 0.938rem;

}

.form-box{
    width: 100%;
    max-width: 29rem;
    padding: 1.875rem;
    background: #fff;
    border-radius: 0.625rem;
    box-shadow: 0 0 0.625rem rgba(0,0,0, 1);
    display: none;
}

.form-box.active{
    display: block;
}



h2{
    font-size: 2.125rem;
    text-align: center;
    margin-bottom: 1.25rem;
}

input , select{
    width: 100%;
    padding: 0.75rem;
    background: #eee;
    border-radius: .375rem;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    margin-bottom: 1.25rem;
}

button{
    width: 100%;
    padding: .75rem;
    background: #7494ec;
    border-radius: .375rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    margin-bottom: 1.25rem;
    transition: .5s;
}

button:hover{
    background: #6884d3;
}

p{
    font-size: .906rem;
    text-align: center;
    margin-bottom: .625rem;
}

p a{
    color: #7494ec;
    text-decoration: none;   
}

p a:hover{
    text-decoration: underline;
}

.error-messsage{
    padding: .75rem;
    background: #f8d7da;
    border-bottom: .375rem;
    font-size: 1rem;
    color: #a42834;
    text-align: center;
    margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
    .form-box {
        padding: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    input, select, button {
        font-size: 0.95rem;
        padding: 0.65rem;
    }

    .error-messsage {
        font-size: 0.9rem;
        padding: 0.625rem;
    }
}
