html {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: flex-start;

    margin: 0;
    min-height: 75vh;

    padding-top: 25vh;


    /* background:
        url('images/banner.jpg') no-repeat center / cover,
        linear-gradient(to bottom,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.9) 25%,
            rgba(243, 172, 40, 0.3) 35%,
            rgba(243, 172, 40, 0.4) 45%,
            rgba(234, 123, 43, 0.4) 55%,
            rgba(234, 123, 43, 0.3) 65%,
            rgba(230, 97, 50, 0.4) 80%,
            rgba(230, 97, 50, 0.5) 100%
        ); */

    background:
        url('images/banner.jpg') no-repeat center / cover,
        linear-gradient(to bottom,
            white 0%,
            white 25%,
            #f0f6e0 35%,
            #d9e6a8 55%,
            #a4b963 80%,
            #759f3e 100%
    );

    
    background-attachment: fixed;
    
    background-size:
        auto 12.5%,    /* image à 25% hauteur totale */
        100% 100%;
    
    /* Position verticale centrée : 25% (milieu moitié haute) moins 12.5% (la moitié de la taille image) */
    background-position:
        center calc(12.5% - 6.25%), 
        top left;
    
    background-repeat: no-repeat;
}

.div-connexion {
    display: flex;
    width: 50%;
    background-color: #759f3e;
    border-radius: 50px;
    align-items: center;
    flex-direction: column;
    margin-bottom: 25vh;
}

.btn-retour {
    position: absolute;
    top: 40px;
    left: 40px;
    padding: 8px 12px;
    background-color: #759f3e;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: white;
    transition: background-color 0.3s ease;
}

.btn-retour:hover {
    background-color: #EA7E2F;
}

@media (max-width: 1000px) {
    .div-connexion {
        width: 70%;
    }
}

@media (max-width: 700px) {
    .div-connexion {
        width: 79%;
    }
}

h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: 0;
    margin-top: 10px;
    padding: 20px 0;
    text-align: center;
    color: white;
}

h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    margin: 0;
    padding-bottom: 40px;
    text-align: center;
    color: white;
}

.orange {
    color: #E66132;
}

form {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    display: flex;
    flex-direction: column;
    width: 80%;
    color: white;
    align-items: center;
}

.block-email, .block-pswd {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 20px;
}

.block-email label, .block-pswd label {
    margin-bottom: 5px;
}

.block-email input, .block-pswd input {
    padding: 10px 25px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #d9e6a8;
    border: 2.5px solid #759f3e;
    box-sizing: border-box;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

.block-email input:focus, .block-pswd input:focus {
    border-color: #EA7E2F;
}

input[type="submit"] {
    background-color: #d9e6a8;
    border: none;
    padding: 10px 25px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

input[type="submit"]:hover {
    background-color: #EA7E2F;
}

.erreur {
    display: flex;
    justify-content: center;
    text-align: center;
    color: rgb(125, 5, 5);
    font-style: italic;
}

.validation {
    display: flex;
    justify-content: center;
    text-align: center;
    color: greenyellow;
    font-style: italic;
}

.mdp_oublie, .mdp_oublie:visited {
    color: white;
    margin-bottom: 50px;
}