body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
}

h1 {
  margin: 0;
  font-size: 4em;
}

h2 {
  margin: 0;
  font-size: 3em;
  font-weight: normal;
  display: flex;
  flex-direction: column;
  text-align: center;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1e3a8a;
  z-index: 1;
  animation: fadeOut 3s forwards;
}

.link-container {
  display: flex;
  justify-content: flex-end;
  align-items: right;
  gap: 10px;
  z-index: 3;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home-link a:link, .home-link a:visited {
  color: #1e3a8a;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  margin: 0 10px;
  font-size: 1.5em;
  z-index: 3;
}

#animatedTitle {
  font-size: 8em;
  color: white;
  z-index: 2;
  animation: shrinkTitle 3s forwards, changeColor 3s forwards;
}

.main-content {
  background-color: #1e3a8a;
  border-radius: 4px;
  text-align: left;
  width: 100%;
}

#namesStripe {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 0;
  opacity: 0;
  transition: opacity 1ms;
  padding-bottom: 2%;
}

#name0 {
  font-size: 3em;
  text-decoration: underline;
  font-weight: bolder;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: whitesmoke;
  opacity: 0;
  animation: sweepIn 1s forwards;
  animation-delay: 3s; /* Starts after the overlay fades out */
  margin-bottom: 10px;
}

#name1 {
  font-size: 3em;
  font-weight: bold;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: whitesmoke;
  opacity: 0;
  animation: sweepIn 1s forwards;
  animation-delay: 4s; /* Starts after the overlay fades out */
  margin-bottom: 10px;
}

#name2 {
  font-size: 2.5em;
  color: white;
  opacity: 0;
  animation: sweepIn 1s forwards;
  animation-delay: 6s; /* Starts after the overlay fades out */
}

#name3 {
  font-size: 2.5em;
  color: white;
  opacity: 0;
  animation: sweepIn 1s forwards;
  animation-delay: 7s; /* Starts after the overlay fades out */
}

#name4 {
  font-size: 2.5em;
  color: white;
  opacity: 0;
  animation: sweepIn 1s forwards;
  animation-delay: 8s; /* Starts after the overlay fades out */
}

#name5 {
  font-size: 3em;
  font-weight: bolder;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: whitesmoke;
  opacity: 0;
  animation: sweepIn 2s forwards;
  animation-delay: 9s; /* Starts after the overlay fades out */
}

#name6 {
  font-size: 2.5em;
  color: white;
  opacity: 0;
  animation: sweepIn 2s forwards;
  animation-delay: 9.5s; /* Starts after the overlay fades out */
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

@keyframes shrinkTitle {
  to {
    font-size: 4em;
    transform: translateY(-100px);
  }
}

@keyframes changeColor {
  to {
    color: #1e3a8a;
  }
}

@keyframes sweepIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
