.game-area{
    padding-bottom: 0;
}

.page-title-panel div{
    background-image: url(../media/title-wood-panel.png);
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-block;
    width: 18vw;
    background-position-y: -5px;
}

.story-page {
    margin: 0 auto;
    transition: height 1s;
    transition: width 1s;
}

.story-page-0{
    background: url(../media/0@2x.png) no-repeat;
    background-size: auto 100%;
    z-index: 10;
    position: absolute;
}

.story-page-1{
    background: url(../media/1@2x.png) no-repeat;
    background-size: auto 100%;
    z-index: 9;
    position: absolute;
}

.story-page-2{
    background: url(../media/2@2x.png) no-repeat;
    background-size: auto 100%;
    z-index: 7;
    position: absolute;
}

.story-page-3{
    background: url(../media/3@2x.png) no-repeat;
    background-size: auto 100%;
    z-index: 6;
    position: absolute;
}

.story-page-4{
    background: url(../media/4@2x.png) no-repeat;
    background-size: auto 100%;
    z-index: 5;
    position: absolute;
}

.story-page-5{
    background: url(../media/5@2x.png) no-repeat;
    background-size: auto 100%;
    z-index: 4;
    position: absolute;
}

.story-page-6{
    background: url(../media/6@2x.png) no-repeat;
    background-size: auto 100%;
    z-index: 3;
    position: absolute;
}

#story-text{
    background-color: #2F5697;
    width: 100vw;
    padding: 20px 0 60px 0 !important;
    /*height: 500px;*/
}

#story-content{
    display: flex;
    margin: 0 auto;
}

.story-font{
    font-family: Arvo-reg;
    color: #EAD1B3;
}

.hidden .story-font {
    display: none;
}

#page-controls{
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

#page-controls img{
    height: 75px;
    width: 75px;
}






@media (max-width: 599px){
    .game-area{
        height: auto;
    }

    .page-title-panel div{
        background-size: 300px 46px;
        width: 300px;
    }

    .page-title-panel div h2{
        font-size: 18px;
    }

    .story-page{
        height: 180px;
        width: 320px;
    }

    #story-text{
        padding: 10px 5px;
    }

    #story-content{
        max-width: 600px;
        margin: 0 auto;
        display: initial;
    }

    #cowgirl{
        width: 110px;
        height: 100px;
        float: left;
    }

    .story-font{
        font-size: 16px;
        text-align: justify;
    }

    #play-button{
        /*height: 50px;*/
        /*top: 89px;*/
        /*right: 79%;;*/
    }

    #prev-button, #next-button{
        width: 50px;
        height: 50px;
        margin: 0 10px
    }

    #page-controls img{
        height: 50px;
        width: 50px;
    }
}

@media (min-width: 600px){
    .page-title-panel div{
        background-size: 360px 50px;
        width: 360px;
        background-position-y: -5px;
    }

    .page-title-panel div h2{
        font-size: 20px;
    }

    .story-page{
        height:  340px;
        width: 600px;
        margin-bottom: 20px;
    }

    #story-text{
        padding: 15px 10px;
    }

    #story-content{
        max-width: 600px;
        margin: 0 auto;
    }

    #cowgirl{
        width: 140px;
        height: 130px;
    }

    .story-font{
        font-size: 16px;
    }

    #play-button{
        /*height: 50px;*/
        /*top: 89px;*/
        /*right: 79%;*/
    }

    #prev-button, #next-button{
        width: 50px;
        height: 50px;
        margin: 0 10px
    }
}

@media (min-width: 900px){
    .game-area{
        background-position-y: -100px;
    }

    .page-title-panel div{
        background-size: 400px 75px;
        width: 400px;
    }

    .page-title-panel div h2{
        font-size: 24px;
    }

    .story-page{
        height: 470px;
        width: 835px;
        background-size: auto 100%;
        margin: 0 auto 20px auto;
    }

    .story-page-0 {
        margin-top: 3px;
    }

    #story-text{
        /*height: 350px;*/
    }

    #story-content {
        max-width: 900px;
    }

    #cowgirl {
        width: 220px;
        height: 200px;
    }

    .story-font{
        font-size: 18px;
    }

    #play-button {
        /*height: 75px;*/
        /*top: 140px;*/
        /*right: 79%;*/
    }

    #next-button, #prev-button{
        width: 70px;
        height: 70px;
    }
}

