@import url("https://rsms.me/inter/inter.css");


.floating-logo {

  width: 100vw;

  display: flex;
  justify-content: center;
  align-items: center;
  animation: floating 5s cubic-bezier(0.37, 0, 0.63, 1) infinite;
  color: #fae8e0;
  font-weight: 900;
  font-size: 15vw;
    font-family: "Inter var", sans-serif;
}

.tilt {

  display: flex;
  justify-content: center;
  align-items: center;
  animation: tilting 10s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

.floating-logo span {
  transition: font-weight 0.4s ease-in;
  animation: floating-secondary 2.5s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}


.floating-logo span:hover {
  font-weight: 100; 
}




.floating-logo span:nth-child(1) {
  animation-delay: 1s;
}
.floating-logo span:nth-child(2) {
  animation-delay: 2s;
}
.floating-logo span:nth-child(3) {
  animation-delay: 3s;
}
.floating-logo  span:nth-child(4) {
  animation-delay: 4s;
}
.floating-logo  span:nth-child(5) {
  animation-delay: 5s;
}
.floating-logo span:nth-child(6) {
  animation-delay: 6s;
}
.floating-logo  span:nth-child(7) {
  animation-delay: 7s;
}



@keyframes floating {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, 5vh);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes floating-secondary {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, 1vh);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes tilting {
  0% {
    transform: rotate(1deg);
  }
  50% {
    transform: rotate(-1deg);
  }
  100% {
    transform: rotate(1deg);
  }
}