body {
  scroll-behavior: smooth;
  height: 100vh;
  background-attachment: fixed;
  overflow-x: hidden;
  overflow-y: scroll;
  width: 100vw;
}
#reward-num {
  display: none;
}
.section {
  justify-content: center;
  margin-bottom: unset;
}
#spinner {
  max-width: 800px;
  margin: auto;
}
.spinner {
  margin: 0;
}
.footer {
  margin-top: 0;
}
.third-div {
  margin-bottom: 0;
  padding-bottom: 50px;
  background: url('img/card-bg7-min.png') no-repeat center top/cover;
}
@media screen and (max-width: 1200px) {
  .section {
    display: flex;
    flex-direction: column;
  }
}
@media only screen and (max-width: 799px) {
  .beer-card,
  .beer-card-1,
  .beer-card-2,
  .beer-card-3,
  .beer-card-4,
  .beer-card-5,
  .beer-card__front,
  .beer-card__back {
    height: 160px;
    width: 106px;
    margin: 0;
    margin-bottom: 10px;
  }
  .login-box {
    margin-top: 0px !important;
  }
}
.login-box {
  width: 100%;
  margin: auto;
  max-width: 500px;
  border-radius: 10px;
}
.reward-popup {
  display: flex;
}
#ShowReward {
  background: url('img/reward-10.png') no-repeat center center/contain;
}
.login-box p {
  font-family: 'Noto Sans Thai', sans-serif;
  color: #000;
}
#login-popup {
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 600px;
  margin: auto;
  padding: 35px 30px;
  height: 320px;
  background-color: #232931;
  border-radius: 5px;
  position: relative;
}

#login-popup span {
  display: flex;
  position: relative;
}
.login-popup form {
  display: flex;
}
.login-popup span i {
  font-size: 1rem;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 15px;
  padding: 5px 8px;
  transform: translate(-100%, 170%) !important;
  position: absolute;
  right: 0;
  top: 0;
}
@media only screen and (max-width: 600px) {
  #login-popup {
    width: 320px;
  }
  .login-popup span i {
    transform: translate(0%, 20%);
  }
}
:root {
  --card-width: 182px;
  --card-height: 282px !important;
}
.section {
}
.columns {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.second-div {
  z-index: 2 !important;
}

#ShowReward {
  height: 100%;
  width: 100%;
}
.beer-card {
}
.beer-card__inner,
.beer-card__inner-1,
.beer-card__inner-2,
.beer-card__inner-3,
.beer-card__inner-4,
.beer-card__inner-5 {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.beer-card,
.beer-card-1,
.beer-card-2,
.beer-card-3,
.beer-card-4,
.beer-card-5,
.beer-card__front,
.beer-card__back {
  background: #fff;
  height: var(--card-height);
  width: var(--card-width);
  margin-right: 10px;
  border-radius: 6px;
}

.beer-card__front,
.beer-card__back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 5px;
}

.beer-card__front {
  background: url('../img/card/card.webp') no-repeat center center/cover;
  box-shadow: 1px 1px 8px rgb(0 0 0);
  cursor: pointer;
}

.beer-card__back {
  transform: rotateY(180deg);
}

.columns {
  margin-top: 10px;
}

/* reward popup start */
.reward-wrap {
  display: flex;
  background: #fff;
  height: 450px;
  border-radius: 5px;
  padding: 20px 35px;
  text-align: center;
  justify-content: space-between;
  flex-direction: column;
}

.reward-info {
  padding: 25px 0px 10px 0px;
}

.reward-info h2 {
  font-weight: 700;
  background: -webkit-linear-gradient(
    90deg,
    rgb(230 85 0),
    rgb(255 13 13),
    rgb(255 133 40)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#reward-text {
  font-weight: 700;
  background: -webkit-linear-gradient(90deg, #bf953f, #b38728, #aa771c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#ShowReward {
  width: 100%;
  height: 200px;
}

#btn-confirm-reward {
  background-color: var(--primary-color);
  box-shadow: 0px 0px 10px #0000002b;
  font-size: 1.5rem;
  outline: none;
  width: 100%;
  padding: 5px 35px;
  color: #fff;
  border: none;
  margin-bottom: 10px;
  font-weight: 600;
}

#btn-confirm-reward:hover {
  cursor: pointer;
  transform: scale(0.9);
  transition: var(--transition-speed);
}

@media only screen and (min-width: 600px) {
  .reward-wrap {
    width: 500px;
    height: unset;
  }
  #congrat-text {
    font-size: 2rem;
    text-shadow: 1px 1px 3px #ffaa00;
  }
}

@media only screen and (max-width: 1024px) {
  .reward-wrap {
    width: 500px;
    height: unset;
  }
  #congrat-text {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 600px) {
  .reward-wrap {
    width: 320px;
    height: 40vh;
    padding: 1.5rem;
  }
  #congrat-text {
    font-size: 1.3rem;
  }
}

@media only screen and (max-height: 375px) {
  .reward-wrap {
    width: 150px !important;
    height: 300px !important;
    padding: 1.5rem;
  }
}

@media only screen and (max-width: 799px) {
  .section {
    display: flex;
  }
  .beer-card,
  .beer-card-1,
  .beer-card-2,
  .beer-card-3,
  .beer-card-4,
  .beer-card-5,
  .beer-card__front,
  .beer-card__back {
    height: 35vh;
    width: 30vw;
    margin: 0;
    margin-bottom: 10px;
  }
  .columns {
    width: 100%;
    margin: auto;
    justify-content: space-around;
  }
  #hidden_btn {
    margin-top: 0;
  }
  .user-info {
    margin: 0;
  }
  .section {
    display: block;
  }
}

@media only screen and (max-width: 441px) {
  .beer-card,
  .beer-card-1,
  .beer-card-2,
  .beer-card-3,
  .beer-card-4,
  .beer-card-5,
  .beer-card__front,
  .beer-card__back {
    height: 21.5vh;
    width: 30vw;
    margin: 0;
    margin-bottom: 10px;
  }
}
/* reward popup end */
