@font-face {
    font-family: "poppins";
    src: url(../fonts/Poppins-Medium.ttf);
}

*
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    background-image: url(../image.png);
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}



.box
{
    width: 500px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    position: relative;
    margin: 0 auto;
    top: 60px;
    border-radius: 40px;
    border: 2px solid #FFFFFF;
    backdrop-filter: blur(10px);

}
h3{
    color: #FFFFFF;
    position: absolute;
    top: 40px;
    font-size: 30px;
    font-family: poppins;
}

input::placeholder
{
    color: #FFFFFF;
}
#email
{
    width: 400px;
    height: 50px;
    border-radius: 20px;
    border: none;
    padding-left: 20px;
    font-size: 18px;
    font-family: poppins;
    position: absolute;
    top: 100px;
    border: 3px solid #FFFFFF;
    background-color: transparent;
    color: #FFFFFF;

}
    
#pass
{
    width: 400px;
    height: 50px;
    border-radius: 20px;
    border: none;
    padding-left: 20px;
    font-size: 18px;
    font-family: poppins;
    position: absolute;
    top: 200px;
    /* color: #FFFFFF; */
    border: 3px solid #FFFFFF;
    background-color: transparent;
    color: #FFFFFF;

}
#user
{
z-index: 1;
    position: absolute;
    top: 118px;
    right: 80px;
    color: #FFFFFF;
    font-size: 20px;
    
}

#checkbox
{
    position: absolute;
    top: 268px;
    left: 50px;
    width: 18px;
    height: 18px;
}

.Remember
{
    position: absolute;
    top: 267px;
    left: 78px;
    font-size: 13px;
    color: #FFFFFF;
    font-family: poppins;
}
.forgot
{
    position: absolute;
    top: 267px;
    left: 330px;
    font-size: 13px;
    color: #FFFFFF;
    font-family: poppins;
    text-decoration: none;

}
.forgot:hover
{
    text-decoration: underline;
}
button
{
    width: 400px;
    height: 50px;
    border-radius: 20px;
    border: none;
    padding-left: 20px;
    font-size: 18px;
    font-family: poppins;
    position: absolute;
    top: 300px;
    /* color: #FFFFFF; */
    border: 1px solid #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease; 

}
button:hover {
    background-color: rgba(255, 255, 255, 0.2); 
    color: #FFFFFF; 
}
.Remember3
{
    position: absolute;
    top: 360px;
    left: 130px;
    font-size: 13px;
    color: #FFFFFF;
    font-family: poppins;
}
.login
{
    color: #FFFFFF;
    text-decoration: none;
    font-family: poppins;
}
.login:hover
{
    text-decoration: underline;
}
#envilope
{
    z-index: 1;
    position: absolute;
    top: 118px;
    right: 80px;
    color: #FFFFFF;
    font-size: 20px;
}

#eye_icon{
    z-index: 1;
    position: absolute;
    top: 218px;
    right: 80px;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
}
#email_label
{
    position: absolute;
    top: 80px;
    left: 60px;
    font-size: 13px;
    color: red; 
    font-family: poppins;
    text-align: left;
    width: 400px; 
}
#pass_label
{
    position: absolute;
    top: 180px;
    left: 60px;
    font-size: 13px;
    color: red; 
    font-family: poppins;
    text-align: left;
    width: 400px; 
}

@media screen and (max-width: 640px) {
    .box {
        width: 60%; 
        height: auto; 
        top: 30px; 
        border-radius: 20px; 
    }

    h3 {
        font-size: 24px; 
        top: 20px; 
    }

    #email, #pass, button {
        width: 90%; 
        left: 5%; 
        top: auto; 
    }

    #email {
        top: 80px; 
    }

    #pass {
        top: 160px; 
    }

    button {
        top: 240px; 
    }

    #email_label, #pass_label {
        left: 5%; 
        width: 90%; 
    }

    #email_label {
        top: 60px; 
    }

    #pass_label {
        top: 140px; 
    }

    #checkbox {
        top: 220px; 
        left: 5%;
    }

    .Remember, .forgot {
        top: 220px; 
        left: 50px; 
        font-size: 12px; 
    }

    .forgot {
        left: auto; 
        right: 5%; 
    }

    .Remember3 {
        top: 300px; 
        left: 20%; 
    }

    #envilope {
        top: 100px; /* Align with the email field */
        right: 10%; /* Adjust alignment for smaller screens */
        font-size: 18px; /* Adjust size for smaller screens */
    }

    #eye_icon {
        top: 180px; /* Align with the password field */
        right: 10%; /* Adjust alignment for smaller screens */
        font-size: 18px; /* Adjust size for smaller screens */
    }
}



