* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "bubu";
  src: url("Parasitype-Regular.otf") format("opentype");
}

@font-face {
  font-family: "bubo";
  src: url("Parasitype-Medium.otf") format("opentype");
}



body {
  overflow: hidden;
 
    

}

#container {
  overflow: hidden;
  position: fixed;
  inset: 5px; /* marge autour de l'écran */
}

/* Le wrapper qui bouge */
#viewport {
  position: absolute;
  will-change: transform;
  transition: transform 0.4s ease-out;
}

#content {
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none; /* évite de bloquer les clics des hotspots */
 
}

/* HOTSPOTS */
.hotspot {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255,0,0,0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  border: 2px solid white;
}
.hotspot:hover {
  background: yellow;
}
.hotspot-img {
    position: absolute;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
}

.hotspot-img:hover {
    transform: translate(-50%, -50%) scale(1.2);
    transition: 0.2s;
}
html, body, * {
    cursor: url("abeille3.png") 25   60, auto !important;
}
#controls {
  position: fixed;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 10px;
  z-index: 999;
}

#controls button {
  padding: 8px 14px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
}
#timeline {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

/* CERCLE DES MOIS */
#month-circle {
    position: fixed;
  
    left: 2%;
   bottom:2% ;
    transform: translateY(-50%);
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 243, 109, 0.4);
    backdrop-filter: blur(5px);
    border: 20  px solid #fbff804d;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 3000;
}

/* Style des mois */
#month-circle .month {
    position: absolute;
    color: rgb(100, 165, 21);
    font-size: 17px;
    font-family:bubu;
    cursor: pointer;
    font-weight: bold;
    transition: 0.25s;
   
}

/* Placement en cercle (12 mois = 30° chacun) */
#month-circle .month:nth-child(1) { transform: rotate(0deg) translate(110px) rotate(0deg); }
#month-circle .month:nth-child(2) { transform: rotate(30deg) translate(110px) rotate(-30deg); }
#month-circle .month:nth-child(3) { transform: rotate(60deg) translate(110px) rotate(-60deg); }
#month-circle .month:nth-child(4) { transform: rotate(90deg) translate(110px) rotate(-90deg); }
#month-circle .month:nth-child(5) { transform: rotate(120deg) translate(110px) rotate(-120deg); }
#month-circle .month:nth-child(6) { transform: rotate(150deg) translate(110px) rotate(-150deg); }
#month-circle .month:nth-child(7) { transform: rotate(180deg) translate(110px) rotate(-180deg); }
#month-circle .month:nth-child(8) { transform: rotate(210deg) translate(110px) rotate(-210deg); }
#month-circle .month:nth-child(9) { transform: rotate(240deg) translate(110px) rotate(-240deg); }
#month-circle .month:nth-child(10) { transform: rotate(270deg) translate(110px) rotate(-270deg); }
#month-circle .month:nth-child(11) { transform: rotate(300deg) translate(110px) rotate(-300deg); }
#month-circle .month:nth-child(12) { transform: rotate(330deg) translate(110px) rotate(-330deg); }

#month-circle .month:hover {
    color: rgb(255, 159, 26);
    
}

.month.active {
    color: #ffea49 !important;
    background: rgba(100, 165, 21, 0.675);
    width: 50px;
    height: 50px;
    line-height: 50px;      
    text-align: center;    
    border-radius: 50%;      
    display: inline-block;
}
#month-circle {
    position: fixed !important;
    left: 20px !important;
    bottom: 20px !important;
    top: auto !important;        /* empêche le top d'intervenir */
    transform: none !important;  /* annule le centrage vertical */
    z-index: 9999 !important;    /* FORCÉ tout devant */}

 
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* laisse passer les clics */
    z-index: 5; /* derrière hotspots */
    
}
















/* Grimoire fixe en haut à droite */
#grimoire {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 120px;         /* taille du livre */
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.25s ease;
}

#grimoire:hover {
    transform: scale(1.12);   /* agrandissement au survol */
}











.burger {
position: fixed;
top: 50px;
left: 50px;
width: 40px;
height: 40px;
z-index: 1000;
  transition: transform 0.2s;
}

.burger:hover {
  transform: scale(1.2);
}

.burger span {
display: block;
height: 4px;
background:   #446210;
margin-bottom: 5px;
border-radius: 2px;
transition: 0.3s;
}



/* Menu */
.menu {
position: fixed;
top: 0;
left: -250px;
width: 250px;
height: 40vh;
background: rgba(255, 243, 109, 0.4);

padding: 100px 20px;
transition: 0.3s;
display: flex;
flex-direction: column;
gap: 20px;
  font-family: "bubu";

}


.menu.open {
left: 0;

}


.menu a,
.menu button {
text-decoration: none;
background: #446210;
border: none;
padding: 12px 15px;
font-size: 16px;
border-radius: 8px;

cursor: pointer;
transition: 0.2s;
color: rgba(255, 243, 109, 0.4);
text-align: center;
  font-family: "bubu";

}



.menu a:hover,
.menu button:hover {
transform: scale(1.05);
}






