* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.background {
    height: 100vh;
    width: 100vw;
    background: url('background-img.png') no-repeat center center fixed;
    background-size: cover;
}

.bird {
    max-height: 8vh; /* Hauteur maximale du bird */
    width: auto; /* La largeur s'ajuste automatiquement pour conserver les proportions */
    position: fixed;
    top: 40vh;
    left: 20vw;
    z-index: 100;
}

.pipe_sprite {
    position: fixed;
    top: 40vh;
    left: 100vw;
    height: 70vh;
    width: auto; /* La largeur s'ajuste automatiquement pour conserver les proportions */
    max-width: 30px; /* Largeur maximale de la pipe_sprite */
    background: radial-gradient(lightgreen 50%, green);
    border: 5px solid black;
}

.message {
    position: absolute;
    z-index: 10;
    color: black;
    top: 30%;
    left: 50%;
    font-size: 4vw;
    transform: translate(-50%, -50%);
    text-align: center;
}

.messageStyle {
    background: white;
    padding: 3vw;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 5%;
}

.score {
    position: fixed;
    z-index: 10;
    height: 5vh;
    font-size: 5vh;
    font-weight: 100;
    color: white;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
    top: 0;
    left: 0;
    margin: 2vh;
    font-family: Arial, Helvetica, sans-serif;
}

.score_val {
    color: gold;
    font-weight: bold;
}

@media only screen and (max-width: 1080px) {
    .message {
        font-size: 5vw;
        top: 50%;
        white-space: nowrap;
    }

    .score {
        font-size: 4vh;
    }

    .pipe_sprite {
        max-width: 15px; /* Ajustement pour la version mobile */
    }
}