@font-face {
  font-family: "Open Sans";
  src: url(../fonts/OpenSans-VariableFont.ttf) format("truetype");
  font-weight: 200 900;
  font-stretch: normal;
  font-style: normal; }

*,
*::before,
*::after {
  box-sizing: border-box; }

html {
  height: 100%; }

body {
  color: #666666;
  background: #000;
  font-family: "Open Sans", sans-serif;
  margin: 0;
  position: relative;
  height: 100%; }

a {
  color: #fff; }
  a:hover, a:active, a:focus {
    opacity: 1;
    outline: none;
    text-decoration: none; }

/*
Main content
*/
#wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; }

#background {
  width: 100vw;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end; }
  #background > figure:nth-child(1) {
    background-image: url("../img/pexels-photo-533923.jpeg"); }
  #background > figure:nth-child(2) {
    background-image: url("../img/alex-flash-DRYvy1CQqeM-unsplash.jpg"); }
  #background > figure:nth-child(3) {
    background-image: url("../img/nic-y-c-WzazSaQF1F8-unsplash.jpg"); }
  #background > figure {
    width: 100vw;
    height: 100%;
    z-index: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    backface-visibility: hidden;
    background-position: center center;
    background-size: cover;
    border: 10px solid #fff;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0; }
    #background > figure > a {
      margin-bottom: calc(1em + 10px);
      z-index: 1;
      text-decoration: none;
      font-weight: 400;
      font-size: 0.9em; }

#dimming {
  position: absolute;
  width: calc(100% - 2*$frame-size);
  height: calc(100% - 2*$frame-size);
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  left: 10px;
  right: 10px;
  top: 10px;
  bottom: 10px;
  pointer-events: none; }

#content {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: absolute;
  opacity: 1;
  z-index: 2; }

#title {
  margin: 30px 0 20px 0;
  font-size: calc(min(10vw, 3em));
  font-weight: 700;
  text-transform: uppercase;
  color: #fff; }

/*
Fading

https://codepen.io/andreasfurster/pen/QWKWNGe
*/
#background > figure:nth-child(1) {
  animation: fadeinout 30s linear -5s infinite; }

#background > figure:nth-child(2) {
  animation: fadeinout 30s linear 5s infinite; }

#background > figure:nth-child(3) {
  animation: fadeinout 30s linear 15s infinite; }

@keyframes fadeinout {
  0% {
    opacity: 0; }
  16.66667%,
  33.33333% {
    opacity: 1; }
  50%,
  100% {
    opacity: 0; } }

#timer {
  width: 100px;
  height: 10px;
  margin-bottom: calc(3em + 10px);
  z-index: 1;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.1); }
  #timer #timer-bar {
    width: 0%;
    height: 100%;
    animation: timerBarLoading 10s;
    background-color: rgba(255, 255, 255, 0.5);
    animation-timing-function: linear;
    animation-iteration-count: infinite; }

@keyframes timerBarLoading {
  to {
    width: 100%; } }

/*
Social Links
*/
#social-links a {
  margin: 1em;
  text-decoration: none; }
  #social-links a:focus-within svg path {
    opacity: 1; }

#social-links svg {
  height: 2em; }
  #social-links svg path {
    opacity: 0.75;
    transition: opacity 200ms ease-in-out; }
  #social-links svg:hover path {
    opacity: 1; }

/*# sourceMappingURL=style.css.map */