

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto',sans-serif;
}   
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.login-box{
    position: relative;
    width: 470px;
    height: 520px;
    padding: 10px 30px;
    background: #FFF;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.login-header{
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 20px 0 50px 0;
}
.login-header header{
    color: #333;
    font-size: 30px;
    margin-bottom: 5px;
}
.login-header p{
    color: #555;
}
.input-box{
    position: relative;
    width: 100%;
    cursor: pointer;
}
.input-box label{
    position: absolute;
    top: 15px;
    left: 15px;
    color: #555;
    transition: .15s ease-in-out;
}
.input-box input{
    width: 100%;
    height: 50px;
}
.input-box .input-field{
    font-size: 1em;
    color: #333;
    padding-left: 15px;
    margin-bottom: 25px;
    border: 1px solid #ddd;
    border-radius: 3px;
    outline: none;
}
.input-box input[type="password"]{
    margin-bottom: 10px;
}
.input-box .input-field:focus{
    border: 2px solid #8749F2;
}
.input-field:focus ~ label, .input-field:valid ~ label{
    top: -8px;
    left: 12px;
    font-size: 12px;
    color: #0059ff;
    background: #FFF;
    padding: 0 5px;
}
.input-field:valid ~ label{
    color: #555;
}
.forgot{
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}
section{
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
}
#check{
    margin-right: 10px;
}
section .forgot-link{
    font-weight: 500;
    text-decoration: none;
    color: #ff0000;
    cursor: pointer;
    transition: 0,3s ease;
}
section .forgot-link:hover{
      text-decoration: underline;
}
.input-submit{
    font-size: 15px;
    color: #FFF;
    background: #0059ff;
    border: 2px solid #0059ff;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.input-submit:hover{
      background: white;
      color: #0059ff;
}
.middle-text{
    position: relative;
    width: 100%;
    margin: 30px 0;
}
hr{
    border: 1px solid #ddd;
}
.social-sign-in{
    display: flex;
    gap: 15px;
}
button{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    cursor: pointer;
}
.input-google{
    width: 100%;
    height: 50px;
    padding: 0 30px;
    background: #FFF;
    border: 1px solid #CCC;
}
.input-google img{
    width: 25px;
}
.input-google p{
    font-size: 15px;
    width: 90%;
}

.input-google:hover,
.input-submit:hover{
    opacity: 0.9;
}
.sign-up{
    position: absolute;
    bottom: -30px;
    right: 0;
}
.sign-up p{
    font-size: 14px;
    color: #333;
}
.sign-up p>a{
    text-decoration: none;
    color: #ff0000;
    cursor: pointer;
    transition: 0.3s ease;
}

.sign-up p>a:hover{
      text-decoration: underline;
}

@media only screen and (max-width: 510px){
    .login-box{
        padding: 10px 30px;
        margin: 20px;
    }
}
@media only screen and (max-width: 415px){
    .login-box{
        padding: 10px 25px;
        margin: 15px;
    }
}