@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap'); 
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #87CEFA;
}
.box{
    display: flex;
    position: relative;
    width: 450px;
    height: 650px;
    background-color: green;
    overflow: hidden;
    border-radius: 4px;
}
.box form{
    position: absolute;
    inset: 2px;
    background-color: #222;
    padding: 20px 50px;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}
.box form img{
    width: 30%; 
    margin-left: 35%;
}
.box form h2{
    color: #fff;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.1em;
    font-size: 20px; 
    padding-top: 20px;
}

.box form #subtitulo{
    color: #fff;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.1em;
    font-size: 20px; 
    padding-top: 0px;
    margin: 0;
}
.box form .inputBox{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 350px;
    margin-top: 30px;
}
.box form .inputBox input{
    position: relative;
    width: 100%;
    padding: 20px 10px 10px;
    background: transparent;
    outline: none;
    border: none;
    box-shadow: none;
    color: #23242a;
    font-size: 1em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    z-index: 10;
}
.box form .inputBox span{
    position: absolute;
    left: 0;
    padding: 20px 10px 10px;
    pointer-events: none;
    color: #8f8f8f;
    font-size: 1em;
    letter-spacing: 0.05em;
    transition: 0.5s;
}
.box form .inputBox input:valid ~ span,
.box form .inputBox input:focus ~ span{
    color: #fff;
    font-size: 0.75em;
    transform: translateY(-34px);
}
.box form .inputBox i{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
}
.box form .inputBox input:valid ~ i,
.box form .inputBox input:focus ~ i{
    height: 44px;
}
.box form .links{
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.box form .links a{
    margin: 10px 0;
    font-size: 0.75em;
    color: #8f8f8f;
    text-decoration: none;
    cursor: pointer;
}

.box form .links a:active{
    opacity: 0.8;
}
.box form .links a:hover,
.box form .links a:nth-child(2){
    color: #fff;
}
.box form .submit{
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    padding: 9px 25px;
    background-color: #fff;
    cursor: pointer;
    font-size: 0.9em;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 0px;
    width: 350px;
}
.box form .info{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.box form .info h6{
    padding-top: 10px;
    font-size: 10px;
    color: #8f8f8f;
}

.container .box form #erro1{
    width: 100%;
    margin-top: 10px;
    margin-left: 5px;
}
.container .box form #erro2{
    margin-top: 10px;
    margin-left: 5px;
    width: 100%;
}
.container .box form #erro3{
    margin-top: 10px;
    margin-left: 5px;
    width: 100%;
}
.container .box form #erro4{
    margin-top: 10px;
    margin-left: 5px;
    width: 100%;
}
.container .box form .hide1{
    display: none;
}
.container .box form .hide2{
    display: none;
}
.container .box form .hide3{
    display: none;
}


.informacaoDeTeste{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    margin-top: 20px;
    color: black;
    
}
.informacaoDeTeste p{
    margin: 0;
    padding: 0;
    font-weight: 600;
    color: #444;
}
.informacaoDeTeste span{
    font-weight: bold;
    color: black;
    padding-bottom: 15px;
}

@media (max-width: 475px){
    .box{
        position: relative;
        width: 320px;
        height: 550px;
    }
    .box form .inputBox{
        width: 270px;
    }
    .box::before{
        width: 370px;
        height: 550px;
    }
    .box::after{
        width: 370px;
        height: 550px;
    }
    .borderLine::before{
        width: 370px;
        height: 550px;
    }
    .borderLine::after{
        width: 370px;
        height: 550px;
    }  
    .box form .submit{
        margin-top: 10px;
        width: 270px;
    }
    .box form{
        padding: 20px 20px;
    }
}