:root {
  --vff-bg-color: #000;
  --vff-main-text-color: #fff;
  --vff-secondary-text-color: #707070;
  --vff-main-accent-color: #fff;
  --vff-secondary-accent-color: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--vff-bg-color);
  color: var(--vff-main-text-color);
  font-family: "nort", sans-serif;
  font-size: 1.8rem;
  min-height: 100vh;
  overflow-x: hidden;
}

@media (max-width: 767px) {
  body {
    font-size: 1.6rem;
  }
}

.vff,
.vff textarea,
.vff input,
.vff select,
.vff select option,
.vff kbd,
.vff-header,
.vff-footer {
  font-family: "nort", sans-serif;
}

button {
  font-family: inherit;
}

.vff button {
  border: none;
  outline: 0;
  cursor: pointer;
  padding: 0.3em 0.7em;
  text-align: center;
  display: inline-block;
  min-height: 44px;
  white-space: pre-wrap;
  max-width: 100%;
}

.vff .o-btn-action {
  z-index: 1;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  margin-top: 2rem;
  color: var(--vff-main-text-color);
  background-color: var(--vff-bg-color);
  border: 1px solid var(--vff-main-text-color);
  font-size: inherit;
  transition: all 0.3s ease;
}

.vff .o-btn-action:hover,
.vff .o-btn-action:focus {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 10% 10vh;
  align-items: center;
  min-height: 100vh;
  margin: 0 !important;
}

.intro > * {
  z-index: 2;
}

.intro > video {
  z-index: 1;
}

.intro video {
  width: auto;
  height: 50vmin;
  pointer-events: none;
  position: fixed;
  left: 50%;
  top: 10vh;
  transform: translateX(-50%);
}

.intro .center {
  text-align: center;
  font-size: 1em;
  line-height: 1.34;
  opacity: 0;
  transition: opacity 2.5s;
}

body.ready .intro .center {
  opacity: 1;
}

.intro .center .grey {
  color: var(--vff-secondary-text-color);
}

.intro .center .small {
  font-size: 0.9rem;
  color: var(--vff-secondary-text-color);
  opacity: 0;
  transition: opacity 2.5s;
}

body.conclusion .intro .center .small {
  opacity: 1;
}

@media (max-width: 767px) {
  .intro {
    min-height: calc(100vh - 65px);
  }
}

.vff .start-spacer {
  margin-top: 3rem;
  visibility: hidden;
}

@media (max-width: 1024px) {
  .intro video {
    width: 80%;
    height: auto;
    top: 2vh;
  }

  .intro {
    font-size: 1.2rem;
    padding: 0 2rem 2rem 2rem;
  }
}

.vff-about {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 99999;
  opacity: 0;
  transition: opacity 2.5s;
  transition-delay: 2s;
}

body.ready .vff-about {
  opacity: 1;
}

.vff .about-btn {
  position: absolute;
  top: 0;
  right: 3.5rem;
  transform: scale(0.6);
  margin-top: 3rem !important;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .vff .about-btn {
    transform: translateY(-2rem) scale(0.6);
    right: 0.8rem;
  }
}

.about-overlay {
  position: fixed;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  color: white;
  overflow: auto;
  padding: 2rem !important;
  margin-top: 0;
  background: black;
  z-index: 999991;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

body.about-open .about-overlay {
  opacity: 1;
  visibility: visible;
}

.about-overlay h4 {
  margin-bottom: 0;
}

.about-overlay h5 {
  margin-top: 0.5em;
}

.about-overlay p {
  font-size: 0.8em;
  max-width: 1200px;
}

.about-overlay b {
  margin-bottom: 0.5em;
  margin-top: 1em;
}

.about-overlay a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 10%;
}

.about-overlay .plyr__video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.about-overlay .plyr__video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.close-about {
  position: fixed;
  top: 1rem;
  right: 3rem;
  cursor: pointer;
  font-size: 3.5rem;
  transition: opacity 0.3s ease;
  z-index: 999992;
  text-shadow: black 1px 1px 1px;
}

.close-about:hover {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

@media (max-width: 767px) {
  .close-about {
    top: 0;
    right: 1.5rem;
    font-size: 3rem;
  }
}
