/* Styles pour le header */
header {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    z-index: 10;
    width: 100%;
    transition: background-color 3s;
    position: sticky;
    top: 0;
    text-align: center;
    margin: 0 auto;
    padding-top: 20px;
    align-items: center;
    }
    .banner {
    display: flex;
    width: 100%;
    justify-content: space-between;
    max-width: 1200px;
    border-radius: 5px;
    }
    .banner a{
    text-decoration: none;
    color: #4a4a4a;
    }
    .banner div {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #4a4a4a;
    cursor: pointer;
    }
    
    .banner img {
    height: 24px;
    margin-right: 5px;
    }
    
    .banner li {
    list-style: none;
    }
    main{
    margin-top: 20px; 
    margin-bottom:20px;
    max-width: 1200px;
    background-color: #fff0;
    }
    
    
    /* Styles pour le menu */
    nav {
    background-color: #fff0;
    position: relative;
    width: 100%;
    z-index: 10;
    }
    
    nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    
    }
    
    nav li {
    position: relative;
    margin: 0 10px;
    
    }
    
    nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4a4a4a;
    text-decoration: none;
    height: 60px;
    padding: 0 20px;
    transition: all 0.2s ease;
    font-weight: 600;
    border-radius: 10px;
    font-size: 0.9rem;
    }
    
    nav a:hover {
    color: #ffffff;
    background-color: #4a4a4a;
    border-radius: 20px;
    }
    /* Nouveau style pour le bouton de menu */
    .menu-button {
    display: flex;
    flex-direction:column;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    flex:7;
    margin-top: 50px;
    }
    
    .menu-bar {
    
    width: 25px;
    height: 3px;
    background-color: #848484;
    margin-bottom: 4px;
    }
    @media screen and (min-width: 768px) {
    nav ul {
    display: flex;
    justify-content: center;
    position: static; /* Rétablir la position statique sur les écrans larges */
    width: auto; /* Rétablir la largeur automatique sur les écrans larges */
    }
    
    nav ul li {
    margin-left: 10px;
    }
    .banner-slidetoggle{
    display: none;
    }
    
    }
    
    /* Media queries pour rendre le site responsive */
    @media screen and (max-width: 767px) {
    .banner {
    flex-direction: column;
    align-items: center;
    }
    
    .banner div {
    margin-top: 10px;
    }
    
    .banner img {
    margin-right: 0;
    }
    nav li {
    margin: 5px 0;
    }
    
    nav a {
    border-radius: 5px;
    }
    nav ul {
    flex-direction: column;
    height: auto;
    margin-left: 10px;
    background-color: #e7e7e7;
    color: #555;
    border-radius: 20px;
    }
    nav ul{
    display: none;
    }
    .banner-slidetoggle{
    
    position: sticky;
    top: 20px;
    }
    
    .menu-button {
        padding: 5px;
        margin-top:0;
        }
        
        header{
        z-index:10
        }
        
        main{
        margin-top: 0px;
        }
    }

        
        /* Nouveau style pour la liste de navigation */
        
        .dropdown:hover .dropdown-content {
        visibility: visible;
        opacity: 1;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        }
        
        .dropdown {
        position: relative;
        }
        
        .dropdown-content {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #ffffff;
        box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
        min-width: 160px;
        z-index: 1;
        transition: all 0.2s ease;
        
        }
        #select a {
        color: #f97316 !important;
        background: rgba(249,115,22,.12) !important;
        border-radius: 20px !important;
        font-weight: 700 !important;
        }
        h1 {
        font-size: 32px;
        color: #333;
        margin-bottom: 10px;
        text-align: center;
        
        }
        
        h3 {
        font-size: 20px;
        color: #666;
        }
        
        
        .dropdown-content a {
        color: #4a4a4a;
        font-size: 14px;
        padding: 10px;
        white-space: nowrap;
        font-size: 16px;
        }
        
        .dropdown-content a:hover {
        background-color: #f1f1f1;
        color: #4a4a4a;
        border-radius: 10px;
        }
        
        
        
        /* Media queries pour rendre le site responsive */
        @media screen and (max-width: 767px) {
        .banner {
        flex-direction: column;
        align-items: center;
        }
        
        .banner div {
        margin-top: 10px;
        }
        
        .banner img {
        margin-right: 0;
        }
        
        nav ul {
        flex-direction: column;
        height: auto;
        }
        
        nav li {
        margin: 5px 0;
        }
        
        nav a {
        border-radius: 5px;
        }
        nav ul {
        margin-left: 10px;
        background-color: #e7e7e7;
        color: #555;
        border-radius: 20px;
        }

        }
        /* Afficher la liste de navigation sur les écrans larges */
        @media screen and (min-width: 768px) {
        .banner-slidetoggle{
        display: none;
        }
        
        }
        a{
        text-decoration:none;
        color:black;
        }
        