/* General layout */
body {
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #121212;
  color: #f0f0f0;
  text-align: center;
  overflow: hidden;
}

/* Logo animation */
.myriad-logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 30px;
  animation: logo-zoom 1.6s ease-out forwards;
}

@keyframes logo-zoom {
  0% {
    transform: scale(100);
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Fade-in for text */
.fade-in {
  opacity: 0;
  animation: fade-in 2s ease-in forwards;
  animation-delay: 1s; /* starts after logo zoom */
}

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

/* Fade-in for text */
.fade-in-first {
  opacity: 0;
  animation: fade-in 2s ease-in forwards;
  animation-delay: 1s; /* starts after logo zoom */
}

@keyframes fade-in-first {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Fade-in for text */
.fade-in-second {
  opacity: 0;
  animation: fade-in 2s ease-in forwards;
  animation-delay: 4s; /* starts after logo zoom */
}

@keyframes fade-in-second {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact info */
.contact-info {
  margin-top: 10px;
  font-family: 'Libre Baskerville', serif;
  color: #e0e0e0;
  line-height: 1.6;
}

.contact-info a {
  color: #00AEEF;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Social icons */
.social-icons {
  margin-top: 25px;
}

.social-icon {
  width: 35px;
  height: 35px;
  margin: 0 10px;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Footer */
footer {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

footer a {
  color: #aaa;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #fff;
}

body.legal-page {
  background-color: #111;
  color: #f0f0f0;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.legal-content {
  width: 100%;
  max-width: 700px;
  margin: 4rem 1rem;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  line-height: 1.7;
  text-align: left; /* ✅ Makes paragraphs easy to read */
}

.legal-content h1 {
  text-align: center;
  font-family: 'Libre Baskerville', serif;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.legal-content p {
  margin-bottom: 1.2rem;
}

.legal-content a {
  color: #00b4ff;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  margin-top: 2rem;
}