*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: poppins, sans-serif;
}
body{
    padding: 0 100px;
    background-color: #F9E2DE;

}

main{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 30px;

}
.entete_login{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}
.entete_login h2{
    font-size: 50px;
    color: #E16957;
    font-weight: 500;
}
.entete_login p{
    color: rgba(0, 0, 0, 0.692);
}
.entete_login p a{
    text-decoration: none;
    color: black;
    font-weight: 600;
}

.info_container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6em;
}

.login_container{
    display: flex;
    justify-content: center; 
    width: 50%;
    height: 100vh;
}

.login_img_container{
    display: flex;
    justify-content: right;
    align-items: center;
    width: 50%;
    border-radius: 10px;
    padding: 10px;
}
.login_img{
    width: 100%;
    height: 97vh;
    border-radius: 10px;
}

input[type=text],input[type=password],input[type=email]  {
    font-size: 20px;
    border: none;
    border-bottom: 2px solid black;
    z-index: 1;
    background: transparent;
}

input[type=text]:focus-visible, input[type=password]:focus-visible,input[type=email]:focus-visible {
    outline: none;
}


form {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    /* gap:  1em; */
    height: 50vh;
}

.username.label, .password.label, .email.label{
    position: absolute;
    transition: transform 0.3s, color 0.3s;
    transform-origin: 0 100%;
    transform: translateY(0) scale(1);
}

.username.label.input-focused{
    transform: translatey(-100%) scale(0.8);
    color: #E16957;
}
.password.label.input-focused{
    transform: translatey(-100%) scale(0.8);
    color: #E16957;
}
.email.label.input-focused{
    transform: translatey(-100%) scale(0.8);
    color: #E16957;
}

#submit{
    font-size: 20px;
    background: #E16957;
    border-radius: 10px;
    color: white;
    border: none;
    width: 10em;
    height: 7vh;
    cursor: pointer;
    transition: all 0.3s;
}
#submit:hover{
    transform: scale(1.1);
}

.error{
    color: #DC6C58;
}

@media screen and (max-width: 1080px) {
    .login_img_container{
        display: none;
    }

    .login_container{
        width: 100%;
    }
    input[type=text],input[type=password],input[type=email]  {
        font-size: 20px;
        border: none;
        border-bottom: 2px solid black;
        z-index: 1;
        background: transparent;
        width: 90%;
    }
}