*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* * Header*/
.navbar {
    background-color: #333; /* Un fondo oscuro */
    overflow: hidden; /* Para asegurarnos de que no haya desbordamientos */
    display: flex; /* Alinea los elementos en una fila */
    justify-content: space-around; /* Espacia uniformemente los elementos */
    padding: 1em;
}
.navbar a {
    color: white; /* Enlaces en blanco para que resalten */
    text-decoration: none; /* Quitar el subrayado */
    padding: 0.5em 1em; /* Espacio alrededor de los enlaces */
}
.navbar a:hover {
    background-color: #575757; /* Efecto hover para resaltar los enlaces */
    transition: 0.3s; /* Suavizar la transición del hover */
}

/* Escena del juego*/
.game-container{
    display: flex;
    flex-direction: column;
    align-items: center;

    position: relative;

    width: 600px;
    height: 400px;
    margin: 25px auto;
    border: 5px solid #065818;
    border-radius: 15px;
    box-shadow: 1px 1px 3px 2px #0a2410;
}
.bg-game{
    width: 100%;
    height: 100%;
    z-index: -1; 
}

h1{
    font-family: "Rubik Puddles", system-ui;
    font-size: 3rem;
    font-weight: 400;
}

.x{
    position: absolute;
    right: 20px;
    top: 20px;
}
.game-tittle{
    position: absolute;
    margin-top: 8%;
}

.btn-play{
    position: absolute;
    width: 200px;
    height: 70px;
    top: 5%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 35px;
    cursor: pointer;

    background: none;
    border: none;
    padding: 0;
}
.btn-play img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bird{
    width: 50px;
    height: 50px;
    transform: rotateZ(45deg);
    position: absolute;
}
.bird img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.bird-1{
    position: absolute;
    left: 30%;
    top: 65%;
}
.bird-2{
    position: absolute;
    right: 10%;
    top: 30%;
}

.btn-config-game{
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    bottom: 10px;
    padding: 0 20px;
    gap: 10px;
}

.btn-world{
    margin-left: auto;

}

/* FOOTER */

.cookie-footer {

    position: fixed; /* Siempre visible al final de la pantalla */

    bottom: 0; /* Pegado a la parte inferior */

    left: 0;

    right: 0;

    background-color: #222; /* Fondo oscuro para que destaque */

    color: #fff; /* Texto en blanco para buen contraste */

    padding: 1em;

    display: flex; /* Organiza el contenido de manera horizontal */

    justify-content: space-between; /* Espacia el texto y el botón */

    align-items: center;

}

.cookie-footer button {

  background-color: #4caf50; /* Verde para el botón */

    color: white;

    border: none;

    padding: 0.5em 1em;

    cursor: pointer;

}

.cookie-footer button:hover {

    background-color: #45a049; /* Efecto al pasar el ratón sobre el botón */

}