@font-face {
  font-family: 'National';
  src: url("fonts/NationalWeb-Book.eot");
  src: url("fonts/NationalWeb-Book.eot?#iefix") format("embedded-opentype"),
    url("fonts/NationalWeb-Book.woff") format("woff"),
    url("fonts/NationalWeb-Book.ttf") format("truetype"),
    url("fonts/NationalWeb-Book.svg#icongs") format("svg");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'National';
  src: url("fonts/NationalWeb-BookItalic.eot");
  src: url("fonts/NationalWeb-BookItalic.eot?#iefix") format("embedded-opentype"),
    url("fonts/NationalWeb-BookItalic.woff") format("woff"),
    url("fonts/NationalWeb-BookItalic.ttf") format("truetype"),
    url("fonts/NationalWeb-BookItalic.svg#icongs") format("svg");
  font-weight: 400;
  font-style: italic;
}
    
@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot');
  src:  url('fonts/icomoon.eot#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf') format('truetype'),
    url('fonts/icomoon.woff') format('woff'),
    url('fonts/icomoon.svg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 0; 
  margin: 0; 
  background-color: rgb(0,0,0);
  color: rgb(190,190,190);
  font-family: 'National';
  font-weight: 400;
  overflow: hidden;
  -webkit-user-select: none;  
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body.about #about {
  pointer-events: all;
  opacity: 1;
}

header {
  z-index: 100;
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: transparent;
  mix-blend-mode: screen;
}

.options {
  position: relative;
  width: 180px;
  height: auto;
  display: flex;
  flex-direction: row;
  -webkit-transition: opacity 0.1s ease-in-out;
  -moz-transition: opacity 0.1s ease-in-out;
  -ms-transition: opacity 0.1s ease-in-out;
  transition: opacity 0.1s ease-in-out;
  opacity: 1;
  pointer-events: all;
  animation-duration: 2s;
  animation-name: availability;
  animation-fill-mode: forwards;
}

@keyframes availability {
  0% {
    opacity: 0;
    pointer-events: none;
  }
  75% {
    opacity: 0;
    pointer-events: none;
  }
  99.99% {
    opacity: 1;
    pointer-events: none;
  }
  100% {
    pointer-events: all;
  }
}

.option {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
}

.option-1x {
  width: 60px;
}

.option-2x {
  width: 120px;
}

.icon {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-family: 'icomoon' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  font-size: 30px;
  color: rgb(80,80,80);
  -webkit-transition: color 0.2s ease-in-out;
  -moz-transition: color 0.2s ease-in-out;
  -ms-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  cursor: pointer;
}

a.option:hover, 
a.option:focus, 
a.option:active {
  border: none;
  outline: none;
}

a.option:hover .icon {
  color: rgb(190,190,190);
}

#icon-fathom:before {
  content: "\31";
}

#icon--facebook:before {
  content: "\32";
}

#icon--twitter:before {
  content: "\33";
}

#info {
  justify-content: flex-start;
}

#social {
  justify-content: flex-end;
}
      
#logo {
  position: relative;
  width: auto;
  height: 100%;
  pointer-events: none;
  -webkit-user-select: none;  
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#option--about {
  justify-content: flex-start;
}

#button--about {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0 6px;
  padding: 3px 6px 5px;
  background-color: rgb(80,80,80);
  color: rgb(0,0,0);
  outline: none;
  border: none;
  border-radius: 2px;
  font-family: 'National';
  font-style: italic;
  font-size: 15px;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease-in-out;
  -moz-transition: background-color 0.2s ease-in-out;
  -ms-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}

#button--about:hover {
  background-color: rgb(190,190,190);
}

#onboarding {
  position: absolute;
  z-index: 75;
  width: 100vw;
  top: 50vh;
  left: 0;
  margin-top: calc(-12.75px - 0.5vw);
  text-align: center;
  font-size: 30px;   
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: rgb(120,120,120);
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  pointer-events: none;
}

#about {
  display: block;
  position: absolute;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity 0.1s ease-in-out;
  -moz-transition: opacity 0.1s ease-in-out;
  -ms-transition: opacity 0.1s ease-in-out;
  transition: opacity 0.1s ease-in-out;
}

#about--background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0,0,0);
  opacity: 0.75;
}

#about--text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  width: 450px;
  padding-left: 40px;
  font-size: 20px;
  line-height: 24px;
  color: rgb(170,170,170);
}

#about--text p {
  margin: 0;
}

#about--text p + p {
  margin-top: 20px;
}

#about--attribution {
  margin-top: 40px;
  color: rgb(100,100,100);
}

#about--text a, 
#about--text a:visited {
  display: inline;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid;
  -webkit-transition: color 0.1s ease-in-out;
  -moz-transition: color 0.1s ease-in-out;
  -ms-transition: color 0.1s ease-in-out;
  transition: color 0.1s ease-in-out;
}

#about--text a:hover, 
#about--text a:visited:hover {
  color: rgb(255,255,255);
}

em {
  font-style: normal !important;
  color: rgb(255,255,255);
}
      
#mask {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  pointer-events: none;
}

#mask:not(.early), 
#onboarding:not(.early) {
  animation-duration: 0.5s;
  animation-delay: 1.5s;
  animation-name: fadeout;
  animation-fill-mode: both;
}

@keyframes fadeout {
  0% {
    opacity: 1;
    display: block;
  }
  99.99% {
    opacity: 0;
    display: block;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

#p5_loading {
  position: absolute;
  top: 60px;
  height: 30px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  font-style: italic;
  font-size: 20px;
  line-height: 24px;
  color: rgb(120,120,120);
}


@media screen and (max-width: 700px)  {
      
  header {
    height: 30px;
  } 

  .options {
    width: 90px;
  }

  .option {
    height: 30px;
  }

  .option-1x {
    width: 30px;
  }

  .option-2x {
    width: 60px;
  }

  .icon {
    font-size: 15px;
  }

  #onboarding {
    font-size: 25px;
  }

  #button--about {
    margin: 0 6px;
    padding: 0px 4px 2px;
    font-size: 12px;
    line-height: 15px;
  }

  #about--text {
    width: 300px;
    padding-left: 15px;
    font-size: 15px;
    line-height: 19px;
  }

  #p5_loading {
    top: 30px;
    font-size: 15px;
    line-height: 19px;
  }

}

@media screen and (max-width: 300px)  {
      
  .icon {
    display: none;
  }

  #onboarding {
    font-size: 15px;
  }

  #about--text {
    width: 200px;
    padding-left: 12px;
    font-size: 12px;
    line-height: 15px;
  }

  #p5_loading {
    font-size: 12px;
    line-height: 15px;
  }

}