/* From Uiverse.io by DanielIdow65799 */ 
.svg-frame {
  position: relative;
  width: 30px;
  height: 30px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.svg-frame svg {
  position: absolute;
  transition: 0.1s;
  z-index: calc(1 - (0.2 * var(--j)));
  transform-origin: center;
  width: 344px;
  height: 344px;
  fill: none;
}

.svg-frame:hover svg {
  transform: rotate(-80deg) skew(30deg) translateX(calc(45px * var(--i)))
    translateY(calc(-35px * var(--i)));
}

.svg-frame svg #center {
  transition: 0.1s;
  transform-origin: center;
}

.svg-frame:hover svg #center {
  transform: rotate(-30deg) translateX(45px) translateY(-3px);
}

#out2 {
  animation: rotate16 2s ease-in-out infinite alternate;
  transform-origin: center;
}

#out3 {
  animation: rotate16 2s ease-in-out infinite alternate;
  transform-origin: center;
  stroke: #ffb86c;
}

#inner3,
#inner1 {
  animation: rotate16 1s ease-in-out infinite alternate;
  transform-origin: center;
}

#center1 {
  fill: #cc8539;
  animation: rotate16 1s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes rotate16 {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate16 {
  to {
    transform: rotate(360deg);
  }
}



#main-content {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.77,0,.18,1);
}
#main-content.visible {
  opacity: 1;
}




.horizontal-scroll-wrapper,
.horizontal-scroll-container,
.infinite-scroll,
.scroll-item {
  position: relative !important;
  z-index: 1 !important;
}










.github-carde {
     border-radius: 8px;
     border: 1.5px solid #30363d;
     background: rgba(13, 17, 23, 0.85);
     transition:
         box-shadow 0.3s cubic-bezier(.4, 0, .2, 1),
         transform 0.3s cubic-bezier(.4, 0, .2, 1),
         border-color 0.3s cubic-bezier(.4, 0, .2, 1),
         background 0.3s cubic-bezier(.4, 0, .2, 1);
     box-shadow: 0 1px 3px 0 rgba(10, 12, 16, 0.07) inset;
     position: relative;
     overflow: hidden;
 }

 .github-carde:hover {
     border-color: #388bfd;
     background: linear-gradient(120deg, rgba(13, 17, 23, 0.7) 80%, rgba(56, 139, 253, 0.06) 100%);
     box-shadow:
         0 4px 12px 0 rgba(56, 139, 253, 0.09),
         0 1px 3px 0 rgba(10, 12, 16, 0.07) inset;
     transform: scale(0.95) ;
 }

 .github-carde::before {
     content: "";
     position: absolute;
     inset: -2px;
     border-radius: 12px;
     background: radial-gradient(circle, rgba(56, 139, 253, 0.12) 0%, rgba(13, 17, 23, 0) 80%);
     opacity: 0;
     z-index: 1;
     pointer-events: none;
     transition: opacity 0.3s;
      
 }

 .github-carde:hover::before {
     opacity: 1;
 }

 .github-carde .card-title,
 .github-carde .glow {
     transition: color 0.3s, text-shadow 0.3s;
 }

 .github-carde:hover .card-title,
 .github-carde:hover .glow {
     color: #58a6ff;
     text-shadow: 0 0 4px #388bfd77, 0 0 12px #388bfd33;
 }














 
.terminal-bg-canvas {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
  border-radius: 0.375rem;
}
.terminal {
  position: relative;
  z-index: 2;
  
}

.footer-bg-canvas {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
  border-radius: 0.375rem;
}
footer.relative {
  overflow: hidden; /* pour éviter que le canvas ne déborde */
}


body, html {
     
    }

.cursor {
  width: 50px;
  height: 50px;
  border:  #2386ee;
  border-radius: 50%;
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  background: rgba(35, 133, 238, 0.253);
  transition: border-color 0.2s, background 0.2s, width 0.2s, height 0.2s;
}

.cursor-dot {
  width: 10px;
  height: 10px;
  background: #2386ee;
  border-radius: 50%;
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: background 0.2s, width 0.2s, height 0.2s;
}