.content-formulaire {
    display: flex;
    align-items: center;
    height: 600px;
    width: 100%;
    margin: 20px 0px;
    align-content: center;
    flex-direction: row;
    justify-content: space-evenly;
}

.anim {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: transform 1s ease, opacity 1s ease;
}
.hidden2 {
    transform: translateX(-100%) scale(0.5);
    opacity: 0;
}

.hidden1 {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.error-text{
    display : none;
    color : rgb(221, 61, 93);
    font-size: 12px;
    margin: 0px;
}
.aAfficher{
    display: none;
}
.connection, .inscription {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.image-pro{
    width:150px;
}

.flex-grid{
    display: grid;
}

.flex-text{
    display: grid;
    justify-content: center;
}

.flex-grid-bou{
    display: grid;
    align-content: stretch;
    justify-items: center;
}
.remember{
    display: flex;
}

.lien-pass{
    font-size: 11px;
}

.text-info{
    color : rgb(221, 61, 93);
    font-size: 12px;
    display: none;

}
form {
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 40px #7d47de;
    margin: 20px;
    display: flex;
    justify-content: center;
    height: 510px;
    width: 300px;
    padding: 10px;
    background-image: url('../img/fond-connection.jpg');
    background-size: cover; /* Couvre toute la div en conservant les proportions */
    background-position: center; /* Centre l'image */
}



.bout-valid {
    background-color:#7d47de;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;width: 88%;
    margin-bottom: 10px;
}

.checkBox{
    margin-bottom: 7px;
}

.bou-switch{
    background-color: #3b2465;;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover {
    background-color: #5721bd;
}

input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 20px;
}


@media (max-width: 800px) {

    .content-formulaire{
        display: grid;
        height: 1000px;
        width: 100%;
        

    }
    form{
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        width: 95%;
    }
}