body
{
    position: relative;
    font-family: "Cambay", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #ffff;
    margin: 0;
}

a
{
    text-decoration: none;
    color: black;
}

#headerTopMenu {
    position: relative;
    height: 80px;
    z-index: 10;
}

#topMenu
{
    top: 0;
    width: 100%;
    position: fixed;
    background-color: #eaeef1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo-link {
    margin-right: auto;
}

#logo
{
    width: auto;
    height: 60px;
    padding: 10px 10px 0px 10px;
   
}

#nav-buttons
{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.nav-button
{
    display: inline-block;
    align-items: center;
    border: 0;
    border-radius: 0 0 7px 7px;
    padding: 10px 20px;
    font-size: 19px;
    color: #1A2232;
}

.nav-button:hover
{
    color: #24A19C;

}

.nav-button:after {
    display:block;
    content: '';
    border-bottom: solid 2px #24A19C;  
    transform: scaleX(0);  
    transition: transform 250ms ease-in-out;
  }
.nav-button:hover:after { transform: scaleX(1); }

#button-burger {
    border: none;
    background-color: none;
    display: none;
    position: fixed;
    top: 30px;
    right: 10px;
}

.sideBand-container{
    position: absolute;
    top: 80px;
    width: 100%;
    min-height: calc(100vh - 80px);
    height: calc(100% - 80px);
    background-image: url(images/Fond.png);
    background-size: 100%;
    background-repeat: repeat-y;
    z-index: -1;
}

.equipeCategories{
    display: none;
    position: absolute;
    top: 100%;
    width: fit-content;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

#button2{
    position: relative;
    cursor: pointer;
}

#button2:hover .equipeCategories, .equipeCategories:hover{
    display: flex;
    flex-direction: column;
}

.equipeCategory{
    padding: 10px 15px;
    color: #1A2232;
    white-space: nowrap;
}

.equipeCategory:hover{
    color: #24A19C;
}
.equipeCategory:after {
    display:block;
    content: '';
    border-bottom: solid 2px #24A19C;  
    transform: scaleX(0);  
    transition: transform 250ms ease-in-out;
  }
.equipeCategory:hover:after { transform: scaleX(1); }
 

@media all and (max-width: 1500px){
    .nav-button
    {
        font-size: 18px;
    }
}


@media all and (max-width: 1300px){
    .nav-button
    {
        font-size: 16px;
    }
}

@media all and (max-width: 1200px){
    .nav-button
    {
        font-size: 15px;
    }
    #logo
    {
        height: 50px;
        padding: 10px 10px 0px 10px;
    }
    #headerTopMenu {
        height: 70px;
    }
    .sideBand-container{
        top: 70px;
        min-height: calc(100vh - 70px);
        height: calc(100% - 70px);
    }
}

@media all and (max-width: 1100px){
    .nav-button
    {
        padding: 5px 10px;
        font-size: 15px;
    }
}

@media all and (max-width: 950px){
    .nav-button
    {
        padding: 5px 7px;
        font-size: 14px;
    }
}

@media all and (max-width: 900px){
    #button-burger {
        display: block;
        top: 13px;
        padding: 0;
        background: none;
        cursor: pointer;
    }

    #button-burger svg {
        height: 44px;
        width: 44px;
    }

    .nav-button
    {
        font-size: 18px;
        padding: 12px 10px 6px 10px;
    }

    #topMenu {
        flex-direction: column;
        align-items: start;
        max-height: 100vh;
        overflow-y: auto;
    }

    #nav-buttons {
        padding: 5px 15px 15px 15px;
        display: none;
        flex-direction: column;
    }

    #topMenu .nav-buttons-display{
        display: flex;
    }
    
    #topMenu .nav-buttons-hide{
        display: none;
    }

    /* pas de survol sur mobile: le sous-menu reste accessible via la page équipe */
    #button2:hover .equipeCategories {
        display: none;
    }
}

@media all and (max-width: 600px){
    /* les bandes décoratives débordent de l'écran pour ne pas passer sous le texte */
    .sideBand-container{
        background-size: 130%;
        background-position: center top;
    }
}
