.gradient-background {
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 100px 100px;
  background-image: linear-gradient(to right, rgba(255,255,255,0.052) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  z-index: 2;
}

.floating-pills-wrapper {
  position: relative;
  width: 100vw;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.text-pill {
  padding: 6px 12px;
  border-radius: var(--bs-border-radius);
  font-size: 0.8rem;
  white-space: nowrap;
  color: var(--bs-secondary-color)!important;
  margin: 0;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  background-image: radial-gradient(circle at 0% 0%, var(--bs-primary-text-emphasis) 0%, transparent 20%), radial-gradient(circle at 100% 100%, #a0023765 0%, transparent 40%), radial-gradient(circle at 0% 100%, var(--bs-primary) 0%, transparent 10%), radial-gradient(circle at 100% 0%, var(--bs-info-bg-subtle) 0%, transparent 100%);
  background-size: 200% 200%;
}

.hero {
  /*z-index: 9;*/
}

@keyframes mouvementMesh {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 50% 50%;
  }
}

@keyframes floatPill {
  0%, 100% {
    transform: translate(0px, 0px) scale(var(--scale)) rotateZ(var(--rot));
  }
  33% {
    transform: translate(3px, -5px) scale(calc(var(--scale) * 1.015)) rotateZ(calc(var(--rot) + 1.5deg));
  }
  66% {
    transform: translate(-3px, 4px) scale(calc(var(--scale) * 0.985)) rotateZ(calc(var(--rot) - 1deg));
  }
}

@media (min-width: 992px) {
  .floating-pills-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
    perspective: 1000px;
    transform-style: preserve-3d;
  }
}

@media (min-width: 992px) {
  .marquee-track {
    animation: none;
    display: block;
  }
}

@media (min-width: 992px) {
  .text-pill {
    position: absolute;
    animation: floatPill 18s ease-in-out infinite, mouvementMesh 16s ease-in-out infinite alternate;
  }
}

@media (min-width: 992px) {
  .pill-1 {
    top: 8%;
    left: 4%;
    z-index: 10;
    --scale: 1;
    --rot: -8deg;
    animation-delay: 0s, -2s;
  }
}

@media (min-width: 992px) {
  .pill-2 {
    top: 22%;
    left: 22%;
    z-index: 10;
    --scale: 1.15;
    --rot: -12deg;
    animation-delay: -1.5s, -5s;
  }
}

@media (min-width: 992px) {
  .pill-3 {
    top: 40%;
    right: 8%;
    z-index: 1;
    --scale: 0.85;
    --rot: 12deg;
    animation-delay: -3.2s, -1s;
  }
}

@media (min-width: 992px) {
  .pill-4 {
    top: 15%;
    right: 22%;
    z-index: 1;
    --scale: 1;
    --rot: -5deg;
    animation-delay: -5s, -7s;
  }
}

@media (min-width: 992px) {
  .pill-5 {
    top: 48%;
    left: 55%;
    z-index: 1;
    filter: blur(4px);
    opacity: 0.4;
    --scale: 0.6;
    --rot: 8deg;
    animation-delay: -2.3s, -4s;
  }
}

@media (min-width: 992px) {
  .pill-6 {
    bottom: 25%;
    right: 28%;
    z-index: 1;
    filter: blur(1px);
    --scale: 0.75;
    --rot: -8deg;
    animation-delay: -4.1s, -8s;
  }
}

@media (min-width: 992px) {
  .pill-7 {
    bottom: 12%;
    right: 6%;
    z-index: 10;
    --scale: 1.3;
    --rot: 6deg;
    animation-delay: -6.5s, -3.5s;
  }
}

@media (min-width: 992px) {
  .pill-8 {
    bottom: 35%;
    left: 28%;
    z-index: 1;
    filter: blur(1px);
    --scale: 0.75;
    --rot: -9deg;
    animation-delay: -1.1s, -6s;
  }
}

@media (min-width: 992px) {
  .pill-9 {
    bottom: 18%;
    left: 10%;
    z-index: 10;
    --scale: 1.1;
    --rot: 10deg;
    animation-delay: -4.8s, -0.5s;
  }
}

.btnhover {
  background-color: var(--bleu_vif);
  border-color: rgba(134,247,231,0);
  box-shadow: 0 0 15px var(--bs-secondary);
  transform: translateY(-2px);
}

.icon_card {
  /*position: absolute;*/
  /*backdrop-filter: opacity(1);
  -webkit-backdrop-filter: opacity(1);*/
  /*height: 100%;*/
  /*width: 100%;*/
  /*background-size: cover;*/
  /*top: -25%;*/
  /*right: -25%;*/
  /*z-index: 1;*/
  /*opacity: 0.1;*/
}

.pastille_claire {
  background-color: color-mix(in srgb, var(--bs-card-bg) 60%, transparent);
  color: rgba(248,249,250,0.82);
}

@media (min-width: 992px) {
  .anim_hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }
}

