/* Reset de la page */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
/* Généralités */
body{
    font-family: 'Times New Roman', Times, serif;
    margin: 0px 20px 0px 20px;
    display: flex;
    flex-direction: column;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-center {
    display: flex;
    justify-content: center;
    margin-top: 5%;
}

#prog-languages {
    display: flex;
    justify-content: center;
}

footer {
    font-size: small;
    text-align: center;
    padding: 10px 0;
    background-color: whitesmoke;
}

footer a {
    margin-right: 10px;
}

/* Logo et titre */
.logo-titre {
    padding: 10px;
}

/* barre de navigation */
nav {
    background-color: whitesmoke;
    border-radius: 10px;
}

.container_navbar {
    display: flex;
    align-items: start;
    gap: 10px;
    flex-wrap: wrap;
}

.container_navbar .item:last-child {
    margin-left: auto;
}

.item {
    padding: 10px;
    margin: 10px 10px 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: black;
}

.item:hover {
    background-color: lightsteelblue;
    color: white;
}

.item:visited {
    text-decoration: none;
}
/* Main space */
table,
td,
th{
    border: 1px solid black;
    border-collapse: collapse;
    padding: 5px;
    text-align: center;
}
table {
    margin: 20px;
}
.clair {
    background : rgba(239, 179, 0, 0.28);
}
.fonce {
    background : #777;
}
/* FORMULAIRE CONNEXION ADMIN SECTION */

#formulaire-connexion {
    display: flex;
    justify-content: center;
    margin-top: 5%;
    height: 100vh; /* Cela assure que le formulaire est centré verticalement sur toute la hauteur de la page */
}

form {
    width: 300px; /* Largeur fixe du formulaire */
    height: 300px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Style des champs du formulaire */
label {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
    background-color: whitesmoke;
}

input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* Centrage du bouton de connexion */
input[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    background-color: whitesmoke;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: black;
}

input[type="submit"]:hover {
    background-color: lightsteelblue;
    color: white;
}
