/* Import Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  display: flex;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: black;
  background-color: black;
}
.container {
  width: 440px;
  border-radius: 20px;
  border-color: rgb(81, 200, 236);
  background: #080808;
  box-shadow: 0 0 10px rgba(173, 216, 230, 0.8);
  transition: box-shadow 0.3s ease;
}
.container:hover {
  box-shadow: 0 0 20px rgba(173, 216, 230, 0.8);
}
.container h2 {
  font-size: 20px;
  font-weight: 450;
  text-align: center;
  padding: 16px 25px;
  border-bottom: 1px solid #ccc;
  background-image: linear-gradient(
    to right,
    #4b09e6,
    #18849c,
    #54e0ff,
    #8fe4b2,
    #06ec66
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.container p {
  color: ghostwhite;
  font-size: 12px;
  font-style: oblique;
  font-weight: 100;
}
.container .content {
  margin: 25px 20px 35px;
}
.content .word {
  user-select: none;
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 20px;
  margin-right: -24px;
  word-break: break-all;
  text-transform: uppercase;
  background-image: linear-gradient(
    to right,
    #fa0101,
    #f7059a,
    #d103fa,
    #5a08c5,
    #045bfd
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.content .details {
  margin: 25px 0 20px;
  font-style: oblique;
  color: #aaa;
}
.details p {
  font-size: 15px;
  margin-bottom: 10px;
}
.details p b {
  font-weight: 500;
  color: ghostwhite;
}
.content input {
  width: 100%;
  height: 40px;
  outline: #045bfd;
  padding: 0 16px;
  font-size: 15px;
  border-radius: 10px;
  border: 1.5px solid #05bbf8;
  background: darkgray;
  color: #080808;
}
.content input:focus {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
}
.content input::placeholder {
  color: #080808;
}
.content input:focus::placeholder {
  color: #4f5253;
}
.content .buttons {
  display: flex;
  margin-top: 20px;
  justify-content: center;
}
.buttons button {
  color: #fff;
  cursor: pointer;
  padding: 4px 0;
  font-size: 14px;
  width: calc(60% / 2 - 8px);
  transition: all 0.5s ease;
}
.buttons .refresh-word {
  margin-right: 8px;
  border: 1px solid;
  background-image: linear-gradient(
    to right,
    #4b09e6,
    #18849c,
    #54e0ff,
    #8fe4b2,
    #06ec66
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-image: linear-gradient(
    to right,
    #fa0101,
    #f7059a,
    #d103fa,
    #5a08c5,
    #045bfd
  );
  border-image-slice: 1;
}
.buttons .refresh-word:hover {
  font-size: small;
  background-image: linear-gradient(
    to right,
    #fa0101,
    #f7059a,
    #d103fa,
    #5a08c5,
    #045bfd
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-image: linear-gradient(
    to right,
    #4b09e6,
    #18849c,
    #54e0ff,
    #8fe4b2,
    #06ec66
  );
  border-image-slice: 1;
}
.buttons .check-word {
  border: 1px solid;
  background-image: linear-gradient(
    to right,
    #4b09e6,
    #18849c,
    #54e0ff,
    #8fe4b2,
    #06ec66
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-image: linear-gradient(
    to right,
    #fa0101,
    #f7059a,
    #d103fa,
    #5a08c5,
    #045bfd
  );
  border-image-slice: 1;
}
.buttons .check-word:hover {
  font-size: small;
  background-image: linear-gradient(
    to right,
    #fa0101,
    #f7059a,
    #d103fa,
    #5a08c5,
    #045bfd
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-image: linear-gradient(
    to right,
    #4b09e6,
    #18849c,
    #54e0ff,
    #8fe4b2,
    #06ec66
  );
  border-image-slice: 1;
}

@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);
  }
}

.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}
