@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css');

/* main container */
.animated-container {
  position: relative;
  height: 1000px;
  overflow: hidden;
  font-family: "Calibri", sans-serif;
}

.animated-header {
  text-align: center;
  padding-top: 50px;
  margin-left: auto;
  margin-right: auto;
  width: 1000px;
}

.animated-header p {
  margin-top: -5%;
}
/* timeline container */
.timeline-container {
  margin-top: 20%;
  padding-bottom: 95px;
}


/* mobile for timeline */
@media only screen and (max-width: 1700px) {
    .timeline-container {
        margin-top: 25%;
      }
}

@media only screen and (max-width: 1440px) {
    .timeline-container {
        margin-top: 30%;
      }
}

@media only screen and (max-width: 1050px) {
    .timeline-container {
        margin-top: 35%;
      }
}

@media only screen and (max-width: 860px) {
    .timeline-container {
        margin-top: 40%;
      }

}

/* this creates the dotted line */
.animated-line {
  width: 100%;
  height: 10px;
  border-bottom: 2px dashed rgb(197,189,220);
}

.cmo-circle {
  text-align: center;
  top: -180%;
  left: 47%;
  border-radius: 50px;
  border: 4px solid white;
  position: absolute;
  width: 90px;
  height: 90px;
  opacity: 100%;
  transition: 0.5s;
}

.cmo-circle p {
  margin-top: 25px;
}



.timeline {
  position: relative;
  width: 100%;
  height: 20px;
  text-align: justify;
  background: -webkit-gradient(
    left top,
    left bottom,
    color-stop(0%, rgba(255, 255, 255, 0)),
    color-stop(45%, rgba(255, 255, 255, 0)),
    color-stop(51%, rgb(41, 10, 54)),
    color-stop(57%, rgba(255, 255, 255, 0)),
    color-stop(100%, rgba(255, 255, 255, 0))
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 45%,
    white,
    rgba(255, 255, 255, 0) 57%,
    rgba(255, 255, 255, 0) 100%
  );

}

/* used to hide items */
.hide-item {
  visibility: hidden;
  opacity: 0;
}


/* content */
.animated-content {
  display: flex;
  margin-top: 4px;
  opacity: 100%;
  transition: 0.6s;
}

.animated-section {
  min-width: 20%;
  overflow: hidden;
  text-align: left;
  padding: 10px;
  margin: 3px;
  height: 240px;
}




.animated-section p {
  margin-top: -17px;
}









/* fade in out, we might use these for future animations */ 
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    transform: translateY(0px);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s both;
}


/* This section of code is seperated by items */

/* ------------- first item "top left" ------------- */

.timeline-item1 {
  position: absolute;
  border-radius: 10px 10px 10px 0;
  width: 280px;
  height: 100px;
  left: 25%;
  bottom: 320%;
  padding: 10px;
  transition: 0.30s;
}

.timeline-item1-hover {
  position: absolute;
  border-radius: 10px 10px 10px 0;
  width: 30%;
  height: 270px;
  left: 25%;
  bottom: 320%;
  padding: 10px;
  transition: 0.30s;
}

.item-line-1 {
  width: 0px;
  position: absolute;
  height: 60px;
  left: 25%;
  top: -240%;
  transition: 0.30s;
}

.dot1 {
  position: absolute;
  width: 10px;
  height: 10px;
  left: 24.8%;
  top: 25%;
  border-radius: 20px;
  transition: 0.30s;
}

/* ------------- Second item "Bottom left" ------------- */

.timeline-item2 {
  position: absolute;
  border-radius: 0px 10px 10px 10px;
  width: 210px;
  height: 100px;
  left: 7%;
  top: 320%;
  padding: 10px;
  transition: 0.30s;
}

.timeline-item2-hover {
    position: absolute;
    border-radius: 0px 10px 10px 10px;
    width: 35%;
    height: 270px;
    left: 7%;
    top: 320%;
    padding: 10px;
    transition: 0.30s;
  }

@media only screen and (max-width: 1030px) {
  .timeline-item2-hover {
       left: 20.3%;
  }
  .timeline-item2 {
        left: 20.3%;
  }
  
  .animated-line {
    display: none;
  }
  
  .dot2 {
      left: 20.3%;
  }
  
  .line-bottom1 {
      left: 20.1%;
  }
}

  .item-line-2 {
    width: 0px;
    position: absolute;
    height: 60px;
    left: 7%;
    top: 30%;
    transition: 0.30s;
  }

.dot2 {
  position: absolute;
  width: 10px;
  height: 10px;
  left: 6.8%;
  top: 25%;
  border-radius: 20px;
  transition: 0.30s;
}

/* ------------- Third Item item "Top right" ------------- */

.timeline-item3 {
  position: absolute;
  border-radius: 10px 10px 10px 0px;
  width: 280px;
  height: 100px;
  left: 63%;
  bottom: 320%;
  padding: 10px;
  transition: 0.30s;
}

.timeline-item3-hover {
    position: absolute;
    border-radius: 10px 10px 10px 0px;
    width: 30%;
    height: 270px;
    left: 63%;
     bottom: 320%;
    padding: 10px;
    transition: 0.30s;
  }

.dot3 {
  position: absolute;
  width: 10px;
  height: 10px;
  left: 62.8%;
  top: 25%;
  border-radius: 20px;
  transition: 0.30s;
}

.item-line-3 {
  width: 0px;
  position: absolute;
  height: 50px;
  height: 60px;
  left: 63%;
   top: -240%;
  transition: 0.30s;
}



/* ------------- Fourth item "bottom right" ------------- */

.timeline-item4 {
    position: absolute;
    border-radius: 0px 10px 10px 10px;
    width: 250px;
    height: 100px;
    left: 45%;
    top: 320%;
    padding: 10px;
    transition: 0.30s;
  }

.timeline-item4-hover {
  position: absolute;
  border-radius: 0px 10px 10px 10px;
  width: 30%;
  height: 270px;
  left: 45%;
  top: 320%;
  padding: 10px;
 transition: 0.30s;
}


.dot4 {
  position: absolute;
  width: 10px;
  height: 10px;
  left: 44.8%;
  top: 25%;
  border-radius: 20px;
  transition: 0.30s;
}

.item-line-4 {
  width: 0px;
  position: absolute;
  height: 60px;
  left: 45%;
  top: 60%;
  bottom: 55%;
  transition: 0.30s;
}



/* item 5 */

.timeline-item5 {
    position: absolute;
    border-radius: 0px 10px 10px 10px;
    width: 230px;
    height: 100px;
    left: 80%;
      top: 320%;
    padding: 10px;
    transition: 0.30s;
  }

.timeline-item5-hover {
  position: absolute;
  border-radius: 0px 10px 10px 10px;
  width: 18%;
  height: 270px;
  left: 80%;
   top: 320%;
  padding: 10px;
 transition: 0.30s;
}


.dot5 {
  position: absolute;
  width: 10px;
  height: 10px;
  left: 79.8%;
  top: 25%;
  border-radius: 20px;
  transition: 0.30s;
}

.item-line-5 {
  width: 0px;
  position: absolute;
  height: 60px;
  left: 80%;
  top: 60%;
  bottom: 55%;
  transition: 0.30s;
}


/* item 6 */

.timeline-item6 {
    position: absolute;
    border-radius: 0px 10px 10px 10px;
    width: 230px;
    height: 60px;
    left: 57%;
    top: 320%;
    padding: 10px;
    transition: 0.30s;
  }

.timeline-item6-hover {
  position: absolute;
  border-radius: 0px 10px 10px 10px;
  width: 40%;
  height: 270px;
  left: 57%;
  top: 320%;
  padding: 10px;
 transition: 0.30s;
}


.dot6 {
  position: absolute;
  width: 10px;
  height: 10px;
  left: 56.8%;
  top: 25%;
  border-radius: 20px;
  transition: 0.30s;
}

.item-line-6 {
  width: 0px;
  position: absolute;
  height: 60px;
  left: 57%;
  top: 60%;
  bottom: 55%;
  transition: 0.30s;
}





/* used for on scroll animations */

.timeline-item-left-scroll {
    left: 25% !important;
}

.timeline-item-left-scroll-dot {
    left: 24.8% !important;
}

.timeline-item-middle-scroll {
    left: 45% !important;
}

.timeline-item-middle-scroll-dot {
    left: 44.8% !important;
}

.timeline-item-right-scroll {
    left: 65% !important;
}

.timeline-item-right-scroll-dot {
    left: 64.8% !important;
}


/* ------------- Image Section------------- */
.animated-container img {
  position: absolute;
  width: 32px;
  left: 13%;
}

/* specified for longer sections */
.image-section-long {
  position: absolute;
  display: grid;
  grid-template-columns: 20% auto;
  left: -4%;
  width: 210px;
  height: 40px;
  transition: 0.10s;
}


.image-section-m {
    position: absolute;
    background-color: white;
    display: grid;
    grid-template-columns: 40% auto;
    top: -20%;
    left: -0%;
    width: 200px;
    height: 60px;
}

.image-section-m h3 {
   position: absolute;
   left: 22%;
}

.image-section-m img {
  margin-left: -11%;
  margin-top: 8px;
}


/* Normal sections */

.image-section {
  position: absolute;
  display: flex;
  top: 18%;
  left: -0%;
  width: 150px;
  height: 40px;
}

.image-section h3 {
  position: absolute;
  left: 40%;
  top: 8%;
}

.image-section-hover {
    position: absolute;
    background-color: white;
    display: grid;
    grid-template-columns: 40% auto;
    top: -11%;
    left: -0%;
    width: 175px;
    height: 40px;
  }

.image-section-hover h3 {
    position: absolute;
    left: 40%;
    top: 8%;
  }

/* for large wording */


.image-section-xl {
    position: absolute;
    background-color: white;
    display: grid;
    grid-template-columns: 40% auto;
    top: -13%;
    left: -0%;
    width: 170px;
    height: 40px;
}

.image-section-xl h3 {
   position: absolute;
   left: 25%;
  top: 25%;
}

.image-section-xl img {
  margin-left: -10%;
/*   margin-bottom: 20px; */
}



.image-section-xxl {
    position: absolute;
    background-color: white;
    display: grid;
    grid-template-columns: 40% auto;
    top: -10%;
    left: -0%;
    width: 263px;
    height: 40px;
}

.image-section-xxl h3 {
   position: absolute;
   left: 18%;
}

.image-section-xxl img {
  margin-left: -10%;
  margin-top: -6px;
}








/* all mobile responsive */
@media only screen and (max-width: 1024px) {
  
  .animated-container {
    height: 2700px;
  }
  
  .animated-wrapper {
    margin-top: 20px;
  }
  
  .animated-header h2 {
  font-size: 32px !important;
}
  
  .timeline {
  position: relative;
  width: 100%;
  height: 20px;
  text-align: justify;
  background: -webkit-gradient(
    left top,
    left bottom,
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 45%,
/*     rgb(41, 10, 54) 51%, */
       rgb(240, 240, 240) 51%,
    rgba(255, 255, 255, 0) 57%,
    rgba(255, 255, 255, 0) 100%
  );

}
  
  
.animated-header {
  padding-top: 10px;
  width: 350px;
}

.animated-header p {
  margin-top: -15%;
}
  
.animated-section:nth-of-type(4) {
  max-width: 100%;
}  
  
/*   .timeline-item1 .animated-section:nth-of-type(2) {
  min-width: 100% !important;
}

.timeline-item1 .animated-section:nth-of-type(3) {
  min-width: 100% !important;
} */

  
  .item-line-6, .item-line-1, .item-line-2, .item-line-3, .item-line-5, .item-line-4 {
    display: none !important;
  }

  
  .dot1, .dot2, .dot3, .dot4, .dot5, .dot6 {
    display:none !important;
  }
  
  .cmo-circle {
    display: none !important;
  }
  

  
   #section3 {
    height: 190px !important;
  }
  
  .image-section-long-hover {
  top: -12%;
}

  
  /* used to hide items */
.hide-item {
  visibility: hidden;
  opacity: 0;
}


/* content */
.animated-content {
  display: grid !important;
  grid-template-columns: 1fr;
  margin-top: 4px;
  opacity: 100%;
  transition: 0.6s;
}

.animated-section {
  overflow: hidden;
  text-align: left;
  padding: 10px;
  margin: 3px;
  height: 210px;
}

.animated-section p {
  margin-top: -17px;
}
  
  .timeline-item1,  .timeline-item1-hover {
    background-color: white;
    border-radius: 10px;
    width: 320px;
    height: 2300%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    bottom: -1600%;
  }
  
 .timeline-item2-hover {
     background-color: white;
   border-radius: 10px;
     height:  680px;
     width: 250px;
     left: 0;
     right: 0;
     margin-left: auto;
     margin-right: auto;
     top: 8550%;
  }
  
  
  .timeline-item3, .timeline-item3-hover {
     background-color: white;
    border-radius: 10px;
     width: 320px;
     height: 460px;
     left: 0;
     right: 0;
     margin-left: auto;
     margin-right: auto;
     top: 3600%;
  }
  
  .timeline-item4, .timeline-item4-hover {
     background-color: white;
     width: 275px;
     height: 440px;
     left: 0;
     right: 0;
     margin-left: auto;
     margin-right: auto;
     top: 6100%
  }
  
  
  .timeline-item5-hover {
  position: absolute;
  border-radius: 10px 10px 10px 0px;
  width: 80%;
  height: 280px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 1950%;
  padding: 10px;
 transition: 0.30s;
}
  
  .timeline-item6-hover {
  position: absolute;
  border-radius: 0px 10px 10px 10px;
  width: 80%;
  height: 640px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  top: 9650%;
  padding: 10px;
 transition: 0.30s;
}
  
  
  
  
  
  
  
  
  .section-animated {
    height: 170px;
  }
   .image-section-hover {
    top: -12%;
}
  
  
/*  Image Sections  */
 
  .image-section-xxl {
    top: -6%;
    left: 0.5%
  }
  
  .timeline-item4-hover .image-section-xl {
    top: -8%;
    left: 0.5%;
    width: 80%
  }
  
   .timeline-item4-hover .image-section-xl > h3 {
    left: 20%;
  }
     .timeline-item4-hover .image-section-xl > img {
   top: 10%;
  }
  
    .timeline-item2-hover .image-section-xl {
    top: -5%;
     width: 50%;
  }
      .timeline-item2-hover .image-section-xl > h3 {
   left: 35%;
  }
  
      .timeline-item5-hover .image-section-xxl {
    top: -9%;
  }
  
        .timeline-item3-hover .image-section-xxl {
    width: 95%;
  }
  
  
  .image-section-hover {
     top: -4%;
  }
  
  
  
  
  
  
  
  
  .timeline-item2-hover .animated-content {
/*     display: flex !important; */
  }
  
    .timeline-item3-hover .animated-content {
/*     display: flex !important; */
  }
  
     .timeline-item4-hover .animated-content {
      display: grid !important;
       grid-template-columns: 1fr;
  }
  
       .timeline-item4-hover .animated-section {
      height: 200px !important;
  }
  
  
       .timeline-item6-hover .animated-content {
      display: grid !important;
       grid-template-columns: 1fr;
  }
  
       .timeline-item6-hover .animated-section {
      height: 200px !important;
  }
  
  
/*          .timeline-item5-hover .animated-content {
      display: grid !important;
       grid-template-columns: 1fr;
  } */
  
       .timeline-item5-hover .animated-section {
      height: 250px !important;
  }
  
  
  
}



