/* GENERAL STYLES - NOT TO BE EDITED */
/* reset */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html, body {
    /* stop page from scrolling */
    height: 100%;
    overflow: hidden;
}

div, main, section, img {
    position: absolute;
}

#loading, main {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#loading img {
    width: 300px;
    height: auto;
}

.preloaderMonster {
    top: 10%;
    left: 10%;
    transform: translate(-50%, -50%);
}


main {
    width: 960px;
    height: 600px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

section {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.next:hover, .prev:hover {
    cursor: pointer;
}

/* GENERAL STYLES - MAY BE EDITED */

/* ---PREV & NEXT---  */
.next, .prev {
    bottom: 10px;
    width: 50px;
    height: auto;
    margin-right: 10px;  
}

.next {
    right: 20px;
    margin-left: 10px;
}

.next:hover {
    width: 55px;
    height: auto;
}

.prev {
    left: 20px;
    margin-right: 10px;
}
.prev:hover {
    width: 55px;
    height: auto;
}


/* shared screen styles */
.Scr1text1 {
    width: 421px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);

}

#playPause {
    bottom: 27px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.play {
    width: 12px;
    height: 16px;
    border-top: 8px solid transparent;
    border-left: 12px solid #FFF;
    border-bottom: 8px solid transparent;
}

.pause {
    width: 12px;
    height: 16px;
    border-right: 4px solid #FFF;
    border-left: 4px solid #FFF;
}

/* screen 1 styles */
#screen1 {
    background: url(../images/screen1bg.svg);
}

#screen1 h1 {
    transform: translate(-50%, 100%);
    font-size: 38px;
}

.logoMonsters {
    width: 600px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -90%);
}

.animScr1-boy {
    width: 114px;
    height: auto;
    position: absolute;
    left: 78%;
    bottom: 10%;
}

.eyeO {
    width: 68px;
    height: auto;
    position: absolute;
    left: 30%;
    top: 20%;
}

.eyeE {
    width: 67px;
    height: auto;
    position: absolute;
    left: 60%;
    top: 32%;
}

/* screen 2 styles */
#screen2 {
    background: url(../images/screen2bg.svg);
}

.animScr2-btn {
    width: 7px;
    height: auto;
    position: absolute;
    left: 11%;
    top: 38%;
    cursor: pointer;
}

.animScr2-blanket {
    width: 147px;
    height: auto;
    position: absolute;
    left: 59%;
    top: 47%;
    cursor: pointer;
}

.footboard {
    width: 233px;
    height: auto;
    position: absolute;
    left: 54.3%;
    top: 57%;
}

.animScr2-bushMonst {
    width: 106px;
    height: auto;
    position: absolute;
    left: 15.7%;
    top: 29%;
    cursor: pointer;
}

.animScr2-treeMonst {
    width: 82px;
    height: auto;
    position: absolute;
    left: 83%;
    top: 24%;
    cursor: pointer;
}

.animScr2-cornerMonst {
    width: 50px;
    height: auto;
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.AnimScr2Instruc1 {
    width: 205px;
    height: auto;
    position: absolute;
    left: 12%;
    top: 20%;
    animation: blink 1s linear infinite;
}

@keyframes blink{
    0%{opacity: 0;}
    50%{opacity: .5;}
    100%{opacity: 1;}
}

/* text */
.Scr2text1 {
    width: 347px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 70%;
}

.Scr2text2 {
    width: 249px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 75%;
}

.Scr2text3 {
    width: 357px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 80%;
}

.Scr2text4 {
    width: 154px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 85%;
}

.AnimScr2-on {
    width: 109px;
    height: auto;
    position: absolute;
    top: 23%;
    left: 0px;
    opacity: 0;
}


/* screen 3 styles */
#screen3 {
    background: url(../images/screen3bg.svg);
}

.animScr3-cupcakesB {
    width: 134px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 50%;
    cursor: pointer;
}

.animScr3zamBody {
    width: 302px;
    height: auto;
    position: absolute;
    left: 20%;
    top: 3.5%;
    cursor: pointer;
}

.animScr3zorgBody {
    width: 243px;
    height: auto;
    position: absolute;
    left: 55%;
    top: 40%;
    cursor: pointer;
}

.animScr3kelpsBody {
    width: 117px;
    height: auto;
    position: absolute;
    left: 83%;
    top: 18%;
    cursor: pointer;
}

.animScr3cupCDetails {
    width: 101px;
    height: auto;
    position: absolute;
    left: 6.5%;
    top: 50.5%;
    opacity: 0;
    cursor: pointer;
}

.animScr3zamDetails {
    width: 271px;
    height: auto;
    position: absolute;
    left: 21.75%;
    top: 6%;
    opacity: 0;
    cursor: pointer;
}

.animScr3zorgDetails {
    width: 168px;
    height: auto;
    position: absolute;
    left: 57%;
    top: 41.5%;
    opacity: 0;
    cursor: pointer;
}

.animScr3kelpsDetails {
    width: 113px;
    height: auto;
    position: absolute;
    left: 83%;
    top: 23.5%;
    opacity: 0;
    cursor: pointer;
}

/* text */
.Scr3text1 {
    width: 398px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 70%;
}

.Scr3text2 {
    width: 392px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 75%;
}

.Scr3text3 {
    width: 421px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 80%;
}

.Scr3text4 {
    width: 285px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 85%;
}

.AnimScr3Instruc1 {
    width: 287px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 15%;
    animation: blink 1s linear infinite;
}

@keyframes blink{
    0%{opacity: 0;}
    50%{opacity: .5;}
    100%{opacity: 1;}
}

/* overlay styles*/
.overlayScr3 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../images/cupcakesOverlay.svg);
    z-index: 1000;
    display: none;
}

.overlayZam {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../images/zamOverlay.svg);
    z-index: 1500;
    display: none;
}

.overlayZorg {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../images/zorgOverlay.svg);
    z-index: 1000;
    display: none;
}

.overlayKelps {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../images/kelpsOverlay.svg);
    z-index: 1000;
    display: none;
}

.close {
    color: #FFF;
    top: 10px;
    right: 10px;
}

.overlayContent {
    color: #FFF;
    top: 0;
    text-align: center;
}

/* screen 4 styles */
#screen4 {
    background: url(../images/screen4bg.svg);
}

.Scr4build1 {
    width: 183px;
    height: auto;
    position: absolute;
    left: 0%;
    bottom: 0%;
}

.Scr4build2 {
    width: 178px;
    height: auto;
    position: absolute;
    left: 16%;
    bottom: 0%;
}

.Scr4build3 {
    width: 224px;
    height: auto;
    position: absolute;
    right: 25%;
    bottom: 0%;
}

.Scr4build4 {
    width: 278px;
    height: auto;
    position: absolute;
    right: 0%;
    bottom: 0%;
}

.Scr4tower1 {
    width: 83px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 15%;
}

.Scr4tower2 {
    width: 83px;
    height: auto;
    position: absolute;
    left: 14%;
    top: 10%;
}

.Scr4tower3 {
    width: 58px;
    height: auto;
    position: absolute;
    left: 24%;
    top: 20%;
}

.Scr4tower4 {
    width: 55px;
    height: auto;
    position: absolute;
    left: 21%;
    top: 22%;
}

.Scr4tower5 {
    width: 60px;
    height: auto;
    position: absolute;
    left: 23%;
    top: 8%;
}

.Scr4tower6 {
    width: 73px;
    height: auto;
    position: absolute;
    left: 25%;
    top: 17%;
}

.Scr4tower7 {
    width: 53px;
    height: auto;
    position: absolute;
    left: 10%;
    top: 5%;
}

.Scr4towerGroup8 {
    width: 255px;
    height: auto;
    position: absolute;
    left: 0.5%;
    top: 2%;
    cursor: pointer;
}

.Scr4moon {
    width: 400px;
    height: auto;
    position: absolute;
    top: -5%;
    left: -7%;
    animation: sunset 30s forwards;
    animation-iteration-count: infinite;
}

@keyframes sunset{
    100%{
        transform: translateX(935px);
    }
}

.Scr4eyes {
    width: 242px;
    height: auto;
    position: absolute;
    left: 70%;
    top: 60%;
    cursor: pointer;
    opacity: 0;
}

/* text */
.Scr4text1 {
    width: 486px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 70%;
}

.Scr4text2 {
    width: 663px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 75%;
}

.Scr4text3 {
    width: 700px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 80%;
}

.Scr4text4 {
    width: 422px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 85%;
}

.AnimScr4Instruc1 {
    width: 160px;
    height: auto;
    position: absolute;
    left: 65%;
    top: 10%;
    animation: blink 1s linear infinite;
}

@keyframes blink{
    0%{opacity: 0;}
    100%{opacity: .5;}
    0%{opacity: 1;}
}

.AnimScr4Instruc2 {
    width: 151px;
    height: auto;
    position: absolute;
    left: 23%;
    top: 5%;
    animation: blink 1s linear infinite;
}

@keyframes blink{
    0%{opacity: 0;}
    100%{opacity: .5;}
    0%{opacity: 1;}
}


.Scr4Light {
    width: 35px;
    height: auto;
    position: absolute;
    left: 78%;
    top: 28%;
    opacity: 0;
    cursor: pointer;
}

.lights1 {
    width: 62px;
    height: auto;
    position: absolute;
    left: 18.3%;
    top: 21.8%; 
    opacity: 0;
}
.lights2 {
    width: 62px;
    height: auto;
    position: absolute;
    left: 18.3%;
    top: 25%;
    opacity: 0;
}
.lights3 {
    width: 62px;
    height: auto;
    position: absolute;
    left: 18.3%;
    top: 28.5%;
    opacity: 0;
}
.lights4 {
    width: 62px;
    height: auto;
    position: absolute;
    left: 18.3%;
    top: 32%; 
    opacity: 0;
}
.lights5 {
    width: 62px;
    height: auto;
    position: absolute;
    left: 18.3%;
    top: 36%; 
    opacity: 0;
}
.lights6 {
    width: 62px;
    height: auto;
    position: absolute;
    left: 18.3%;
    top: 39.5%; 
    opacity: 0;
}
.lights7 {
    width: 62px;
    height: auto;
    position: absolute;
    left: 18.3%;
    top: 43%;
    opacity: 0;
}
    
.lights8 {
    width: 62px;
    height: auto;
    position: absolute;
    left: 18.3%;
    top: 46%; 
    opacity: 0;
}





/* screen 5 styles */
#screen5 {
    background: url(../images/screen5bg.svg);
}

.Scr5kelps {
    width: 113px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 22%;
    cursor: pointer;
}

.Scr5zorg {
    width: 243px;
    height: auto;
    position: absolute;
    left: 18%;
    top: 42%;
    cursor: pointer;
    
}

.Scr5helga {
    width: 178px;
    height: auto;
    position: absolute;
    right: 5%;
    top: 20%;
    cursor: pointer;
    
}

.Scr5cupcakes {
    width: 130px;
    height: auto;
    position: absolute;
    right: 10%;
    bottom: 5%;
    cursor: pointer;   
}

.Scr5CaileZam {
    width: 445px;
    height: auto;
    position: absolute;
    left: 30%;
    top: 13%;
    cursor: pointer;
    
}

/* pop-ups */
.Scr5popUp1 {
    width: 93px;
    height: auto;
    position: absolute;
    left: 7%;
    top: 10%;
    opacity: 0;
}

.Scr5popUp2 {
    width: 99px;
    height: auto;
    position: absolute;
    left: 17%;
    top: 30%;
    opacity: 0;
}

.Scr5popUp3 {
    width: 186px;
    height: auto;
    position: absolute;
    left: 30%;
    top: 5%;
    opacity: 0;
}

.Scr5popUp4 {
    width: 147px;
    height: auto;
    position: absolute;
    left: 55%;
    top: 3%;
    opacity: 0;
}

.Scr5popUp5 {
    width: 156px;
    height: auto;
    position: absolute;
    left: 80%;
    top: 5%;
    opacity: 0;
}

.Scr5popUp6 {
    width: 149px;
    height: auto;
    position: absolute;
    left: 60%;
    bottom: 5%;
    opacity: 0;
}

.AnimScr5Instruc1 {
    width: 199px;
    height: auto;
    position: absolute;
    left: 10%;
    bottom: 1%;
    animation: blink 1s linear infinite;
}

@keyframes blink{
    0%{opacity: 0;}
    50%{opacity: .5;}
    100%{opacity: 1;}
}

/* text */
.Scr5text1 {
    width: 603px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 78%;
}

.Scr5text2 {
    width: 499px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 83%;
}

.Scr5text3 {
    width: 119px;
    height: auto;
    position: absolute;
    left: 5%;
    top: 88%;
}


/* screen 6 styles */
#screen6 {
    background: url(../images/screen6bg.svg);
}

.overlayLast {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../images/lastOverlay.svg);
    z-index: 1000;
    display: none;
}

.clickHere {
    width: 167px;
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
    cursor: pointer;
}

.clickHere:hover {
    width: 200px;
    height: auto;
}

.scr6text1 {
    width: 323px;
    height: auto;
    position: absolute;
    left: 10%;
    top: 15%;
}
.scr6text1:hover {
    width: 330px;
    height: auto;
    cursor: pointer;
}

.scr6logo {
    width: 205px;
    height: auto;
    position: absolute;
    left: 40%;
    top: 3%; 
}

.scr6text2Blink {
    width: 650px;
    height: auto;
    position: absolute;
    left: 15%;
    top: 21%; 
    opacity: 0;
}

.scr6text3 {
    width: 175px;
    height: auto;
    position: absolute;
    left: 10%;
    top: 30%; 
}

.scr6text4 {
    width: 337px;
    height: auto;
    position: absolute;
    left: 30%;
    top: 38%; 
    
}


.monsterGame {
    width: 575px;
    height: auto;
    position: absolute;
    left: 19.5%;
    top: 48%; 
}

.rectangle {
    width: 606px;
    height: auto;
    position: absolute;
    left: 18%;
    top: 46%; 
}







