
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');


body {
    font-family: "Brawler", serif;
}

.bebas-neue-regular {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 500;
  font-style: normal;
}


#active {
    color: #020019;
    font-weight: bold;
}

.element-a-observer {
  opacity: 0;
  transform: translateY(-80px);
  transition: opacity 1.5s 0.8s ease-out, transform 1.5s 0.8s ease-out;
}

.element-a-observer.apparu {
  opacity: 1;
  transform: translateY(0);
}

#logo {
    width: 60px;
    aspect-ratio: 1;
    margin-right: 5px; 
    color: #4a85b099;
}

#menu {
transition: max-height 0.3s ease-out;
}
#hero {
    background-size: cover;
    width: 100%;
    min-height: 85vh;
    transition: 0.8s ease;
}

.cover1 {
    background: url(IMG/arriereplan1.avif);
    background-size: cover;
}
.cover2 {
    background: url(IMG/arriereplan2.avif);
    background-size: cover;
}
.cover3 {
    background: url(IMG/arriereplan3.avif);
    background-size: cover;
}
.cover4 {
    background: url(IMG/arriereplan4.avif);
    background-size: cover;
}

#infosup {
    transition: 0.8s ease;
}

#flooter_index {
    width: 100%;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0,);
}


#divpropos {
    transition: 1s ease-out;
}

#contact-bubble {
    right: -250px;
    animation: fast 2s infinite linear;
}

#contact-bubble:hover {
    right: 0;
    animation: none;
}

@keyframes fast {
    0% , 100%{
        right: -200px;
    }
    80%{
        right: -250px;
    }
}

.details {
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    border-radius: 15px;
}

.vibre {
    font-size: 30px;
    animation: vibre 2s infinite linear;
}

@keyframes vibre {
    0%, 100%{
        transform: translateY(-10px);
    }
    20% {
        transform: translateY(50px);
    }
    80%{
        transform: translateY(0);
    }
}

.shine {
    background: url(IMG/medical-doctor-girl-working-with-microscope-young-female-scientist-doing-vaccine-research.avif);
    background-size: cover;
}

.contact {
    background-image: url(IMG/african-american-man-customer-support-operator-with-hands-free-headset-working-office.avif);
    background-size: cover;
    background-position: 50%;
}

.produit {
    background-image: url(IMG/minimalistic-science-banner-with-pills_23-2149431123.avif);
    background-size: cover;
    background-position: 50%;
}
  
  
  @keyframes rise {
    0% {
      opacity: 0;
      transform: translateY(0);
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: translateY(-100vh);
    }
  }

.nav-item {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 500;
padding: 0.25rem 0.5rem; /* équivalent px-2 py-1 */
}

.nav-text {
position: relative;
z-index: 10;
}

.nav-icon {
position: absolute;
opacity: 0;
transform: translate(-50%, -50%) scale(0);
transition: all 0.5s ease;
top: 0;
left: 50%;
z-index: 0;
color: white;
font-size: 1.25rem;
}

.group:hover .nav-icon {
opacity: 1;
transform: translate(-50%, -50%) scale(2);
top: 150%;
}

.group:hover .nav-text {
color: white;
}


.hide {
    opacity: 0;
    pointer-events: none;
}

.border-gray-900 {
    border-bottom: 2px dotted cornflowerblue;
}

#CTA {
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  position: relative;
}

#CTA:hover {
  color: #ffffff;
  transform: scale(1.1);
  outline: 2px solid #70bdca;
  box-shadow: 4px 5px 17px -4px #268391;
  transition: ease-in 0.5s;
}

#CTA::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #2c9caf;
  transform: skewX(45deg);
  z-index: -1;
  transition: width 1000ms;
}

#CTA:hover::before {
  width: 250%;
}

.card {
  background-color: transparent;
  padding: 0.5rem 2rem;
  border-radius: 1.25rem;
}
.loader {
  color: rgb(255, 255, 255);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 25px;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 40px;
  padding: 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 8px;
}

.words {
  overflow: hidden;
  position: relative;
}
.words::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    var(--bg-color) 10%,
    transparent 30%,
    transparent 70%,
    var(--bg-color) 90%
  );
  z-index: 20;
}

.word {
  display: block;
  height: 100%;
  padding-left: 6px;
  animation: spin_4991 6s infinite;
}

@keyframes spin_4991 {
  10% {
    -webkit-transform: translateY(-102%);
    transform: translateY(-102%);
  }

  25% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  35% {
    -webkit-transform: translateY(-202%);
    transform: translateY(-202%);
  }

  50% {
    -webkit-transform: translateY(-200%);
    transform: translateY(-200%);
  }

  60% {
    -webkit-transform: translateY(-302%);
    transform: translateY(-302%);
  }

  75% {
    -webkit-transform: translateY(-300%);
    transform: translateY(-300%);
  }

  85% {
    -webkit-transform: translateY(-402%);
    transform: translateY(-402%);
  }

  100% {
    -webkit-transform: translateY(-400%);
    transform: translateY(-400%);
  }
}


