@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;
    font-family: "Poppins", system-ui;
    color: #fff;
}
body {
    background: url(../img/1740961358837.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    height: 550px;
    width: 450px;
    border: 2px solid #0000002f;
    border-radius: 10px;
    background: #0000009d;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 5px #00000059, 0 0 15px #00000059, 0 0 30px #00000059;
    display: flex;
    justify-content: center;
    align-items: center;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000000s ease-in-out 0s;
    color: #fff;
}
.session_success {
    position: absolute;
    top: 20px;
    padding: 10px;
    background: #2b8600;
    color: #fff;
    width: 80%;
    text-align: center;
}
.session_unsuccess {
    position: absolute;
    top: 20px;
    padding: 10px;
    background: #860000;
    color: #fff;
    width: 80%;
    text-align: center;
}
.container .form-box h2{
    text-align: center;
    font-size: 40px;
    font-weight: 600;
}
.container .form-box p {
    margin-top: 5px;
    text-align: center;
}
.container .form-box p a {
    font-size: 13px;
}
.form-box .input-box {
    margin: 35px 0;
    width: 330px;
    border-bottom: 2px solid #ffffffa1;
    position: relative; 
}
.form-box .input-box input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    height: 40px;
    padding: 0 35px 0 5px;
    color: #fff;
}
.form-box .input-box label {
    font-weight: 400;
    letter-spacing: .5px;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: .5s ease;
}
.input-box input:focus ~ label,
.input-box input:valid ~ label{
    top: -5px;
}
.input-box i {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}
.login-btn {
    height: 45px;
    width: 100%;
    border-radius: 50px;
    color: #fff;
    background: #0a0038;
    border: 2px solid #06001f;
    outline: none;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 1px;
}
.login-btn:hover {
    background: #130069;
    border: 2px solid #0a0038;
}
@media(max-width:768px) {
    .container {
        height: 500px;
        width: 380px;
    }
    .container .form-box h2{
        font-size: 32px;
    }
    .form-box .input-box {
        margin: 35px 0;
        width: 300px;
    }
    .form-box .input-box i {
        font-size: 18px;
    }
    .form-box .input-box label {
        font-size: 14px;
    }
    .login-btn {
        height: 40px;
        width: 100%;
        font-size: 14px;
    }
}
@media(max-width:480px) {
    .container {
        height: 450px;
        width: 310px;
    }
    .container .form-box h2{
        font-size: 26px;
    }
    .form-box .input-box {
        margin: 30px 0;
        width: 260px;
    }
    .form-box .input-box i {
        font-size: 16px;
    }
    .form-box .input-box label {
        font-size: 12px;
    }
    .login-btn {
        height: 35px;
        width: 100%;
        font-size: 12px;
    }
}
@media(max-width:365px) {
    .container {
        height: 420px;
        width: 280px;
    }
    .container .form-box h2{
        font-size: 24px;
    }
    .form-box .input-box {
        margin: 25px 0;
        width: 220px;
    }
    .form-box .input-box i {
        font-size: 13px;
    }
    .form-box .input-box label {
        font-size: 10px;
    }
    .login-btn {
        height: 30px;
        width: 100%;
        font-size: 11px;
    }
}
