/*------------------------------------- Sommaire Fiches --------------------------------------*/
@media screen and (min-width: 1300px){
.sommairefiche {
    position: fixed;
    background-color: #102a5560;
    width: 15%;
    border-radius: 0px 20px 20px 0px;
    border: 2px solid #3efdeb;
    border-left: none;
    margin-top: 0%;
    left: -14%;
    /* margin: -5px -15px -14px -14px; */
    /* padding: 23px; */
    backdrop-filter: blur(1px);
    /* background: rgb(37, 37, 37, 0.85); */
    /* border-radius: 20px 20px 20px 20px; */
    box-shadow: inset 0px 0px 20px 1px #3efdeb;
}
.sommairefiche ul {
    opacity: 0;
}
.sommairefiche:hover {
    left: 0px;
    transition-duration: 0.5s;
}
.sommairefiche:hover ul {
    opacity: 1;
    transition-duration: 0.5s;
}

.sommairefiches {
    position: fixed;
    background-color: #102a5560;
    width: 15%;
    border-radius: 20px 0px 0px 20px;
    border: 2px solid #3efdeb;
    border-right: none;
    margin-top: 0%;
    right: -14%;
    /* margin: -5px -15px -14px -14px; */
    /* padding: 23px; */
    backdrop-filter: blur(1px);
    /* background: rgb(37, 37, 37, 0.85); */
    /* border-radius: 20px 20px 20px 20px; */
    box-shadow: inset 0px 0px 20px 1px #3efdeb;
}
.sommairefiches ul {
    opacity: 0;
}
.sommairefiches:hover {
    right: 0px;
    transition-duration: 0.5s;
}
.sommairefiches:hover ul {
    opacity: 1;
    transition-duration: 0.5s;
}
.hamburger-fiche {
    display: none;
}
}





@media screen and (max-width: 1300px){
    .navbar-fiche {
        z-index: 100;
        display: flex;
        align-items: flex-start;
        position: fixed;
        margin-right: 0px;
    }
    .hamburger-fiche {
        display: block;
        position: fixed;
        font-size: 2rem;
        cursor: pointer;
        top: 7px;
        right: 3%;
        z-index: 1000;
    }
    /* Checkbox caché pour le menu mobile */
    #fiche-toggle {
        display: none;
    }
    /* cachés par défaut */
    .sommairefiche {
        backdrop-filter: blur(1px);
        display: none;
        position: fixed;
        margin-right: 0px;
        width: 500px;
        max-width: 50%;
        border: 2px solid #3efdeb;
        background-color: #252625;
        z-index: 100;
        padding: 15px;
        border-radius: 0px 0px 10px 10px;
        box-shadow: inset 0px 0px 20px 1px #3efdeb;
    }
    .sommairefiche li {
        list-style: none;
    }
    
    /* Quand le hamburger est activé */
       #fiche-toggle:checked ~ .sommairefiche {
        display: block;
        right:0;
    }
}

/*------------------------------------- Sommaire Fiches --------------------------------------*/
    .carousel {
      position: relative;
      width: 100%;
      height: 300px;
      display: flex;
      align-items: center;
      overflow: hidden;
      touch-action: pan-y; /* évite le scroll vertical parasite */
    }

    .carousel-track {
      display: flex;
      will-change: transform;
    }

    .book {
      flex: 0 0 auto;
      width: 150px;
      height: 220px;
      margin: 0 15px;
      background-size: cover;
      background-position: center;
      border-radius: 10px;
      box-shadow: 0 8px 15px rgba(0,0,0,0.2);
      transition: transform 0.2s ease, opacity 0.2s ease;
      cursor: pointer;
    }

@media screen and (min-width: 1300px){
    .carte {
      position: relative;
      display: inline-block;
      width: 650px;
    }

    .carte img {
      max-width: 100%;
      height: auto;
    }

    .point {
      position: absolute;
      width: 11px;
      height: 11px;
      background: rgb(0, 255, 0);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      cursor: pointer;
      border: 1px solid white;
    }
    .point:hover {
      background: darkgreen;
    }
    #Astroshop {
    top: 540px;
    left: 514px;
    }
    #Astronome {
    top: 223px;
    left: 75px;
    }
    #Astronomie_Espace_Optique  {
    top: 447px;
    left: 204px;
    }
    #Enastros {
    top: 174px;
    left: 615px;
    }
    #Equinoxe {
    top: 374px;
    left: 476px;
    }
    #La_clef_des_étoiles {
    top: 528px;
    left: 311px;
    }
    #La_maison_de_l_astronomie {
    top: 159px;
    left: 355px;
    }
    #Télescope {
    top: 159px;
    left: 373px;
    }
    #Medas_Instruments {
    top: 349px;
    left: 404px;
    }
    #Optique_Unterlinden {
    top: 211px;
    left: 598px;
    }
    #PierroAstro {
    top: 541px;
    left: 412px;
    }
    #Univers_Astro {
    top: 262px;
    left: 153px;
    }
}

@media screen and (max-width: 1300px){
    .carte {
      position: relative;
      display: inline-block;
      width: 325px;
    }

    .carte img {
      max-width: 100%;
      height: auto;
    }

    .point {
      position: absolute;
      width: 6px;
      height: 6px;
      background: rgb(0, 255, 0);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      cursor: pointer;
      border: 2px solid white;
    }
    .point:hover {
      background: darkgreen;
    }
        #Astroshop {
    top: 270px;
    left: 257px;
    }
    #Astronome {
    top: 111px;
    left: 37px;
    }
    #Astronomie_Espace_Optique  {
    top: 223px;
    left: 102px;
    }
    #Enastros {
    top: 87px;
    left: 307px;
    }
    #Equinoxe {
    top: 187px;
    left: 238px;
    }
    #La_clef_des_étoiles {
    top: 264px;
    left: 155px;
    }
    #La_maison_de_l_astronomie {
    top: 79px;
    left: 177px;
    }
    #Télescope {
    top: 79px;
    left: 186px;
    }
    #Medas_Instruments {
    top: 174px;
    left: 202px;
    }
    #Optique_Unterlinden {
    top: 105px;
    left: 299px;
    }
    #PierroAstro {
    top: 270px;
    left: 206px;
    }
    #Univers_Astro {
    top: 131px;
    left: 76px;
    }
}

@media screen and (max-width: 600px){
    .carte {
      position: relative;
      display: inline-block;
      width: 280px;
    }

    .carte img {
      max-width: 100%;
      height: auto;
    }

    .point {
      position: absolute;
      width: 5px;
      height: 5px;
      background: rgb(0, 255, 0);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      cursor: pointer;
      border: 1px solid white;
    }
    .point:hover {
      background: darkgreen;
    }
        #Astroshop {
    top: 232px;
    left: 221px;
    }
    #Astronome {
    top: 96px;
    left: 32px;
    }
    #Astronomie_Espace_Optique  {
    top: 192px;
    left: 88px;
    }
    #Enastros {
    top: 74px;
    left: 265px;
    }
    #Equinoxe {
    top: 161px;
    left: 205px;
    }
    #La_clef_des_étoiles {
    top: 227px;
    left: 134px;
    }
    #La_maison_de_l_astronomie {
    top: 69px;
    left: 153px;
    }
    #Télescope {
    top: 69px;
    left: 160px;
    }
    #Medas_Instruments {
    top: 149px;
    left: 174px;
    }
    #Optique_Unterlinden {
    top: 90px;
    left: 257px;
    }
    #PierroAstro {
    top: 232px;
    left: 178px;
    }
    #Univers_Astro {
    top: 112px;
    left: 65px;
    }
}