@import url('https://fonts.googleapis.com/css2?family=Wix+Madefor+Text:wght@500&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Wix Madefor Text', 'Sans-serif';
}
body{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #006494;
}


.login .logo {
    width: 4.5em;
    margin: -10px;
    position:relative;
    top: -20px;
    cursor: pointer;
}

.container {
    position: relative;
    width: 80%;
    height: 80vh;
    display: flex;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.212);
    border-radius: 20px;
}

.login-img{
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #a174c5d7;
    padding: 1rem;
    border-radius: 30px 0 0 30px;
}

.imglogin{
    width: 30rem;
}

.login{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgb(200, 200, 243);
    padding: 3rem;
    border-radius: 0 30px 30px 0;
}

.login h2{
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 2px;
    font-size: 30px;
}

.box{
    position: relative;
    
}

.login .box input{
    width: 100%;
    padding: 10px 0;
    position:relative;
    width: 270px;
    
    outline: none;
    border: 0;
    background: transparent;
    border-bottom: 2px solid #006494;
    margin-bottom: 30px;
    font-size: 16px;
}

.login .box label{
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    pointer-events: none;
    transition: .7s;
}

.login .box input:focus~label,
.login .box input:valid~label
{
    top: -20px;
    font-size: 14px;
    color: rgb(99, 109, 165);
    font-weight: bold;
}

a{
    text-decoration: none;
    color: white;
}
.btn-entrar button{
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    border: 0;
    border-radius: 7px;
    color: white;
    background-color: rgb(89, 89, 173) ;
    font-size: 14px;
    letter-spacing: .6px;
}

.btn-entrar button:hover {
    transform: scale(0.95,0.95);
    background-color: #191970 ;
}


.fa-eye{
    position: absolute;
    top: 14px;
    right: 10px;
    color: black;
    cursor: pointer;
}

.login p{
    color: grey;
    font-weight: 300;
    margin-top: 1.5em;
}

.login .link-cadastro{
    text-decoration: none;
    font-weight: 500;
    font-size: 1.0em;
    font-style: normal;
    text-align: center;  
    color: #2D0068 ;
}


@media (max-width:920px){
    .imglogin{
        display: none;
    }
    
    .container{
        width: 70%;
        height: 40%;
    }
    .login h2{
        margin-bottom: -5px;
    }
    .login img{
        width: 20%;
    }
    .login{
        width: 100%;
        border-radius:30px;
    }

    .login-img{
        display:none;
    }
    .login .box input{
        width: 100%;
        font-size: 22px;
    }
    .login .box label{
        font-size: 22px;
    }
    .box{
        width: 75%;
    }
    .login .box input:focus~label,
    .login .box input:valid~label
    {
        font-size: 20px;
    }
    .btn-entrar button{
        width: 120px;
        font-size:20px;
    }
    .fa-eye{
        font-size:20px;
    }
}

@media (max-width:620px){
    .login .logo{
        top:-15px;
    }
    .container{
        width: 80%;
        height: 45%;
    }
    .login .box input{
        font-size: 16px;
    }
    .login .box label{
        font-size: 16px;
    }
    .box{
        width: 90%;
    }
    .login .box input:focus~label,
    .login .box input:valid~label
    {
        font-size: 16px;
    }
    .btn-entrar button{
        font-size:16px;
    }
    .fa-eye{
        font-size:16px;
    }
}

    @media (max-width: 768px){
        .container{
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .login {
        height: 160%;
        
        }
        .login .logo{
             width: 3.7em;
        }
    }
    

