#timeline {
  margin-bottom: clamp(60px, 15dvh, 150px);
  opacity: 0;
  transform: translateY(-50px);
}
#timeline .year-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#timeline .year-group .year-bubble {
  height: 80px;
  width: 80px;
  background-color: #fff;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 1;
}
#timeline .year-group .year-bubble span {
  color: #1A2641;
}
#timeline .year-group::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 5px;
  background-color: #fff;
  order: 2;
}
#timeline .year-group::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 5px;
  background-color: #fff;
  order: 4;
}
#timeline .year-group .month-spacer, #timeline .year-group .event-bubble {
  order: 3;
}
#timeline .year-group .month-spacer {
  display: inline-block;
  width: 4px;
  height: 10px;
  background-color: #fff;
}
#timeline .year-group .event-bubble {
  display: inline-block;
  width: 4px;
  height: 40px;
  background-color: #fff;
  min-height: unset;
  line-height: unset;
  padding: 0 !important;
  margin: 0px !important;
  position: relative;
  font-size: unset;
  font-weight: unset;
  letter-spacing: unset;
  border: none;
  text-align: unset;
  text-transform: unset;
  text-decoration: unset;
}
#timeline .year-group .event-bubble::after {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background-color: #FFFF76;
  border-radius: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
#timeline .year-group .event-bubble::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 118, 0.6);
  border-radius: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%) scale(0);
  transition: all;
  transition-timing-function: cubic-bezier(0.44, 0.37, 0.47, 1.33);
  transition-duration: 0.3s;
}
#timeline .year-group .event-bubble:nth-of-type(odd) .event-content {
  left: -50px;
  transform: translateX(-100%) translateY(-20px);
}
#timeline .year-group .event-bubble:nth-of-type(odd) .event-content::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 30px solid #fff;
  position: absolute;
  right: 0;
  transform: translateX(90%);
}
#timeline .year-group .event-bubble:nth-of-type(even) .event-content {
  right: -50px;
  transform: translateX(100%) translateY(-20px);
}
#timeline .year-group .event-bubble:nth-of-type(even) .event-content::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 30px solid #fff;
  position: absolute;
  left: 0;
  transform: translateX(-90%);
}
#timeline .year-group .event-bubble .mob-close-bg {
  display: none;
}
#timeline .year-group .event-bubble .event-content {
  position: absolute;
  top: 0;
  width: clamp(300px, 40vw, 450px);
  background-color: #fff;
  text-transform: initial;
  padding: 25px;
  border-radius: 6px;
  cursor: default;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 12px, rgba(0, 0, 0, 0.23) 0px 0px 12px;
  color: #1A2641;
  font-size: clamp(12px, 12px + (100vw - 320px) * 0.0225, 14px) !important;
  line-height: clamp(1.1142857143, 1.1142857143 * 1.3, 1.3) !important;
}
#timeline .year-group .event-bubble .event-content h1, #timeline .year-group .event-bubble .event-content h2, #timeline .year-group .event-bubble .event-content h3, #timeline .year-group .event-bubble .event-content h4, #timeline .year-group .event-bubble .event-content h5, #timeline .year-group .event-bubble .event-content h6 {
  color: #1A2641;
  font-size: clamp(15px, 15px + (100vw - 320px) * 0.0225, 24px) !important;
  line-height: clamp(0.8125, 0.8125 * 1.3, 1.3) !important;
  font-family: "BebasNeue", sans-serif;
  margin-bottom: 10px;
}
#timeline .year-group .event-bubble .event-content p {
  color: #1A2641;
  font-size: clamp(12px, 12px + (100vw - 320px) * 0.0225, 14px) !important;
  line-height: clamp(1.1142857143, 1.1142857143 * 1.3, 1.3) !important;
}
#timeline .year-group .event-bubble .event-content img {
  width: 100%;
  margin-bottom: 20px;
}
#timeline .year-group .event-bubble:hover {
  z-index: 100;
}
#timeline .year-group .event-bubble:hover::before {
  transform: translateX(-50%) translateY(-50%) scale(1);
}
#timeline .year-group .event-bubble:hover .event-content {
  opacity: 1;
  pointer-events: initial;
}
#timeline .year-group .event-bubble:focus-visible {
  outline: none;
}
#timeline .year-group .event-bubble.lock::before {
  background-color: rgba(255, 255, 255, 0.6);
  transform: translateX(-50%) translateY(-50%) scale(1);
}
#timeline .year-group .event-bubble.lock .event-content {
  opacity: 1;
  pointer-events: initial;
}
#timeline .year-group:last-of-type::after {
  content: unset;
  display: none;
}
#timeline .year-group:last-of-type .event-bubble:last-of-type {
  height: 35px;
}
#timeline .year-group:last-of-type .event-bubble:last-of-type::after {
  top: unset;
  bottom: -2px;
  transform: translateX(-50%) translateY(0);
}
#timeline .year-group:last-of-type .event-bubble:last-of-type::before {
  top: unset;
  bottom: -2px;
  transform: translateX(-50%) translateY(6px) scale(0);
}
#timeline .year-group:last-of-type .event-bubble:last-of-type:hover::before {
  transform: translateX(-50%) translateY(6px) scale(1);
}
#timeline .year-group:last-of-type .event-bubble:last-of-type.lock::before {
  background-color: rgba(255, 255, 255, 0.6);
  top: unset;
  bottom: -2px;
  transform: translateX(-50%) translateY(6px) scale(1) !important;
}
#timeline .year-group:last-of-type .event-bubble:last-of-type.lock .event-content {
  opacity: 1;
  pointer-events: initial;
}
#timeline .year-group:last-of-type .event-bubble:last-of-type ~ .month-spacer {
  display: none;
}
#timeline.setback {
  opacity: 1;
  transform: unset;
}

@media (max-width: 849.98px) {
  #timeline {
    margin-bottom: clamp(15px, 2.5vw, 35px);
  }
  #timeline .year-group .event-bubble:nth-of-type(odd) .mob-close-bg, #timeline .year-group .event-bubble:nth-of-type(even) .mob-close-bg {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(26, 38, 65, 0.6);
    z-index: 1;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
    opacity: 0;
  }
  #timeline .year-group .event-bubble:nth-of-type(odd) .event-content, #timeline .year-group .event-bubble:nth-of-type(even) .event-content {
    display: block;
    position: fixed;
    width: calc(100vw - 50px);
    top: 50%;
    left: 50% !important;
    transform: translateX(-50%) translateY(-40%) !important;
    max-height: 75vh;
    box-shadow: unset;
    z-index: 100;
    opacity: 0;
    transition: all 0.2s ease-in-out;
    pointer-events: none;
    overflow-y: scroll;
  }
  #timeline .year-group .event-bubble:nth-of-type(odd) .event-content::-webkit-scrollbar, #timeline .year-group .event-bubble:nth-of-type(even) .event-content::-webkit-scrollbar {
    display: none;
    background: none;
  }
  #timeline .year-group .event-bubble:nth-of-type(odd) .event-content::before, #timeline .year-group .event-bubble:nth-of-type(even) .event-content::before {
    content: unset !important;
    display: none !important;
  }
  #timeline .year-group .event-bubble:nth-of-type(odd).lock::before, #timeline .year-group .event-bubble:nth-of-type(even).lock::before {
    background-color: rgba(255, 255, 118, 0.6);
    transform: translateX(-50%) translateY(-50%) scale(0);
  }
  #timeline .year-group .event-bubble:nth-of-type(odd).lock .event-content, #timeline .year-group .event-bubble:nth-of-type(even).lock .event-content {
    opacity: 0;
    pointer-events: none;
  }
  #timeline .year-group .event-bubble:nth-of-type(odd).fixed-content::before, #timeline .year-group .event-bubble:nth-of-type(even).fixed-content::before {
    background-color: rgba(255, 255, 118, 0.6);
    transform: translateX(-50%) translateY(-50%) scale(1);
  }
  #timeline .year-group .event-bubble:nth-of-type(odd).fixed-content .mob-close-bg, #timeline .year-group .event-bubble:nth-of-type(even).fixed-content .mob-close-bg {
    opacity: 1;
    pointer-events: all;
  }
  #timeline .year-group .event-bubble:nth-of-type(odd).fixed-content .event-content, #timeline .year-group .event-bubble:nth-of-type(even).fixed-content .event-content {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) !important;
    pointer-events: all;
  }
}