/* =========================
   BASE STYLES
========================= */

.roadmap-container {
  background:#071129;
  position:relative;
  overflow:hidden; /* clip animation inside roadmap */
}

h1, h2, h3, h4, h5, h6, a{
  color:#ffffff !important;
}

.roadmap-container h1{
  font-size:80px;
  font-weight:800;
  line-height:90px;
}

.roadmap-container h2{
  font-size:36px !important;
  font-weight:600 !important;
  line-height:60px;
}

.roadmap-container h3{
  font-size:30px;
  font-weight:700;
  line-height:50px;
}

.roadmap-container h4{
  font-size:26px;
  font-weight:400;
  line-height:40px;
}

.roadmap-container p{
  color: #bfb5b5;
  font-size:20px;
  font-weight:400;
  line-height:30px;
}

.container{
  max-width:1400px;
  margin:auto;
  position:relative;
  z-index:10; /* always above background animation */
}

/* =========================
   BACKGROUND / CURSOR
========================= */

.roadmap-container .background{
  position:absolute; /* changed from fixed */
  inset:0;
  z-index:1;
  pointer-events:none;
}

.roadmap-container .cursor {
  position:absolute;
  width:500px;
  height:500px;
  border-radius:50%;
  margin:-250px;
  box-shadow:
    inset -25px -25px 50px #152758,
    inset 25px 25px 50px #000000;
  will-change:transform;
  pointer-events:none;
  z-index:1;
}

/* =========================
   SHAPES
========================= */

.roadmap-container .shapes {
  position:absolute;
  inset:0;
}

.roadmap-container .shape {
  position:absolute;
  border-radius:50%;
  background:#071129;
  box-shadow:
    inset -25px -25px 50px #152758,
    inset 25px 25px 50px #000000;
  will-change:transform;
  z-index:1;
}

.shape-1 { width:1400px; height:1400px; margin:-700px; }
.shape-2 { width:1100px; height:1100px; margin:-550px; }
.shape-3 { width:800px; height:800px; margin:-400px; }

/* =========================
   ROADMAP LAYOUT
========================= */

.roadmap-section{
  position:relative;
  z-index:10;
  height: auto;
}

.w-50{ width:50%; }
.w-25{ width:25%; }

.title-container{
  display:flex;
  padding:60px 0 20px;
  align-items:center;
  position:relative;
  z-index:10;
}

.years ul{
  width:100%;
  display:flex;
  justify-content:flex-end;
}

.years ul li{
  padding-right:50px;
  font-family:'Lexend', sans-serif;
  color:#848B9F;
  font-size:20px;
  cursor:pointer;
  transition:0.6s ease;
}

.years ul li:last-child{
  padding-right:0;
}

.years ul li:hover,
.years ul li.active{
  color:#ffffff;
}

.roadmap-content{
  width:100%;
  padding:60px 0;
  display:flex;
  position:relative;
  z-index:10;
}

/* =========================
   QUARTERS
========================= */

.quarter{
  text-align:center;
  position:relative;
  z-index:10;
}

.quarter ul{
  list-style:none;
  padding:0;
  position:relative;
  z-index:10;
}

.quarter ul li{
  position:relative;
  z-index:10;
}

.quarter-title{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  transition:0.8s ease;
  z-index:10;
}

.quarter-title h2{
  color:#ffffff36 !important;
}

.quarter-content{
  opacity:0;
  transition:0.8s ease;
  position:relative;
  z-index:10;
}

.quarter.active .quarter-title{
  opacity:0;
}

.quarter.active .quarter-content{
  opacity:1;
}

/* =========================
   RESPONSIVE FIXES
========================= */

@media (max-width:1440px){
  .container{
    max-width:1200px;
  }
  .roadmap-content{
    padding:40px 0;
  }
}

@media (max-width:1080px){
  .roadmap-content{
    flex-direction:column;
    padding:0;
  }
  .w-25,
  .w-50{
    width:100%;
  }
  .roadmap-section{
    height:auto;
  }
}
