html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    color: #fff;
    background-color: #293133;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Pleine hauteur de la fenêtre */
    background-color: #12323a;
}

.container {
    width: 300px; /* Largeur du formulaire */
    padding: 20px;
    background-color: #1f2d2e;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Ombre légère */
}

.container h1 {
    text-align: center;
    margin-bottom: 20px;
}

input[type="text"],
input[type="password"] {
    width: calc(100% - 22px); /* Largeur du champ moins le padding et la bordure */
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

#error-message {
    margin-top: 10px;
    text-align: center;
    color: #ff5555;
}
/* CSS pour centrer l'image sous le formulaire */
.img {
    text-align: center;
    margin-top: 20px; /* Espace entre le formulaire et l'image */
}

.img img {
    max-width: 100%; /* Pour s'assurer que l'image ne dépasse pas de sa boîte */
}
