* {
  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 de juego */

.game-container {
  display: flex;
  flex-direction: column;
  align-items: center;

  position: relative;

  width: 700px;
  height: 400px;
  margin: 30px auto;
  border: 10px solid white;
  border-radius: 15px;
  box-shadow: 1px 1px 3px 2px #cbcbcb;
}

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

.bird {
  position: absolute;
  width: 50px;
  height: 50px;
  transform: rotateZ(45deg);
}
.bird-1 {
  background-color: rgb(255, 224, 51);
  left: 30%;
  top: 60%;
}
.bird-2 {
  background-color: rgb(12, 161, 254);
  right: 3%;
  top: 30%;
}

.bg-game {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
}

.equis {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  font-size: 1.5rem;
}

.game-title {
  margin-top: 7%;
}

.btn-config-game {
  display: flex;
  justify-content: flex-start;
  position: absolute;
  width: 100%;
  bottom: 10px;
  padding: 0 20px;
  gap: 15px;
}
.btn-world {
  margin-left: auto;
}
.btn-config-game button {
  font-size: 2rem;
  border: none;
  padding: 9px;
  border-radius: 10px;
  cursor: pointer;
}

/* 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 a{
  color:rgb(255, 224, 51)
}

.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 */
}