/* general */

:root {
  /* --bg-color: #32353c; */
  --bg-color: #33333d;
}

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  color: #fff;
  font-family: Mulish, sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5;
  background-color: var(--bg-color);
}

/* elements */


h1,h2,h3,h4,h5,h6 {
  color: #fff;
  margin: 0 0 0.5em 0;
  font-weight: bold;
  line-height: 1.1em;
}

h1 { font-size: 2.40rem; }
h2 { font-size: 2.28rem; }
h3 { font-size: 1.71rem; }
h4 { font-size: 1.50rem; }
h5 { font-size: 1.28rem; }
h6 { font-size: 1.14rem; }

@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.14rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 1rem; }
  p { font-size: 0.8em; }
}

h1, h2 {
  text-align: center;
  margin: 1em 0;
}

p {
  margin-bottom: 1.5em;
  hyphens: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

a {
  color: #fff;
  text-decoration: underline;
  border-bottom: dotted 1px rgba(0,0,0,0);
  transition: all ease-in-out 0.5s;
}

a:hover { border-bottom-color: rgba(0,0,0,0.25); }

.dark a {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.5);
}

.dark a:hover { border-bottom-color: rgba(255,255,255,0); }

blockquote {
  position: relative;
  padding: 1em;
  padding-right: 0;
  font-size: 1.3rem;
}

blockquote:before {
  display: block;
  content: "\201C";
  font-size: 4rem;
  position: absolute;
  left: -30px;
  top: -20px;
  color: #666;
}

blockquote cite {
  display: block;
  color: #aaa;
  font-size: 0.8rem;
}

blockquote cite:before { content: "\2014 \2009"; }

hr {
  margin: 4em 0;
  border: 0;
  border-top: 1px solid #fff;
}

hr:after {
  background: url(/images/feather.svg), var(--bg-color);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  display: block;
  margin: 0 auto;
  width: 50px;
  height: 40px;
  position: relative;
  top: -25px;
}


small { display: block; }

/* layout */


header,
footer {
  text-align: center;
  margin: 0 auto;
}

header {
  margin-bottom: 3em;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 768px) {
  header {
    height: -webkit-fill-available;
    height: -moz-available;
  }
}

header .hero {
  background: url('../images/header-sm.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 65vh;
}
@media (min-width: 960px) {
  header .hero {
    background-image: url('../images/header.jpg');
  }
}

header .title {
  max-width: 40em;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

header .title h1 {
  margin: 0;
}

.logos {
  max-width: 40em;
  margin: 0 auto .5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logos img {
  max-height: 100%;
}

.known {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.known .logo {
  flex-basis: 20%;
}

@media (min-width: 960px) {
  .known {
    margin-left: -5em;
    margin-right: -5em;
  }
}

footer .copyright {
  border-top: 1px solid #e6e6e6;
  padding: 8em 0 3em 0;
  background: url(../images/remulus-film.png) no-repeat;
  background-position: 50% 1em;
  background-size: 200px;
  background-color: #f8f8f8;
  color: #444;
}

footer .copyright a {
  color: #444;
}

/* article */

article {
  padding: 0 1em 3em 1em;
  max-width: 35em;
  margin: 0 auto;
}

article figure {
  margin: 3em 0;
}

@media (min-width: 960px) {
  article figure {
    margin-left: -5em;
    margin-right: -5em;
  }
}

.gallery img {
  margin-bottom: 1rem;
}

.team {
  display: flex;
  align-items: center;
  margin-bottom: 2em;
}

.team img {
  min-width: 200px;
  width: 200px;
  border-radius: 50%;
  border: 2px solid white;
}
@media (max-width: 768px) {
  .team img {
    min-width: 125px;
    width: 125px;
  }
}

.team:nth-child(odd) a {
  margin-left: 1em;
  order: 2;
}

.team:nth-child(even) a {
  margin-right: 1em;
}

.box {
  padding: 1em;
  background-color: #fff;
  color: var(--bg-color);
}

.box a {
  color: var(--bg-color);
}

.box hr {
  border-color: var(--bg-color);
  margin: 2em;
}

.box hr:after {
  background-image: url(/images/feather-dark.svg);
  background-color: #fff;
}

.box .logos {
  height: initial;
  justify-content: space-around;
}

.box .logos img {
  max-height: 55px;
  padding: .25em;
}
@media (max-width: 768px) {
  .box .logos {
    flex-wrap: wrap;
  }
}
