* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  /* background-color: #7786f5; */
  background-image: url(../images/juegos.webp);
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (max-width:700px) {
  body{
    height: 100vh;
  }
}
.wrapper {
  position: absolute;
  width: 90%;
  max-width: 37em;
  background-color: #ffffff;
  padding: 7em 3em;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  text-align: center;
  border-radius: 1em;
}
.controls-container {
  /* background-color: #7786f5; */
  background-image: url(../images/juegos.webp);
  background-repeat: no-repeat;
  background-size: cover;
  

  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  top: 0;
}
#start, #regresar {
  font-size: 1.2em;
  padding: 1em 3em;
  background-color: #ffffff;
  border: none;
  outline: none;
  border-radius: 2em;
  cursor: pointer;
  margin-top: 1rem;
}

#letter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em 0.4em;
  justify-content: center;
  margin-top: 2em;
}



#letter-container button {
  background-color: #ffffff;
  border: 2px solid #1a5276;
  color: #1a5276;
  outline: none;
  border-radius: 0.3em;
  cursor: pointer;
  height: 3em;
  width: 3em;
}

#letter-container button.correcto {
  background-color: #008000;
  color: #ffffff;
  border: 2px solid #008000;
}

#letter-container button.incorrecto { 
  background-color: red;
  color: #ffffff;
  border: 2px solid red;
}


.hint-ref {
  margin-bottom: 1em;
}
.hint-ref span {
  font-weight: 600;
}
#chanceCount {
  margin: 1em 0;
  position: absolute;
  top: 0.62em;
  right: 2em;
}
#word {
  font-weight: 600;
  margin: 1em 0 2em 0;
}
#word span {
  text-transform: uppercase;
  font-weight: 400;
}
.hide {
  display: none;
}

.star-icon {
  width: 20px; /* Ajusta el tamaño según sea necesario */
  height: 20px;
  margin-right: 3px; /* Espaciado opcional entre estrellas */
  vertical-align: middle;
}

/* Responsive Table Styles */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.responsive-table th, .responsive-table td {
  padding: 10px;
  border: 1px solid #111;
  text-align: left;
  background-color: #f4f4f4;
}

.responsive-table thead {
  background-color: #f4f4f4;
  font-weight: bold;
}

.responsive-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.responsive-table img.star-icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .responsive-table thead {
    display: none;
  }

  .responsive-table tr {
    display: block;
    margin-bottom: 10px;
  }

  .responsive-table td {
    display: block;
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .responsive-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    padding-left: 10px;
    font-weight: bold;
    text-align: left;
  }
}

.centrart{
  display: flex;
    align-items: center;
    justify-content: center;
}

#result{
  background-color: #f4f4f4;
    border-radius: 50px;
    width: 80%;
    margin-top: 13rem;
}
