@font-face {
    font-family: Pixel;
    src: url('../font/PixelifySans-VariableFont_wght.ttf') format('truetype');
}

#player {
    background-image: url('../images/player_skins/player.png');
    height:100px;
    width: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
}

.pavimento {
    position:absolute;
    width: 3000px;
    background-color: green;
    left: 0px;
    bottom:0px;
    height: 200px;
    background-image: url('../images/soil.png');
    background-size: 100px;
}

.pavimento div{
    background-image: url('../images/grass.png');
    width: 100%;
    height: 100px;
    background-size: 100px;
}

#background {
    background-color: darkblue;
    background-image: url('../images/dg39dc3-55810788-e69f-48db-bf61-a92401dd34d2.gif');
    position:absolute;
    bottom:0px;
    left:0px;
    width:101%;
    height: 101%;
    z-index: -2;
}

.wall {
    width: 100px;
    height: 100px;
    background-image: url('../images/brick.png');
    position: absolute;
    background-size: contain;
}

.coin {
    background-image: url('../images/coin_gif.gif');
    background-size: contain;
    position: absolute;
    width: 100px;
    height: 100px;
}

.plant {
    background-image: url('../images/mine.png');
    background-size: contain;
    position: absolute;
    width: 100px;
    height: 100px;
}

.end_flag {
    background-image: url('../images/flagpole.png');
    background-size: contain;
    position: absolute;
    width: 158px;
    height: 310px;
    z-index: -1;
    transform: translateX(-58px);
}

#display_punti {
    background-image: url('../images/Giorgio.png');
    background-size: contain;
    font-family: Pixel;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 175px;
    height: 70px;
    font-size: 12px;
    text-align: center;
}

#popup {
    background-image: url('../images/win_lose_sign.png');
    background-size: contain;
    position: absolute;
    padding: 10px;
    height: 580px;
    width: 880px;
    z-index: 3;
    margin: auto;
    text-align: center;
    font-family: 'Pixel';
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

#popup h1 {
    text-align: center;
    margin-top: 110px;
    font-size: 100px;
    font-family: 'Pixel';
}

#popup button {
    left: unset;
    bottom: unset;
    margin: 5px;
    width: 200px;
}

#menu {
    font-family: Pixel;
    display: grid;
    justify-items: center;
    height: 400px;
    width: 750px;
    justify-content: center;
    align-content: space-evenly;
    background-image: url('../images/win_lose_sign.png');
    background-size: contain;
    align-items: stretch;
    padding-top: 50px;
    padding-bottom: 50px;
    margin:auto;
    margin-top: 5%;
}

#menu button {
    left: unset;
    margin-top: 5px;
    width:400px;
}

#menu span {
    font-size: 75px;
}

.bottone_pinguino div{
    width:100px;
    height:100px;
    margin:10px;
    background-repeat: no-repeat;
    background-size: contain;
}

#container > button{
    width: 200px;
}

#container button{
    margin: 10px;
}

.bottone_pinguino {
    width:fit-content;
    height:fit-content;
    border-radius: 30px;
}

#container {
    justify-items: center;
    display: grid;
    border-radius: 30px;
    background-color: dodgerblue;
    border: outset 5px;
    border-color: deepskyblue;
    width: fit-content;
    margin:auto;
    margin-top: 10%;
}

#copertura {
    background-color: black;
    width: 100%;
    height: 100%;
    opacity: 50%;
    z-index: 2;
    position: absolute;
    top: 0px;
    left: 0px;
}

#bottone_record {
    position: absolute;
    border: none;
    background: unset;
    background-image: url(../images/record.png);
    background-size: contain;
    width: 300px;
    height: 200px;
    border-radius: unset;
    top: 20%;
    left: 10%;
    transform: rotate(345deg);
}