@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif !important;
  color: white;
  user-select: none;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #111111;
}

/* !Main Container */
.container {
  background: #272727;
  width: 100%;
  max-width: 500px;
  height: 450px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 10px;
  align-items: center;
  border-radius: 10px;
  padding: 15px;
}

.msg {
  top: 50%;
  position: absolute;
  z-index: -1;
  background: #ffffff1e;
  border-radius: 10px;
  border: 5px solid #ff9000;
  height: 100px;
  width: 100%;
  max-width: 500px;
  text-align: center;
  font-size: 18px;
  padding: 5px;
  text-align: justify;
  overflow: hidden;
  text-shadow: 0px 0px 15px #fff;
}

.show {
  animation: show forwards 0.5s;
}

.hide {
  animation: hide forwards 0.5s;
}

@keyframes show {
  0% {
    top: 50%;
  }

  100% {
    top: 0px;
  }
}
@keyframes hide {
  0% {
    top: 0px;
  }
  100% {
    top: 50%;
  }
}

/* !1st Heading */
.heading {
  h1 {
    font-size: 50px;
    color: #ff9000;
  }
}

/* ! History , Score | info , shuffle Buttons */
.upper-btns,
.lower-btns {
  width: 100%;
  display: flex;
  justify-content: space-between;
  span {
    display: grid;
    place-items: center;
    border-radius: 10000px;
    width: 70px;
    aspect-ratio: 1;
    background: #ff9000;
    text-shadow: 0px 0px 20px #111111;
  }
}

.lower-btns {
  margin-top: 10px;
}

/* ! Complete Word */
.word-complete {
  h1 {
    font-size: 50px;
    text-shadow: 0px 0px 20px #fff;
  }
}

/* ! Timer */
.bar {
  width: 100%;
  height: 10px;
  margin: 30px 0px 4px 0px;
  .bar-line {
    width: 100%;
    height: 100%;
    background: #ff9000;
    border-radius: 100px;
  }
}

/* ! Top Empty Space */
.alpha-o,
.alpha-i {
  width: 100%;
  display: flex;
  .bx {
    border: 1px solid #222222;
    width: 14.285%;
    aspect-ratio: 1;
    background: #555555;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-size: 25px;
    font-family: Poppins !important;
    font-weight: bold;
    cursor: pointer;
  }
  .u-bx {
    outline: none;
    padding: 25px;
    color: #fff;
    background: #ff9000;
    border: none;
    border-radius: 7px;
    height: 60px;
    width: 100%;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    caret-color: #ff9000;
  }
}

.bx-em {
  background: #ff9000 !important;
  border: 1px solid #222222 !important;
}

.alpha-o .bx-em {
  transition: background 0.3s ease;
}

.alpha-o .bx-em.drag-over,
.alpha-i .bx-ran.drag-over {
  background: #ffb300;
}

.alpha-i .bx-ran[draggable="true"] {
  cursor: grab;
}

.alpha-i .bx-ran:active {
  cursor: grabbing;
}

.reset {
  display: grid;
  place-items: center;
  border-radius: 10000px;
  width: 70px;
  aspect-ratio: 1;
  background: #ff9000;
  text-shadow: 0px 0px 20px #111111;
}
