@import url("https://fonts.googleapis.com/css2?family=Langar&family=Open+Sans+Condensed:wght@300&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero {
  height: 100vh;
  width: 100vw;
  background: linear-gradient(to bottom, #9e53e4, blueviolet, #9e53e4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cont {
  height: 430px;
  width: fit-content;
  display: block;
  padding: 16px;
  background: #eee;
  border-radius: 12.5px;
  box-shadow: 0 0 128px 0 rgba(77, 77, 77, 0.6),
    0 32px 64px -48px rgba(77, 77, 77, 0.6);
  overflow: hidden;
}

#numContain {
  height: 300px;
  position: relative;
  width: 260px;
  border-radius: 6.25px;
  background: #fff;
  border: 2px solid black;
}

#contain {
  display: none;
  font-family: langar;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 32px;
}

#btn {
  display: block;
  height: 38px;
  width: 90%;
  margin:12px auto auto auto;
  outline: none;
  background: linear-gradient(to left, #9e53e4, blueviolet);
  border: none;
  border-radius: 25px;
  transition: all 0.5s;
  color: white;
  cursor: pointer;
}

#btn:hover {
  background: linear-gradient(to right, #9e53e4, blueviolet);
}

.inpCont .inpuBox {
  margin-top: 12px;
  display: flex;
  align-items: center;
  border-radius: 3.2px;
  border: 1px solid rgb(83, 81, 85);
}

#dataInp {
  display: block;
  width: 100%;
  height: 35px;
  outline: none;
  border: none;
  border-radius: 3.2px 0 0 3.2px;
  padding: 5px;
}

#dataInpBtn {
  font-size: 20px;
  font-weight: bolder;
  display: block;
  height: 35px;
  width: 35px;
  background: #fff;
  outline: none;
  border: none;
  border-left:1px solid blueviolet;
  border-radius: 6px;
  cursor: pointer;
  border-radius: 0 3.2px 3.2px 0;
}

#dataInpBtn:active {
  background: #9e53e4;
}

#dataInpBtn:hover {
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  color: #eee;
  background: #9e53e4;
}

#losePage {
  display: none; /*to grid*/
  z-index: 11;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(129, 129, 129, 0.521);
  height: 100vh;
  width: 100vw;
  place-items: center;
}

#losePage .wrapper {
  height: fit-content;
  position: relative;
  width: 70vw;
  border-radius: 25px;
  padding: 25px;
  padding-bottom: 7vh;
  background: #fff;
  box-shadow: 0 0 128px 0 rgba(77, 77, 77, 0.6),
    0 32px 64px -48px rgba(77, 77, 77, 0.6);
}

#losePage .wrapper #reloadBtn {
  display: block;
  font-size: auto;
  text-transform: capitalize;
  height: 5vh;
  width: 38vh;
  margin-top: 4vh;
  margin-left: auto;
  margin-right: auto;
  outline: none;
  background: linear-gradient(to left, #9e53e4, blueviolet);
  border: none;
  border-radius: 25px;
  transition: all 0.5s;
  color: white;
  cursor: pointer;
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
}

#losePage .wrapper #reloadBtn:hover {
  background: linear-gradient(to right, #9e53e4, blueviolet);
}

#quote, #score, #scoreDis {
  display: block;
  font-family: langar;
  text-align: center;
}

#scoreBox {
  height: 80px;
  width: 80px;
  padding: 6px;
  margin: 8px auto;
  border-radius: 12px;
  box-shadow: 0 0 128px 0 rgba(77, 77, 77, 0.6),
    0 32px 64px -48px rgba(77, 77, 77, 0.6);
  font-family: langar;
  font-size: 40px;
  display: grid;
  place-items: center;
  background: #eee;
}

#losePage h1 {
  font-family: langar;
  font-size: 6vh;
}

.scoreDiv {
  position: relative;
}

#hover {
  display: none;
  position: absolute;
  background: #fff;
  padding: 4px;
  height: fit-content;
  min-width: 60px;
  width: fit-content;
  text-align: center;
  overflow: hidden;
  top: 30%;
  right: 0%;
  animation: upAnim 0.8s linear;
  border-radius: 25px;
  box-shadow: 0 0 128px 0 rgba(77, 77, 77, 0.6),
    0 32px 64px -48px rgba(77, 77, 77, 0.6);
}

@keyframes upAnim {
  0% {
    top: 80%;
    opacity: 1;
  }
  100% {
    top: 0%;
    opacity: 0;
    display: none;
  }
}

#score{
  display: inline;
}

#quote,#score, #scoreDis{
  font-weight: 600;
  font-size: 100%;
}
