.tx-container {
  padding-top: 0rem;
  background-image: url("./hero.jpg");
  margin-top: -96px;
  height: calc(100vh);
  background-size: cover;
  position: relative;
}

.hero-dark-gradient {
  width: 100%;
  height: 100%;
  opacity: 0.25;
  background: black;
}

.hero-content {
  position: absolute;
  bottom: 80px;
  width: 100%;
  height: 20rem;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.4rem;
}

.tx-hero {
  color: var(--md-default-bg-color);
  justify-content: center;
  width: 61rem;
  margin: auto;
  padding: 0 20px;
  padding-bottom: 156px;
  max-width: 100%;
}

.tx-hero h1 {
  margin-bottom: 1rem;
  color: currentColor;
  font-weight: 700;
  background-color: var(--md-primary-fg-color);
}

.tx-hero__content {
  padding-bottom: 1rem;
  margin: 0 auto;
}

.tx-hero__image {
  width: 24rem;
  height: 24rem;
  order: 1;
}

.tx-hero .hero-text {
  color: var(--md-light-text);
  font-size: 48px;
  line-height: 60px;
  max-width: 735px;
  font-weight: 700;
  text-shadow: 0 4px 4px var(--md-accent-bg-color--dark-opacity);
}

.feature-item h2 svg {
  height: 30px;
  float: center;
  margin-right: 10px;
  transform: translateY(10%);
}

.content-container {
  padding: 5.2rem 1rem;
}

.content-container header h1 {
  width: 100%;
  text-align: center;
  font-weight: 300;
  font-size: 48px;
  line-height: 47px;
  margin-bottom: 60px;
}

.content-container.dark {
  color: white;
  background: linear-gradient(
    180deg,
    var(--md-primary-bg-color) 0%,
    #2a2a2a 100%
  );
}

.content-container.dark header h1 {
  color: var(--md-primary-fg-color);
}

.content-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 61rem;
}

/** why choose gtfs section start **/
.mdx-list {
  display: flex;
  flex-flow: row wrap;
  gap: 30px;
  padding: 0;
}

.mdx-list-item {
  display: flex;
  flex: 1 0 48%;
  flex-wrap: nowrap;
}
/****/
.mdx-list-item .icon-holder {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin-right: 30px;
}

.mdx-list-item .text-content {
  width: calc(100% - 84px - 30px);
}

/** TODO: make this into a generic h3 style **/
.mdx-list-item .text-content h3 {
  margin: 0;
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 15px;
  font-size: 26px;
  color: #333333; /** TODO: change into var **/
}

/** TODO: make this into a generic p style **/
.mdx-list-item .content {
  font-weight: 400;
  line-height: 28px;
  font-size: 20px;
}
/**/

.mdx-list-item .icon-header {
  width: 100%;
  display: flex;
  align-items: center;
}

.mdx-list-item .icon-header h2 {
  margin: 0;
  margin-left: 0.6rem;
}

.mdx-list-item .icon-header .icon-holder {
  width: 2.2rem;
  height: 2.2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mdx-list-item .icon-header svg {
  fill: yellow;
}

.learn-more-button-container {
  margin-top: 60px;
  width: 100%;
  text-align: center;
}

/** why choose gtfs section end **/

.top-hr {
  margin-top: 42px;
  align-items: center;
}

.feature-item {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  box-sizing: border-box;
  /* top | right | bottom | left */
  padding: 3px 20px 7px 20px;
  word-break: break-word;
}

.feature-item h2 {
  color: #333;
  font-weight: 300;
  font-size: 25px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: normal;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: inherit;
}

.feature-item p {
  font-size: 16px;
  line-height: 1.8em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  color: #111;
  margin: 0 0 10px;
  display: block;
}

/* Mobile */
@media screen and (max-width: 500px) {
  .hero-content {
    bottom: 0;
  }
  .tx-hero {
    padding-bottom: 10px;
  }
  .tx-hero .hero-text {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .mdx-list-item .text-content {
    width: calc(100% - 64px - 20px);
  }

  .mdx-list-item .icon-holder {
    width: 64px;
    height: 64px;
    margin-right: 20px;
  }

  .mdx-list-item .text-content h3 {
    height: 3rem;
    display: flex;
    align-items: center;
    font-size: 22px;
  }

  .mdx-list-item .content {
    margin-left: -80px;
  }
}

@media screen and (min-width: 60em) {
  .md-sidebar--secondary {
    display: none;
  }

  .tx-hero__content {
    max-width: 22rem;
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
    margin-left: 1rem;
    margin-right: 4rem;
    align-items: center;
  }
}

@media screen and (min-width: 76.25em) {
  .md-sidebar--primary {
    display: none;
  }

  .top-hr {
    width: 100%;
    display: flex;
    max-width: 61rem;
    margin-right: auto;
    margin-left: auto;
    padding: 0 0.2rem;
  }

  .bottom-hr {
    margin-top: 10px;
    width: 100%;
    display: flex;
    max-width: 61rem;
    margin-right: auto;
    margin-left: auto;
    padding: 0 0.2rem;
  }

  .feature-item {
    flex: 1;
    min-width: 0;
  }

  .feature-item:hover {
    background-color: var(--md-highlight-color);
    border-radius: 3px;
  }
}

/** Animations **/
.fade-in, .fade-in-2, .fade-in-3 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible, .fade-in-2.visible, .fade-in-3.visible {
    opacity: 1;
    transform: translateY(0);
}

.no-js .fade-in, .no-js .fade-in-2, .no-js .fade-in-3 {
    opacity: 1;
    transform: translateY(0);
}