body {
  font-family: 'Fredoka One', sans-serif;
      text-align: center;
      background: #f0f8ff;
      margin: 0;
      padding: 20px;
    overflow-x: hidden;

  position: relative;
    }

.jogo {
        justify-content: center !important;
}

.topo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: x x x x;
    transform: scale(1.2); 

}

.topo h1 {
  font-size: 28px;
  font-weight: 800;
  color: #008ee8;
  background: #fff;
  border-radius: 12px;
  padding: 8px 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.exit-button {
  position: absolute;
  top: 35px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  z-index: 10;
  transition: transform 0.3s ease;
}
.exit-button:hover {
    transform: scale(1.1); 
}

.exit-button img {
  width: 60px;
  height: 60px;
  display: block;
  margin-bottom: 5px;
}

.exit-button {
           text-shadow:
       1px 1px 0 #008ee8,
      -1px 1px 0 #008ee8,
       1px -1px 0 #008ee8,
      -1px -1px 0 #008ee8,
       0px 1px 0 #008ee8,
       0px -1px 0 #008ee8,
       1px 0px 0 #008ee8,
      -1px 0px 0 #008ee8,
       2px 0px 0 #008ee8,
      -2px 0px 0 #008ee8,
       0px 2px 0 #008ee8,
       0px -2px 0 #008ee8,
       2px 2px 0 #008ee8,
      -2px 2px 0 #008ee8,
       2px -2px 0 #008ee8,
      -2px -2px 0 #008ee8;
      font-size: 16px;
      
}

    .fundo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}


    #letter {
      font-size: 220px;
      font-weight: bold;
      color: #009acd;
      cursor: pointer;
      user-select: none;
      display: inline-block;
      padding: 10px 20px;
      border-radius: 12px;
      background: none;
      transition: transform 0.2s;
       position: relative;
    }

    #letter {
               text-shadow:
       3px 3px 0 #fff,
      -3px 3px 0 #fff,
       3px -3px 0 #fff,
      -3px -3px 0 #fff,
       0px 3px 0 #fff,
       0px -3px 0 #fff,
       3px 0px 0 #fff,
      -3px 0px 0 #fff,
       4px 0px 0 #fff,
      -4px 0px 0 #fff,
       0px 4px 0 #fff,
       0px 4px 0 #fff,
       4px 4px 0 #fff,
      -4px 4px 0 #fff,
       4px -4px 0 #fff,
      -4px -4px 0 #fff;
    }

    #letter:hover {
      transform: scale(1.1);
    }

    .images {
      display: flex;
      justify-content: center;
      gap: 40px;
      margin-top: 20px;
      flex-wrap: wrap;
    }

.images img {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  cursor: pointer;
  padding: -20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 5px white, 0 0 0 10px #00bfff, 0 4px 10px rgba(0,0,0,0.15); /* Cor padrão */
}

.images img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 5px white, 0 0 0 10px #009acd, 0 6px 14px rgba(0,0,0,0.2);
}


    .borda-vermelha {
  box-shadow: 0 0 0 5px white, 0 0 0 10px #ff4d4d, 0 4px 10px rgba(0,0,0,0.15);
}

.borda-azul {
  box-shadow: 0 0 0 5px white, 0 0 0 10px #00bfff, 0 4px 10px rgba(0,0,0,0.15);
}

.borda-amarela {
  box-shadow: 0 0 0 5px white, 0 0 0 10px #ffd700, 0 4px 10px rgba(0,0,0,0.15);
}


    #feedback {
      margin-top: 20px;
      font-size: 22px;
      font-weight: bold;
      font-family: 'Poppins'; 
    }

    button {
      margin-top: 30px;
      padding: 10px 20px;
      font-size: 18px;
      border: none;
      border-radius: 10px;
      background: #008ee8;
      border: 2px solid #007ac5;
      border-bottom: 5px solid #007ac5;
      font-family: 'Poppins'; 
      font-weight: bold;
      color: white;
      cursor: pointer;
      transition: background 0.3s;
    }

    button:hover {
      background: #007ac5;
      border-color: #008ee8;
    }

    #nextBtn {
      display: none;
    }

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

#sound-icon {
  position: absolute;
  right: 47%;
  top: 200px;
  width: 90px;
  height: 90px;
  display: none;
  animation: pulse 1s infinite;

}


/* Responsividade */
@media screen and (max-width: 768px) {
  .topo h1 {
    font-size: 24px;
    padding: 8px 15px;
  }

  #letter {
    font-size: 120px;
  }

  .images img {
    width: 150px;
    height: 150px;
  }

  .exit-button {
    top: 20px;
    right: 20px;
    transform: scale(1);
  }

  button {
    font-size: 16px;
    padding: 8px 16px;
  }

}

@media screen and (max-width: 480px) {
  .topo h1 {
    font-size: 20px;
    padding: 8px 10px;
  }

  #letter {
    font-size: 130px;
  }

  .images img {
    width: 130px;
    height: 130px;
  }

  .exit-button {
    top: 10px;
    right: 10px;
  }

  button {
    font-size: 14px;
    padding: 6px 12px;
  }

}

/* Responsividade para telas pequenas */
@media screen and (max-width: 768px) {
  .exit-button {
    position: fixed;  /* Torna a posição fixa */
    bottom: 20px;  /* Fixa o botão na parte inferior */
    right: 20px;  /* Posição à direita */
    top: auto;    /* Remove a posição no topo */
  }
}

/* Em telas ainda menores (máximo 480px), também ajustamos */
@media screen and (max-width: 480px) {
  .exit-button {
    bottom: 15px;  /* Ajusta a posição mais para baixo */
    right: 10px;   /* Ajusta a posição à direita */
  }
}

/* Responsividade */
@media screen and (max-width: 768px) {
  #sound-icon {
    top: -100px;  /* Ajusta a posição em telas menores */
    width: 70px;  /* Diminui o tamanho do ícone */
    height: 70px; /* Diminui o tamanho do ícone */
  }
}

@media screen and (max-width: 480px) {
  #sound-icon {
    top: -90px;   /* Ajusta a posição em telas muito pequenas */
    width: 60px;  /* Diminui o tamanho do ícone */
    height: 60px; /* Diminui o tamanho do ícone */
  }
}