/* Custom Stylesheet */
body, html {
      margin: 0;
      -webkit-font-smoothing: antialiased;
      background:#555;
      text-align: center;
      overflow: hidden;
      -webkit-transition: opacity 400ms;
      -moz-transition: opacity 400ms;
      transition: opacity 400ms;
}

body, .main, html {
  display: block;
  position: static;
  padding: 0;
  width: 100%;
  height: 100%;
  float: left;
}

body .header{
  color: #ecf0f1;
}

.main p {
  color: #ecf0f1;
  font-size: 16px;
  font-weight: 100;
}

.nav-top a {
  color: #ecf0f1;
}

/* ALL DEMO */
h1 {
  color: #ecf0f1;
}

.main {
  margin-top: -310px;
}

.menu, .header, .nav-top {
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}

.main section.page1 {
  background: url(../img/back-phone.png) center top no-repeat #555;
}

.main section.page1 .page_container {
  position: absolute;
  bottom: 0;
  margin-left: -325px;
  left: 50%;
  margin-bottom: 50px;
  max-width: 650px;
}

.main section.page1 .page_container h1 {
  letter-spacing: -1px;
  font-weight: 100;
  font-size: 40px;
}

.main section.page1 .page_container p{
  line-height: 160%;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}

.main section.page2 {
  background: url(../img/phones.png) 120% 254px no-repeat rgb(230, 217, 200);
}
.main section.page3 {
  background: #008867;
}

.main section.page2 .page_container {
  position: absolute;
  margin-left: -420px;
  left: 50%;
  top: 40%;
  margin-bottom: 50px;
  max-width: 445px;
}

.main section.page2 .page_container h1 {
  letter-spacing: -1px;
  font-weight: 100;
  font-size: 70px;
  color: black;
  margin-bottom: 10px;
  text-align: left;
}


.main section.page2 .page_container p{
  line-height: 160%;
  font-size: 18px;
  font-weight: 400;
  text-align: left;
  color: rgba(0,0,0,0.5);
}

body .header h1 {
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  -o-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
}

body .nav-top span.right a {
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  -o-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
}

body.viewing-page-2 .header h1, body.viewing-page-2 .nav-top span.right a {
  color: black;
}

.main section.page3 .page_container {
  position: absolute;
  margin-left: -325px;
  left: 50%;
  top: 40%;
  margin-bottom: 50px;
  max-width: 650px;
}

.main section.page3 .page_container h1 {
  letter-spacing: -1px;
  font-weight: 100;
  font-size: 70px;
  text-shadow: 0px 1px 1px #000;
}

.main section.page4 {
  background: url(../img/purple-dusty.png) 120% 254px;
  background-repeat: repeat;
}

.main section.page4 .page_container {
  position: absolute;
  margin-left: -240px;
  left: 50%;
  top: 40%;
  margin-bottom: 50px;
  max-width: 650px;
}

body.viewing-page-4 .header h1, body.viewing-page-4 .nav-top span.right a {
  color: #fef;
  text-shadow: 0px 1px 1px #000;
}

/* General page settings */

.main section .page_container {
  position: absolute;
  margin-left: -325px;
  left: 50%;
  top: 40%;
  margin-bottom: 50px;
  max-width: 650px;
  min-width: 300px;
}

.main section .page_container h1 {
  letter-spacing: -1px;
  font-weight: 100;
  font-size: 70px;
}

/* Responsive to 480-screens */

@media (max-width : 480px) {
  #body .main section .page_container {
    position: absolute;
    margin-left: -160px;
    left: 50%;
    top: 40%;
    margin-bottom: 50px;
    width: 320px;
  }
}

