/* Style de base pour le corps de la page */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Style pour la barre de menu */
nav {
    background-color: #333;
    color: #fff;
    padding: 10px;
}

/* Style pour le formulaire de connexion */
.login-form {
    background-color: #3498db;
    width: 300px;
    margin: 0 auto; /* Ajout de cette ligne pour centrer la boîte horizontalement */
    padding: 20px;
    border-radius: 10px;
}

.login-form label {
    color: #fff;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
}

.login-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #2ecc71;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Style pour le header */
header {
    background-color: #f0f0f0;
    padding: 20px;
}

/* Style pour le logo à l'intérieur du header */
img.logo {
    max-width: 15%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Style de base pour le menu */
.dropdown {
    position: relative;
    display: inline-block;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Cela assure que la section est centrée verticalement */
}

.options {
    text-align: center; /* Pour centrer horizontalement le contenu des options */
}

/* Style pour le bouton du menu principal */
.dropbtn {
    background-color: #333;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

/* Style pour le contenu du sous-menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    z-index: 1;
}

/* Style pour les liens du sous-menu */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Style pour les liens du sous-menu au survol */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Afficher le sous-menu lorsque le menu principal est survolé */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Style pour le footer */
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: auto;
    text-align: center;
}

/* Media query pour l'impression */
@media print {
    /* Masquer la barre de menu */
    .barre_menu {
        display: none !important;
    }

    /* Ajuster la résolution */
    body {
        width: 1920px;
        height: 1080px;
    }

    /* Masquer les boutons */
    input[type="submit"] {
        display: none !important;
    }
}

/* Style pour les liens du menu principal */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

/* Style pour le footer */
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: auto;
    text-align: center;
    margin-top: 20px; /* Ajout d'une marge en haut */
    box-sizing: border-box; /* Inclure le padding dans la hauteur totale */
}
