body {
  background-color: rgb(21, 20, 24);
}

/* These are to fix a weird obscure visual bug that seems to make the navbar on
the about page somehow closer together? Can't figure out anything from inspect element */
nav h4 {
  position: relative;
  top: -1px;
}

nav h5 {
  position: relative;
  top: 1px;
}
/* End weird obscure bugfix */

#row-one {
  background-image: url("../images/about-us-first-background.jpeg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  min-height: 200px;
  text-align: center;
  padding-top: 30px;
}

#row-one > h1 {
  font-size: 60px;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: white;
}

#row-one > h3 {
  font-size: 30px;
  font-weight: 300;
  font-family: "Poppins", sans-serif;
  color: white;
}

#row-two {
  display: flex;
  justify-content: flex-end;
  background-image: url("../images/team-picture.jpg");
  background-size: cover;
  background-position: center;
}

#row-three {
  display: flex;
  background-image: url("/images/about-us-second-background.jpeg");
  background-size: cover;
  background-position: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

#story {
  width: 50%;
  padding-top: 100px;
  padding-right: 15%;
  padding-bottom: 100px;
  padding-left: 50px;
  background-color: #fffffe85;
}

#story > h1 {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 70px;
}

#story-desc {
  background-color: #ffffff6e;
  padding: 20px 10px;
  border-radius: 10px;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
}

#special-thanks {
  padding-right: 10%;
}

#special-thanks-title {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  vertical-align: baseline;
  text-align: center;
}

#first-image {
  vertical-align: middle;
  padding-right: 10%;
  padding-left: 10%;
}

#special-thanks-p {
  line-height: 1.6em;
  text-align: center;
  font-size: 16px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
}

/* .image-gallery > a > img { */
/* max-width: 300px; */
/* } */

/* Control styles
-------------------------------------------- */

.carousel {
  position: relative;
}
.carousel input {
  position: absolute;
  left: 0;
  z-index: 3;
  margin: 0;
}
.carousel input:before {
  position: absolute;
  content: "<";
}
input:checked ~ input:before {
  content: ">";
}
input:checked {
  display: none;
}
input:checked ~ input {
  right: 0;
  left: auto;
}
input:checked + div + input {
  z-index: 4;
}
input + div {
  position: absolute;
  z-index: 1;
}
input:checked + div {
  z-index: 2;
}

/* Demo styles
--------------------------------------------  */

body {
  font: 90% / 1.5 Arial;
}

.carousel {
  max-width: 600px;
  height: 350px;
  margin: 2em auto;
  overflow: hidden;
  transform: translateZ(0px); /* stops flickering incode pen*/
  box-shadow: 0 0 2px 1px #ccc;
}
.carousel input {
  top: 150px;
  width: 60px;
  height: 60px;
  left: 10px;
}
input:checked ~ input {
  right: 10px;
}
.carousel input:before {
  background: rgb(0, 0, 0);
  border-radius: 50%;
  color: #fff;
  font-size: 25px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border: 5px solid rgb(0, 0, 0);
}

/* Scroll
--------------------------------------------  */

#test1 input + div {
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.5s ease-in-out;
}
#test1 input:checked + div {
  transform: translate3d(0, 0, 0);
}
#test1 input:checked + div ~ div {
  transform: translate3d(100%, 0, 0);
}

/* Disolve
--------------------------------------------  */

#test2 input + div {
  transition: opacity 0s 1s;
  opacity: 0;
}
#test2 input:checked + div {
  transition: opacity 1s;
  opacity: 1;
}

#image1 {
  max-width: 100%;
  max-height: 100%;
}

@media screen and (max-width: 950px) {
  #row-one {
    background-size: 100%;
  }

  #row-two {
    justify-content: center;
  }

  #story {
    padding: 100px 25px;
    width: 80%;
  }

  #story h1 {
    font-size: 50px;
    text-align: center;
  }

  #story-desc {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  #row-three {
    display: block;
  }

  #first-image {
    display: flex;
    justify-content: center;
  }

  #special-thanks {
    text-align: center;
    padding: 30px;
  }
}

@media screen and (max-width: 480px) {
  #story {
    width: 95%;
  }
}
