@font-face {
    font-family: 'VCR';
    src: url(VCR_OSD_MONO_1.001.ttf);
}

body{

    margin: 0;
    display: flex;
    justify-content: left;
    align-items: center;
    height: 100vh;
    background-color: #333;
    color: #fff;
    font-family: 'VCR';
}
/* ############################ */
    .gameBox {
        display:flex;
        justify-content: center;
        gap:20px;
        width:100%;
    }
/* ############################ */
    #StartScreen {
        background-image: url('Images/start_screen.png');
        background-size: contain;
        background-color:black;
        border: 2px solid #fff;
        width: 600px;
        height: 800px;
        z-index:10;
        position: absolute;
    }
/* ############################ *//* ############################ */
    #slide_1 button{
        position: absolute;
        border: transparent;
        background-color: transparent;
        top: 450px;
        left: 150px;
        width: 300px;
        height: 300px;
        background-image: url(Images/start_button.png);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .heartbeat {
        animation: heartbeat 1s infinite;
    }
        
    @keyframes heartbeat {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
        }
    }
/* ############################ */
    #game-container{
        position: relative;
        width: 600px;
        height: 800px;
        border: 2px solid #fff;
        overflow: hidden;
        background-image: url('Images/Grandmama.png');
        background-size: contain;
        position: relative;
        
    }
/* ############################ */
    .hud {
    
        border: 2px solid #fff;
        overflow: hidden;
        
        background-position: bottom;
        background-repeat: no-repeat;
        position: relative;
        background-image: url(Images/Legend.png);
    }

    .game-stats {
        border: 2px solid #d495e3;
        background-color: black;
        padding-left: 5%;
        padding-right: 5%;
    }

    .info {
        padding-left: 5%;
        padding-right: 5%;
    }
/* ############################ */

    #player{
        position: absolute;
        bottom: 0%;
        left: 50%;;
        width: 140px;
        height:215px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;

    /* hidden will allow you to see the interactable area of the player */
    /*
        background: linear-gradient(to bottom, #8b4513, #cd853f);
        border: 3px solid #8b4513;
        border-radius: 0 0 20px 20px;
        box-shadow:  inset 0 -5px 5px rgba(0,0,0,0.3);
    */

        background-image: url('Images/Catto.png');
        background-size: cover;
        transform: translateX(-50%);
    }
/*################ GOOD */
    .falling-object{
        position: absolute;
        top: 0;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
/*################ BAD */
    .falling-object-but-bad{
        position: absolute;
        top: 0;
        width: 50px;
        height: 50px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
/*################*/
    #score {
        font-size: 1.5rem;
        font-weight: hidden;
        color: white;
    }

    #candies-dropped {
        font-size: 1.5rem;
        font-weight: hidden;
        color: white;
    }
