body {
  display: flex;
  flex-direction: column;
}

.headnavbar {
  z-index: 10;
  position: relative;
}

.landingpage {
  border-bottom: 0px;
  z-index: 10;
  position: relative;
  background: #F7F7F7;
}

.landingpage header nav a span {
  color: black;
}

footer {
  position: relative;
}

.story {
  width: 100%;
  font-family: 'Merriweather', serif;
}

.secondSlide {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  min-height: 100vh;
}

.secondSlide .leftPane {
  width: 45%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: 5% auto auto 5%;
}

.teamslide {
  width: 100%;
  background: white;
  position: relative;
}

.teamslide .leftPane {
  width: 90%;
  margin: auto;
  z-index: 3;
  overflow: hidden;
  padding: 5% 0 5% 0;
}

.secondSlide .leftPane h1 {
  font-size: 1.3em;
  font-weight: 500;
  margin-bottom: 20px;
  color: #EAA67A;
}

.secondSlide .leftPane h3 {
  font-size: 2.9em;
  font-weight: 500;
  margin-bottom: 50px;
  color: #464646;
}

.secondSlide .leftPane .team {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  width: 100%;
  padding: 50px;
  justify-content: center;
  /* width */
  /* Track */
  /* Handle */
}

.secondSlide .leftPane .team::-webkit-scrollbar {
  height: 4px;
}

.secondSlide .leftPane .team::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px transparent;
  box-shadow: inset 0 0 5px transparent;
  border-radius: 10px;
}

.secondSlide .leftPane .team::-webkit-scrollbar-thumb {
  background: #EAA67A;
  border-radius: 10px;
}

.secondSlide .leftPane .team .member {
  width: 370px;
  height: 700px;
  background: white;
  -webkit-box-shadow: 6px 12px 10px 5px #0000000d;
  box-shadow: 6px 12px 10px 5px #0000000d;
  border: 2px solid rgba(131, 131, 131, 0.11);
  margin-right: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.secondSlide .leftPane .team .member .pic {
  height: 75%;
  width: 100%;
  overflow: hidden;
}

.secondSlide .leftPane .team .member .pic img {
  height: auto;
  width: 370px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 100%;
}

.secondSlide .leftPane .team .member .info {
  padding: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 25%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.secondSlide .leftPane .team .member .info p {
  color: #eaa67a;
  font-weight: 500;
}

.secondSlide .leftPane .team .member .info span {
  color: grey;
  margin-bottom: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.secondSlide .leftPane .team .member .info span img {
  width: 20px;
  height:20px;
  margin-right: 7px;
}

.secondSlide .leftPane p {
  font-size: 1.2em;
  color: grey;
  line-height: 2em;
  width: 70%;
  margin-bottom: 10px;
}

.main {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  height: fit-content;
}

.main .leftPane {
  width: 45%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: 10% auto auto 5%;
}

.main .leftPane h1 {
  font-size: 1.3em;
  font-weight: 400;
  margin-bottom: 20px;
  color: #EAA67A;
}

.main .leftPane h3 {
  font-size: 2.9em;
  font-weight: 400;
  margin-bottom: 50px;
  color: #464646;
}

.main .leftPane p {
  font-size: 1.2em;
  color: grey;
  line-height: 2em;
  width: 70%;
}

.main .rightPane {
  width: 50%;
  margin: 0% 0 auto 0;
  height: 100%;
  position: fixed;
  right: 0;
  top: 0;
}

.main .rightPane .specImage {
  background-image: url("../Images/dmg-bigwall.jpg");
  background-position: bottom;
  background-size: cover;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  position: relative;
}

.main .rightPane .specImage .lineHor {
  height: 10px;
  width: 100%;
  background: white;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

.main .rightPane .specImage .lineVer {
  height: 100%;
  width: 10px;
  background: white;
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
}

@media (max-width: 1850px) {
  .secondSlide .leftPane .team {
    padding: 10px;
    flex-wrap: wrap;

  }

  .secondSlide .leftPane .team .member {
    width: 330px;
    height: 610px;
    margin: auto;
    margin-bottom: 25px;
  }
}

@media (max-width: 990px) {
  .story .main .leftPane h1 {
    margin-top: 10%;
  }
}

@media (max-width: 850px) {
  .story .main .rightPane {
    width: 0;
  }

  .story .main .leftPane {
    width: 90%;
  }

  .story .main .leftPane h1 {
    margin-top: 15%;
  }

  .story .main .leftPane p {
    text-align: left;
  }

  .secondSlide .team {
    padding: 30px;
  }

  .secondSlide .rightPane {
    width: 0;
  }

  .secondSlide .leftPane {
    width: 100%;
  }

  .teamslide .leftPane {
    width: 90%;
  }

  .secondSlide .leftPane p {
    text-align: left;
  }
}

@media (max-width: 550px) {
  .story .main .leftPane p {
    width: 90%;
  }

  .story .main .leftPane h1 {
    margin-top: 25%;
  }

  .secondSlide .leftPane p {
    width: 90%;
  }

  .secondSlide .leftPane h1 {
    margin-top: 25%;
  }
}

/*# sourceMappingURL=story.css.map */