/* Styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: normal;
}

details {
    display: none;
}
.cache{
    display: none;
}

/* Navbar */
.navbar {
    background-color: #800000;
    overflow: hidden;
    padding: 15px 0;
    position: sticky;
    top: 0; /* Fixe l'élément en haut lorsqu'il atteint cette position */
    z-index: 1000; /* Pour qu'il soit au-dessus des autres éléments */
}

.navbar ul {

    text-align: center;
    align-content: center;
    align-items: center;
}
.navbar ul li {
    position: relative;
    list-style: none;
    margin: 0 20px;
    display: inline-block;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.navbar ul li a::after {
    content: '';
    height: 3px;
    width: 0;
    background: #f4f4f4;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.3s;
}

.navbar ul li a:hover::after {
    width: 100%;
}
.menu{
    display: none;
    width: 30px;
    cursor: pointer;
    margin: 20px 20px;
}

.menuV{
    display: none;
}

.logout-btn {
    float: right;
    margin-right: 20px;
    background-color: #800000;
    color: #f4f4f4;
    padding: 14px 20px;
    font-weight: bold;
    border: #f4f4f4 solid 2px;
    border-radius: 50px;
}

.site-header>ul>li {
    position: relative;
    display: inline;
}


.tete {
 width: 100%;
 height: 90vh;
 color: #f4f4f4;
 margin-top: -20px;
 background-image: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.85)),url(../../imageAC.jpg);
 background-size: cover;
 background-position: center;
 position: relative;
}
.text-tete{
    width: 100%;
    top: 20%;
    transform: translateY(20%);
    position: absolute;
    text-align: center;
    
}

.text-tete h1{
    font-size: 55px;
}
.text-tete p{
    font-size: 20px;
    font-weight: 400;
}

.button > button{
    width: max-content;
    font-size: 20px;
    padding: 15px 20px;
    margin: 20px 30px;
    display: inline;
    border: solid 2px #f4f4f4;
    border-radius: 40px;
    color: #f4f4f4;
    text-decoration: none;
}
.button > button:hover{
    background-color: #f4f4f4;
    color: #800000;
}

.user-id{
    float: right;
    margin-right: 10px;
    color: #f4f4f4;
    font-weight: bold;
    
}
.site-header    a.logout-btn:hover {
    text-decoration: none;
    text-transform: none;
    background-color: #f4f4f4;
    color: #800000;

}
.logo {
    height: 130px;
    width: 160px;
    margin-top: -20px;
    margin-left: 30px;
    margin-bottom: -50px;
}

/* Sections */
section {
    padding: 60px 0;
    background-color: #f4f4f4;
}



#about, #news, #stats {
    background-color: #f4f4f4;
    text-align: center;
}

#about h2, #news h2, #stats h2 {
    color: #800000; /* Bordeaux */
    margin-bottom: 20px;
}

#about p, #news p {
    font-size: 1.1rem;
    color: #333;
}
.pro1{
    align-items: left;
    float: left;
    margin-right: 20px;
}
.pro2{
    align-items: right;
    float: right;
    margin-left: 20px;
}
.pro2 a .propos {
    width: 900px;
    height: 80%;
    float: right;
}

.pro3{
    align-items: right;
    float: right;
    margin-left: 20px;
}

.news-item {
    margin-bottom: 20px;
}

.news-item .new a .new-tof {
    height: 95%;
    width: 90%;
   
}

.stats-box {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.stat-item h3 {
    font-size: 3rem;
    color: #333;
}

.stat-item p {
    font-size: 1.2rem;
    color: #555;
}

/* Dashboard */
.dashboard {
    text-align: center;
    margin-top: -15px;
}

.dashboard-buttons {
    margin-top: 30px;
}

.dashboard-buttons button {
    margin-bottom: -30px;
    width: 20%;
    background-color: #800000;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 30px;
    height: 150px;
    display: inline;
    font-size: 1.5em;
}

.dashboard-buttons button a {
    text-decoration: none;
}

.dashboard-buttons button:hover {
    background-color: #bc0505;
}
.me {
    color: #333;
    margin: 0 5%;
}

/* Table */
table {
    width: 90%;
    border-collapse: collapse;
    margin: 20px 5%;
    background-color: white;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: center;
}

th {
    background-color: #800000; /* Bordeaux */
    color: white;
}

td {
    background-color: #f9f9f9;
}
/* Styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #b2b2b2;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #800020; /* Bordeaux */
}


.indicatif {
    width: 40%;
}

.num {
    width: 55%;
    margin-left: 45%;
    margin-top: -60px;
}


button {
    display: block;
    width: 30%;
    margin-left: 35%;
    padding: 10px;
    background-color: #800000; /* Bordeaux */
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    
}

button:hover {
    background-color: #bc0505;
    transform: scale(1.05);
}

button a li{
    color: #f4f4f4;
    text-decoration: none;
}

a {
    text-decoration: none;
    color: #800020; /* Bordeaux */
}

a:hover {
    text-decoration: underline;
}

p {
    margin: 20px 0;
}

.haut-pageC {
    text-align: center;
    width: 100%;
    height:100px;
}

.container-form {
    width: 60%;
    justify-content: center;
    align-items: center;
    margin: 50px 20%;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    
}

label {
    margin-bottom: 8px;
    font-weight: bold;
}

input, textarea, select {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

select {
    background-color: rgba(128, 0, 0, 0.2);
    font-weight: bold;
    font-size: 15px;
}

/* Formulaire focus */
form input:focus, form textarea:focus, form select:focus {
    border-color: #800020;
    outline: none;
    box-shadow: 0 0 5px rgba(128, 0, 32, 0.5);
}

/* Header */
.site-header {
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.site-header .log a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    
.site-header .log a {
    color: #f4f4f4;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
}

/* style.css */
.contact-section {
    padding: 20px;
    display: block;
    background: #333;
    border-radius: 8px;
    margin-top: 60px;
}

.contact-section h2 {
    text-align: center;
    color: #f4f4f4; /* couleur bordeaux */
    margin-bottom: 24px;
}

/* Footer */
footer {
    width: 100%;
    height: 400px;
    background-color: #333;
    color: #f4f4f4;
    padding: 60px 0;
}

footer div{
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

footer h1 {
    color: #dd8080;
    font-size: 40px;
}

div .list ul {
    width: 400px;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    cursor: pointer;
}

div .list ul li a {
    color: #f4f4f4;
}

div .list ul li:hover {
    font-weight: bold;
    transform: scale(1.05);
}

div .icon ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

div .icon ul li:hover {
    font-weight: bold;
    transform: scale(1.05);
}

.icon ul li a{
    padding: 0 20px;
    color:#dd8080;

}

.pagination {
    margin-bottom: 30px;
}
    
.pagination a {
    margin: 0 5px;
    padding: 8px 16px;
    text-decoration: none;
    background-color: #f4f4f4;
    color: #800000;
    border: solid 2px;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #800000;
    color: #f4f4f4;
}

.pagination a.active {
    background-color: #800000; /* Couleur pour la page active (ici vert) */
    color: white;
    border-radius: 4px;
}

.pagination strong {
    margin: 0 5px;
    padding: 8px 16px;
    background-color: #0056b3;
    color: white;
    border-radius: 4px;
}






@media (max-width: 768px) {
    .container {
        max-width: 90%;
        padding: 10px;
    }
    
    .navbar{
        display: none;
    }

    .nave {
        display: none;
    }

    .container-form {
    width: 90%;
    margin: 50px 5%;
    }

    form {
        display: flex;
        flex-direction: column;

    }

    label {
        margin-bottom: 8px;
        font-size: 15px;
        font-weight: bold;
    }

    input, select {
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 16px;
        height: 35px;
    }

    .tab_btn {
        font-size: 10px;
        width: 90%;
    }

    select {
        font-size: 10px;
    }

    button {
        font-size: 10px;
    }

    /* Style pour le menu vertical */
.menuV {
    display: flex;
    width: 100%; /* Largeur du menu */
    height: 0vh;
    border-radius: 5px;
    position: sticky;
    top: 0; /* Fixe l'élément en haut lorsqu'il atteint cette position */
    z-index: 1000;
    margin-left: -100%;
    margin-top: -40px;
}
.active{
    margin-left: 0;
    height: 110vh;
    
}

.menuV ul {
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: center;
    width: 100%;
    height: 100vh;
    list-style: none; /* Supprime les puces */
    background-color: #800000;
    padding: 0;
    margin-top: -20px;
}

li a {
    text-decoration: none; /* Supprime le soulignement */
    color: white; /* Couleur du texte */
    font-size: 1.5em;
    font-weight: bold;
    padding: 15px 15px;
    display: block; /* Le lien occupe tout l'espace cliquable */
    border-radius: 5px;
}

.btn-menu li {
    background: #f4f4f4;
    border-radius: 50px;
    margin: 10px 0;
}

.btn-menu li a {
    color: #800000;
    
}

    .menus {
        width: 100%;
        height: 40px;
        padding: 5px 10px;
        background: #800000;
        position: sticky;
        top: 0; /* Fixe l'élément en haut lorsqu'il atteint cette position */
        z-index: 1000;
    }

    .menu {
        display: block; /* Affiche le bouton menu */
        margin-top: 0px;
        width: 30px;
        height: 30px;
    }

   .num {
        width: 55%;
        margin-left: 45%;
        margin-top: -50px;
    }

    .cache {
        display: block;
        background: transparent;
        position: sticky;
        top: 0; /* Fixe l'élément en haut lorsqu'il atteint cette position */
    }
    
    .stats-box {
        flex-direction: column;
        align-items: center;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 1rem;
    }
    .tete {
        margin-top: 0px;
        height: 80vh;
        width: 100%;
        color: #f4f4f4;
        background-size: cover;
    }

    .text-tete{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        text-align: center;
    }
    .text-tete h1{
        font-size: 30px;
    }
    .text-tete p{
        width: 80%;
        margin-left: 10%;
        font-size: 20px;
        font-weight: 100;
    }

    .button > button {
        width: max-content;
        padding: 15px 15px;
        margin: 20px 30px;
        display: inline;
        border-radius: 40px;
    }
    .site-header {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100px;
        
    }
    .site-header .logo {
        width: 100px;
        height: 110px;
    }

    .site-header .log {
        margin-left: -10%;
        display: flex;
        justify-content: center;
        align-items: center;
        
    }

    .site-header .log a {
        margin: 0;
        color: #f4f4f4;
        font-size: 25px;
        font-weight: bold;
        text-decoration: none;
    }
    img{
        width: 100%;
    }
  

    .dashboard-buttons button {
        list-style: none;
        width: 85%;
    }

    table, th, td {
        font-size: 10px;
        width: 100%;
    } 

    .logout-btn {
        display: none;
        margin-top: 30px; /* Espacement pour le bouton de déconnexion */
        width: auto;
        height: 45px;
        
    }
    .user-id {
        list-style: none;
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: -15px;
        float: right;
        margin-right: 20px;
    }
    /* Styles de base pour le tableau */
    table {
        width: 90%;
        border-collapse: collapse;
        margin: 20px 15px;
        background-color: white;
        overflow-x: auto; /* Permet le défilement horizontal sur les petits écrans */
        overflow-x: auto; /* Permet le défilement horizontal */
        white-space: nowrap; /* Évite le retour à la ligne pour les cellules */
        display: block;
    }
    
    /* Styles pour les bordures du tableau */
    table, th, td {
        border: 1px solid #ddd;
    }
    
    /* Styles pour les cellules du tableau */
    th, td {
        padding: 10px;
        text-align: center;
    }
    
    /* Styles pour les en-têtes */
    th {
        background-color: #800000; /* Bordeaux */
        color: white;
    }
    
    /* Styles pour les lignes des cellules */
    td {
        background-color: #f9f9f9;
    }
    
    footer h1 {
        font-size: 20px;
    }
    
    div .list ul {
        width: 300px;
        font-size: 12px;
    }
    
    div .list ul li {
        font-size: 8px;
    }
    
    div .icon ul {
        list-style: none;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    footer div p {
        font-size: 11px;
    }
}




