.main-tl {
  width: 100%;
  height: auto;
  display: grid;
  place-items: center;
  /* background-color: var(--bg-color); */
  padding: 50px 0;
}

/* Container Css Start  */

.fest-tl-cont {
  width: 60%;
  height: auto;
  margin: auto 0;
  position: relative;
}
.fest-tl-cont ul {
  list-style: none;
}
.fest-tl-cont ul::after {
  content: " ";
  position: absolute;
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background-image: linear-gradient(to bottom, #6154f3, var(--purple-light));
}
.fest-tl-cont .fest-tl-list {
  box-sizing: border-box;
  width: 50%;
  height: auto;
  padding: 15px 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 12px -10px;
  /* box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 40px -20px; */
  position: relative;
  margin-bottom: 30px;
  z-index: 99;
  transition: all 0.3s ease;
}

.fest-tl-cont .fest-tl-list:last-child {
  margin-bottom: 0;
}
.fest-tl-cont .fest-tl-list .fest-tl-circle {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #c8bdff;
  top: 0;
  display: grid;
  place-items: center;
}
.fest-tl-circle::after {
  content: " ";
  width: 12px;
  height: 12px;
  background-color: #6269cd;
  border-radius: 50%;
}
.fest-tl-cont .fest-tl-list:nth-child(odd) .fest-tl-circle {
  transform: translate(50%, -50%);
  right: -30px;
}
.fest-tl-cont .fest-tl-list:nth-child(even) .fest-tl-circle {
  transform: translate(-50%, -50%);
  left: -30px;
}
.fest-tl-cont .fest-tl-list .fest-tl-date {
  position: absolute;
  width: 150px;
  height: 37px;
  background-color: var(--blue-alt);
  /* background-image: linear-gradient(to right, #7f00ff, #e100ff); */
  border-radius: 15px;
  top: -45px;
  display: grid;
  place-items: center;
  color: #f3effe;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.7;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 40px -20px;
}
.fest-tl-cont .fest-tl-list:nth-child(odd) {
  float: left;
  clear: right;
  text-align: right;
  transform: translateX(-30px);
}
.fest-tl-cont .fest-tl-list:nth-child(odd) .fest-tl-date {
  right: 20px;
}
.fest-tl-cont .fest-tl-list:nth-child(even) {
  float: right;
  clear: left;
  transform: translateX(30px);
}
.fest-tl-cont .fest-tl-list .fest-tl-hd1 {
  font-size: 1.3rem;
  color: var(--blue-alt);
  margin: 0 0 0.2rem 0;
}
.fest-tl-cont .fest-tl-list .fest-tl-hd2 {
  font-size: 0.9rem;
  color: var(--blue-alt-ctrl);
  margin: 0 0 1rem 0;
  font-weight: 500;
}

/* .tl-list-hv:hover {
  transform: scale(1.1);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 40px -20px;
  transition: all 0.3s ease;
} */

.fest-tl-cont .fest-tl-list p {
  font-size: 13px;
  color: var(--blue-alt-ctrl);
  line-height: 18px;
  margin: 6px 0 4px 0;
}
.fest-tl-link {
  font-size: 13px;

  text-decoration: none;
  color: var(--blue);
  transition: all 0.3s ease;
}
.fest-tl-link:hover {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background-color: var(--blue);
  color: var(--bg-color);
  box-shadow: rgba(0, 0, 0, 1) 0px 25px 40px -20px;
}

#back-to-top-btn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  font-size: 26px;
  width: 50px;
  height: 50px;
  background-color: #fff;
  color: var(--dark-blue-alt);
  cursor: pointer;
  outline: none;
  border: 3px solid #333;
  border-radius: 50%;
  transition-duration: 0.2s;
  z-index: 500;
  transition-timing-function: ease-in-out;
  transition-property: background-color, color;
}
#back-to-top-btn:hover,
#back-to-top-btn:focus {
  background-color: var(--blue);
  border: 3px solid var(--blue);
  color: #fff;
}
@media (max-width: 992px) {
  #back-to-top-btn {
    font-size: 22px;
    width: 40px;
    height: 40px;
    bottom: 25px;
    right: 25px;
  }
}
@media only screen and (min-width: 798px) and (max-width: 1100px) {
  .fest-tl-cont {
    width: 80%;
  }
}

@media only screen and (max-width: 798px) {
  .fest-tl-cont {
    width: 70%;
    transform: translateX(20px);
  }
  .fest-tl-cont ul::after {
    left: -50px;
  }
  .fest-tl-cont .fest-tl-list {
    width: 100%;
    float: none;
    clear: none;
    margin-bottom: 80px;
  }

  .fest-tl-cont .fest-tl-list:nth-child(odd) .fest-tl-circle {
    transform: translate(50%, -50%);
    left: -70px;
  }
  .fest-tl-cont .fest-tl-list:nth-child(even) .fest-tl-circle {
    transform: translate(-50%, -50%);
    left: -50px;
  }
  .fest-tl-cont .fest-tl-list .fest-tl-date {
    left: 20px;
  }
  .fest-tl-cont .fest-tl-list:nth-child(odd) {
    transform: translateX(0px);
    text-align: left;
  }
  .fest-tl-cont .fest-tl-list:nth-child(even) {
    transform: translateX(0px);
  }
}

@media only screen and (max-width: 550px) {
  .fest-tl-cont {
    width: 80%;
  }
  .fest-tl-cont ul::after {
    left: -20px;
  }

  .fest-tl-cont .fest-tl-list:nth-child(odd) .fest-tl-circle {
    transform: translate(50%, -50%);
    left: -40px;
  }
  .fest-tl-cont .fest-tl-list:nth-child(even) .fest-tl-circle {
    transform: translate(-50%, -50%);
    left: -20px;
  }
}
