@charset "UTF-8";

@font-face {
    font-family:Antique;
    src: url(../fonts/Antique\ Medium\ 2.otf);
}

@font-face {
    font-family: airdrop;
    src: url(../fonts/airdrop-trial.otf);
}
html, body{
  width: 100%;
  height: 100%;
}

html {
  overflow-x: hidden;
}

body{
  width: 100dvw;
  overflow-x: hidden;

  overflow-y: scroll;
}



.animated-text {
    position: relative;
    display: inline-block;
    font-family: airdrop;
    font-size: 150px;
    text-align: center;
    animation: colorChange 6s ease-in-out infinite alternate;
  }
  
  @keyframes colorChange {
    0% {
      color: #0088ff;
      text-shadow: 0 0 10px #0088ff, 0 0 20px #0088ff, 0 0 30px #0088ff;
    }
    50% {
      color: #00ff88;
      text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, 0 0 30px #00ff88;
    }
    100% {
      color: red;
      text-shadow: 0 0 10px red, 0 0 20px red, 0 0 30px red;
    }
  }



h2 {
    font-size: 60px;
    font-family: Antique;
    color: antiquewhite;
}

h3 {
  font-size: 45px;
    font-family: Antique;
    color: antiquewhite;
}



/* cette classe anime le changement de couleur + ajoute une animation de défilement */
.gradient-title {
  animation: colorChange2 5s ease-in-out infinite alternate, defilement 5s linear infinite;

}
@keyframes colorChange2 {
  0% {
    color: #0088ff;
    text-shadow: 0 0 10px #0088ff, 0 0 20px #0088ff, 0 0 30px #0088ff;
  }
  50% {
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, 0 0 30px #00ff88;
  }
  100% {
    color: red;
    text-shadow: 0 0 10px red, 0 0 20px red, 0 0 30px red;
  }
}



.container {
  position: relative;
  z-index: 1;
}

#heart {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  animation: heartbeat 1s infinite;
}

#heart:before,
#heart:after {
  position: absolute;
  content: "";
  left: 90px;
  top: 0;
  width: 120px;
  height: 192px;
  background: red;
  -moz-border-radius: 70px 70px 0 0;
  border-radius: 70px 70px 0 0;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

#heart:after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

#heart::before,
#heart::after {
  opacity: 0.5;
}







.container {
  position: relative;
  z-index: 1;
}

#heart {
  position: absolute;
  top: 50%;
  left: 0;
  width: 300px;
  height: 300px;
  animation: moveHeart 5s linear infinite;
}

#heart:before,
#heart:after {
  position: absolute;
  content: "";
  left: 90px;
  top: 0;
  width: 120px;
  height: 192px;
  background: red;
  -moz-border-radius: 70px 70px 0 0;
  border-radius: 70px 70px 0 0;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

#heart:after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}

@keyframes moveHeart {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

#heart::before,
#heart::after {
  opacity: 0.5;
}









.container {
  position: relative;
  z-index: 1;
}

.heart {
  position: absolute;
  top: 50%;
  width: 100px;
  height: 100px;
  transform: translateY(-50%);
  background-color: red;
  border-radius: 50%;
  animation-duration: 5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.left {
  left: -100px;
  animation-name: moveLeft;
}

.right {
  right: -100px;
  animation-name: moveRight;
}

@keyframes moveLeft {
  0% {
    left: -100px;
  }
  100% {
    left: calc(100% + 100px);
  }
}

@keyframes moveRight {
  0% {
    right: -100px;
  }
  100% {
    right: calc(100% + 100px);
  }
}


body {
  background-image: url('../images/crop_1wqh-8ZdP-NX89U2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}





.ligne {
  height: 3px;
  width: 100%;
  background-color: white;
  position: relative;
  /* top: 50%; */
  animation: defilement 5s linear infinite;
}

@keyframes defilement {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

h4 {
  font-size: 30px;
    font-family: Antique;
    color: antiquewhite;
}








































@media only screen and (max-width: 768px)  {

  .animated-text {
    font-size: 80px;
  }
  
  h2 {
    font-size: 35px;
    font-family: Antique;
    color: antiquewhite;
}

h3 {
  font-size: 35px;
    font-family: Antique;
    color: antiquewhite;
}

h4 {
  font-size: 15px;
    font-family: Antique;
    color: antiquewhite;
}

  
  
   
  
    }
  
   
