@import url('https://fonts.googleapis.com/css?family=Poppins:900i');
.scorelbl {
    display:block;
    font-family: 'Poppins';
    position: absolute;
    color: #F0F2A6;
    top: 30px;
    right: 20px;
    /* background-color: #000; */
    text-align: right;
    line-height: 0%;
} 
.scoreimg{
    width: 20%;
}
.bonus,
.score {
    font-size: 75px;
    /* margin-top: 0px; */
}
.bonuslbl {
    font-family: 'Poppins';
    position: absolute;
    color: #F0F2A6;
    top: 30px;
    right: 25%;
    /* background-color: #000; */
    text-align: right;
    line-height: 0%;
}
.bonusimg {
    width: 30%;
    /* margin-right: 100%; */
} 
.gif1 {
    display: none;
    position: absolute;
    width: 35%;
    height: 15%;
    /* background-color: #000; */
    background-image: url("https://video-public.canva.com/VADhwdU1A9M/videos/e52e1a28f2.gif");
    margin-top: 65%;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 1;
}
.gif2 {
    display: none;
    position: absolute;
    width: 100%;
    height: 17%;
    /* background-color: #000; */
    background-image: url("https://video-public.canva.com/VADhwbZLUG4/v/d4a39424ae.gif");
    margin-left: 28%;
    background-repeat: no-repeat;
    background-size: 50%;
    z-index: 1;
}
.gif3 {
    display: none;
    position: absolute;
    width: 100%;
    height: 50vh;
    /* background-color: #000; */
    background-image: url("https://video-public.canva.com/VADls1hsHls/videos/18caee4338.gif");
    top: 0px;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 1;
}
.gif4 {
    display: none;
    position: absolute;
    width: 20%;
    height: 10vh;
    /* right: 0px; */
    /* margin-top: 20%; */
    top: 52%;
    margin-left: 42%;
    /* background-color: #000; */
    background-image: url("https://video-public.canva.com/VAD8zBrlQHo/v/cc650b2f27.gif");
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 1;
}
.levelup {
    display: none;
    position:absolute;
    width: 50%;
    background-repeat: no-repeat;
    background-size: 100%;
    margin-left: 52%;
    top: 660px;
}
.levellabel {
    /* padding: 10px 45px; */
    font-family: fantasy;
    font-size: 50px;
    color: white;
    background: #6225E6;
    transition: 1s;
    box-shadow: 10px 10px 0 #FBC638;
    transform: skewX(15deg);
    cursor: pointer;
    /* align-self: center; */
    width: 400px;
    margin-left: 20px;
    /* margin-top: 50px; */
}

.wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10%;
}

.cta {
    display: flex;
    /*padding: 10px 45px;*/
    text-decoration: none;
    font-family:fantasy;
    font-size: 20px;
    color: white;
    background: #6225E6;
    transition: 1s;
    box-shadow: 6px 6px 0 black;
    transform: skewX(-15deg);
    margin-left: -29px;
    padding-right: 40px;
    padding-left: 39px;
    margin-top: 55px;
    padding-top: 3px;
    padding-bottom: 5px;
    cursor: pointer;
}

    .cta:hover {
        transition: 0.5s;
        box-shadow: 10px 10px 0 #FBC638;
    }

        .cta:hover span:nth-child(2) {
            transition: 0.5s;
            margin-right: 15px;
        }

span {
    transform: skewX(15deg);
    width: 40px;
}

body {
    margin: 0;
    background-color: #ccffff;
    height: 100vh;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    overflow: hidden;
}

.canvas-container {
    position: relative;
    width: 100vmin;
    height: 100vmin;
    display: block;
    text-align: center;
    margin: 0 auto;
}

    .canvas-container a {
        display: none;
        position: absolute;
        right: 5%;
        top: 5%;
    }

    .canvas-container canvas {
        height: 100%;
    }

.modal {
    position: absolute;
    width: 100px;
    height: 183px;
    font-size: 19px;
    /*background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/21151/ticket.svg);*/
    background-image: url('../image/bg2.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    color: #019897;
    text-align: center;
    left: 50%;
    top: 60%;
    font-family: fantasy;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    padding: 60px;
    transition: .2s all;
}

.nextbtn {
    cursor: pointer;
    color: white;
    padding-right: 11px;
    padding-left: 11px;
    margin-top: 69px;
    margin-left: -23px;
    display: flex;
    /*padding: 10px 45px;*/
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 20px;
    background: #6225E6;
    transition: 1s;
    box-shadow: 6px 6px 0 black;
    transform: skewX(-15deg);
    padding-bottom: 5px;
}

    .nextbtn:hover {
        transition: 0.5s;
        box-shadow: 10px 10px 0 #FBC638;
    }

/*.finishbtn {
    background-color: darkgray;
    font-family: cursive;
    display: inline-block;
    background-color: #d8d1c6;
    color: midnightblue;
    cursor: pointer;
    text-transform: none;
}*/

@media screen and (max-width: 1024px) {
    
    .modal {
        position: absolute;
        width: 235px;
        height: 476px;
        font-size: 36px;
        padding: 183px;
        margin-left: 46px;
    }

    .btn {
        width: 220px;
        height: 204px;
        cursor: pointer;
        font-size: 46px;
        margin-top: 173px;
        margin-right: 6%;
        background-color: darkgray;
        font-family: fantasy;
        color: midnightblue;
        box-shadow: 20px 20px 0 #FBC638;
    }

    .playbtn {
        width: 203px;
        font-size: 69px;
        height: 100px;
        margin-top: 138px;
        padding: 24px;
        background-color: #d8d1c6;
        margin-left: -21px;
    }

    .nextbtn {
        margin-top: 152px;
        font-size: 51px;
        color: white;
        margin-right: 16px;
        padding-top: 44px;
        padding-bottom: 44px;
        padding-right: 82px;
        padding-left: 75px;
        box-shadow: 20px 20px 0 #FBC638;
    }

    .trybtn {
        padding-right: 223px;
        padding-left: 84px;
        margin-top: 136px;
        font-family: fantasy;
        margin-right: 41px;
        display: flex;
        text-decoration: none;
        font-size: 55px;
        color: white;
        background: #6225E6;
        transition: 1s;
        box-shadow: 6px 6px 0 black;
        transform: skewX(-15deg);
        cursor: pointer;
        box-shadow: 20px 20px 0 #FBC638;
    }

    .modal__title {
        margin-top: 10px;
        font-size: 50px;
    }

    .finishbtn {
        display: inline-block;
        color: white;
        cursor: pointer;
        text-transform: none;
        font-size: 66px;
        padding: 10px;
        box-shadow: 20px 20px 0 #FBC638;
    }

    .cta {
        font-size: 70px;
        margin-top: 197px;
        margin-right: 16px;
        padding-top: 22px;
        padding-bottom: 25px;
        padding-right: 208px;
        padding-left: 95px;
        box-shadow: 20px 20px 0 #FBC638;
    }
}

.trybtn {
    font-family: fantasy;
    cursor: pointer;
    background: #6225E6;
    transition: 1s;
    color: white;
    transition: 1s;
    transform: skewX(-15deg);
}

    .trybtn:hover {
        transition: 0.5s;
        box-shadow: 10px 10px 0 #FBC638;
    }

.btntry{
    margin-top:35px;
}

.playbtn {
    cursor: pointer;
    color: midnightblue;
    font-family: fantasy;
    margin-right: 16px;
    padding: 9px;
}

.finishbtn {
    font-family: fantasy;
    display: inline-block;
    background: #6225E6;
    color: white;
    cursor: pointer;
    text-transform: none;
    padding: 10px;
}
    .finishbtn:hover {
        transition: 0.5s;
        box-shadow: 10px 10px 0 #FBC638;
    }

.modal__gameover,
.modal__win {
    display: none;
}

    .modal__gameover .modal__title,
    .modal__win .modal__title {
        padding: 40px 0 25px;
        margin-right: 83px;
        margin-top: -52px;
    }

.modal__loading {
    display: none;
}

.game--active .canvas-container a {
    display: block;
}

.game--active .modal {
    pointer-events: none;
    opacity: 0;
    -webkit-transform: translateX(-50%) translateY(0);
    transform: translateX(-50%) translateY(0);
}

.game--over .modal__gameover {
    display: block;
}

.game--over .modal__main,
.game--over .modal__win {
    display: none;
}

.game--win .modal__win {
    display: block;
}

.game--win .modal__gameover,
.game--win .modal__main {
    display: none;
}

.game--loading .modal__main {
    display: none;
}

.game--loading .modal__loading {
    display: block;
}

.modal__title {
    padding: 0px 0 17px;
    margin: 0;
    color: midnightblue;
    font-family: fantasy;
    line-height: 1.1;
    font-weight: normal;
    margin-right: 60px;
}

.modal__text {
    margin: 2.5em 0;
    color: midnightblue;
    font-family: fantasy;
}

.modal__controls {
    display: flex;
    justify-content: center;
    margin: 17px 0 10px;
    z-index: 1;
	font-family: 'Poppins';
    font-size: 75px;
}

.btn {
    display: inline-block;
    color: white;
    cursor: pointer;
    text-transform: none;
    /*background-color: darkgray;*/
    font-family: fantasy;
    margin-right: 21px;
    background: #6225E6;
}

.btn:hover {
    transition: 0.5s;
    box-shadow: 10px 10px 0 #FBC638;
}

input[type=range] {
    -webkit-appearance: none;
    background-color: transparent;
}

    input[type=range]::-webkit-slider-runnable-track {
        width: 129px;
        height: 6px;
        background-color: #01aead;
        border: none;
        border-radius: 3px;
    }

    input[type=range]::-ms-track {
        width: 129px;
        height: 6px;
        background-color: #01aead;
        border: none;
        border-radius: 3px;
        margin: 5px 0;
    }

    input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        border: none;
        height: 16px;
        width: 16px;
        border-radius: 50%;
        background-color: #f38073;
        margin-top: -5px;
    }

.tree {
    margin-top: 20px;
}
