/* styles.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    background: url('9344x2000.jpg') no-repeat center center fixed;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
}

h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #05a4d4;
}

form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
}

label {
    font-size: 1rem;
    color: #555;
    display: block;
    margin-bottom: 8px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0 16px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

p {
    text-align: center;
    color: red;
    font-size: 0.9rem;
}

.container {
    text-align: center;
}

@media (max-width: 768px) {
    /* Enlever le fond d'écran sur mobile */
    body {
        background: #f4f4f9; /* On garde une couleur unie propre */
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Formulaire adapté au mobile */
    form {
        width: 90%; /* Prend 90% de la largeur du téléphone */
        max-width: 400px;
        margin: 0 auto; /* Centre horizontalement */
        padding: 20px;
        box-shadow: none;
        border: 1px solid #ddd; /* Une petite bordure légère pour délimiter */
    }

    h1 {
        font-size: 1.5rem;
    }
}
