body {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d2b 100%);
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
  color: white;
}

.timeline {
  justify-content: center;
  align-items: center;
  width: 75%;
  margin: 0 auto;
  position: relative;
}

.cientista {
  width: 30%;
  text-decoration: none;
  color: white;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 0 12.5%;
  margin-bottom: 1%;
  transition:
    transform 0.5s ease,
    all 0.5s ease;
  position: relative;
  z-index: 1;
}

.cientista:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px blue);
}

.cientista img {
  width: 130px;
  height: 130px;
  max-width: 100%;
  border-radius: 50%;
  border: 5px solid blue;
  object-fit: cover;
  transition: box-shadow 0.5s ease;
}

.cima {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.baixo {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin-top: 20px;
}

.timeline-line {
  position: absolute;
  width: 100%;
  height: 4px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.timeline-bar {
  position: absolute;
  left: 5.5%;
  top: 0;
  width: 90%;
  height: 4px;
  background-color: rgb(49, 49, 255);
}

.connector {
  position: absolute;
  width: 3px;
  background-color: rgb(49, 49, 255);
  border-radius: 2px;
}

.connector.up {
  height: 15px;
  top: -15px;
}

.connector.down {
  height: 15px;
  top: 3px;
}

h1 {
  font-size: 2.5rem;
  animation: slideDown 1s ease;
  text-align: center;
  margin-top: 30px;
  font-family: "Fredoka", sans-serif;
  color: #ffffff;
  text-shadow:
    2px 2px 4px #000000,
    0 0 10px rgba(0, 50, 255, 0.5);
  margin-bottom: 50px;
  position: relative;
}

hr {
  left: 10%;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 90%;
  height: 4px;
  background-color: rgb(49, 49, 255);
  z-index: 0;
  border: none;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    top: 40px;
  }

  100% {
    opacity: 1;
    top: 0;
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    top: -40px;
  }

  100% {
    opacity: 1;
    top: 0;
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

.delay1 {
  animation-delay: 0.2s;
}

.delay2 {
  animation-delay: 0.4s;
}

.delay3 {
  animation-delay: 0.6s;
}

.delay4 {
  animation-delay: 0.8s;
}

.delay5 {
  animation-delay: 1s;
}

.delay6 {
  animation-delay: 1.2s;
}

.delay7 {
  animation-delay: 1.4s;
}