/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    margin: 0;
    padding: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

body {
    line-height: 1
}

ol,
ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}


/* Adjust box model to use the padding and border when calculating width */

* {
    box-sizing: border-box;
}


/* General Styles */

.body-index {
    background-color: #fffcfa;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.body-page2 {
    background-color: #485868;
    width: 100%;
    height: 100%;
}

html {
    width: 100%;
    height: 100%;
}

h1 {
    font-family: Oswald, sans-serif;
    color: #fffcfa;
    font-weight: 600;
    font-size: 120px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 5px 5px 5px rgba(25, 25, 25, .25);
}

h2 {
    font-family: Oswald, sans-serif;
    color: #fffcfa;
    font-weight: 600;
    font-size: 100px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 5px 5px 5px rgba(25, 25, 25, .25);
}

h3 {
    font-family: Oswald, sans-serif;
    color: #fffcfa;
    font-weight: 600;
    font-size: 70px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 5px 5px 5px rgba(25, 25, 25, .25);
    margin: 15px;
}

h4 {
    font-family: Bitter, Rockwell, serif;
    color: #fffcfa;
    font-size: 30px;
    text-align: center;
    text-shadow: 5px 5px 5px rgba(25, 25, 25, .25);
}


/* Site-Specific Styles */

.page1a,
.page1b,
.page1c,
.page1d {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.page1a {
    /*    display: none;*/
}

.page1b {
    /*    display: none;*/
}

.page1c {
    /*    display: none;*/
}

.page1d {
    /*    display: none;*/
}

.page2,
.page3,
.page4,
.page5,
.page6,
.page7,
.page8,
.page9,
.page10 {
    width: 100%;
    height: 1400px;
}

.page3 {
    position: absolute;
    top: 1000px;
    opacity: 0;
    z-index: 2;
}

.page4 {
    position: absolute;
    top: 3500px;
}

.page5 {
    position: absolute;
    top: 4200px;
    opacity: 0;
    z-index: 2;
}

.page6 {
    position: absolute;
    top: 5600px;
    opacity: 0;
    z-index: 2;
}

.page7 {
    position: absolute;
    margin-left: 1000px;
    top: 7000px;
    z-index: 2;
}

.page8 {
    position: absolute;
    top: 8400px;
    opacity: 0;
    z-index: 2;
}

.page9 {
    position: absolute;
    top: 21750px;
    opacity: 0;
    z-index: 2;
}

.page10 {
    position: absolute;
    top: 24000px;
    height: 1200px;
    z-index: 10;
    overflow: hidden;
}

.invisible-divs div {
    position: absolute;
    z-index: 15;
    height: 1px;
    width: 100%;
}

.page3-start {
    top: 1000px;
    /*    border: 2px solid red;*/
}

.page3-end {
    top: 3500px;
    /*    border: 2px solid red;*/
}

.page4-start {
    top: 4500px;
    /*    border: 2px solid #ff5800;*/
}

.page4-end {
    top: 5250px;
    /*    border: 2px solid #ff5800;*/
}

.page5-start {
    top: 5500px;
    /*    border: 2px solid orange;*/
}

.page5-end {
    top: 7000px;
    /*    border: 2px solid orange;*/
}

.page6-start {
    top: 7500px;
    /*    border: 2px solid yellow;*/
}

.page6-end {
    top: 10500px;
    /*    border: 2px solid yellow;*/
}

.page7-start {
    top: 11500px;
    /*    border: 2px solid green;*/
}

.page7-middle {
    top: 13500px;
    /*    border: 2px solid green;*/
}

.page7-end {
    top: 15500px;
    /*    border: 2px solid green;*/
}

.page8-start {
    top: 16500px;
    /*    border: 2px solid blue;*/
}

.page8-middle {
    top: 18500px;
    /*    border: 2px solid white;*/
}

.page8-end {
    top: 20500px;
    /*    border: 2px solid blue;*/
}

.page9-start {
    top: 21500px;
    /*    border: 2px solid indigo;*/
}

.page9-end {
    top: 23000px;
    /*    border: 2px solid indigo;*/
}

.page10-start {
    top: 24000px;
    /*    border: 2px solid violet;*/
}

.overlay1,
.overlay2 {
    position: absolute;
    width: 100%;
    height: 25250px;
    top: 0;
    mix-blend-mode: multiply;
    background-image: url(../img/construction-paper-texture.jpg);
    pointer-events: none;
    z-index: 10;
}

.overlay1 {
    background-image: url(../img/paper-texture.png);
    opacity: .75;
}

.overlay2 {
    background-image: url(../img/construction-paper-texture.jpg);
    opacity: .05;
}

.water1,
.water2,
.water3,
.water4 {
    position: absolute;
    z-index: -10;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 70%;
    height: 100%;
    top: 50%;
    left: 50%;
    /* shift box up and to the left by half the height and width of the box */
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.toilet-water img {
    width: 100%;
}

.toilet {
    position: absolute;
    width: 100%;
    height: 700px;
    top: -70px;
}

#handle {
    cursor: pointer;
}

#handle:hover {
    opacity: .5;
}

.back-arrow:hover {
    opacity: .5;
}

.pipe {
    position: absolute;
    background-image: url(../img/pipe.png);
    background-position: center center;
    background-size: contain;
    background-repeat: repeat-y;
    width: 100%;
    height: 25000px;
    z-index: -10
}

.arrows {
    z-index: 20;
}

.arrows img {
    width: 100%;
}

.back-arrow {
    position: fixed;
    top: 25px;
    left: 25px;
    width: 100px;
}

.down-arrow {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 100px;
}

.down-arrow img {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg)
}

.down-arrow h4 {
    color: #e2decc;
    font-size: 22px;
    position: absolute;
    top: -20px;
    left: 16px;
}

.title {
    /* move top left corner of box to the center of the page */
    position: absolute;
    top: 50%;
    left: 50%;
    /* shift box up and to the left by half the height and width of the box */
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    width: 700px;
    height: 525px;
    text-align: center;
    /*    testing*/
    /*    border: 1px solid red;*/
}

.title-scroll {
    top: 50%;
    left: 50%;
}

.spacer {
    height: 250px;
    margin-bottom: 50px;
}

.poo-character {
    position: fixed;
    opacity: 0;
    z-index: 1;
    top: 50%;
    left: 50%;
    /* shift box up and to the left by half the height and width of the box */
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 350px;
    /*    testing*/
    /*    background-color: blue;*/
}

.poo-character img {
    width: 100%;
}

.ms-poo-clean {
    width: 300px;
}

.characters {
    position: absolute;
    top: 50%;
    left: 50%;
    /* shift box up and to the left by half the height and width of the box */
    -webkit-transform: translate(-50%, 92%);
    -ms-transform: translate(-50%, 92%);
    transform: translate(-50%, 92%);
    text-align: center;
    width: 700px;
    height: 150px;
}

.characters img {
    width: 100%;
}

.character-names {
    position: absolute;
    top: 50%;
    left: 50%;
    /* shift box up and to the left by half the height and width of the box */
    -webkit-transform: translate(-50%, 92%);
    -ms-transform: translate(-50%, 92%);
    transform: translate(-50%, 92%);
    text-align: center;
    width: 700px;
    height: 150px;
}

.pipe-characters {
    position: fixed;
    z-index: 1;
    top: 50%;
    left: 50%;
    /* shift box up and to the left by half the height and width of the box */
    -webkit-transform: translate(-50%, 92%);
    -ms-transform: translate(-50%, 92%);
    transform: translate(-50%, 92%);
    text-align: center;
    /*    border: 1px solid blue;*/
    width: 700px;
    height: 150px;
}

.character {
    position: absolute;
}

.character img {
    width: 100%;
}

.bobby {
    width: 130px;
    left: 0;
    bottom: 115px;
}

.bobby-name {
    position: absolute;
    width: 130px;
    left: 0;
    bottom: 185px;
}

.tampon {
    width: 100px;
    left: 125px;
    bottom: -20px;
    -webkit-transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    transform: rotate(-10deg)
}

.tampon-name {
    position: absolute;
    width: 100px;
    left: 140px;
    bottom: 40px;
}

.pubes {
    width: 180px;
    left: 260px;
}

.pubes-name {
    position: absolute;
    width: 180px;
    left: 260px;
    bottom: 50px;
}

.diaper {
    width: 140px;
    left: 450px;
    bottom: 25px;
}

.diaper-name {
    position: absolute;
    width: 140px;
    left: 446px;
    bottom: 65px;
}

.qtip {
    width: 115px;
    right: 0px;
    bottom: 100px;
}

.qtip-name {
    position: absolute;
    width: 115px;
    right: 10px;
    bottom: 190px;
}

.sieve {
    position: absolute;
    top: 1000px;
    width: 100%;
    height: 500px;
}

.sieve img {
    width: 100%;
}

.under {
    position: absolute;
    top: 455px;
    z-index: -5;
}

.over {
    position: absolute;
    top: 590px;
    z-index: 10;
}

.dryer {
    position: absolute;
    height: 600px;
    width: 1000px;
    right: 0px;
    overflow: hidden;
}

.dryer img {
    position: relative;
    width: 500px;
    right: -600px;
    top: 100px;
}

.switch-on img,
.switch-off img {
    position: relative;
    width: 50px;
    left: 905px;
}

.air {
    position: relative;
    width: 550px;
    top: -650px;
    right: -60px;
}

.switch-on img {
    top: -75px;
}

.switch-off img {
    top: -167px;
}

.suds {
    position: relative;
    width: 425px;
    margin: auto;
    opacity: 0;
}

.sponge {
    position: relative;
    width: 325px;
    left: 40px;
    top: -450px;
}

.sponge img {
    width: 100%;
}

.waves {
    height: 1000px;
}

.wave1,
.wave2,
.wave3,
.wave4,
.wave5 {
    position: relative;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 500px;
}

.wave1 {
    background-image: url(../img/wave-dark-blue.png);
    top: 100px;
}

.wave2 {
    background-image: url(../img/wave-light-blue.png);
    top: -250px;
}

.wave3 {
    background-image: url(../img/wave-white.png);
    top: -600px;
}

.wave4 {
    background-image: url(../img/wave-light-blue.png);
    top: -930px;
}

.wave5 {
    background-image: url(../img/wave-dark-blue.png);
    top: -1250px;
}


/* SVG */

.middle-cream {
    fill: #cecbbc;
    -webkit-filter: url(#dropshadow);
    filter: url(#dropshadow);
}

.cream {
    fill: #e2decc;
    -webkit-filter: url(#dropshadow);
    filter: url(#dropshadow);
}

.light-grey {
    fill: #b4bbbf;
    -webkit-filter: url(#dropshadow);
    filter: url(#dropshadow);
}

.light-blue {
    fill: #9fc2bb;
    -webkit-filter: url(#dropshadow);
    filter: url(#dropshadow);
}

.dark-blue {
    fill: #485868;
    -webkit-filter: url(#dropshadow);
    filter: url(#dropshadow);
}

.dark-grey {
    fill: #656561;
    -webkit-filter: url(#dropshadow);
    filter: url(#dropshadow);
}

.gust {
    fill: none;
    stroke: #9fc2bb;
    stroke-miterlimit: 10;
    stroke-width: 9px;
    -webkit-filter: url(#dropshadow);
    filter: url(#dropshadow);
    stroke-dasharray: 475;
}

#gust1 {
    -webkit-animation: dash 1.5s linear .25s infinite;
    animation: dash 1.5s linear .25s infinite;
}

#gust2 {
    -webkit-animation: dash 1.5s linear .75s infinite;
    animation: dash 1.5s linear .75s infinite;
}

#gust3 {
    -webkit-animation: dash 1.5s linear .5s infinite;
    animation: dash 1.5s linear .5s infinite;
}

#gust4 {
    -webkit-animation: dash 1.5s linear 1.5s infinite;
    animation: dash 1.5s linear 1.5s infinite;
}

#gust5 {
    -webkit-animation: dash 1.5s linear infinite;
    animation: dash 1.5s linear infinite;
}

#gust6 {
    -webkit-animation: dash 1.5s linear .9s infinite;
    animation: dash 1.5s linear .9s infinite;
}

#gust7 {
    -webkit-animation: dash 1.5s linear 1.25s infinite;
    animation: dash 1.5s linear 1.25s infinite;
}

@-webkit-keyframes dash {
    to {
        stroke-dashoffset: 1000;
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: 1000;
    }
}


/* Animations */

.page1a {
    -webkit-animation: appear 20s 1 linear;
    animation: appear 20s 1 linear;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes appear {
    0% {
        opacity: 1;
    }
    22% {
        opacity: 1;
    }
    25% {
        opacity: 0.0;
    }
    100% {
        opacity: 0.0;
    }
}

@keyframes appear {
    0% {
        opacity: 1;
    }
    22% {
        opacity: 1;
    }
    25% {
        opacity: 0;
    }
    100% {
        opacity: 0.0;
    }
}

.page1b {
    -webkit-animation: appear2 20s 1 linear;
    animation: appear2 20s 1 linear;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes appear2 {
    0% {
        opacity: 0.0;
    }
    25% {
        opacity: 0.0;
    }
    28% {
        opacity: 1;
    }
    47% {
        opacity: 1;
    }
    50% {
        opacity: 0.0;
    }
    100% {
        opacity: 0.0;
    }
}

@keyframes appear2 {
    0% {
        opacity: 0.0;
    }
    25% {
        opacity: 0.0;
    }
    28% {
        opacity: 1;
    }
    47% {
        opacity: 1;
    }
    50% {
        opacity: 0.0;
    }
    100% {
        opacity: 0.0;
    }
}

.page1c {
    -webkit-animation: appear3 20s 1 ease;
    animation: appear3 20s 1 ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes appear3 {
    0% {
        opacity: 0.0;
    }
    50% {
        opacity: 0.0;
    }
    53% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    98% {
        opacity: 0.0;
    }
    100% {
        opacity: 0.0;
    }
}

@keyframes appear3 {
    0% {
        opacity: 0.0;
    }
    50% {
        opacity: 0.0;
    }
    53% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    98% {
        opacity: 0.0;
    }
    100% {
        opacity: 0.0;
    }
}

.page1d {
    -webkit-animation: appear4 20s 1 linear;
    animation: appear4 20s 1 linear;
}

@-webkit-keyframes appear4 {
    0% {
        opacity: 0.0;
    }
    99% {
        opacity: 0.0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes appear4 {
    0% {
        opacity: 0.0;
    }
    99% {
        opacity: 0.0;
    }
    100% {
        opacity: 1;
    }
}

.characters {
    -webkit-animation: appear5 20s 1 ease;
    animation: appear5 20s 1 ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes appear5 {
    0% {
        opacity: 0.0;
    }
    50% {
        opacity: 0.0;
    }
    53% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes appear5 {
    0% {
        opacity: 0.0;
    }
    50% {
        opacity: 0.0;
    }
    53% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

.bobby-name {
    -webkit-animation: appear-bobby 20s 1 ease;
    animation: appear-bobby 20s 1 ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes appear-bobby {
    0% {
        opacity: 0.0;
    }
    56% {
        opacity: 0.0;
    }
    59% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        opacity: 0.0;
    }
}

@keyframes appear-bobby {
    0% {
        opacity: 0.0;
    }
    56% {
        opacity: 0.0;
    }
    59% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        opacity: 0.0;
    }
}

.tampon-name {
    -webkit-animation: appear-tampon 20s 1 ease;
    animation: appear-tampon 20s 1 ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes appear-tampon {
    0% {
        opacity: 0.0;
    }
    63% {
        opacity: 0.0;
    }
    66% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        opacity: 0.0;
    }
}

@keyframes appear-tampon {
    0% {
        opacity: 0.0;
    }
    63% {
        opacity: 0.0;
    }
    66% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        opacity: 0.0;
    }
}

.pubes-name {
    -webkit-animation: appear-pubes 20s 1 ease;
    animation: appear-pubes 20s 1 ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes appear-pubes {
    0% {
        opacity: 0.0;
    }
    70% {
        opacity: 0.0;
    }
    73% {
        opacity: 1;
    }
    83% {
        opacity: 1;
    }
    86% {
        opacity: 0.0;
    }
    100% {
        opacity: 0.0;
    }
}

@keyframes appear-pubes {
    0% {
        opacity: 0.0;
    }
    70% {
        opacity: 0.0;
    }
    73% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        opacity: 0.0;
    }
}

.diaper-name {
    -webkit-animation: appear-diaper 20s 1 ease;
    animation: appear-diaper 20s 1 ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes appear-diaper {
    0% {
        opacity: 0.0;
    }
    77% {
        opacity: 0.0;
    }
    80% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        opacity: 0.0;
    }
}

@keyframes appear-diaper {
    0% {
        opacity: 0.0;
    }
    77% {
        opacity: 0.0;
    }
    80% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        opacity: 0.0;
    }
}

.qtip-name {
    -webkit-animation: appear-qtip 20s 1 ease;
    animation: appear-qtip 20s 1 ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes appear-qtip {
    0% {
        opacity: 0.0;
    }
    84% {
        opacity: 0.0;
    }
    87% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        opacity: 0.0;
    }
}

@keyframes appear-qtip {
    0% {
        opacity: 0.0;
    }
    84% {
        opacity: 0.0;
    }
    87% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        opacity: 0.0;
    }
}

#handle {
    -webkit-animation: glow 1.5s infinite 22s linear;
    animation: glow 1.5s infinite 22s linear;
}

@-webkit-keyframes glow {
    0% {
        fill: #cecbbc;
    }
    51% {
        fill: #9fc2bb;
    }
}

@keyframes glow {
    0% {
        fill: #cecbbc;
    }
    51% {
        fill: #9fc2bb;
    }
}

.down-arrow {
    -webkit-animation: bounce 1.5s infinite linear;
    animation: bounce 1.5s infinite linear;
}

@-webkit-keyframes bounce {
    25% {
        -webkit-transform: translate(0px, -50px);
        transform: translate(0px, -50px)
    }
    75% {
        -webkit-transform: translate(0px, 0px);
        transform: translate(0px, 0px)
    }
}

@keyframes bounce {
    25% {
        -webkit-transform: translate(0px, -50px);
        transform: translate(0px, -50px)
    }
    75% {
        -webkit-transform: translate(0px, 0px);
        transform: translate(0px, 0px)
    }
}


/*
.toilet-water {
    -webkit-animation: spin 2s 3 linear forwards;
    animation: spin 2s 3 linear forwards;
}

@-webkit-keyframes spin {
    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
}

@keyframes spin {
    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
}
*/


/* Helper Classes */

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}