﻿@font-face {
    font-family: 'Press Start 2P';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/press-start-2p-v9-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('Press Start 2P Regular'), local('PressStart2P-Regular'), url('../fonts/press-start-2p-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/press-start-2p-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/press-start-2p-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/press-start-2p-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/press-start-2p-v9-latin-regular.svg#PressStart2P') format('svg'); /* Legacy iOS */
}

body {
    font-family: 'Press Start 2P', Fallback, sans-serif;
    display: flex;
    margin: 0;
}

.game-container {
    width: 500px;
    height: 730px;
    position: absolute;
    left: 80px;
}


.border-left {
    width: 80px;
    height: 790px;
    position: absolute;
    background-color: honeydew;
    z-index: +2;
}

.border-right {
    left: 580px;
    width: 82px;
    height: 790px;
    position: absolute;
    background-color: honeydew;
    z-index: +2;
}

.border-top {
    width: 660px;
    height: 60px;
    position: absolute;
    background-color: honeydew;
    z-index: +2;
    top: -52px;
    left: -80px;
}

.border-bottom {
    width: 660px;
    height: 60px;
    position: absolute;
    background-color: honeydew;
    z-index: +2;
    top: 730px;
    left: -80px;
}

.title {
    background-image: url('../images/title.png');
    bottom: 450px;
    left: 50px;
    width: 397px;
    height: 105px;
    position: absolute;
}

.story {
    font-size: 1.25em;
    color: white;
    width: 98%;
    bottom: 115px;
    left: 10px;
    text-align: center;
    position: absolute;
    -webkit-text-stroke-width: 1.25px;
    -webkit-text-stroke-color: black;
}

.score {
    font-size: 2.5em;
    color: white;
    position: absolute;
    z-index: +2;
    top: 10px;
    left: 405px;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: black;
}

.sky {
    background-image: url('../images/ff-game-background.png');
    width: 500px;
    height: 580px;
    position: absolute;
}

.ground {
    background-image: url('../images/ff-bottom-background.png');
    width: 500px;
    height: 150px;
    position: absolute;
    top: 580px;
    z-index: +1;
}

.fig {
    background-image: url('../images/faffy-fig.png');
    width: 60px;
    height: 45px;
    left: 220px;
    position: absolute;
}

.bottomPage {
    bottom: 170px;
    left: 190px;
    position: absolute;
    z-index: +2;
}

.marm {
    background-image: url('../images/faffyfig-marm-paw2.png');
    width: 78px;
    height: 300px;
    position: absolute;
}

    .marm.top {
        transform: rotate(180deg);
    }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.gameover {
    background-image: url('../images/gameover.png');
    width: 350px;
    height: 341px;
    left: 85px;
    bottom: 200px;
    position: absolute;
}

.finalscore {
    font-size: 5em;
    color: white;
    position: absolute;
    z-index: +2;
    bottom: 100px;
    left: 185px;
    -webkit-text-stroke-width: 4px;
    -webkit-text-stroke-color: black;
}

.btn {
    color: #fff !important;
    text-transform: uppercase;
    text-decoration: none;
    background: #fd3854;
    padding: 20px;
    border-radius: 5px;
    display: inline-block;
    border: none;
    transition: all 0.4s ease 0s;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}
    .btn:hover {
        background: #434343;
        letter-spacing: 1px;
        -webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
        -moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
        box-shadow: 5px 40px -10px rgba(0,0,0,0.57);
        transition: all 0.4s ease 0s;
    }

@media only screen and (max-width: 480px) {
.game-container {
    width: 300px;
    height: 438px;
    position: absolute;
    left: 48px;
}


.border-left {
    width: 48px;
    height: 474px;
    position: absolute;
    background-color: honeydew;
    z-index: +2;
}

.border-right {
    left: 348px;
    width: 49px;
    height: 474px;
    position: absolute;
    background-color: honeydew;
    z-index: +2;
}

.border-top {
    width: 396px;
    height: 36px;
    position: absolute;
    background-color: honeydew;
    z-index: +2;
    top: -30px;
    left: -48px;
}

.border-bottom {
    width: 396px;
    height: 36px;
    position: absolute;
    background-color: honeydew;
    z-index: +2;
    top: 438px;
    left: -48px;
}

.title {
    background-image: url('../images/title-mobile.png');
    bottom: 270px;
    left: 30px;
    width: 238px;
    height: 63px;
    position: absolute;
}

.story {
    font-size: 1em;
    color: white;
    width: 98%;
    bottom: 40px;
    left: 6px;
    text-align: center;
    position: absolute;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.score {
    font-size: 1.5em;
    color: white;
    position: absolute;
    z-index: +2;
    top: 6px;
    left: 243px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.sky {
    background-image: url('../images/ff-game-background-mobile.png');
    width: 300px;
    height: 348px;
    position: absolute;
}

.ground {
    background-image: url('../images/ff-bottom-background-mobile.png');
    width: 300px;
    height: 90px;
    position: absolute;
    top: 348px;
    z-index: +1;
}

.fig {
    background-image: url('../images/faffy-fig-mobile.png');
    width: 36px;
    height: 27px;
    left: 132px;
    position: absolute;
}

.bottomPage {
    bottom: 70px;
    left: 100px;
    position: absolute;
    z-index: +2;
}

.marm {
    background-image: url('../images/faffyfig-marm-paw2-mobile.png');
    width: 47px;
    height: 180px;
    position: absolute;
}

    .marm.top {
        transform: rotate(180deg);
    }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.gameover {
    background-image: url('../images/gameover-mobile.png');
    width: 210px;
    height: 205px;
    left: 51px;
    bottom: 120px;
    position: absolute;
}

.finalscore {
    font-size: 3em;
    color: white;
    position: absolute;
    z-index: +2;
    bottom: 50px;
    left: 111px;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: black;
}

.btn {
    font-size: 1em;
    color: #fff !important;
    text-transform: uppercase;
    text-decoration: none;
    background: #fd3854;
    padding: 12px;
    border-radius: 3px;
    display: inline-block;
    border: none;
    transition: all 0.4s ease 0s;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}
    .btn:hover {
        background: #434343;
        letter-spacing: 1px;
        -webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
        -moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
        box-shadow: 5px 40px -10px rgba(0,0,0,0.57);
        transition: all 0.4s ease 0s;
    }
}