body, html {
  margin: 0;
  overflow: hidden;
  -webkit-transition: opacity 400ms;
  -moz-transition: opacity 400ms;
  transition: opacity 400ms;
}

body, .onepage-wrapper, html {
  display: block;
  position: static;
  padding: 0;
  width: 100%;
  height: 100%;
}

.onepage-wrapper {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  padding: 0;
  -webkit-transform-style: preserve-3d;
}

.onepage-wrapper .section {
  width: 100%;
  height: 100%;
}

.onepage-pagination {
  position: absolute;
  right: 0;
  top: 10%;
  z-index: 5;
  list-style: none;
  margin: 0;
  padding: 0.5em 0;
  background-color: white;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.onepage-pagination li {
  padding: 0;
  text-align: center;
}
.onepage-pagination li a{
  padding: 10px;
  width: 4px;
  height: 4px;
  display: block;
  margin: 0 3px 0 0;
}
.onepage-pagination li a:before{
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(0,0,0,0.85);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}

.onepage-pagination li a.active:before{
  width: 10px;
  height: 10px;
  background: none;
  border: 1px solid black;
  margin-top: -4px;
  left: 8px;
}

.disabled-onepage-scroll, .disabled-onepage-scroll .wrapper {
  overflow: auto;
}

.disabled-onepage-scroll .onepage-wrapper .section {
  position: relative !important;
  top: auto !important;
}
.disabled-onepage-scroll .onepage-wrapper {
  -webkit-transform: none !important;
  -moz-transform: none !important;
  transform: none !important;
  -ms-transform: none !important;
  min-height: 100%;
}


.disabled-onepage-scroll .onepage-pagination {
  display: none;
}

body.disabled-onepage-scroll, .disabled-onepage-scroll .onepage-wrapper, html {
  position: inherit;
}

    html {
      height: 100%;
    }
    body {
      padding: 0;
      position: relative;
      margin: 0;
      height: 100%;
      -webkit-font-smoothing: antialiased;
    }
    
    .wrapper {
      height: 100% !important;
      height: 100%;
      margin: 0 auto; 
      overflow: hidden;
    }
    
    

    .main {
      float: left;
      width: 100%;
      margin: 0 auto;
    }
    
    
    .main section .page_container {
      position: absolute;
      z-index: 3;
    }
    .main section  {
      overflow: hidden;
    }
    
    .main section.page0 {
      background: transparent url('./img/intro.jpg') bottom right no-repeat;  
    }

    .main section.page0 .page_container,
    .main section.page6 .page_container {
      width: 510px;
      height: 592px;
      top: 10px;
    }

    .main section.page0 .page_container h1,
    .main section.page0 .page_container p,
    .main section.page6 .page_container h1,
    .main section.page6 .page_container p {
      display: none;
    }

    .main section.page0 .page_container {
      background: transparent url('./img/intro-txt.png') bottom right no-repeat;  
      left: 5%;
    }

    .main section.page6 .page_container {
      background: transparent url('./img/outro-txt.png') bottom right no-repeat;  
      right: 5%;
    }
    
    .main section.page1 {
      background: transparent url('./img/froome.jpg') center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;   
    }

    .main section.page2 {
         background: transparent url('./img/arenberg.jpg') center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;   
  }
   
    .main section.page3 {
              background: transparent url('./img/powers.jpg') center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;   
  }

    .main section.page4 {
              background: transparent url('./img/riggo.jpg') center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;   
  }

.main section.page5 {
              background: transparent url('./img/wiggo.jpg') center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;   
  }

.main section.page6 {
              background: transparent url('./img/rapha.jpg') center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;   
  }
    
    body.disabled-onepage-scroll .onepage-wrapper  section {
      min-height: 100%;
      height: auto;
    }
    
    body.disabled-onepage-scroll .main section .page_container, body.disabled-onepage-scroll .main section.page3 .page_container  {
      padding: 20px;
      margin-top: 150px;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
    }

h1 span {
  display: block;
  width: auto;
  float: left;
  clear: both;
  font-family: 'Amatic SC', cursive;
  font-weight: 400;
  font-size: 60px;
  line-height: 62px;
  /*background-color: black;
  background-color: rgba(0,0,0,0.7);
  color: white;*/
  display: inline-block;
  padding: 0 5px;
  margin: 0 0 5px;

  color: #333;
  background: white url('./img/bg-title.png') 0 0 no-repeat;
}

h1 span.gift {
  font-weight: 700;
  font-size: 84px;
  line-height: 86px;
}

h1 span.small {
  font-size: 26px;
  line-height: 34px;
}

.page1 .page_container {
  right: 8%;
  top: 16%;
}

.page1 .page_container h1 span {
  float: right;
  background-position: -81px -86px;
  
}

.main .page2 .page_container {
text-align: center;
margin: auto;
position: relative;
top: 50%;
}

.page2 .page_container h1 span {
  float: none;
}

.page2 .page_container h1 span {
  background-position: -96px -132px;
}

.page3 .page_container h1 span {
  float: right;
  background-position: -12px -269px;
}

.page3 .page_container {
  top: 13%;
  right: 18%;
}

.page4 .page_container {
top: 8%;
left: 18%;
}

.page5 .page_container {
top: 20%;
left: 10%;
}

.page4 .page_container h1 span {
  background-position: -81px -87px;
}

.page5 .page_container h1 span {
  background-position: -5px -5px;
}

.page4 .page_container h1 span.gift,
.page5 .page_container h1 span.gift {
  line-height: 136px;
  font-size: 134px;
}

footer {
  position: absolute;
  top: 695%;
  height: 7%;
  width: 100%;
  z-index: 8;
  background-color: black;
  color: white;
  text-align: right;
}

footer p {
  font-family: 'Amatic SC', cursive;
  font-size: 20px;
  width: 90%;
  margin: 0.5% auto;
}

footer p a {
  color: white;
}