:root{

/*      Theme colors        */
--ourBlue:rgb(42, 92, 133);
--text-gray: #3f4954;
--text-light : #686666da;
--bg-color: #0f0f0f;
--white: #ffffff;
--midnight: #104f55;

/* gradient color   */
--sky: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
--dark-sky: linear-gradient(to right, #243949 0%, #517fa4 100%);
--light-sky: linear-gradient(45deg, #93a5cf 0%, #e4efe9 100%);
--extra-light-sky: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);

/*      theme font-family   */
--Montserrat: 'Montserrat', cursive;
--Roboto: 'Roboto', cursive;
--WaitingForTheSunrise: "WaitingForTheSunrise", cursive;
--Abel: 'Abel', cursive;
--Anton: 'Anton', cursive;
--Josefin : 'Josefin', cursive;
--Lexend: 'Lexend', cursive;
--Livvic : 'Livvic', cursive;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 400px;
  margin: 0 0;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: steelblue;
  top: 0;
  bottom: 0;
  left: 65%;
  margin-left: -1px;
}

/* Container around content */
.ms-container {
  padding: 3px 30px;
  margin: 0rem;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.ms-container h3{
  font-family: var(--Josefin);
  font-size: 0.9rem;
  margin: 0.7rem 0rem;
}

.ms-container p{
  font-family: var(--Josefin);
  font-size: 0.8rem;
  margin: 0rem;
}

/* The circles on the timeline */
.ms-container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid #FF9F55;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.ms-left {
  left: 0;
}

/* Place the container to the right */
.ms-right {
  left: 65%;
}

/* Add arrows to the left container (pointing right) */
.ms-left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 18px;
  width: 0;
  z-index: 1;
  right: 20px;
  border: solid 1px blue;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent steelblue;
}

/* Add arrows to the right container (pointing left) */
.ms-right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 20px;
  border: solid 1px blue;
  border-width: 10px 10px 10px 0;
  border-color: transparent steelblue transparent transparent;
}

/* Fix the circle for containers on the right side */
.ms-right::after {
  left: -16px;
}

/* The actual content */
.milestone {
  padding: 5px 5px;
  margin: 0rem;
  background-color: white;
  border: solid 1px;
  border-color: steelblue;
  position: relative;
  border-radius: 9px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  .timeline::after {
  left: 31px;
  }
  
  /* Full-width containers */
  .ms-container {
  width: 100%;
  padding-left: 70px;
  padding-right: 25px;
  }
  
  /* Make sure that all arrows are pointing leftwards */
  .ms-container::before {
  left: 60px;
  border: medium solid blue;
  border-width: 10px 10px 10px 0;
  border-color: transparent steelblue transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .ms-left::after, .ms-right::after {
  left: 15px;
  }
  
  /* Make all right containers behave like the left ones */
  .ms-right {
  left: 0%
  }
}