/* MARK: fonts */
@font-face {
  font-family: "Seraphs";
  src: url("font/SeraphsVF.woff2") format("woff2"); /* Modern Browsers */
}

/* MARK: items */
body {
  font-family: "Seraphs";
  font-size: 25px;
  line-height: 1.5;
  margin: 0;
  font-weight: 100;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 40px;
}

.verse-one,
.verse-two {
  max-width: 100%;
}

.verse-one span,
.verse-two span {
  font-variation-settings:
    "wght" 100,
    "SRFS" 0;
  transition: font-variation-settings 0.3s ease-in-out;
}

.verse-one p:hover span,
.verse-two p:hover span {
  font-variation-settings:
    "wght" 175,
    "SRFS" 0;
}

.verse-one p,
.verse-two p {
  margin: 0;
  font-size: 60px;
  line-height: 1.2;
  font-weight: 100;
  text-align: center;
}

.bridge {
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-align: center;
}

.bridge p:nth-child(1) {
  margin-left: 0;
}

.bridge p:nth-child(2) {
  margin-left: 40px;
}

.bridge p:nth-child(3) {
  margin-left: 80px;
}

.bridge p:nth-child(4) {
  margin-left: 120px;
}

.bridge p:nth-child(5) {
  margin-left: 160px;
}

.bridge p:nth-child(6) {
  margin-left: 200px;
}

.bridge p:nth-child(7) {
  margin-left: 240px;
}

.bridge strong {
  font-size: 5rem;
}

.bridge p span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.bridge p:hover span {
  animation: wave 0.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 0.04s);
}

@keyframes wave {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-15px);
  }
}
