/* N'est plus utilisé (voir dans laravel_APP resources */



.navbar-laptop {
    height: 50px;
    width: 100%;
    position: fixed;
    display: flex;
    justify-content:space-between;
    align-items: center;
    background: rgb(255, 255, 255); 
    transition: 0.25s ease-in;
    z-index: 20;
    top: 0;
}



.nav-section{
    display: flex;
    flex: 1;
    justify-content: space-around; /* Pour la répartition des liens */
    max-width: calc(50% - 100px); /* 100px est la largeur du logo, à ajuster si nécessaire */
}

.nav-section.left {
    margin-left: 10px;
}

.nav-section.right {
    margin-right: 10px;
}

.navbar-logo {
    position: absolute;
    left: 50%;
    top:0;
    transform: translateX(-50%);
    transition: 0.25s ease-in;
    z-index: 1;
    display: block;
}
.navbar-logo a{
    display: block;
    line-height: 0;

}

.navbar-logo.top::before{
    content: '';
    background: rgb(255, 255, 255,0.7);
    position: absolute;
    top: 5px; right:0; bottom: 0; left: 3%;
    z-index: -1;
    height: 94%;
    width: 94%;
    background-position: center;
    border-radius: 7%;
}

.navbar-logo img {
    width: 50px; 
}

.navbar-laptop a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    text-shadow: 0.1px 0.3px 4px white;
}

.navbar-laptop.top {
    background: transparent;
    height: 150px;
  }
.navbar-logo.top img{
    width: 150px;
  }

  a.active-link{
    border-bottom: 2px solid var(--bleu); /* Remplacez #000 par la couleur de votre choix */
    padding-bottom: 5px;
  }

  .navbar-logo a.active-link{
    border-bottom: unset;
    padding-bottom: unset;
  }


  @media (max-width: 480px)  {



    .navbar-phone {
        display: flex;
        justify-content: center;
        position: fixed;
        z-index: 5;
        background: rgb(255, 255, 255); 
        height: 50px;
        width: 100%;

    }
    


    #toggler{
        opacity: 0;
        position: absolute;
    }


    .navbar-phone .toggler {
        position: fixed;
        top: 5px;
        left: 5px;
        width: 50px;
        height: 40px;
        cursor: pointer;
        z-index: 6;
        opacity: 0;
        display: flex;
      }
    
      .navbar-phone .hamburger {
        position: fixed;
        top: 5px;
        left: 5px;
        width: 50px;
        height: 40px;
        cursor: pointer;
        z-index: 5;
        padding: 10px;
        background: rgb(244, 244, 244, 0.6);
        display: flex;
        align-items: center;
        justify-content: center;
      }
    
      .navbar-phone .hamburger > div {
        position: relative;
        flex: none;
        top: 0;
        height: 2px;
        width: 100%;
        background: #000;
        transition: all 0.5s 0s;
      }
    
      .navbar-phone .hamburger > div::before,
      .navbar-phone .hamburger > div::after {
        content: "";
        position: absolute;
        top: -10px;
        height: 2px;
        width: 100%;
        background: inherit;
        z-index: 1;
      }
    
      .navbar-phone .hamburger > div::after {
        top: 10px;
      }

      .navbar-phone .toggler:checked + .hamburger > div {
        transform: rotate(135deg);
      }
    
      .navbar-phone .toggler:checked + .hamburger > div::before,
      .navbar-phone .toggler:checked + .hamburger > div::after {
        top: 0;
        transform: rotate(270deg);
      }
    
      .navbar-phone .toggler:checked:hover + .hamburger > div {
        transform: rotate(225deg);
      }

      .navbar-phone nav a {
        color: #fff !important;
        text-decoration: none;
      }
    
      .navbar-phone nav li {
        opacity: 0;
        font-size: 1.5rem;
      }
    
      .navbar-phone nav {
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        overflow: hidden;
        z-index: -4;
        transform: scale(0);
      }
    
      .navbar-phone nav > ul {
        position: absolute !important;
        top: 50px;
        left: 0;
        background: rgba(0, 0, 0, 0.85);
        height: calc(100dvh);
        width: 100vw;
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
        flex-direction: column;
        transform: scale(0);
        transition: 0.3s;
        flex-shrink: 0;
        list-style: none;

      }
    
      .navbar-phone .toggler:checked ~ nav {
        transform: scale(1);
      }
      .navbar-phone .toggler:checked ~ nav > ul {
        transform: scale(1);
        transition: 0.3s;
      }
      .navbar-phone .toggler:checked ~ nav li {
        opacity: 1;
        margin: 10%;
        transition: 0.4s 0.2s;
      }


  }

  /* @media (max-height: 500px) {

    .navbar-phone .toggler:checked ~ nav li {
      margin: 2.5%;
    }

  } */