@import url("https://fonts.googleapis.com/css2?family=Preahvihear&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Preahvihear&family=Taprom&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Preahvihear", sans-serif;
}
body {
  width: 100%;
  height: 100vh;
  background-color: rgb(37, 38, 51);
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("https://img.freepik.com/free-vector/beautiful-scene-with-angkor-wat-cambodia-one-famous-landmark-asia-tourist-attraction-design-postcard-travel-poster-vector-illustration_1150-56546.jpg?t=st=1648796942~exp=1648797542~hmac=7791b62f00e53ea67268a4e8fa92484fc780eeed01ae7ee9784ca5ae77ff5ec9&w=1380");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  justify-content: center;
  overflow: hidden;
}
.board-block {
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  justify-content: start;
}
.khmer-mode {
  width: 100%;
  height: 400px;
  background-image: url("flagNewYear.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.pot-block {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pot {
  width: 200px;
  height: 200px;
  background: url("khmerPot.png");
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 10px;
  animation: sok linear 5s infinite;
  transition: 1s ease-in-out;
  background-repeat: no-repeat;
  position: relative;
}
.pot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -240px;
  width: 2px;
  height: 290px;
  background-color: rgb(71, 48, 48);
  animation: wow linear infinite 5s;
}

@keyframes sok {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-20px);
  }
  75% {
    transform: translateX(20px);
  }
  100% {
    transform: translateX(0);
  }
}
.pot1 {
  animation-duration: 1s;
}
.pot2 {
  animation-duration: 1.5s;
}
.pot3 {
  animation-duration: 2s;
}
.pot4 {
  animation-duration: 2.5s;
}
.pot5 {
  animation-duration: 2.5s;
}

.question-block {
  width: 100%;
  height: 0px;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.719);
  opacity: 0;
  pointer-events: none;
  transition: 0.8s;
  color: white;
  text-align: center;
  padding-top: 150px;
}
.question-block-show {
  opacity: 1;
  height: 500px;
  backdrop-filter: blur(2px);
  pointer-events: all;
}

.question-block label {
  font-size: 25px;
}
.question-block .q {
  margin-top: 20px;
}
.status-block {
  width: 100%;
  height: 0px;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.747);
  opacity: 0;
  pointer-events: none;
  transition: 0.8s;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.status-block-show {
  opacity: 1;
  height: 500px;
  backdrop-filter: blur(2px);
  pointer-events: all;
}

.btn {
  margin-top: 50px;
  width: 200px;
  height: 40px;
  cursor: pointer;
  font-size: 20px;
  background-image: radial-gradient(
    circle farthest-corner at 7.2% 13.6%,
    rgba(37, 249, 245, 1) 0%,
    rgba(8, 70, 218, 1) 90%
  );
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.534);
  transition: 0.5s;
  animation: btnAnimate linear 2s infinite;
}
@keyframes btnAnimate {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.514);
  }
  25%,
  75% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.507);
  }
  50% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.493),
      0 0 20px rgba(255, 255, 255, 0.514);
  }
}
.btn:hover {
  background-image: linear-gradient(
    105.4deg,
    rgba(216, 176, 216, 1) 23.9%,
    rgba(53, 169, 215, 1) 86.5%
  );
}

.gift-block {
  width: 100%;
  height: 0px;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.705);
  opacity: 0;
  pointer-events: none;
  transition: 0.8s;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.gift-block-show {
  opacity: 1;
  height: 500px;
  backdrop-filter: blur(2px);
  pointer-events: all;
}
.game-title {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background-image: linear-gradient(135deg, #97abff 10%, #123597 100%);
  padding: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  width: 300px;
  text-align: center;
  font-family: "Taprom", cursive;
  color: rgb(179, 205, 230);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.719);
  box-shadow: 0 0 20px white;
  font-size: 30px;
}

.play-block {
  width: 100%;
  height: 500px;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.747);
  opacity: 1;
  transition: 0.8s;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.play-block h4 {
  margin-top: 50px;
}
.social-media a {
  font-size: 30px;
  text-decoration: none;
}
.social-media a:nth-child(1) {
  color: blue;
}
.social-media a:nth-child(2) {
  color: red;
}
.social-media a:nth-child(3) {
  color: rgb(0, 162, 255);
}
.social-media a:nth-child(4) {
  color: rgb(136, 178, 201);
}
.play-hide {
  opacity: 0;
  pointer-events: none;
  height: 0;
}
.help-block {
  width: 100%;
  height: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.726);
  opacity: 0;
  pointer-events: none;
  transition: 0.8s;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.help-block-show {
  opacity: 1;
  height: 500px;
  backdrop-filter: blur(2px);
  pointer-events: all;
}

/* Developer */
.developer {
  position: absolute;
  bottom: 0;
  width: 300px;
  height: 50px;
  text-align: center;
  background-image: linear-gradient(135deg, #97abff 10%, #123597 100%);
  font-size: 15px;
  padding-top: 5px;
  color: white;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-shadow: 0 0 20px black;
}
.developer a {
  color: white;
  text-decoration: none;
}
.img-gift {
  width: 200px;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.open-gift a {
  text-decoration: none;
  color: black;
}
@media only screen and (max-width: 1600px) {
  .pot::before {
    height: 260px;
    top: -225px;
  }
}
@media only screen and (max-width: 1200px) {
  .pot::before {
    height: 260px;
    top: -215px;
  }
}
@media only screen and (max-width: 1000px) {
  .pot::before {
    height: 260px;
    top: -205px;
  }
}
@media only screen and (max-width: 800px) {
  .pot {
    width: 130px;
    height: 120px;
    margin: 0;
  }
  .pot::before {
    height: 260px;
    top: -225px;
  }
  .pot5::before {
    top: -230px;
    height: 265px;
  }
}
@media only screen and (max-width: 300px) {
  .pot {
    width: 100px;
    height: 80px;
    margin: 0;
  }
  .pot::before {
    top: -241px;
  }
}

/* spinnder */
.spinner {
  width: 100%;
  height: 100vh;
  position: absolute;
  background-color: rgba(6, 8, 44, 0.911);
  display: flex;
  justify-content: center;
  align-items: center;
}
.spinner-hide {
  opacity: 0;
  pointer-events: none;
}
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
