@import url(https://fonts.googleapis.com/css?family=Lato:400,100,300);
@import url(https://fonts.googleapis.com/css?family=Inconsolata);
html, body {
  height: 100%;
}

body {
  /*background: linear-gradient(to right, #ff512f, #f09819);
  background-size: auto 100%;
  font: normal 300 13px/16px Lato;*/
}

a {
  text-decoration: none;
}

ul {
  list-style-type: none;
}

.wrapper {
  height: 100%;
}
#dvImage{
  height: 100%;
  width: 100%;
}

.clear:after {
  content: "";
  display: table;
  clear: both;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  outline: 0;
  box-sizing: border-box;
}

h1 {
  font-weight: 100;
  font-size: 90px;
  text-align: center;
  width: 100%;
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

header {
  padding: 40px;
}
header a {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.5);
  padding: 8px 20px;
  border-radius: 3px;
  position: relative;
}
header a:hover, header a.active-main-nav {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}
header .github a {
  padding-left: 40px;
}
header .github a:before {
  content: "";
  display: inline-block;
  background-image: url("http://imgh.us/github_2.svg");
  height: 16px;
  width: 16px;
  background-size: 100% auto;
  margin-right: 7px;
  position: absolute;
  left: 18px;
  top: 8px;
  opacity: .5;
}
header .github a:hover:before {
  opacity: 1;
}
header ul {
  float: right;
}
header li {
  float: left;
  margin-left: 30px;
}

.show-key {
  font-size: 300px;
  position: absolute;
  text-align: center;
  font-weight: 300;
  width: 100%;
  color: rgba(255, 255, 255, 0.5);
  top: 50%;
  transform: translateY(-50%);
}

.fade-out-title {
  transition: .5s color linear;
  color: rgba(255, 255, 255, 0.1);
}

#codeModal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  min-width: 600px;
  min-height: 200px;
  border-radius: 3px;
  max-width: 650px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
#codeModal pre {
  font-size: 16px;
  color: white;
  margin-top: 30px;
  padding: 0 35px;
  overflow: hidden;
}

.code-nav {
  margin: 20px 40px;
}
.code-nav li {
  float: left;
  width: 50%;
  text-align: center;
  font-size: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.code-nav a {
  color: rgba(255, 255, 255, 0.5);
  padding: 10px;
  padding-bottom: 20px;
  display: block;
}
.code-nav .active-code-nav {
  border-bottom: 1px solid white;
}
.code-nav .active-code-nav a {
  color: white;
}

.modal-controls {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  margin: 20px 40px;
}
.modal-controls ul {
  float: right;
}
.modal-controls li {
  float: left;
  padding: 15px 20px;
}
.modal-controls a {
  color: rgba(255, 255, 255, 0.5);
  display: block;
  font-size: 14px;
}
.modal-controls p {
  float: left;
  line-height: 46px;
  color: rgba(255, 255, 255, 0.5);
}

.fade-out {
  transition: .5s opacity linear;
  opacity: 0 !important;
}

.fade-in {
  transition: .5s opacity linear;
  opacity: 1 !important;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}



.bg {
  /* The image used */
  /*background-image: url("https://www.w3schools.com/howto/img_parallax.jpg");*/

  /* Full height */
  height: 100%; 

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.body-bg{
  height: 100%; 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}


.hide{
  display: none;
}


div#preloader {height: 100%; left: 0;overflow: visible; position: fixed;top: 0; width: 100%; z-index: 99999; display: flex; background: #222;}
    .spinner { width: 80px; height: 80px; margin: auto; background-color: #fff; border-radius: 100%;
        -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
        animation: sk-scaleout 1.0s infinite ease-in-out;}
div#preloader1 {height: 100%; left: 0;overflow: visible; position: fixed;top: 0; width: 100%; z-index: 99999; display: flex; background: #e3e3e3;}
    @-webkit-keyframes sk-scaleout {
        0% {-webkit-transform: scale(0)}
        100% {-webkit-transform: scale(1.0);opacity: 0;}
    }

    @keyframes sk-scaleout {
        0% {-webkit-transform: scale(0);transform: scale(0);}
        100% {-webkit-transform: scale(1.0);transform: scale(1.0);opacity: 0;}
    }