/* @Jael Orea para FCS */

@import url('https://fonts.googleapis.com/css2?family=Fahkwang:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&family=Krub:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

body {
  background-color: #f7f7f7;
  margin: 0 auto;
}

.pages {
  max-width: 900px !important;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 35px;
}

p {
  font: 22pt sans-serif;
  margin: 20px 20px 0px 20px;
}

/* Estilos de la sopa de letras */
#juego {
  border: 1px solid black;
  padding: 20px;
  float: left;
  margin: 30px 20px;
  box-shadow: 0 0 0.2em #604dff, 0 0 0.2em #604dff;
}

#juego div {
  width: 100%;
  margin: 0 auto;
  font-size: 0.75rem;
}

/* Estilos para cada cuadrado de la sopa de letras */
#juego .puzzleSquare {
  height: 20px;
  width: 20px;
  text-transform: uppercase;
  background-color: white;
  border: 0;
  font-size: 1em sans-serif;
}

button::-moz-focus-inner {
  border: 0;
}

/* Indica cuando uncuadrado ha sido seleccionado */
#juego .selected {
  background-color: orange;
}

/* Indica que un cuadrado es parte de la palabra que se ha encontrado */ 
#juego .found {
  background: linear-gradient(to right, #fffc00, #ffffff);
  background-color: #fffc00;
  color: #333333 !important;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

#juego .solved {
  background-color: #3c4fe0;
  color: white;
}

/* Indica que todas las palabras se han encontrado */
#juego .complete {
  background-color: green;
}

.contianer-gameWords {
  width: 60%;
  height: max-content;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  
  background: #4B79A1;
  background: -webkit-linear-gradient(to right, #283E51, #4B79A1);
  background: linear-gradient(to right, #283E51, #4B79A1);
}

/* Estilos para la lista de palabras */
#gameWords {
  box-shadow: #3c4fe0 0 0 0 0.3px inset, rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px 1px, #3c4fe0 0 -1px 0 inset;
  padding-top: 10px;
  -moz-column-count: 2;
  -moz-column-gap: 20px;
  -webkit-column-count: 2;
  -webkit-column-gap: 20px;
  column-gap: 20px;
  column-fill: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  background-image: url(../images/planeta07.png);
  background-size: cover;
  border-radius: 10px;
}

#gameWords li {
  padding: 3px 0;
  font-family: 'Krub', sans-serif !important;
  font-size: 0.9rem;
  color: white;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 2px black;
}

#gameWords .wordFound {
  text-decoration: line-through;
  color: gray;
  text-shadow: 0.5px 0.5px 0.5px black;
}

.cross {
  text-decoration: line-through;
  color: gray;
}

/* Index */
.index-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 80%;
  margin: 0 auto;
}

.index-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.index-text h1 {
  font-family: 'Krub', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #333333;
}

.title-principito {
  margin-bottom: -13px;
}

.subtitle {
  color: #333333;
}

.index-lecture {
  font-size: 1.1rem;
  line-height: 1.5rem;
  line-height: 2rem;
  font-family: 'Krub', sans-serif;
  color: #333333;
}

.style02 {
  font-weight: 500;
}

.instructions02 {
  font-size: 1.1rem;
  line-height: 1.5rem;
  line-height: 2rem;
  font-family: 'Krub', sans-serif;
  color: #333333;
  margin-bottom: 20px;
}

.color-inst {
  color: #646D74;
}

.index-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 50px;
}

.playing {
  align-items: center;
  appearance: none;
  background-image: radial-gradient(100% 100% at 100% 0, #5adaff 0, #5468ff 100%);
  border: 0;
  border-radius: 6px;
  box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,rgba(45, 35, 66, .3) 0 7px 13px -3px,rgba(58, 65, 111, .5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: 'Krub', sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 18px;
}

.playing-behind {
  align-items: center;
  appearance: none;
  background-image: radial-gradient(100% 100% at 100% 0, #5adaff 0, #5468ff 100%);
  border: 0;
  box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,rgba(45, 35, 66, .3) 0 7px 13px -3px,rgba(58, 65, 111, .5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: 'Krub', sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  height: 28px;
  width: 28px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 15px;
  border-radius: 6px;
}

.playing:focus,
.playing-behind:focus {
  box-shadow: #3c4fe0 0 0 0 1.5px inset, rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
}

.playing:hover,
.playing-behind:hover {
  box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
  transform: translateY(-2px);
}

.playing:active,
.playing-behind:active {
  box-shadow: #3c4fe0 0 3px 7px inset;
  transform: translateY(2px);
}

.soupLetters-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin: 0 auto;
  width: 60%;
  margin-top: 10px;
  margin-bottom: 50px;
}

.soupLetters-btns-behind {
  width: 80% !important;
  display: flex;
  align-items: center;
  justify-content: right;
  border-radius: 50%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.container-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.img-pruebat {
  width: 70px;
  margin-top: 50px;
}

.img-header {
  width: 100%; 
  height: 180px;
  background: #4B79A1;
  background: -webkit-linear-gradient(to right, #283E51, #4B79A1);
  background: linear-gradient(to right, #283E51, #4B79A1);

  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

  margin-bottom: 20px;
  border-radius: 10px;
}

.planeta-container {
  width: 150%;
  height: 100%;
  margin: 0 auto;
  background-image: url('images/planeta04.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
  box-shadow: #3c4fe0 0 0 0 0.5px inset, rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px 1px, #3c4fe0 0 -1px 0 inset;
}

ul,li {
  color: #333333;
}

.img-flecha {
  width: 25px;
}

/* Estilos del SWAL */
.swal2-image,
.custom-image {
  width: 250px;
  margin: 0em auto 0.5em;
  cursor: pointer;
  border-radius: 10px;
}

.swal2-title  {
  font-family: 'Krub', sans-serif;
  color: white !important;
  font-size: 1.7rem;
}

.swal2-html-container,
.text-swal {
  font-family: 'Krub', sans-serif;
  color: white !important;
  font-size: 1.3rem;
}

.swal2-styled.swal2-confirm {
  background-image: radial-gradient(100% 100% at 100% 0, #5adaff 0, #5468ff 100%) !important;
  font-size: 1rem;
}

.swal2-styled.swal2-confirm:hover {
  background-image: radial-gradient(100% 100% at 100% 0, #5adaff 0, #5468ff 100%) !important;
  transform: translateY(2px);
}