header {
  background-image: url(/themes/custom/rw/img/savedbyrw.jpg);
  width: 100%;
  background-repeat: no-repeat;

  background-position: 50% 50%;
  background-size: cover;
  height: 70vh;
  display: flex;
  align-items: center;
}

.mission h1 {
  text-align: center;
  width: 57vw;
  margin: auto;
  border-radius: 0.45rem;
  font-family: 'SF pro Display Bold';
  color: #dcd8d8;
  font-size: 2.4rem;
}


.flip-card {
  background-color: transparent;
  width: 100%;
  height: 56.5vh;
  perspective: 1000px;
  margin-top: 2rem;

}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;

}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


.flip-card-back {

  transform: rotateY(180deg);


}

.flip-card-back {
  border-radius: 1.2rem;
  padding: 1rem;
  background: linear-gradient(to top, #D0B037, #F9D835);
  display: flex;
  align-items: center;
}

.flip-card img {
  border-radius: 1.2rem;
  width: 100%;

}

.flip-card h1 {
  color: #000;
  font-family: 'SF pro Display Bold';
  font-size: 1.3rem;
  text-align: left;
}

.flip-card p {
  color: #000;
  font-family: 'SF pro Display Regular';
  font-size: 0.9rem;
  text-align: left;
}

.nav-tabs {
  justify-content: center;
  margin-top: -4rem;
  border-bottom: none
}

.nav-tabs .nav-link {

  background-color: none;
  border-color: none;
  margin-left: 1rem;
  margin-right: 1rem;
  font-size: 1.2rem;
  background: none;
  color: #e7ad19;
  font-family: 'SF pro Display Bold';
  border: none;
  border-radius: 0.45rem;
  cursor: pointer;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  background: linear-gradient(to top, #D0B037, #F9D835);
  border: none;
  color: #fff;
}

.tab-content {
  margin-top: 2rem;

}

@media screen and (max-width: 991px) {
  .burger div {
    background: #000;
  }

  .nav-links .get-started1 {
    color: #fff;
    border: 1px solid #fff;
  }

  .mission h1 {
    text-align: center;
    width: 100%;
    font-size: 2.3rem;

  }

  .flip-card {
    height: auto;
  }

  .flip-card-back {
    transform: rotateY(0deg);

  }

  .flip-card-front, .flip-card-back {
    position: static;
    height: auto;
  }

  .flip-card-back {
    background: none;
    text-align: center;
  }

  .flip-card h1 {
    text-align: center;
    margin-top: 1.2rem;
  }

  .flip-card p {
    text-align: center;
    font-size: 1rem;

  }

  .flip-card:hover .flip-card-inner {
    transform: rotateY(0deg);
  }

  .nav-tabs {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: left;
    overflow-y: hidden;
    flex-wrap: nowrap;
    margin-top: -3rem;

  }
}


@media screen and (min-width: 1900px) {
  .mission h1 {
    width: 69vw;

    font-size: 3.5rem;
  }

  .nav-tabs .nav-link {
    font-size: 1.6rem;
  }

  .nav-tabs {

    margin-top: -5rem;
  }

  .flip-card {
    margin-top: 5rem;
  }

  .flip-card h1 {
    font-size: 1.9rem;
  }

  .flip-card p {
    font-size: 1.4rem;
  }
}

div .img-impact22 {
  margin-bottom: 43px;
  margin-top: 43px;
}
