.timeline-2g-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  width: 100vw !important;
  max-width: 100vw;
}
.timeline-2g-rectangle {
  width: 100% !important;
  /* height: 619px; */
  height: 420px !important;
  min-height: 0 !important;
  max-height: 420px !important;
  flex-shrink: 0;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-sizing: border-box;
}
.timeline-2g-text {
  background: #111;
  color: #fff;
  flex-direction: column;
  justify-content: center;
  padding: 24px 60px;
}
.timeline-2g-text h3 {
  font-size: 28px;
  margin-bottom: 24px;
  font-family: "Degular", Arial, sans-serif;
  font-weight: 500;
}
.timeline-2g-text div {
  font-size: 22px;
  font-family: "Degular", Arial, sans-serif;
  line-height: 1.5;
}
@media (max-width: 1500px) {
  .timeline-2g-wrapper {
    width: 98vw;
  }
  .timeline-2g-rectangle {
    width: 48vw;
    min-width: 280px;
    height: 420px !important;
    min-height: 220px;
    max-height: 420px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
}
@media (max-width: 900px) {
  html,
  body {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .timeline-2g-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .timeline-2g-rectangle {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .timeline-2g-text {
    padding: 16px 10vw;
  }
  .timeline-2g-wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .timeline-2g-rectangle {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
@media (max-width: 600px) {
  .timeline-2g-wrapper {
    width: 100vw;
    padding: 0;
  }
  .timeline-2g-rectangle {
    width: 100vw !important;
    min-width: 0;
    height: auto;
    padding: 10px 0;
    box-sizing: border-box;
    max-height: none !important;
    overflow: visible !important;
  }
  .timeline-2g-text {
    padding: 8px 4vw;
  }
  .timeline-2g-text h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .timeline-2g-text div {
    font-size: 15px;
  }
}
