@import url("fontawesome-all.min.css");

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  src: url("../fonts/OpenSans-VariableFont_wdth,wght.ttf") format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  src: url("../fonts/OpenSans-VariableFont_wdth,wght.ttf") format('woff2');
}

/* overrides */
a, body, div, footer, header, html, h1, h2, h3, li, nav, p, span, ul {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
}

footer, header, menu, nav, section {
  display: block;
}

ul {
  list-style: none;
}

/* elements */
body {
  background: #000000;
}

body, input, select, textarea {
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 2em;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #80c0ff;
}

p {
  line-height: 1.5em;
  margin: 0 0 1em 0;
}

/* class-elements */
.highlight {
  color: #80c0ff;
}

/* id-elements */
#content {
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid #000000;
  display: inline-block;
  margin: 0 0 8em 0;
  padding: 1em;
  position: relative;
  text-align: left;
  width: 80%;
}

#content a {
  color: inherit;
  text-decoration: underline;
}

#content a:hover {
  color: #80c0ff;
}

#content h1 {
  font-size: 2em;
  font-weight: 800;
  letter-spacing: -0.04em;
  padding: 0.5em 0;
}

#content h2 {
  font-size: 1em;
  font-weight: 800;
  padding: 0.5em 0;
}

#content ul {
  list-style: initial;
  margin-left: 2em;
}

#footer {
  background-image: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.5) 20%);
  background-image: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.5) 20%);
  background-image: -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.5) 20%);
  background-image: linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.5) 20%);
  bottom: 0;
  font-size: 0.8em;
  height: 8em;
  left: 0;
  line-height: 8em;
  position: fixed;
  text-align: center;
  width: 100%;
}

#header {
  display: inline-block;
  position: relative;
  text-align: center;
  top: -1em;
  vertical-align: middle;
  width: 100%;
}

#header h1 {
  font-size: 5em;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1em;
  padding: 0.5em 0 0.2em 0;
}

#header nav {
  margin: 1em 0 0 0;
}

#header nav li {
  display: inline-block;
  height: 8em;
  line-height: 8em;
  position: relative;
  top: 0;
  width: 6em;
}

#header nav li a:before {
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

#header nav li a:before {
  border: 1px solid #ffffff;
  border-radius: 100%;
  display: block;
  font-size: 2em;
  height: 2.5em;
  line-height: 2.5em;
  position: relative;
  text-align: center;
  top: 0;
  width: 2.5em;
}

#header nav li a:hover {
  font-size: 1.2em;
}

#header nav li a:hover:before {
  background-color: rgba(128, 192, 255, 0.1);
  border: 1px solid #80c0ff;
  color: #80c0ff;
}

#header nav li a:active {
  font-size: 0.9em;
}

#header nav li a span {
  display: none;
}

#header p {
  font-size: 1.2em;
  opacity: 0.5;
}

#main {
  height: 100%;
  left: 0;
  text-align: center;
  top: 0;
  width: 100%;
}

#main.middle:before {
  content: '';
  display: inline-block;
  height: 100%;
  margin-right: -1em;
  vertical-align: middle;
}

#overlay {
  background-attachment: fixed;
  background-image: url("../images/overlay.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  left: 0;
  opacity: 1;
  position: fixed;
  top: 0;
  width: 100%;
}

#wrapper {
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
}

#wrapper.middle {
  position: fixed;
}
