@font-face {
  font-family: Paytone One;
  src: url('../assets/fonts/PaytoneOne-Regular.ttf');
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  margin: 0;
}

* {
  box-sizing: border-box;
}

#puzzle {
  width: 100%;
  margin: 0;
  padding: 10px;
  border: 1px solid black;
}

.wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  width: 80%;
  min-height: 90%;
  margin: auto;
  padding: 20px;
  background-color: #e2f3f2;
  box-shadow: 0px 3px 15px #00000029 inset, 0px 7px 15px #00000029;
  border: 11px solid #ffffff;
  border-radius: 30px;
  color: #042b60;
  font-weight: bold;
}

.button_return {
  position: absolute;
  right: 30px;
  top: 30px;
  background: none;
  border: none;
  height: 30px;
  width: 30px;
  cursor: pointer;
}

.button_return > a > i {
  font-size: 30px;
  color: #042b60;
}

.title {
  text-align: center;
  font: 32px Paytone One;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0px;
  color: #042b60;
}

.image_container {
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.image_container > img {
  width: 100%;
  height: auto;
}

.input_wrapper {
  max-width: 100%;
  display: flex;
  align-items: center;
}

.letter_input {
  border: 4px solid #042b60;
  background: none;
  font-size: 36px;
  width: 50px;
  height: 50px;
  text-align: center;
  text-transform: uppercase;
  color: #dc0451;
  font-family: Paytone One;
}
.letter_input:not(:last-of-type) {
  border-right: none;
}

.letter_input:focus {
  outline: none;
  border: 4px solid #dc0451;
}

.fa-check {
  color: green;
  margin-right: 5px;
  font-size: 30px;
}

#check_icon {
  display: none;
}

.button {
  border: 6px solid #fff;
  border-radius: 20px;
  padding: 10px 30px;
  font-size: 24px;
  position: relative;
  background-color: #042b60;
  box-shadow: 0px 3px 14px #00000029;
  color: #fff;
  margin: 0 2px 0 2px;
  cursor: pointer;
  font-family: Paytone One;
}

.game_completed_overlay {
  display: none;
  position: absolute;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

.game_completed_popup {
  position: relative;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #00c0b5;
  box-shadow: 0px 3px 39px #00000029;
  border: 11px solid #ffffff;
  padding: 35px 20px;
  border-radius: 50px;
}

.game_completed_popup > span {
  color: #fff;
  font: normal normal normal 2.5rem Paytone One;
  text-align: center;
}

.button_next {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 35px;
  text-align: center;
  font: 28px Paytone One;
  color: #ffffff;
  background: #042b60;
  box-shadow: 0px 3px 14px #00000029;
  border: 11px solid #ffffff;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.button_next > a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 720px) {
  .wrapper {
    width: 100%;
    height: 100%;
    padding: 15px;
  }

  .letter_input {
    font-size: 16px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 370px) {
  .wrapper {
    width: 100%;
    height: 100%;
    padding: 5px;
  }

  .letter_input {
    font-size: 8px;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 400px) {
  .fa-check {
    font-size: 15px;
  }
}
