@font-face {
  font-family: "Montserrat";
  src: url("/hkstp/fonts/Montserrat-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Montserrat";
  src: url("/hkstp/fonts/Montserrat-Bold.ttf");
  font-weight: 700;
}

.gamestart {
    font-size: 1rem;
    text-shadow: 1px 0px 0px black, 0 0 0.3em #0058db, 0 0 0.1em #1b77ff;
}
.gamestart2 {
    font-size: 0.7rem;
}

button {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;
  user-select: none;
}

.container-fluid {
  flex-wrap: nowrap !important;
}

.nav-bottom > .container-fluid {
  justify-content: space-around;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  height: 100vh !important;
  min-height: 100% !important;
}

nav {
  height: 64px;
  color: #ffffff;
}

nav a {
  text-decoration: none;
  font-weight: 700;
  color: #000;
  font-size: 14px;
}

header h1 {
  margin-bottom: 0 !important;
}

body {
  font-family: "Montserrat", sans-serif;
  padding-top: 3.5rem;
  /*padding-bottom: 6.5rem;*/
  color: #000000;
}

a {
  font-family: "Montserrat", sans-serif;
}

main,
body {
  background-color: #f5f5f5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000;
}

.bg-transparent {
  background: transparent;
}

.bg-gradient-1 {
  background: rgb(49, 222, 176);
  background: -moz-linear-gradient(
    180deg,
    rgba(49, 222, 176, 1) 70%,
    rgba(21, 119, 255, 1) 100%
  );
  background: -webkit-linear-gradient(
    180deg,
    rgba(49, 222, 176, 1) 70%,
    rgba(21, 119, 255, 1) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(49, 222, 176, 1) 70%,
    rgba(21, 119, 255, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#31deb0", endColorstr="#1577ff", GradientType=1);
  background-repeat: no-repeat;
}

.bg-gradient-2 {
  background: rgb(49, 222, 176);
  background: -moz-linear-gradient(
    180deg,
    rgba(49, 222, 176, 1) 20%,
    rgba(21, 119, 255, 1) 100%
  );
  background: -webkit-linear-gradient(
    180deg,
    rgba(49, 222, 176, 1) 20%,
    rgba(21, 119, 255, 1) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(49, 222, 176, 1) 20%,
    rgba(21, 119, 255, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#31deb0", endColorstr="#1577ff", GradientType=1);
  background-repeat: no-repeat;
}

.bg-gradient-3 {
  background: rgb(49, 222, 176);
  background: -moz-linear-gradient(
    180deg,
    rgba(49, 222, 176, 1) 20%,
    rgba(135, 102, 250, 1) 100%
  );
  background: -webkit-linear-gradient(
    180deg,
    rgba(49, 222, 176, 1) 20%,
    rgba(135, 102, 250, 1) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(49, 222, 176, 1) 20%,
    rgba(135, 102, 250, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#31deb0", endColorstr="#8766fa", GradientType=1);
  background-repeat: no-repeat;
}

.nav-bottom {
  --bs-bg-opacity: 1;
  background-color: #0044e2;
}

body.photo {
  padding-top: 1rem;
  padding-bottom: 3rem;
  color: #fff;
  background-color: #0084fe;
  background-image: url("/hkstp/images/bg_pattern@2x.png");
  background-repeat: no-repeat;
  background-size: cover;
}

body.photo main {
  background-color: transparent;
}

h3.title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 0;
}

.card {
  border: 0;
  border-radius: 0;
  background-color: transparent;
  border-bottom: 1px solid #000;
}

.stamp-01 {
  background-image: url("/hkstp/images/stamp/ic_mission_01.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-02 {
  background-image: url("/hkstp/images/stamp/ic_mission_02.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-03 {
  background-image: url("/hkstp/images/stamp/ic_mission_03.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-04 {
  background-image: url("/hkstp/images/stamp/ic_mission_04.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-05 {
  background-image: url("/hkstp/images/stamp/ic_mission_05.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-06 {
  background-image: url("/hkstp/images/stamp/ic_mission_06.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-07 {
  background-image: url("/hkstp/images/stamp/ic_mission_07.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-08 {
  background-image: url("/hkstp/images/stamp/ic_mission_08.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-09 {
  background-image: url("/hkstp/images/stamp/ic_mission_09.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-10 {
  background-image: url("/hkstp/images/stamp/ic_mission_10.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-11 {
  background-image: url("/hkstp/images/stamp/ic_mission_11.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-12 {
  background-image: url("/hkstp/images/stamp/ic_mission_12.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-13 {
  background-image: url("/hkstp/images/stamp/ic_mission_13.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-14 {
  background-image: url("/hkstp/images/stamp/ic_mission_14.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stamp-15 {
  background-image: url("/hkstp/images/stamp/ic_mission_15.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.card .event_img,
.card .prize_img {
  border-radius: 8px;
  width: 114px;
}

.prize p {
  font-weight: 700;
}

.stamp .stamp_img,
.card .award_img {
  /*border-radius: 16px;*/
  width: 100%;
}

.award_img {
  border-radius: 16px;
  width: 80%;
}

.uncollected,
.uncheck {
  visibility: hidden;
}

.card h1 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.award h1 {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  margin-top: 1rem;
}

.card p {
  line-height: 1.3;
}

.card-photo {
  border: 6px solid #ffffff;
  background-color: #e8e8e8;
}

.bg-custom {
  --bs-bg-opacity: 1;
  background-color: #0084fe;
  /*background-color: #ffffff;*/
}

.navbar-brand {
  margin: auto;
}

.navbar-brand img {
  width: 65%;
}

.banner img,
.banner-bottom img {
  width: 100%;
}

.hidden {
  display: none;
}

.checkin-done {
  color: #fff;
  border: 3px solid #0084fe;
  border-radius: 16px;
  background-color: #0084fe;
  background-image: url("/hkstp/images/box_pattern@2x.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.btn {
  border-radius: 40px;
}

.btn:hover {
  filter: brightness(90%);
}

a.btn {
  font-size: 12px;
  font-weight: 700;
  padding-left: 24px;
  padding-right: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline-custom {
  --bs-btn-color: #0084fe;
  --bs-btn-border-color: #0084fe;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0084fe;
  --bs-btn-hover-border-color: #0084fe;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0084fe;
  --bs-btn-active-border-color: #0084fe;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #0084fe;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #0084fe;
  --bs-gradient: none;
}

.btn-outline-white {
  --bs-btn-color: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #fff;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #fff;
  --bs-gradient: none;
}

.btn-white {
  --bs-btn-color: #0084fe;
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #0084fe;
  --bs-btn-hover-color: #0084fe;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #0084fe;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #0084fe;
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: ##0084fe;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #fff;
  --bs-btn-disabled-border-color: #fff;
}

.btn-custom {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ed7126;
  --bs-btn-border-color: #ed7126;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ed7126;
  --bs-btn-hover-border-color: #ed7126;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ed7126;
  --bs-btn-active-border-color: #ed7126;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #ed7126;
  --bs-btn-disabled-border-color: #ed7126;
}

.btn-reset {
  --bs-btn-color: #fff;
  --bs-btn-bg: #0044e2;
  --bs-btn-border-color: #0044e2;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0044e2;
  --bs-btn-hover-border-color: #0044e2;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0044e2;
  --bs-btn-active-border-color: #0044e2;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0044e2;
  --bs-btn-disabled-border-color: #0044e2;
}

a.btn-white,
a.btn-outline-white,
a.btn-custom,
.btn {
  font-size: 15px;
  font-weight: 700;
  width: 100%;
  padding-top: 16px;
  padding-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.prize a.btn-custom {
  /*width: 50%;*/
  padding: 12px;
  font-size: 14px;
}

#floating-scan .navbar-toggler-icon {
  background-image: url("/hkstp/images/nav/ic_scanner.svg");
  width: 64px;
  height: 64px;
}

#floating-scan .navbar-toggler {
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 10rem;
}

#floating-scan .navbar-toggler:focus {
  box-shadow: none;
}

#floating-scan {
  position: fixed;
  bottom: -32px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.floating-button {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

#floating-reset {
  position: fixed;
  bottom: 79px;
  right: 16px;
  /*transform: translate(-50%, -50%);*/
  /*width: 30%;*/
}

#floating-reset a {
  font-size: 14px;
}

.bg-gradient {
  background: rgb(0, 0, 0) !important;
  background: -moz-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.85) 10%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  background: -webkit-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.85) 10%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.85) 10%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1) !important;
}

header h1 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.modal-header {
  background-color: #0044e2;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom: 0;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.modal-content {
  border: none;
  border-radius: 16px;
}

.modal {
  --bs-modal-footer-border-color: #fff;
}

.modal-header {
  display: block;
  color: #fff;
}

.modal-body p {
  margin-bottom: 0;
}

.text-primary {
  color: #0084fe;
}

.form-control {
  font-size: 14px;
  border: 0;
}

.form-floating > label {
  color: grey;
}

/*----- Gameone Start -----*/

.bg-gameon {
  background-image: url("/hkstp/images/gameon/bg-fun.png");
  background-color: #39f995;
  height: 100vh;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.btn-gameon {
  --bs-btn-color: #fff;
  --bs-btn-bg: #000;
  --bs-btn-border-color: #000;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #000;
  --bs-btn-hover-border-color: #000;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #000;
  --bs-btn-active-border-color: #000;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #000;
  --bs-btn-disabled-border-color: #000;
  padding: 0;
  border-radius: 50rem;
  border: 0;
}

#floating-button-gameon {
  position: fixed;
  bottom: -24px;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*#floating-button-gameon button:hover {
  /*box-shadow: 0px 15px 25px -5px #39F995;*/
/*transform: scale(1.03);
}*/
#floating-button-gameon button:active {
  /*box-shadow: 0px 4px 8px #39F995;*/
  transform: scale(0.95);
}

#floating-button-gameon button:before,
#floating-button-gameon button:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 16px solid rgba(255, 255, 255, 0.65);
  filter: blur(0);
  transform-origin: 50%;
  z-index: -1;
  max-width: 100%;
  height: 100%;
}

/*#floating-button-gameon button:hover:before, #floating-button-gameon button:hover:after,*/
#floating-button-gameon button:active:before,
#floating-button-gameon button:active:after {
  border-color: transparent;
  filter: blur(8px);
  transform: scale(2);
  transition: 400ms transform ease, 1500ms blur ease, 300ms border-color ease;
}

/*#floating-button-gameon button:hover:after,*/
/*#floating-button-gameon button:active:after {
  transition-delay: 1000ms;
}*/

#floating-button-gameon .btn:hover,
#floating-button-gameon .btn:active {
  filter: brightness(115%);
}

#logo-hero {
  position: relative;
  z-index: 9999;
  top: -60px;
}

.shadow-gameon {
  box-shadow: 0 1rem 3rem rgba(57, 249, 149, 1);
}

/* shake code below*/
/*#logo-hero.animate {
  overflow: hidden;
}*/

#logo-hero.animate {
  animation: shake 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%,
  90% {
    transform: translate3d(-2px, 4px, 0);
  }
  20%,
  80% {
    transform: translate3d(4px, 10px, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-8px, 20px, 0);
  }

  40%,
  60% {
    transform: translate3d(8px, 0, 0);
  }
}

button {
  touch-action: manipulation;
}

/*----- Gameone End -----*/

/*----- Lang -----*/

.lang .btn {
  text-align: left !important;
  border: none;
}

.lang .btn-check:checked + .btn {
  color: #000;
  background-color: transparent;
  border: none;
}

.lang .btn-check:checked + .btn:after {
  content: url("/hkstp/images/nav/ic-check-radio.svg");
  float: right;
}
