@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
}

.wrapper {
  background-color: #fff;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

.timeline-container {
  position: relative;
  width: 100%;
  height: fit-content;
  margin: 10px auto;
}

.box {
  position: relative;
  width: 50%;
  padding: 1rem 3rem;
  opacity: 0;
  animation: animateBox 0.3s linear forwards;
}

@keyframes animateBox {
  0% {
    opacity: 0.8;
    transform: translateY(500px) scale(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.box:nth-child(2) {
  animation-delay: 0s;
}
.box:nth-child(3) {
  animation-delay: 0.4s;
}
.box:nth-child(4) {
  animation-delay: 0.6s;
}
.box:nth-child(5) {
  animation-delay: 0.9s;
}
.box:nth-child(6) {
  animation-delay: 1s;
}
.box:nth-child(7) {
  animation-delay: 1s;
}
.box:nth-child(8) {
  animation-delay: 1s;
}
.box:nth-child(9) {
  animation-delay: 1s;
}
.box:nth-child(10) {
  animation-delay: 1s;
}
.box:nth-child(11) {
  animation-delay: 1s;
}

.box-left {
  left: 0;
}

.box-right {
  left: 50%;
}

/*   CIRCLE   */
.box i {
  position: absolute;
  background: linear-gradient(-311deg, #fff, #eee, #ddd);
  top: 44px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  border-radius: 50%;
  right: -15px;
  z-index: 10;
  /* color: red; */
  color: #cc0000;
  border: 4px solid #cc0000;
}

.box-right i {
  left: -15px;
}

.info {
  border-bottom: 2px;
  position: relative;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  background: #f0f0f0;
  color: #000;
  box-shadow: 0 12px 6px -6px #999;
  border: 4px solid #cc0000;
}

.info h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #cc0000;
}

.info p {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 24px;
}
.info a {
  text-decoration: none;
  color: #cc0000 !important;
  font-size: 1rem;
  font-weight: 500;
}

.info a:hover {
  text-decoration: underline;
  color: #000 !important;
}
.info::after {
  content: "";
  position: absolute;
  top: 25px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 14px solid #cc0000;
  right: -14px;
  z-index: 10;
}

.box-right .info::after {
  border-left: 0;
  border-right: 14px solid #cc0000;
  left: -14px;
}

.vertical-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 6px;
  height: 100%;
  transform: translateX(-50%);
  border-radius: 2px;
  background-color: #f0f0f0;
  animation: animateLine 3s linear forwards;
}

@keyframes animateLine {
  0% {
    height: 0;
  }

  100% {
    height: 100%;
  }
}

@media screen and (max-width: 775px) {
  .container {
    margin: 40px auto;
  }
  .vertical-line {
    left: 60px;
  }

    .box {
    width: 100%;
    /* padding-right: 1.5rem; */
    padding-left: 109px;
  }

  .box-left,
  .box-right {
    left: 0;
  }

  .box i {
    left: 45px;
  }

  .info::after {
    left: -16px;
  }

  .box-left .info::after {
    border-left: 0;
    border-right: 14px solid #cc0000;
    left: -14px;
  }

  /* .box i::after {
    content: "";
    width: 6px;
    height: 50px;
    background-color: red;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  } */
}

@media screen and (max-width: 500px) {
  .vertical-line {
    left: 40px;
  }

  .box {
    width: 100%;
    padding-right: 1.5rem;
    padding-left: 85px;
  }

  .box i {
    left: 25px;
  }

  /* .box i::after {
    content: "";
    width: 5px;
    height: 50px;
    background-color: red;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  } */
}