body,
html {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: rgb(53, 201, 241);
}
.infos {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 40px;
  width: 40px;
  font-size: 25px;
  display: grid;
  place-content: center;
  outline: none;
  border: none;
  border-radius: 10px;
  color: white;
  background-color: #0a66c2;
  cursor: pointer;
}
.manual {
  display: none;
  width: 100%;
  height: 100%;
  z-index: 1;
  backdrop-filter: blur(10px);
  /* display: grid; */
  place-items: center;
  position: absolute;
  padding: 20px;
  box-sizing: border-box;
}
.manual.active {
  display: grid;
}
.manual-content {
  background-color: #0a66c2;
  color: white;
  padding: 20px;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.311);
}
.close {
  width: 100%;
  padding: 7px;
  border: none;
  font-size: 15px;
  border-radius: 5px;
  cursor: pointer;
}
:root {
  --Size: 30px;
  --borderValue: 0.14rem;
}
::-webkit-scrollbar {
  width: 0;
  height: 0;
}
body {
  font-family: sans-serif;
  display: grid;
  place-items: center;
  box-sizing: border-box;
}
.Won {
  background-color: rgb(142, 255, 142) !important;
}
body > div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
h1 {
  line-height: 30px;
  font-size: 20px;
  font-family: sans-serif;
  color: rgb(41, 41, 41);
  text-align: center;
  /* margin-top: -30px; */
}
h1 span {
  font-size: 26px;
  background-color: #0a66c2;
  padding: 3px 10px;
  border-radius: 5px;
  color: white;
}
.color-box {
  display: flex;
  gap: 10px;
}

.color-box > .add {
  border-radius: 5px;
  display: grid;
  background-color: rgb(0, 132, 255);
  color: white;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 25px;
  border: none;
  cursor: pointer;
}
#colors-t {
  background-color: rgba(35, 35, 35, 0.679);
  width: 202px;
  display: flex;
  border-radius: 3px;
  gap: 6px;
  padding: 5px;
  flex-wrap: wrap;
  align-items: center;
}
#colors-t > button {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
}
#colors-t .color-active {
  border: 2px solid white;
  box-shadow: 1px 1px 2px black;
  animation: hover 2s ease-in-out infinite;
}
@keyframes hover {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.selection-box {
  display: flex;
  gap: 10px;
  /* align-items: center; */
}
.selection-box button {
  background-color: rgb(0, 132, 255);
  border: none;
  padding: 5px 20px;
  color: white;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

#question {
  display: grid;
  background-image: url(Crown.png);
  grid-template-columns: repeat(9, var(--Size));
  /* grid-template-rows: repeat(9, 30px); */
  border: 7px solid black;
  border-radius: 7px;
  overflow: hidden;
  background-color: black;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.425);
}
.cell-input {
  width: var(--Size);
  height: var(--Size);
  text-align: center;
  font-size: 20px;
  border: 0.5px solid rgb(0, 0, 0);
  border-radius: 3px;
  box-sizing: border-box;

  background-color: #ffffff;
  cursor: pointer;
  /* transition: all .5s ease-in-out; */
}
.border-left {
  border-left: var(--borderValue) solid rgba(0, 0, 0, 0.805);
}
.border-right {
  border-right: var(--borderValue) solid rgba(0, 0, 0, 0.805);
}
.border-top {
  border-top: var(--borderValue) solid rgba(0, 0, 0, 0.805);
}
.border-bottom {
  border-bottom: var(--borderValue) solid rgba(0, 0, 0, 0.805);
}
.Wrong {
  background-color: rgb(254, 179, 179) !important;
}
.Observe {
  background-color: rgb(185, 254, 179);
}
.Queen {
  background-color: white;
  background-image: url(Crown.png);
  background-position: center;
  background-size: cover;
}
#spinnerMain {
  position: fixed;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(20px);
  display: none;
  place-content: center;
  top: 0;
  left: 0;
}
.spinner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 10px solid rgb(0, 132, 255);
  border-top: 10px solid transparent;
  animation: spin 0.5s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.class_action {
  display: flex;
  gap: 10px;
}
.class_action > button:first-child {
  background-color: white;
  border: 2px solid black;
  color: black;
}
.solver {
  background-color: rgb(0, 132, 255);
  border: none;
  border: 2px solid white;
  padding: 8px 20px;
  color: white;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.solver:hover {
  transform: scale(1.05);
}
.solver:active {
  transform: scale(0.96);
}
