/*basic reset*/

* {margin: 0; padding: 0;box-sizing: border-box;}

/*adding a black bg to the body to make things clearer*/

body {
	background: #232323;
  width: 100%;
}
/*move*/
#container {
  perspective: 25px;
  width:1000px;
  margin:0 auto;
  position: relative;
}
#inner {
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
  -moz-transition: transform 0.5s;
  -o-transition: transform 0.5s;
}
/*clipping mask*/
.glasses-container{
  margin-top: 100px;
}
.target {
  display: block;
  max-width: 79%;
  height: auto;
  margin: 0 auto;
}
.alpha-target {
  -webkit-mask-image: url(../img/sunglasses.png);
  mask-image: url(../img/sunglasses.png);
  mask-mode: alpha;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  position:relative;
}
.red-glasses{
  position: absolute;
  z-index:50; 
  margin:-1px auto;
  left:0;
  right:0;
  width:80%
}
canvas {
  display: block;
}
/*loading bar*/
.loading{
  font-size:46px;
  text-align:center;
  font-family:"Consolas", sans-serif;
  font-weight:bold;
  color:#fff;
  display:block;
}
.preloader-wrap {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0; 
  bottom: 0;
  background: #232323;
  z-index : 2; 
}
.percentage {
  z-index: 100;
  border: 1px solid #fff;
  text-align: center;
  color: #ca212a;
  line-height: 30px;
  font-size: 18px;
  font-weight: bold !important;
}
.loader{
  padding: 1rem;
}
.loader,
.percentage{
  height: 50px;
  max-width: 500px;
  border: 2px solid #fff;
  border-radius: 0px;
  font-weight: 300;
  position: absolute;
  top: 200px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  padding: .5rem;
}
.loader:after,
.percentage:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.trackbar {
  width: 100%;
  height: 100%;
  border-radius: 0px;
  color: #fff;
  text-align: center;
  line-height: 30px;
  overflow: hidden;
  position: relative;
  opacity: 0.99;
  padding: .5rem;
}
.loadbar {
  width: 0%;
  height: 100%;
  background: #fff;
  box-shadow: 0px 0px 14px 1px #fff; 
  position: absolute;
  top: 0;
  left: 0;
  animation: flicker 5s infinite;
  overflow: hidden;
}
.glow {
  width: 0%;
  height: 0%;
  border-radius: 0px;
  box-shadow: 0px 0px 60px 10px #ca212a;
  position: absolute;
  bottom: -5px;
  animation: animation 5s infinite;
}
@keyframes animation {
  10% {
    opacity: 0.9;
  }
  30% {
    opacity: 0.86;
  }
  60% {
    opacity: 0.8;
  }
  80% {
    opacity: 0.75;
  }
}
/*inner pages*/
.wrap { 
  background-image : url(../img/code.jpg);
  background-position: left top; 
  background-repeat: no-repeat; 
  -webkit-background-size: cover; 
  -moz-background-size: cover; 
  -o-background-size: cover; 
  background-size: cover; 
  width: 100%; 
  height: 100%; 
  position: relative;  
  z-index : 1; 
}
.contents { 
  position: fixed;
  right: 20px;
  bottom: 20px;
  font-size: 14px;
  color: #fff;
  display: block;
}
.loader-removed, .loader-removed * {}
/*media queries*/
@media (max-width: 1024px){
#container {
  width:100%;
}
.loading{
  display: none;
  opacity: 0;
}
}
@media (max-width: 768px){
.loader, .percentage {
    top: 100px;
  }
}