body {
    font-family: "LF-Serif", Times, serif;;
    background-color: #fafafa;
    text-align: center;
   margin: 0;
    padding: 0;
       display: flex;
    justify-content: center;   /* Centrage horizontal */
    align-items: center;       /* Centrage vertical */
    height: 100vh;          
}

.text{
    width:30%;
    margin:auto;
    font-size: 2em;
}

.container {
    text-align: center;
    background-color: #fff;
    padding:30px;
     border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin: auto;
}


h1 {
    color: #333;
}

form {
    
    padding: 30px;
   
}

/* Champs de saisie */
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* Bouton */
button {
    width: 100%;
    padding: 10px;
    background-color: black;
    font-family: anton;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

button:hover {
    background-color: darkred;
}

.error {
    color: red;
}


@media only screen and (max-width: 720px) {

.container{width:65%}
form{width:80%}
h1{font-size: 20px}
.text{
    width:60%;
    margin:auto;
    font-size: 1.5em;
}

}

