.container h2,
.content .word,
.details p b {
  font-weight: 500;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, sans-serif;
}
body {
  padding: 0 10px;
  min-height: 100vh;
  display: grid;
  place-content: center;
  background-color: #5372f0;
}
.container {
  width: 440px;
  border-radius: 7px;
  background-color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
.container h2 {
  font-size: 25px;
  padding: 16px 25px;
  border-bottom: 1px solid #ccc;
}
.container .content {
  margin: 25px 20px 35px;
}
.content .word {
  user-select: none;
  font-size: 33px;
  text-align: center;
  letter-spacing: 24px;
  margin-right: -24px;
  word-break: break-all;
  text-transform: uppercase;
}
.content .details {
  margin: 25px 0 20px;
}
.details p {
  font-size: 18px;
  margin-bottom: 10px;
}
.content input {
  width: 100%;
  height: 60px;
  outline: 0;
  padding: 0 16px;
  font-size: 18px;
  border-radius: 5px;
  border: 1px solid #bfbfbf;
}
.content input:focus {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.content input::placeholder {
  color: #aaa;
}
.content input:focus::placeholder {
  color: #bfbfbf;
}
.content .buttons {
  display: flex;
  margin-top: 20px;
  justify-content: space-between;
}
.buttons button {
  border: none;
  outline: 0;
  color: #fff;
  cursor: pointer;
  padding: 15px 0;
  font-size: 17px;
  border-radius: 5px;
  width: calc(100% / 2 - 8px);
  transition: 0.3s;
}
.buttons button:active {
  transform: scale(0.97);
}
.buttons .refresh-word {
  background: #6c757d;
}
.buttons .refresh-word:hover {
  background: #5f666d;
}
.buttons .check-word {
  background: #5372f0;
}
.buttons .check-word:hover {
  background: #2c52ed;
}
@media screen and (max-width: 470px) {
  .container h2 {
    font-size: 22px;
    padding: 13px 20px;
  }
  .content .word {
    font-size: 30px;
    letter-spacing: 20px;
    margin-right: -20px;
  }
  .container .content {
    margin: 20px 20px 30px;
  }
  .details p {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .content input {
    height: 55px;
    font-size: 17px;
  }
  .buttons button {
    padding: 14px 0;
    font-size: 16px;
    width: calc(100% / 2 - 7px);
  }
}
