/**
* Fonts
*/

@font-face {
  font-family: DINNextLTProMedium;
  src: url("../fonts/din-next-lt-pro-medium.otf");
}

/**
* Body
*/

html {
  overflow: hidden;
  height: 100%;
  font-size: 62.5%;
}

body {
  font-family: DINNextLTProMedium, "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: url("../images/background.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-size: 1.5em;
  line-height: 1.6;
  font-weight: 500;
  color: #222222;
  margin: 0;
}

/**
* Typography
*/

h1 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300;
  font-size: 4.0rem;
  line-height: 1.2;
  letter-spacing: -.1rem;
}

@media (min-width: 550px) {
  h1 {
    font-size: 5.0rem;
  }
}

/**
* Content
*/

.wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
  justify-content: center;
  align-items: center;
  padding: 50px 0 80px 0;
  box-sizing: border-box;
  transition: top 0.5s;
  top: 0;
}

div.content {
  position: relative;
  width: 375px;
  text-align: center;
  display: inline-block;
  z-index: 1;
}

.title {
  font-size: 24px;
  letter-spacing: 0.3em;
  margin-bottom: 0;
  color: #505050;
}

@media (min-width: 480px) {
  div.content {
    width: 480px;
  }
  .title {
    font-size: 50px;
    letter-spacing: 0.2em;
  }
}

@media (min-width: 768px) {
  div.content {
    width: 610px;
  }
  .title {
    font-size: 50px;
  }
}

/**
* Overlay
*/

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1;
}

/**
* Particles
*/

#particles-js canvas {
  position: fixed;
}
