body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f7f7f7;
}

.game-container {
    position: relative;
    width: 800px;
    height: 300px;
    border: 1px solid #333;
    background-image: url("fondo.png");
    background-repeat: repeat-x;
    background-position: bottom;
}

.dinosaur {
    position: absolute;
    bottom: 0;
    left: 50px;
    width: 120px;
    height: 150px;
}

.cactus {
    position: absolute;
    bottom: 0;
    width: 100px;
    height:90px;
    background-image: url("cactus.png");
}

.score {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 48px;
    font-weight: bold;
}

.game-over {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: bold;
    color: red;
}

