body {
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    font-family: 'Jost', sans-serif;
    background-color: #f4dfca;
}

.left-section,
.right-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

a {
    text-decoration: none;
}

/* Partie gauche *************************/

.left-section {
    background-color: #f4dfca;
    flex-direction: column;
    font-size: larger;
}

.left-section img:first-child {
    max-width: 40%;
    height: auto;
    margin: 10px 0;
}

.left-section img:last-child {
    max-width: 40%;
    height: auto;
    margin: 10px 0;

}

/* Partie droite *************************/


.right-section {
    background-color: #731702;
    flex-direction: column;
}

.main {
    width: 350px;
    height: 500px;
    background: #731702;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 5px 20px 50px #000;
}

#chk {
    display: none;
}




/* style générale des labels  */

label {
    color: #fff;
    font-size: 2.7em;
    justify-content: center;
    display: flex;
    margin: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: .5s ease-in-out;
}

/* Login / Connexion */
.login {
    height: 100%;
    position: relative;
}

/* Bouton mot de passe oublié */

.MDP {
    display: flex;
    justify-content: center;
}

.signup a {
    background-color: inherit;
    font-size: 14px;
    color: #590902;
    justify-content: center;
}


/* Signup / Inscription  */
.signup {
    height: 460px;
    background: #eee;
    border-radius: 60% / 10%;
    transform: translateY(-180px);
    transition: .8s ease-in-out;
}

.signup label {
    color: #590902;
    transform: scale(.6);
    font-weight: normal;
}


/* Les champs de saisie  */

input:not(#CGU, #chk, #new-password, #password) {
    width: 63%;
    height: 20px;
    background: #e0dede;
    justify-content: center;
    display: flex;
    margin: 20px 17%;
    padding: 5px;
    border: none;
    outline: none;
    border-radius: 5px;
}

input:not(#CGU, #chk):hover,
.pwd-input:hover {
    color: #590902;
    background-color: white;

}


/* Style guide utilisateur */

.guide ul {
    margin: 5px 0;
    padding-left: 20px;
    list-style-type: disc;
}

.guide {

    width: 60%;
    margin: 20px 17%;
    padding: 3%;
    margin-bottom: 0px;
    position: absolute;
    left: 0;
    margin-top: -200px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 14px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: none;

}

.guide p {
    margin-top: 0%;
    margin-bottom: 0%;
}


/* Afficher le message de MDP au focus */
input#new-password:focus+.guide {
    display: block;
}


ul.password-tips {
    color: red;
}

ul.password-tips .valid {
    color: green;
}


/* Les conditions generales d'utilisation */

#CGU {
    accent-color: green;
    clip-path: circle(38%);
}

#CGU_label {
    font-size: inherit;
    margin: 0%;
    white-space: nowrap;
}

#CGU_label a {
    background-color: inherit;
    font-size: inherit;
    color: inherit;
    text-decoration: underline;
}

#CGU_label a:hover {
    color: #A64f3c;
}

.CGU_container {
    display: flex;
    justify-content: center;
    font-size: 0.8em;

}


/* Nouvel Mot de passe */

.pwd-input {
    width: 63%;
    height: 20px;
    background: #e0dede;
    justify-content: center;
    display: flex;
    margin: 20px 17%;
    border: none;
    outline: none;
    border-radius: 5px;
    justify-content: space-between;
    align-items: center;
    padding: 5px;

}

.pwd-input input {
    margin: 0;
}

#new-password,
#password {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    flex-grow: 1;
    outline: none;
}


/* Les boutons */

button {
    width: 66%;
    height: 40px;
    margin: 20px 17%;
    justify-content: center;
    display: block;
    color: #fff;
    background: #590902;
    font-size: 1em;
    font-weight: bold;
    margin-top: 30px;
    outline: none;
    border: none;
    border-radius: 5px;
    transition: .2s ease-in;
    cursor: pointer;
    padding: 3%;
}

button:hover {
    background: #A64f3c;
}

/* bouton sans Connexion  */
.sans-connexion {
    width: 350px;
}

.sans-connexion button {
    border: none;
    background-color: inherit;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
}

.sans-connexion button:hover {
    background: #F4DFCA;
    color: #590902;
}



/* Transitions */

#chk:checked~.signup {
    transform: translateY(-500px);
}

#chk:checked~.signup label {
    transform: scale(1);
}

#chk:checked~.login label {
    transform: scale(.6);
}

.MDP a {
    color: #eee;
}

.MDP a:hover {
    text-decoration: underline;
}