* {
  box-sizing: border-box;
}
body, html {
  font-family: monospace;
  margin: 0;
  padding: 0;
  min-height: 200vh;
  line-height: 1.5;
}
nav {
  position: fixed;
  right: 15px;
  top: 6px;
  background: white;
  border: 1px solid black;
}
nav ul {
  list-site; none;
  margin: 6px;
  padding: 0 15px;
}

nav ul li {
  display: inline-block;
}

.fullscreen-bg {
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: -100;
  margin-bottom: -5px;
  height: 100vh;
}

.fullscreen-bg__video {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



.fullscreen-bg h2 {
  position: absolute;
  bottom: 5%;
  color: white;
  margin-left: 10vw;
  margin-right: 10vw;
  background: rgba(0,0,0, 1);
  padding: 0.5em 1em;;
  font-size: 16px;
  font-weight: 500;
}

@media (min-aspect-ratio: 165/113) {
  .fullscreen-bg__video {
    width: 100%;
    height: auto;
  }
}

@media (max-aspect-ratio: 165/113) {
  .fullscreen-bg__video {
    width: auto;
    height: 100%;
  }
}

.siteTitle {
  position: absolute;
  left: 15px;
}
main {
  padding-left: 30px;
  padding-right: 30px;
}
.whats {
  display: flex;
  flex-wrap: wrap;
}
.whats h2 {
  margin-top: 20vh;
  margin-bottom: 10vh;
  width: 100%;
}
.whats .what {
  width: 50%;
  padding: 30px;
  min-width: 34em;
  display: flex;
}
.whats img {
  max-width: 100%;
}
.whats .what .explanation {
  padding-left: 15px;
}
.why {
  /*background: url(/img/background.jpg) repeat-y;*/
  background-size: contain;
  margin-left: -30px;
  color: black;
  text-align: center;
  padding-top: 10vh;
  padding-bottom: 30vh;
  padding-left: 5vh;
  padding-right: 5vh;
  margin-right: -30px;
}
.why h2 {
  margin-bottom: 5vh;
}
.hows {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
}
.how {
  width: 30%;
}
.how .lemming {
  height: 120px;
  display: flex;
  justify-content: center;
  margin-bottom: 2em;
}
.how .lemming img {
  align-self: flex-end;
  max-width: 100px;
}
.why {
}
.why .furtherInfo {
  margin-top: 10vh;
}
.how h3 {
  text-align: center;
}

.what2 {
  margin-top: 20vh;
}
h2 {
  text-align: center;
}

.who {
  display: flex;

  flex-direction: row;
  background: black;
  color: white;
  margin-left: -30px;
  margin-right: -30px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 10vh;
}

.who a:visited {
  color: blue;
}

.who .description {
  margin-top: 20vh;
  max-width: 40vw;
  padding-right: 30px;
}
.who .photo {
  display: block;
  max-width: 60vw;
  margin-top: -15vh;
}
.who .photo img {
  max-width: 100%;
}

.what2 h2 {
  margin-bottom: 10vh;
}
.what2 .explain {
  text-align: center;
  margin-bottom: 10vh;
}

.projects {
  display: flex;
  flex-wrap: wrap;
  /*justify-content: space-around;*/
}

.projects .header a {
 text-decoration: none;
 color: black;
}
.projects .header a:hover {
  text-decoration: underline;
}
.project {
  width: calc(100% / 3);
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 60px;
}

.project img {
  width: 100%;
}

.clients {
  margin-top: 20vh;
}
.clients a {
  display: inline-block;
  padding: 8px;
}

footer {
  text-align: center;
  margin-top: 20vh;
  background-color: black;
  color: white;
}
footer h2 {
  padding-top: 5em;
  margin-bottom: 5em;
  max-width: 55em;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2em;
  padding-right: 2em;
}
footer .contents {
  border-top: 3em solid black;
  border-bottom: 3em solid black;
  min-height: 100vh;
  background: url(/img/first_four.jpg) top center no-repeat;
  background-size: contain;
  bottom: 0;
  position: relative;
}

footer .contents p {
  position: absolute;
  bottom: 15px;
  width: 100%;
}


@media only screen and (max-width: 600px) {

  .fullscreen-bg h2 {
    font-size: 10px;
  }
  h2 {
    font-size: 16px;
  }
  .who {

    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .who .photo {
    max-width: 100vw;
  }
  .who .description {
    margin-top: 5vh;
    padding-right: 0;
  }

  .whats .what {
    min-width: 100%;
    flex-wrap: wrap;
    padding-left: 0;
    padding-right: 0;
  }

  .what .icon {
    width: 50%;
  }

  .hows .how {
    width: 100%;
  }

  .who .description {
    max-width: 100vw !important;
  }

  .what2 .project {
    width: 100%;
  }

}
