@font-face {
  font-family: 'Commissioner';
  src: url('fonte/commissioner/Commissioner.woff2') format('woff2-variations');
     font-weight: 100 900;
}
.commissioner {
  font-variation-settings: "wght" var(--commissioner-wght), "slnt" var(--commissioner-slnt), "FLAR" var(--commissioner-flar), "VOLM" var(--commissioner-volm);
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonte/space-grotesk/SpaceGrotesk.woff2") format('woff2 supports variations'),
  url('SpaceGrotesk.woff2') format('woff2-variations');
  font-weight: 200 800;
}

.space-grotesk {
  font-variation-settings: "wght" var(--space-grotesk-wght);
}


body {
    background: no-repeat;
    background-image : url(image/island.png); 


h1 {
  font-family: 'Commissioner';
  height: 150px;
    font-size: 250px;
    text-align: center;
    margin-top: auto;
    color: rgb(255, 43, 209);
 
}
 
}

h1 { animation: mutant 5s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate; }
@keyframes mutant {
    0% { font-variation-settings: "wdth" 0, "wght" 0 }
    25% { font-variation-settings: "wdth" 2000, "wght" 0 }
    50% { font-variation-settings: "wdth" 1000, "wght" 1000 }
    75% { font-variation-settings: "wdth" 0, "wght" 3000 }
    100% { font-variation-settings: "wdth" 500, "wght" 0 }
}

.til-14-11-2025 {
     font-family: 'Commissioner'; 
}

p { animation: mutant 5s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate; }
@keyframes mutant {
    0% { font-variation-settings: "wdth" 0, "wght" 0 }
    25% { font-variation-settings: "wdth" 1000, "wght" 0 }
    50% { font-variation-settings: "wdth" 1000, "wght" 1000 }
    75% { font-variation-settings: "wdth" 0, "wght" 1000 }
    100% { font-variation-settings: "wdth" 0, "wght" 0 }
}

#music-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  cursor : pointer; 
}

#music-icon {
  width: 90px;
  transition: opacity 0.3s;
}

#music-button:hover #music-icon {
  opacity: 0.8;
}


/* ===== Icônes ===== */
.sidebar {
  position :fixed; 
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display:table;
  flex-direction:column; 
  gap: 25px;
}

.icon img {
  width: 60px;
  cursor: pointer;
  transition: transform 0.2s;
}

.icon img:hover {
  transform: scale(1.1);
}


.popup {
  position:fixed; 
  pointer-events: none;   
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.close {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
}

.popup.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
  cursor: grabbing;
}



.popup-box {
  background: #ebfeff;
  padding: 20px;
  border-radius: 12px;
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border: 2px solid #4177ff;
  position: absolute;
  cursor: grab;
}


.compo{
    display: flex;
    gap: 40px;
    flex-direction: column;
}

.choux{
    border-top: 2px;
    border-color: aquamarine;
    background-color: antiquewhite;
}


