body,
html {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #4B4168;
  color: #333;
}

.layer-top {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
}
.layer-top.show {
  display: block;
}

.center {
  position: fixed;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 10;
  font-family: "Red Hat Display", sans-serif;
}
.center.leaderboard {
  background: rgb(0, 0, 0);
  width: 100%;
  max-width: 600px;
  padding: 1vw;
  margin-top: 30px;
  border-radius: 5px;
  top: 0;
  z-index: 9999;
}
.center.leaderboard .qty {
  color: red;
  font-weight: 600;
}
@media screen and (max-width: 600px) {
  .center.leaderboard .top-3 {
    zoom: 0.8;
  }
  .center.leaderboard .top-20 {
    zoom: 0.9;
  }
}

.top-3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  color: #4B4168;
}
.top-3 .item {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
  background: white;
  width: 9em;
  height: 10em;
  text-align: center;
  padding: 2.8em 0 0;
  margin: 1em 1em 2em;
  border-radius: 0.5em;
  -webkit-transform-origin: bottom;
      -ms-transform-origin: bottom;
          transform-origin: bottom;
  cursor: pointer;
  -webkit-transition: -webkit-transform 200ms ease-in-out;
  transition: -webkit-transform 200ms ease-in-out;
  transition: transform 200ms ease-in-out;
  transition: transform 200ms ease-in-out, -webkit-transform 200ms ease-in-out;
  -webkit-box-shadow: 0 0 4em 0 rgba(0, 0, 0, 0.1), 0 1em 2em -1em rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 4em 0 rgba(0, 0, 0, 0.1), 0 1em 2em -1em rgba(0, 0, 0, 0.3);
}
.top-3 .item.current {
  background: yellow;
}
.top-3 .item .pic {
  position: absolute;
  top: -2em;
  left: 2.5em;
  width: 4em;
  height: 4em;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-right: 1em;
  -webkit-box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.2), 0 1em 1em -0.5em rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.2), 0 1em 1em -0.5em rgba(0, 0, 0, 0.3);
}
.top-3 .item .pos {
  font-weight: 900;
  font-size: 1.5em;
  margin-bottom: 0.5em;
}
.top-3 .item .name {
  font-size: 1.1em;
  margin-bottom: 0.5em;
}
.top-3 .item .score {
  opacity: 0.5;
}
.top-3 .item .score:after {
  display: block;
  content: "";
  opacity: 0.5;
}
.top-3 .item.one {
  width: 10em;
  height: 11em;
  padding-top: 3.5em;
}
.top-3 .item.one .pic {
  width: 5em;
  height: 5em;
  left: 2.5em;
}
.top-3 .item:hover {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.list {
  padding-left: 2em;
  margin: 0 auto;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  max-height: 480px;
}
.list::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #262626;
}
.list::-webkit-scrollbar {
  width: 6px;
  background-color: #262626;
}
.list::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #fd6500;
}
.list .item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: white;
  height: 3em;
  border-radius: 4em;
  margin-bottom: 2em;
  background: #fff;
  color: #000;
  -webkit-transform-origin: left;
      -ms-transform-origin: left;
          transform-origin: left;
  cursor: pointer;
  -webkit-transition: -webkit-transform 200ms ease-in-out;
  transition: -webkit-transform 200ms ease-in-out;
  transition: transform 200ms ease-in-out;
  transition: transform 200ms ease-in-out, -webkit-transform 200ms ease-in-out;
  width: calc(100% - 20px);
  -webkit-box-shadow: 0 0 4em 0 rgba(0, 0, 0, 0.1), 0 1em 2em -1em rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 4em 0 rgba(0, 0, 0, 0.1), 0 1em 2em -1em rgba(0, 0, 0, 0.3);
}
.list .item.current {
  background: yellow;
}
.list .item .pos {
  font-weight: 900;
  position: absolute;
  left: -30px;
  text-align: center;
  font-size: 1.25em;
  width: 1.5em;
  color: white;
  opacity: 0.6;
  -webkit-transition: opacity 200ms ease-in-out;
  transition: opacity 200ms ease-in-out;
}
.list .item .pic {
  width: 4em;
  height: 4em;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-right: 1em;
  -webkit-box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.2), 0 1em 1em -0.5em rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.2), 0 1em 1em -0.5em rgba(0, 0, 0, 0.3);
}
.list .item .name {
  -webkit-box-flex: 2;
      -ms-flex-positive: 2;
          flex-grow: 2;
  -ms-flex-preferred-size: 10em;
      flex-basis: 10em;
  font-size: 1.1em;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
}
.list .item .score {
  margin-right: 1.5em;
  opacity: 0.5;
}
.list .item .score:after {
  margin-right: 1em;
  content: "";
  opacity: 0.5;
}
.list .item:hover {
  -webkit-transform: scale(1.02);
      -ms-transform: scale(1.02);
          transform: scale(1.02);
}
.list .item:hover .pos {
  opacity: 0.8;
}

* {
  padding: 0;
  margin: 0;
}

html,
body {
  background: #212121 !important;
  color: #fff;
  overflow-x: hidden;
  -ms-touch-action: none;
      touch-action: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  font-family: "Times New Roman", Times, serif;
}

.welcome {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  font-size: 21px;
  width: 250px;
}
.welcome .logo {
  width: 200px;
}

canvas {
  touch-action-delay: none;
  -ms-touch-action: none;
      touch-action: none;
}

#c2canvasdiv {
  position: relative;
}

body {
  background: #e0e5ec;
}

h1 {
  position: relative;
  text-align: center;
  color: #353535;
  font-size: 50px;
  font-family: "Cormorant Garamond", serif;
}

p {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  text-align: center;
  font-size: 18px;
  color: #676767;
}

.frame {
  width: 90%;
  margin: 40px auto;
  text-align: center;
}

input,
select {
  width: 80%;
  min-width: 150px;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

button {
  margin: 20px;
}

.hide {
  display: none !important;
}

.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  -webkit-box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
          box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  outline: none;
}

@-webkit-keyframes shiny-btn1 {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
            transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    -webkit-transform: scale(0) rotate(45deg);
            transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    -webkit-transform: scale(4) rotate(45deg);
            transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(50) rotate(45deg);
            transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

@keyframes shiny-btn1 {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
            transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    -webkit-transform: scale(0) rotate(45deg);
            transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    -webkit-transform: scale(4) rotate(45deg);
            transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(50) rotate(45deg);
            transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
/* 12 */
.btn-12 {
  position: relative;
  right: 20px;
  bottom: 20px;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  width: 130px;
  height: 40px;
  line-height: 42px;
  -webkit-perspective: 230px;
  perspective: 230px;
}

.btn-12 span {
  background: #00acee;
  background: -webkit-gradient(linear, left bottom, left top, from(#00acee), to(#027efb));
  background: linear-gradient(0deg, #00acee 0%, #027efb 100%);
  display: block;
  position: absolute;
  width: 130px;
  height: 40px;
  -webkit-box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
          box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin: 0;
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.btn-12 span:nth-child(1) {
  -webkit-box-shadow: -7px -7px 20px 0px rgba(255, 255, 255, 0.6), -4px -4px 5px 0px rgba(255, 255, 255, 0.6), 7px 7px 20px 0px rgba(0, 0, 0, 0.1333333333), 4px 4px 5px 0px rgba(0, 0, 0, 0.0666666667);
          box-shadow: -7px -7px 20px 0px rgba(255, 255, 255, 0.6), -4px -4px 5px 0px rgba(255, 255, 255, 0.6), 7px 7px 20px 0px rgba(0, 0, 0, 0.1333333333), 4px 4px 5px 0px rgba(0, 0, 0, 0.0666666667);
  -webkit-transform: rotateX(90deg);
          transform: rotateX(90deg);
  -webkit-transform-origin: 50% 50% -20px;
      -ms-transform-origin: 50% 50% -20px;
          transform-origin: 50% 50% -20px;
}

.btn-12 span:nth-child(2) {
  -webkit-transform: rotateX(0deg);
          transform: rotateX(0deg);
  -webkit-transform-origin: 50% 50% -20px;
      -ms-transform-origin: 50% 50% -20px;
          transform-origin: 50% 50% -20px;
}

.btn-12:hover span:nth-child(1) {
  -webkit-box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
          box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  -webkit-transform: rotateX(0deg);
          transform: rotateX(0deg);
}

.btn-12:hover span:nth-child(2) {
  -webkit-box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
          box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  color: transparent;
  -webkit-transform: rotateX(-90deg);
          transform: rotateX(-90deg);
}

h4,
label {
  color: #212121;
}

.custom-context {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}
.custom-context::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #262626;
}
.custom-context::-webkit-scrollbar {
  width: 6px;
  background-color: #262626;
}
.custom-context::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #fd6500;
}
.custom-context .guess-point {
  position: absolute;
  left: 20px;
  top: 10px;
  font-size: 40px;
}
.custom-context .inner {
  text-align: center;
  background: #f4f4f4;
  border-radius: 8px;
  -webkit-box-shadow: 0 0 15px #212121;
          box-shadow: 0 0 15px #212121;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  max-width: 280px;
  min-height: 260px;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.custom-context .inner.hide-zoom {
  -webkit-transform: translate(-50%, -50%) scale(0);
      -ms-transform: translate(-50%, -50%) scale(0);
          transform: translate(-50%, -50%) scale(0);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.custom-context p {
  font-size: 15px;
  line-height: 24px;
  color: #222;
  font-weight: 500;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  visibility: hidden;
}

.spanner {
  position: absolute;
  top: 50%;
  left: 0;
  background: rgba(42, 42, 42, 0.3333333333);
  width: 100%;
  display: block;
  text-align: center;
  height: 300px;
  color: #FFF;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 1000;
  visibility: hidden;
}
.spanner .loader,
.spanner .loader:before,
.spanner .loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
          animation: load7 1.8s infinite ease-in-out;
}
.spanner .loader {
  color: #ffffff;
  font-size: 10px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
          animation-delay: -0.16s;
}
.spanner .loader:before,
.spanner .loader:after {
  content: "";
  position: absolute;
  top: 0;
}
.spanner .loader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.spanner .loader:after {
  left: 3.5em;
}
.spanner p {
  color: #fff;
  max-width: 300px;
  margin: 0 auto;
}

@-webkit-keyframes load7 {
  0%, 80%, 100% {
    -webkit-box-shadow: 0 2.5em 0 -1.3em;
            box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    -webkit-box-shadow: 0 2.5em 0 0;
            box-shadow: 0 2.5em 0 0;
  }
}

@keyframes load7 {
  0%, 80%, 100% {
    -webkit-box-shadow: 0 2.5em 0 -1.3em;
            box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    -webkit-box-shadow: 0 2.5em 0 0;
            box-shadow: 0 2.5em 0 0;
  }
}
.show {
  visibility: visible;
}

.spanner,
.overlay {
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.spanner.show,
.overlay.show {
  opacity: 1;
}

.guess-name {
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  font-family: Arial;
  color: #fb3;
  text-transform: normal;
  margin: 10px;
  background: #fb3;
  border-radius: 5px;
  width: auto;
  display: inline-block;
  padding: 3px;
  color: #222;
}
@media screen and (max-width: 991px) {
  .guess-name {
    font-size: 16px;
  }
}

#snackbar {
  visibility: hidden;
  min-width: 250px;
  background-color: #fff;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 8px;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 20%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  line-height: 24px;
  font-size: 18px;
  font-family: Arial;
}
#snackbar.correct {
  background-color: green;
}
#snackbar.wrong {
  background-color: red;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 3.5s;
          animation: fadein 0.5s, fadeout 0.5s 3.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 20%;
    opacity: 1;
  }
}
@keyframes fadein {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 20%;
    opacity: 1;
  }
}
@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}
@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}
.custom-context p.note {
  max-width: 200px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 22px;
}

.toggle-leaderboard {
  border-radius: 5px;
  color: #222;
  display: inline-block;
  background: rgba(34, 255, 255, 0.8666666667);
  padding: 5px;
  margin-left: 10px;
  cursor: pointer;
}

.dimiss {
  position: absolute;
  left: 200%;
}

.back-to-website {
  position: fixed;
  bottom: 50px;
  left: 50%;
  background: #fd6500;
  padding: 10px;
  font-size: 20px;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  border-radius: 4px;
  text-align: center;
  line-height: 26px;
  color: #fff;
  text-decoration: none;
}
.back-to-website.extend {
  left: initial;
  top: initial;
  bottom: initial;
  -ms-transform: initial;
      transform: initial;
  -webkit-transform: initial;
  width: auto;
  position: relative;
  width: auto;
  float: left;
  margin: 10px 0 0 10px;
  padding: 4px;
}
.back-to-website.reset {
  top: 0;
  bottom: initial;
  right: 0;
  -webkit-transform: initial;
      -ms-transform: initial;
          transform: initial;
  width: auto;
  left: initial;
}
@media screen and (max-width: 991px) {
  .back-to-website {
    font-size: 16px;
    bottom: 30px;
  }
}

.w-box {
  font-weight: 600;
  background: #fff;
  border-radius: 4px;
  font-size: 18px;
  padding: 5px 0;
  line-height: 26px;
}

.game-content {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.highlight {
  color: #fd6500;
}

.overview {
  font-size: 16px;
  color: green;
  position: relative;
}
.overview span {
  font-weight: 600;
}

.question {
  display: inline-block;
  width: 100%;
  padding: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  max-width: 600px;
}
.question .tip {
  width: 90%;
  margin: 10px auto;
  font-size: 13px;
  font-style: italic;
  text-align: left;
  line-height: 16px;
}
.question .q-content {
  font-weight: 600;
  background: #fff;
  border-radius: 4px;
  font-size: 18px;
  padding: 5px 0;
  line-height: 26px;
}
.question .q-answer {
  margin-top: 15px;
  text-align: center;
}
.question .q-answer input {
  border: 2px solid #fd6500;
}

.remain {
  position: absolute;
  right: 10px;
  top: 0;
  color: #fb3;
  font-weight: 600;
}

.plyr button.plyr__control--overlaid {
  position: absolute;
  top: 33%;
  -webkit-transform: translate(-50%, -50%) scale(1.5);
      -ms-transform: translate(-50%, -50%) scale(1.5);
          transform: translate(-50%, -50%) scale(1.5);
}

.partner {
  background: #fff;
  border-radius: 9px;
  width: auto;
  display: inline-block;
  float: right;
  margin-right: 10px;
}

.partner-slogan {
  display: block;
  max-width: 400px;
  font-size: 18px;
  text-align: center;
  margin: 0 auto;
}

.partner-slogan a {
  color: #027efb;
}

.partner-slogan strong {
  color: #fd6500;
}

@media screen and (max-width: 768px) {
  .partner-slogan {
    width: 100%;
    display: inline-block;
    text-align: center;
    max-width: 100%;
    padding: 1em 4vw 0 4vw;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
}