@font-face {
  font-family: 'Trident';
  src: local('Trident'),
      url('/fonts/AcPlus_AST_PremiumExec.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  /* background-color: ivory; */
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Times New Roman', Times, serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: ivory;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(1.8px);
  }
  50% {
    transform: translateY(-1.8px);
  }
}

.page-container {
  width: 90%;
  max-width: 530px;
  margin: 0 auto;
  padding: 10px;
  text-align: left;
  animation: fadeInContent 0.4s ease-out 0.2s forwards;
  opacity: 0;
  border-radius: 8px;
  flex: 1;
}

a, a:visited {
  color: #0a5a3d;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}
a:hover {
  color: #ff6b6b;
}

.float-word {
  display: inline-block;
  animation: gentleFloat 2s ease-in-out infinite;
}
.float-word:nth-child(1) { animation-delay: 0s; }
.float-word:nth-child(2) { animation-delay: 0.2s; }
.float-word:nth-child(3) { animation-delay: 0.4s; }
.float-word:nth-child(4) { animation-delay: 0.6s; }
.float-word:nth-child(5) { animation-delay: 0.8s; }
.float-word:nth-child(6) { animation-delay: 1s; }
.float-word:nth-child(7) { animation-delay: 1.2s; }
.float-word:nth-child(8) { animation-delay: 1.4s; }

