@import url('https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400&display=swap');
.design-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1f1f1f;
  min-height: 110vh;
  padding: 100px 0;
  font-family: Jost;
}



.design {
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline {
  width: 80%;
  height: auto;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.timeline-content {
  padding: 20px;
  background: #1f1f1f;
  -webkit-box-shadow: 5px 5px 10px #1a1a1a, -5px -5px 10px #242424;
          box-shadow: 5px 5px 10px #1a1a1a, -5px -5px 10px #242424;
  border-radius: 5px;
  color: white;
  padding: 1.75rem;
  transition: 0.4s ease;
  overflow-wrap: break-word !important;
  margin: 1rem;
  margin-bottom: 20px;
  border-radius: 6px;
}

.timeline-component {
  margin: 0px 20px 20px 20px;
}

.design-section {
  height: 1200px;
}

.design-section {
  color: white;
}

@media (min-width: 1601px) {
  .design-section h1 {
    font-size: 40px;
  }
}

@media (max-width: 1600px) {
    .design-section {
        height: 1400px;
    }

    .design-section h1 {
      color: white;
      font-size: 40px;
    }
}

@media (max-width: 992px) {
    .design-section {
        height: 1300px;
    }

    .design-section h1 {
        font-size: 40px;
        margin-bottom: 0;
        color: white;
    }

    .timeline {
      margin-top: 0;
    }
}

@media (max-width: 900px) {
    .design-section h1{
      font-size: 30px;
    }
}

@media (max-width: 400px) {
  .design-section {
    height: 1500px;
  }
}



@media screen and (min-width: 768px) {
  .timeline {
    display: grid;
    grid-template-columns: 1fr 3px 1fr;
  }
  .timeline-middle {
    position: relative;
    background-image: linear-gradient(45deg, #F27121, #f27121, #F27121);
    width: 3px;
    height: 100%;
  }
  .main-middle {
    opacity: 0;
  }
  .timeline-circle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-image: linear-gradient(45deg, #F27121, #f27121, #F27121);
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}

@media (max-width: 500px) {
    .design h1 {
        font-size: 30px;
    }
}

.timeline {
    margin-top: 35px;
    margin-bottom: 35px;
}

.design-section {
    text-align: center;
}



.design-section span {
    color: #f27121;
}

.design-section h3 {
    color: #f27121;
    text-transform: capitalize;
    letter-spacing: 2px;
    font-size: 25px;
    margin-bottom: 10px;
}

.design-section p {
    color: white;
    letter-spacing: 2px;
}