@import url("https://fonts.googleapis.com/css?family=Roboto:400,700");

html,body,div,h1,h2,p,
center,ul,li,footer,header {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

footer,header {
  display: block;
}

html {
  box-sizing: border-box;
}

body {
  text-align: center;
  line-height: 1;
  -webkit-text-size-adjust: none;
  -ms-overflow-style: scrollbar;
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-flex-direction: column;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -moz-justify-content: center;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  background-color: #000;
  padding: 6em 4em 4em 4em;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

@-ms-viewport {
  width: device-width;
}

@media screen and (max-width: 480px) {

  html,  body {
    min-width: 320px;
  }
}

@media screen and (max-height: 640px) {
  html,  body {
    height: auto;
    min-height: 100%;
  }
}

body>* {
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 1680px) {
  body {
    padding: 6em 3.5em 3.5em 3.5em;
  }
}

@media screen and (max-width: 736px) {
  body {
    padding: 5em 2em 2em 2em;
  }
}

@media screen and (max-width: 360px) {
  body {
    padding: 5em 1.25em 1.25em 1.25em;
  }
}

#background {
  height: 100%;
  left: 0;
  opacity: 0.375;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
  background-image: url('../images/background.jpg');
  background-position: center;
}

#background div {
  background-size: cover;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  visibility: hidden;
  width: 150%;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Type */
body {
  color: rgba(255, 255, 255, 0.75);
  font-family: "Roboto", sans-serif;
  font-size: 16pt;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.65em;
}

@media screen and (max-width: 1680px) {
  body {
    font-size: 12pt;
  }
}

@media screen and (max-width: 1280px) {
  body {
    font-size: 11pt;
  }
}

p {
  margin: 0 0 2em 0;
}

h1, h2 {
  color: #fff;
  font-weight: 700;
  line-height: 1em;
  margin: 0 0 1em 0;
}

header p {
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  margin: 0 0 1.5em 0;
}

/* Header */
#header h1 {
  font-size: 3.25em;
  margin: 0 0 0.55em 0;
}

#header p {
  font-size: 1.35em;
  line-height: 1.65em;
}

@media screen and (max-width: 736px) {
  #header h1 {
    font-size: 2em;
  }

  #header p {
    font-size: 1em;
  }
}

@media screen and (max-width: 480px) {
  #header {
    margin: 0 0 1em 0;
  }
}

/* Footer */
#footer {
  -moz-transition: opacity 0.5s ease-in-out;
  -webkit-transition: opacity 0.5s ease-in-out;
  -ms-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
  bottom: 4em;
  color: rgba(255, 255, 255, 0.5);
  right: 4em;
  opacity: 0.5;
  position: absolute;
}

#footer .company {
  font-size: 0.8em;
  list-style: none;
  padding: 0;
}

#footer .company li {
  border-left: solid 1px rgba(255, 255, 255, 0.25);
  display: inline-block;
  line-height: 1em;
  margin: 0 0 0 0.75em;
  padding: 0 0 0 0.75em;
}

#footer .company li:first-child {
  border-left: 0;
  margin-left: 0;
  padding-left: 0;
}

#footer:hover {
  opacity: 1;
}

#footer > :last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 1680px) {
  #footer {
    bottom: 3.5em;
    right: 3.5em;
  }
}

@media screen and (max-width: 736px) {
  #footer {
    bottom: 2em;
    right: 2em;
  }
}

@media screen and (max-width: 360px) {
  #footer {
    bottom: 1.25em;
    right: 1.25em;
  }
}

@media screen and (max-height: 640px) {
  #footer {
    bottom: auto;
    left: auto;
    margin: 1em 0 0 0;
    position: relative;
  }
}