.mario-page {
    padding: 20px 0;
    background: linear-gradient(to bottom, #5C94FC, #87CEEB);
    font-family: 'Courier New', monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.game-container {
    background: #fff;
    border: 3px solid #000;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px #000;

}

.ui {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    min-width: 800px;

}

#game-area {
    position: relative;
    width: 800px;
    height: 400px;
    background: linear-gradient(to bottom, #5C94FC 80%, #228B22 80%, #228B22 100%);
    border: 2px solid #000;
    overflow: hidden;

}

#mario {
    position: absolute;
    width: 20px;
    height: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    /*background-image: url('https://i.imgur.com/Wb1qfhK.png');*/
    background-image: url('/mario-src/Zara.png');
    z-index: 100;
}

#mario.big {
    width: 50px;
    height: 50px;
    background-image: url('/mario-src/Zara.png');
}

.platform {
    position: absolute;
    width: 20px;
    height: 20px;
    background-repeat: repeat;
    background-image: url('https://i.imgur.com/M6rwarW.png');

}
.platform.ground {
    position: absolute;
    background-size: 20px 20px;
    background-repeat: repeat;
    background-image: url('https://i.imgur.com/pogC9x5.png');
}
.platform.floating {
    position: absolute;

    background-size: 20px 20px;
    background-repeat: repeat;
    background-image: url('https://i.imgur.com/pogC9x5.png');
}

.platform.blue {
    position: absolute;
    /*background-size: cover;*/
    background-repeat: repeat;
    background-size: 20px 20px;
    /*background-repeat: repeat;*/
    background-image: url('https://i.imgur.com/fVscIbn.png');
}

.enemy.brown {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('https://i.imgur.com/KPO3fR9.png');
}

.enemy.purple {
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    background-image: url('https://i.imgur.com/SvV4ueD.png');
}

.mushroom {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('https://i.imgur.com/0wMd92p.png');
}

.coin{
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('https://i.imgur.com/wbKxhcd.png');
    animation: coinSpin 1s linear infinite;
}
@keyframes coinSpin {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.surprise-block {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('https://i.imgur.com/gesQ1KP.png');
}

.surprise-block.hit {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('https://i.imgur.com/bdrLpi6.png');
}

.pipe {
    position: absolute;
    width: 40px;
    height: 40px;
}

.pipe-top {
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    background-image: url('https://i.imgur.com/ReTPiWY.png');
}
.pipe-top-right {
    position: absolute;
    top: 0;
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    background-image: url('https://i.imgur.com/hj2GK4n.png');
}
.pipe-bottom {
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    background-image: url('https://i.imgur.com/c1cySbt.png');
}
.pipe-bottom-right {
    position: absolute;
    top: 0;
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    background-image: url('https://i.imgur.com/nqQ79e.png');
}

.controls {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

#game-over {
    position: absolute;
    top: 50%;
    border: 3px solid #fff;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 30px;
    border-radius:10px;
    text-align: center;
    z-index: 1000;
    display: none;
}

#restart-button {
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    margin: 10px;
}
#restart-button:hover {
    background-color: #ff5252;
}

