@import 'https://gists.rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/856f1dbb8d807aabceb80b6d4f94b464df461b3e/gotham.css';

@import 'https://db.onlinewebfonts.com/c/edc378fa3251080c5b508b220462efca?family=Gotham-Thin';

html, body {font-family: 'GothamPro';/* overflow-x: hidden; */}
p {font-weight: 200;}
.timeline {
    position: relative;
    padding-top: 7rem;
    padding-bottom: 13rem;
    /* display: flex; */
    /* flex-direction: column-reverse; */
  }

  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background-color: var(--primary-color);
    transform: translateX(-50%);
  }

  .timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, transform 0.5s;
    text-align: right;
    font-size: 14px;
  }

  .timeline-item.active {
    opacity: 1;
    transform: translateY(0);
  }

  .timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: left;
  */
    justify-items: flex-end;
  */
    justify-items: flex-end;
  }

  .timeline-item-content {
    width: 49%;
    /* background-color: #fff; */
    padding: 0rem 2rem;
    border-radius: 0.5rem;
    /* box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); */
    /* padding-left: 15%; */
    /* text-align: right; */
    justify-items: flex-end;
    text-decoration: none;
    color: inherit;
    font-weight: 300;
    font-size: 0.9em;
    align-items: end;
    display: flex;
    flex-direction: column;
  }

  .timeline-item-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.96rem;
    font-weight: 300;
    font-family: Gotham-Thin;
    line-height: 2.1rem;
    max-width: 330px;
    color: var(--primary-color);
  }

  .timeline-item-icon {
    position: absolute;
    top: 0%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 10%;
    height: 4rem;
    /* background-color: #1B4098; */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    font-size: 1.5rem;
    border-top: 1px solid var(--primary-color);
    pointer-events: none;
  }

  @media (max-width: 767.98px) {
    .timeline-item {
      flex-direction: column;
      margin-bottom: 3rem;
    }

    .timeline-item:nth-child(even) {
      flex-direction: column;
    }

    .timeline-item-content {
      width: 100%;
      margin-bottom: 2rem;
    }

    .timeline-item-icon {
      /* position: static; */
      /* transform: none; */
      /* margin-bottom: 1rem; */
    }
  }


:root {
  --primary-color: #1B4098!important;
}

.bg-primary {background-color: #1B4098!important;}

.timeline-item:nth-child(odd) .timeline-item-icon {
    right: 35%!important;
    left: initial;
}
h2 {
    font-size: 90px;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-header.text-center.sticky-bottom {padding-left: 0px;margin-top: -188px;margin-bottom: 5rem;bottom: 60px;z-index: 5000;width: fit-content;margin-left: auto;margin-right: auto;padding-right: 200px;}

.container:nth-child(odd) .timeline-header.text-center.sticky-bottom {
    /* padding-left: 200px!important; */
    /* padding-left: 0px; */
    /* padding-right: 0px; */
}

.container:last-child .timeline-header.text-center.sticky-bottom {
    padding-left: 25px;
    margin-top: -120px;
    text-align: left !important;
    width: 50%;
    right: 0px;
    left: 50%;
};


body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: black;
    font-family: monospace;
  }

  .star-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;
    pointer-events: none;
    font-family: 'Gotham-Thin';
    overflow: hidden;
    z-index: 100;
    /* mix-blend-mode: color; */
  }

  .star {
    position: absolute;
    color: #7593bc;
    opacity: 0;
    animation: twinkle 5s infinite;
  }

  /* AnimaciÃ³n de parpadeo */
  @keyframes twinkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(0.5); }
  }

.timeline-item:nth-child(odd) .timeline-item-content {
    justify-items: flex-start;
    align-items: start;
}
.timeline-item-icon i { display:none}

.timeline-item-content p {
    max-width: 300px;
}

.timeline-item-content img {
    /* max-width: 66px; */
}

.q1 {--primary-color:#1E8D69}
.q2 {--primary-color:#DD0057}
.q3 {--primary-color:#873299}
.q4 {--primary-color:#0BBBEF}

.timeline-container {
  /* position: fixed; */
  /* top: 50%; */
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
  /* width: 100%; */
  /* height: 50px; */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* position: relative; */
  bottom: 0;
  background-color: white;
  padding-bottom: 20px;
  background: linear-gradient(360deg, #ffffff, transparent);
  padding-top: 60px;
  margin-top: -124px;
}

.timeline-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1024px;
  height: 50px;
  /* background-color: #f1f1f1; */
  /* animation: timeline-slide 30s linear infinite paused; */
  position: relative;
  width: 100%;
}

.timeline-bar.active {
  animation-play-state: running;
}

.timeline-month {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.timeline-month.active {
  flex: 1;
  text-align: center;
  /* font-size: 16px!important; */
  /* font-weight: bold; */
  /* color: #db0303!important; */
  /* font-family: 'GothamPro'!important; */ 
}

#timeline-nav::before,
#timeline-nav::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(
    to right,
    var(--primary-color),
   var(--primary-color) 1px,
    transparent 1px,
    transparent 5px
  ); /* Rayado como regla */
}

/* Estilo para los enlaces */
#timeline-nav .timeline-month {
  position: relative;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 11px;
  text-transform:uppercase;
  font-family: 'Gotham-Thin';
  padding: 0px 10px;
  margin-bottom: 10px;
}

/* Pseudo-elementos para las divisiones debajo de cada mes */
#timeline-nav .timeline-month::before {
  content: "";
  position: absolute;
  bottom: -16px; /* Ajusta segÃºn el espacio deseado */
  left: 50%;
  width: 1px;
  height: 10px;
  background-color: var(--primary-color); /* LÃ­nea pequeÃ±a para la marca */
}

.bounce {
  animation: bounce 0.8s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

a.timeline-item-content:hover {
    color: inherit;
    text-decoration: none;
}
.year.first {
    float: left;
    position: relative;
    left: -45px;
    top: 13px;
    color: var(--primary-color);
}

.year.last {
    float: left;
    position: relative;
    right: -45px;
    top: 13px;
    color: var(--primary-color);
}

.year.first {
    float: left;
    position: relative;
    left: -50px;
    top: 14px;
    color: var(--primary-color);
    font-size: 13px;
}

.year.last {
    float: left;
    position: relative;
    right: -50px;
    top: 14px;
    color: var(--primary-color);
    font-size: 13px;
}


.container.q1 .timeline {
    padding-top: 100vh;
    margin-top: -100vh;
    z-index: 1;
}

.container.q1 {}

.container.q1 .timeline:before {
    background: linear-gradient(360deg, var(--primary-color), transparent);
}

.thankyou { margin-left: auto;width: 47%; color: #1B4098;}

.gradient {background: radial-gradient(circle, rgb(255 212 22) 0%, rgb(11 187 239) 50%, #ffffff00 80%);content: '';position: fixed;/* width: 100%; */height: 200%;z-index: 0;/* mix-blend-mode: multiply; */opacity: 0.15;position: fixed;top: 0;left: 0;height: 200vh;position: sticky;margin-bottom: -200vh;}

.star-container {
  background-image: url(../img/scrollmore.svg);
  background-position: 20px 20px;
  background-repeat: no-repeat;
  background-size: 15px;
}

/*MOVIL*/
/* Mobile Responsiveness Styles */
@media (max-width: 768px) {

  h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-color);
}
  /* Overall Layout Adjustments */
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  /* Hero Section */
  .hero {
    padding: 20px 15px;
  }

  .hero img {
    max-width: 250px;
    width: 100%;
  }

  /* Timeline Container */
  .container {
    padding: 0 15px;
  }

  /* Timeline Vertical Line */
  .timeline::before {
    left: 15px !important;
    width: 2px;
  }

  .gradient { margin-bottom: -100vh; }

  /* Timeline Items */
  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    padding-bottom: 0rem;
    opacity: 1;
    transform: none;
    align-items: start;
  }

  .timeline-item-content {
    width: calc(100% - 50px);
    margin-left: 50px;
    padding: 1rem;
    justify-items: flex-start;
    text-align: left !important;
  */
    justify-items: flex-end;
    align-items: start;
  }

  .timeline-item-content h3 {
    font-size: 1.5rem;
    max-width: 100%;
    margin-bottom: 0.5rem;
  }

  .timeline-item-content p {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .timeline-item-content img {
    max-width: 100px;
    margin-top: 10px;
  }

  /* Timeline Item Icon */
  .timeline-item-icon {
    /* position: absolute; */
    left: 64px !important;
    /* top: 0; */
    width: 100px;
    /* height: 40px; */
    /* transform: none; */
    /* border: none; */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
  }

  .timeline-item-icon i {
    /* display: block; */
    /* font-size: 1rem; */
  }

  /* Quarter Headers */
  .timeline-header.text-center.sticky-bottom {
    padding: 10px 43px !important;
    /* margin-top: -50px !important; */
    margin-bottom: 2rem !important;
    text-align: left!important;
    width: 100% !important;
    left: 0px!important;
  }

  .timeline-header h2 {
    font-size: 4rem;
  }

  /* Timeline Navigation */
  .timeline-container {
    overflow-x: auto;
    /* padding: 10px 0; */
    padding-top: 120px;
    /* margin-left: 117px; */
  }

  .timeline-bar {
    min-width: 800px;
    margin-left: 400px;
  }

  .timeline-month {
    font-size: 10px;
    padding: 0 5px;
  }

  .year.first, .year.last {
    display: none;
  }

  /* Star Container */
  .star-container {
    /* display: none; Optional: remove stars on mobile for performance */
  }

  /* Responsive Images in Rows */
  .timeline-item-content .row {
    flex-direction: column;
  }

  .timeline-item-content .row .col-sm-6 {
    width: 100%;
    margin-bottom: 10px;
    text-align: center !important;
  }

  .timeline-item-content .row img {
    max-width: 100px;
    margin: 10px auto;
  }

  .thankyou {
    margin-left: auto;
    width: 100%;
    color: #1B4098;
    padding-left: 40px;
  }
}

/* Additional Mobile-Specific Tweaks */
@media (max-width: 480px) {
  .timeline-item-content {
    margin-left: 30px;
  }

  .timeline-item-icon {
    /* width: 30px; */
    /* height: 30px; */
  }

  .timeline-header h2 {
    font-size: 4rem;
  }
}