/* body {
  background-color: #01010e;
  background: radial-gradient(
    circle,
    rgba(2, 36, 81, 1) 0%,
    rgba(9, 5, 42, 1) 74%,
    rgba(1, 5, 17, 1) 100%
  );
} */
.sect2 {
  text-align: center;
  font-size: 20px;
}
.innerBlock p {
  font-size: 20px;
}
.game-container {
  height: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff !important;
  margin-bottom: 50px;
  justify-content: space-evenly;
  gap: 30px;
}

.title-container {
  text-align: center;
  width: 510px;
  border-bottom: solid 1px #3a3a3c;
}

.title-container h1 {
  color: #ffffff !important;
}

.tile-container {
  width: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* margin-bottom: 30px; */
}

.key-container {
  width: 510px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.key-container button {
  width: 43px;
  height: 58px;
  border-radius: 4px;
  border: none;
  background-color: #818384;
  margin: 4px;
}

.key-container button:nth-child(11) {
  margin-left: 30px;
}

.key-container button:nth-child(20),
.key-container button:nth-child(28) {
  width: 68px;
}

.tile-container div {
  display: flex;
}

.tile-container .tile {
  width: 62px;
  height: 62px;
  border: 2px solid#3a3a3c;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2px;
}

.message-container {
  height: 30px;
  z-index: 5000;
}

.message-container p {
  background-color: #818384;
  border-radius: 10px;
  padding: 10px;
  margin: 0;
}

.tile.flip {
  animation: 0.5s linear flipping;
}

@keyframes flipping {
  0% {
    transform: rotateX(0deg);
  }
  50% {
    transform: rotateX(90deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}

.grey-overlay {
  background-color: #3a3a3c !important;
  border: none !important;
}
.yellow-overlay {
  background-color: #b59f3a !important;
  border: none !important;
}

.green-overlay {
  background-color: #538d4e !important;
  border: none !important;
}

.wordContainer {
  display: inline-flex;
  gap: 10px;
}

.wordBlock {
  height: 45px;
  width: 45px;
  font-size: 25px;
  text-align: center;
  font-weight: bold;
  border: 2px #878a8c solid;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
/* btn */
.buttonBlock .btn {
  font-size: 17px;
  background-color: #ffffff;
  color: #00b2ee;
  z-index: 1;
}
.buttonBlock {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 20px 0px;
}

.character {
  color: #fff;
  animation: 1.5s linear flipping;
}
#instructionPopup button.closeButton {
  background: transparent;
  border: white;
  float: right;
}
.wordContainer + p {
  margin: 10px 0px 20px 0px;
}
#instructionPopup h1,
#instructionPopup h2 {
  font-weight: bold;
}
#instructionPopup .modal-body {
  padding: 30px;
  background: #32547c;
  color: #fff;
  font-size: 18px;
}
.innerBlock {
  margin-top: 50px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding: 0 200px; */
}
a.btn-solve {
  background-color: #3b8cc1;
  /* width: 40%; */
  color: white;
  margin: 5px;
  padding: 10px 15px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  margin-top: 20px;
}

.innerBlock h1 + p {
  margin-top: 20px;
}

.innerBlock h1 {
  font-weight: bold;
}

@media (max-width: 1600px) {
  .tile-container .tile {
    width: 55px;
    height: 55px;
  }
  .key-container button {
    width: 40px;
    height: 50px;
  }
}

@media (max-width: 1100px) {
  game-container {
    height: 80vh;
  }
}

@media (max-width: 600px) {
  .key-container {
    width: 100%;
  }
  .key-container button {
    width: 28px;
    height: 50px;
    font-size: 13px;
  }
  button:nth-child(11) {
    margin-left: 15px !important;
  }
  button:nth-child(20),
  .key-container button:nth-child(28) {
    width: 47px !important;
  }
  .buttonBlock {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 375px) {
  .key-container button {
    width: 25px;
  }
}

/* message */
.winningMessage,
.playAgainMessage {
  display: none;
  flex-direction: column;
  align-items: center;
}

.btn.btn-primary.btnPlayAgain {
  font-size: 17px;
  background-color: #ffffff;
  color: #00b2ee;
  z-index: 1;
}
.winningMessage h1,
.playAgainMessage h1 {
  font-weight: bold;
}

.winningMessage p,
.playAgainMessage p {
  font-size: 20px;
  margin: 20px 0px;
}
.copy-text {
  position: relative;
  padding: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  display: flex;
  width: fit-content;
}
.copy-text input.text {
  padding: 10px;
  font-size: 20px;
  color: #01010e;
  border: none;
  outline: none;
  font-weight: bold;
  text-align: center;
}
.copy-text button {
  padding: 10px;
  background: #1c94e3;
  color: #fff;
  font-size: 18px;
  border: none;
  outline: none;
  border-radius: 10px;
  cursor: pointer;
}

.copy-text button:active {
  background: #1c94e3;
}
.copy-text button:before {
  content: "Copied";
  position: absolute;
  top: -45px;
  right: 0px;
  background: #1c94e3;
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 15px;
  display: none;
}
.copy-text button:after {
  content: "";
  position: absolute;
  top: -20px;
  right: 25px;
  width: 10px;
  height: 10px;
  background: #1c94e3;
  transform: rotate(45deg);
  display: none;
}
.copy-text.active button:before,
.copy-text.active button:after {
  display: block;
}

span {
}

.bookWrapper {
  display: none;
}
.btn.btn-primary.btn-game {
  background: linear-gradient(
    130deg,
    rgba(59, 140, 193, 1) 0%,
    rgba(28, 148, 227, 1) 100%
  );
  -webkit-animation: conf-mem 2s ease infinite;
  -moz-animation: conf-mem 2s ease infinite;
  animation: conf-mem 2s ease infinite;
  animation: conf-mem 2s ease infinite;
  color: #fff;
}

@-webkit-keyframes conf-mem {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@-moz-keyframes conf-mem {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes conf-mem {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}
