#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #121212;
  z-index: 1000;
}
@keyframes pulseZoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.enter-image {
  width: 200px;
  height: auto;
  animation: pulseZoom 1.5s ease-in-out infinite;
}

#enter-btn {
  cursor: pointer;
}
.enter-image {
  width: 300px;
  height: 280px;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:"Inter", sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  line-height: 1.6;
}

main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}
section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.1rem;
}
section p {
  font-size: 1.05rem;
  color: #d0d0d0;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
footer {
  text-align: center;
  padding: 0.1rem;
  background-color: #0e151d;
}
.video-container {
  position: relative;
  width: 100%;
  margin: 1rem 0;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
}
.certificate {
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 4px;
  object-fit: cover;
}
.certificate:hover {
  transform: scale(1.05);
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
  display: block;
  margin: 5% auto;
  max-width: 90%;
  max-height: 80vh;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}
.close:hover {
  color: #bb86fc;
}
.link-hover {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  background: #131c29;
  color: #e6e6e6;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid #e6e6e6;
  transition: color 0.2s ease, transform 0.2s ease;
}

.link-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}

.link-hover:hover::before {
  transform: translateX(0);
}

.link-hover:hover {
  transform: translateY(-2px);
}




.center-embed {
  text-align: center;
}
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 6px;
  width: 0%;
  background: #616bff;
  z-index: 10001;
}

.cube-3d {
  display: inline-block;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 0.1s ease-out;
}

.cube-3d:hover {
  transform: perspective(800px) rotateY(20deg) rotateX(20deg);
}
.image-container {
  display: flex;
  justify-content: center;
  gap: 10px; 
}

.image-2d {
  width: auto;
  max-width: 400px;
  height: auto;
}

@keyframes rotateTiltPop {
  0% {
    transform: rotate(0deg) rotateX(0deg) rotateY(0deg) scale(1);
  }
  20% {
    transform: rotate(72deg) rotateX(5deg) rotateY(-5deg) scale(0.8);
  }
  40% {
    transform: rotate(144deg) rotateX(-5deg) rotateY(5deg) scale(1.2);
  }
  60% {
    transform: rotate(216deg) rotateX(3deg) rotateY(-3deg) scale(0.9);
  }
  80% {
    transform: rotate(288deg) rotateX(-2deg) rotateY(2deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) rotateX(0deg) rotateY(0deg) scale(1);
  }
}

.animate-rotate-tilt-pop {
  animation: rotateTiltPop 0.8s ease-in-out;
}

.imglink {
  width: 50%;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.3s ease;
  object-fit: cover;
}
.logon {
  width: 70%;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.logon:hover {
  transform: scale(1.05);
  animation: jellyClick 0.6s ease;
}

.separateur {
  width: 70%;
  height: auto;
  display: block;      
  margin: 0 auto;      
  object-fit: cover;
}

.separateur_titre {
  width: 100%;
  height:auto;
  display: block;
  margin: 0 auto;      
  object-fit: cover;
}

@keyframes jellyClick {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.2, 0.8);
  }
  50% {
    transform: scale(0.8, 1.2);
  }
  75% {
    transform: scale(1.1, 0.9);
  }
  100% {
    transform: scale(1);
  }
}

.imglink:hover {
  transform: scale(1.05);
  animation: jellyClick 0.6s ease;
}

h3 {
  font-size: 1.5rem;   
  font-weight: 600;   
  color: #e5e5e5;      
  margin-bottom: 0.8rem;
  margin-top: 1.8rem;
}

.card {
  border: 2px solid #4a9cff;
  border-color: #4a9cff;
}

.channel {
  width: 45%;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.channel:hover {
  transform: scale(1.05);
}