header {
  background: #3F51B5;
  color: #fff;
  padding: 150px 0;
  text-align: center;
}
header p {
  font-family: "Allura", cursive;
  color: rgba(255, 255, 255, 0.2);
  font-size: 60px;
  margin: -30px 0 0;
}

/* Timeline Base */
.timeline {
  position: relative;
  padding: 100px 0;
  padding-bottom: 1px;
  margin-top: 150px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #015A55;
  left: 50%;
/*  transform: translateX(-50%);*/
}

/* Timeline Items */
.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 70px;
}
.timeline-item::after {
  content: "";
  display: block;
  clear: both;
}
.timeline-img {
  width: 20px;
  height: 20px;
  background: #F4F4ED;
  border:3px solid #015A55;
  border-radius: 50%;
  position: absolute;
  left: 50.1%;
  transform: translateX(-50%);
  top: 25px;
  z-index: 1;
  display: flex;
  align-items: center;   /* Vertikal */
  justify-content: center; /* Horizontal */
  text-align: center;
  color: #F4F4ED;
  font-size: 14px;
  font-weight: 700;
}

.timeline-img-line{
  border-top: 2px dashed #015a55;
  width: 4vw;
}
.left .timeline-img-line{
  margin-left: -5.5vw;
}
.right .timeline-img-line{
  margin-right: -5.5vw;
}

.tmln-year {
  width: 60px;
  height: 60px;
  background: #015A55;
}

/* Common Timeline Content */
.timeline-content {
  position: relative;
  width: 45%;
  padding: 10px 30px;
  border-radius: 4px;
  background: #F4F4ED;
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.timeline-content .date {
  background: #FF4081;
  color: #fff;
  padding: 10px;
  position: absolute;
  top: 0;
  font-size: 14px;
}

/* Left Side */
.timeline-item.left .timeline-content {
  float: left;
  text-align: left;
}
.timeline-item.left .timeline-content .date {
  right: 0;
} 
.timeline-item.right .timeline-content {
  float: right;
  text-align: left;
}
.timeline-item.right .timeline-content .date {
  left: 0;
}

/* Optional Styling */
.timeline-img-header {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 20px;
}
.timeline-img-header h2 {
  position: absolute;
  bottom: 5px;
  left: 20px;
  color: #fff;
}

/* `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1025px) {
  .timeline{
    margin-top: 350px;
  }
  .timeline-kmpret{
    margin-top: 40px;
  }
}
/* Responsive */
@media screen and (max-width: 768px) {
  .timeline{
    margin-top: 350px !important;
  }
  .timeline-img{
    display: none !important;
  }
  .timeline-content{
    margin: 0px !important;
  }
  .timeline-item{
    margin-top: 10px !important;
  }
  .timeline::before {
    left: 50px;
  }
  .timeline-img {
    left: 50px;
    transform: none;
  }
  .timeline-content {
    width: auto;
    max-width: 100%;
    margin-left: 80px;
    float: none !important;
  }
  .timeline-content::after {
    left: -15px !important;
    right: auto !important;
    border-width: 10px 15px 10px 0 !important;
    border-color: transparent #F4F4ED transparent transparent !important;
  }
  .timeline-content .date {
    left: 0 !important;
    right: auto !important;
  }
}

@media (max-width: 575.98px) {
  .timeline{
    margin-top: 50px !important;
  }
}
