body {
    font-family: Arial, sans-serif;
    margin: 0;
    height: 100vh;
    background-color: #f4f4f9;

}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    background-color: white;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border: solid 5px  #007bff;
    border-radius: 10px;
    background-color: #007bff;
}

nav a:hover {
    color: white;
    background-color: #0056b3;
    border: solid 5px #0056b3;
}

nav p {
    font-size: x-large;
    margin: 0;
}
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    align-items: center;
}

h1 {
    text-align: center;
    font-size: 50px;
    margin-bottom: 20px;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form input[type="text"],
form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

form button {
    background-color: #28a745;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

form button:hover {
    background-color: #218838;
}

/* Réactivité pour les petits écrans */
@media (max-width: 600px) {
    main {
        padding: 20px;
        width: 90%;
    }

    h1 {
        font-size: 28px;
    }

    form button {
        font-size: 14px;
    }
}
