html {
  height: 100%
}

body {
  height: 100%;
  margin: 0;
  font-family: iransans-light ;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  font-size: 18px
}

#p4p-scene {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  
}

#p4p-scene .layer {
  width: 100%;
  height: 100%
}

.p4p-astronaut-scene .p4p-text-layer {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  color: #fff;
  text-shadow: -2px 2px 0 rgba(0, 0, 0, 0.2);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%)
}

@media screen and (max-width: 768px) {
  .p4p-astronaut-scene .p4p-text-layer {
    top: 0;
    -moz-transform: none;
    -ms-transform: none;
    -webkit-transform: none;
    transform: none
  }
}

.p4p-astronaut-scene .p4p-text-layer h1 {     direction: rtl;
  margin: 0 15px
}

.p4p-astronaut-scene .p4p-text-layer h1 span {
  display: block;
  font-size: 3em;
  text-transform: uppercase;
  font-family: iransans-bold;
}

@media screen and (max-width: 768px) {
  .p4p-astronaut-scene .p4p-text-layer h1 span {
    font-size: 2em
  }
}

.p4p-astronaut-scene .p4p-text-layer p {
  margin: 0 15px 30px
}

.p4p-astronaut-scene .p4p-text-layer a {
  color: #32a9ff;
  text-decoration: none
}

.p4p-astronaut-scene .p4p-text-layer a:hover {
  border-bottom: 2px solid
}

.p4p-astronaut-scene .p4p-text-layer input {
  font-size: 2em;
  font-family: iransans-light;
  text-transform: uppercase;
  padding: .4em 1em;
  outline: none;
  text-align: center;
  background-color: transparent;
  color: #fff;
  border: 4px solid rgba(255, 255, 255, 0.5);
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px
}

@media screen and (max-width: 768px) {
  .p4p-astronaut-scene .p4p-text-layer input {
    font-size: 1.5em;
    padding: .3em .7em
  }
}

.p4p-astronaut-scene .p4p-text-layer input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.5)
}

.p4p-astronaut-scene .p4p-text-layer input:-moz-placeholder {
  color: rgba(255, 255, 255, 0.5)
}

.p4p-astronaut-scene .p4p-text-layer input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5)
}

.p4p-astronaut-scene .p4p-text-layer input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.5)
}

.p4p-astronaut-scene .p4p-parallax-background {
  width: 130%;
  height: 130%;
  background-position: center;
  background-size: cover;
  position: fixed;
  top: -15%;
  left: -15%
}

@media screen and (max-width: 768px) {
  .p4p-astronaut-scene .p4p-parallax-background {
    width: 260%;
    left: -150%
  }
}

.p4p-astronaut-scene .layer:nth-child(1) .p4p-parallax-background {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzEzMTczZCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzY5YTFiMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #13173d), color-stop(100%, #69a1b0));
  background-image: -moz-linear-gradient(top, #13173d, #69a1b0);
  background-image: -webkit-linear-gradient(top, #13173d, #69a1b0);
  background-image: linear-gradient(to bottom, #13173d, #69a1b0)
}

.p4p-astronaut-scene .layer:nth-child(2) .p4p-parallax-background {
  background-image: url(../img/compressed/astronaut/layer2.png)
}

.p4p-astronaut-scene .layer:nth-child(3) .p4p-parallax-background {
  background-image: url(../img/compressed/astronaut/layer3.png)
}

.p4p-astronaut-scene .layer:nth-child(4) .p4p-parallax-background {
  background-image: url(../img/compressed/astronaut/layer4.png)
}

.p4p-astronaut-scene .layer:nth-child(5) .p4p-parallax-background {
  background-image: url(../img/compressed/astronaut/layer5.png)
}

.p4p-astronaut-scene .layer:nth-child(6) .p4p-parallax-background {
  background-image: url(../img/compressed/astronaut/layer6.png)
}

.p4p-astronaut-scene .layer:nth-child(7) .p4p-parallax-background {
  background-image: url(../img/compressed/astronaut/layer7.png)
}

.p4p-astronaut-scene .layer:nth-child(8) .p4p-parallax-background {
  background-image: url(../img/compressed/astronaut/layer8.png)
}

.p4p-astronaut-scene .layer:nth-child(9) .p4p-parallax-background {
  background-image: url(../img/compressed/astronaut/layer9.png)
}