@charset "UTF-8";
/* CSS Document */
* {
  margin: 0px;
  padding: 0px;
}

img {
  -webkit-user-drag: none;
}

@font-face {
  font-family: 'jf-openhuninn';
  src: url(https://cdn.jsdelivr.net/gh/max32002/FakePearl@1.1/webfont/FakePearl-Regular.woff2) format("woff2"), url(https://cdn.jsdelivr.net/gh/max32002/FakePearl@1.1/webfont/FakePearl-Regular.woff) format("woff");
}

body,
html {
  position: relative;
  width: 100%;
  font-size: 16px;
  font-family: 'jf-openhuninn', '微軟正黑體', 'Microsoft Jhenghei', sans-serif;
  font-weight: 400;
  color: black;
  overflow-x: clip;
  scroll-behavior: smooth;
}

.wrapper {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  padding-bottom: 2em;
  -webkit-transition: 1s;
  transition: 1s;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

a,
input,
button {
  text-decoration: none;
  outline: none !important;
}

a:hover, a:focus, a:active, a:visited {
  text-decoration: none;
  cursor: pointer !important;
  outline: none !important;
}

ul,
li {
  list-style: none;
}

/* #background {position:relative; height:100vh; overflow:hidden;}
#bg_container {display:block; position:absolute; top:0; left:0; background:#A1CCFF;}
#bg_wrapper {width:100vw; height:100vh; position:relative; filter:blur(5rem); display:flex; justify-content:center; align-items:center;}
#gradient_a {position:absolute; width:80vw; height:60vw; background:#088AFF; border-radius:80% 20% 60%; border-radius:50%; filter:none; top:-20%; left:-15%;}
#gradient_b {position:absolute; width:80vw; height:100vw; background:#4FA2E0; border-radius:80% 20% 50%; border-radius:50%; filter:none; top:-30%; right:-20%;}
#gradient_c {position:absolute; width:70vw; height:90vw; background:#487AA2; border-radius:80% 20% 50%; border-radius:50%; filter:none; bottom:-30%; left:-20%;}
#gradient_d {position:absolute; width:90vw; height:65vw; background:#8B88F2; border-radius:80% 20% 50%; border-radius:50%; filter:none; bottom:-20%; right:-10%;}

#background .grid_bg {display:block; width:100vw; height:100vh; position:absolute; top:0; left:0; z-index:1; background:url(../images/quiz/bg_grid.png) center repeat;} */
#user {
  position: relative;
  z-index: 2;
  display: none;
  padding-top: 4em;
}

#user .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

#user span.br {
  width: 100%;
  height: 0px;
}

.icon_con {
  width: 20vw;
  height: 20vw;
  position: relative;
  margin: 0 auto;
}

.icon_con img {
  width: 100%;
  position: absolute;
}

.icon_con img.icon {
  -webkit-filter: drop-shadow(0 0 0.3rem #777);
          filter: drop-shadow(0 0 0.3rem #777);
}

.icon_con img.dialog {
  opacity: 50%;
  -webkit-filter: drop-shadow(0 0 1rem rgba(8, 138, 255, 0.5));
          filter: drop-shadow(0 0 1rem rgba(8, 138, 255, 0.5));
}

.name_input {
  margin: 30px auto;
}

.name_input p {
  font-size: 20px;
  line-height: 40px;
  color: black;
  text-align: left;
}

.name_input input {
  width: 70vw;
  height: 40px;
  padding: 5px 10px;
  border: 1px solid black;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-size: 16px;
  font-family: 'jf-openhuninn', '微軟正黑體', 'Microsoft Jhenghei', sans-serif;
  font-weight: 400;
}

.name_input .alert_word {
  font-size: 14px;
  opacity: 0;
  color: yellow;
}

.name_input .alert_word.on {
  opacity: 1;
}

.name_input ::-webkit-input-placeholder {
  color: black;
}

.name_input :-ms-input-placeholder {
  color: black;
}

.name_input ::-ms-input-placeholder {
  color: black;
}

.name_input ::placeholder {
  color: black;
}

.btn {
  font-size: 20px;
  color: black;
  line-height: 40px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: 40px;
  padding: 0px 10px;
  border: 1px solid black;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  margin: 10px auto;
}

#quiz_container {
  position: relative;
  z-index: 2;
  padding-top: 3em;
}

#quiz_container .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.qna {
  width: 80%;
  margin: 5vh 0;
}

.question {
  font-size: 19px;
  line-height: 24px;
  color: black;
  margin-bottom: 20px;
}

.answers {
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px 15px;
  font-size: 17px;
  line-height: 24px;
  color: black;
  border: 1px solid black;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  margin: 20px 0px;
}

.bar {
  position: relative;
  width: 80%;
  height: 24px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 30px;
}

.bar p {
  position:relative;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: black;
  z-index:3;
}

.bar .now {
  display: block;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 30px;
}

.grid_bg {
  display: block;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background: url(../images/bg-brick.png) center repeat;
  background-size: 12px;
}

.bg_style1 {
  background: #88B9EA;
}

.bg_style1 #gradient_a {
  background: #0086FF;
}

.bg_style1 #gradient_b {
  background: #2A91C4;
}

.bg_style1 #gradient_c {
  background: #487AA2;
}

.bg_style1 #gradient_d {
  background: #8080FF;
}

.bg_style2 {
  background: #a79adc;
}

.bg_style2 #gradient_a {
  background: #f191b7;
}

.bg_style2 #gradient_b {
  background: #d5c7fa;
}

.bg_style2 #gradient_c {
  background: #8bb9ed;
}

.bg_style2 #gradient_d {
  background: #f27e95;
}

.bg_style3 {
  background: #efbb72;
}

.bg_style3 #gradient_a {
  background: #fce36f;
}

.bg_style3 #gradient_b {
  background: #f2854a;
}

.bg_style3 #gradient_c {
  background: #f28133;
}

.bg_style3 #gradient_d {
  background: #fa4d09;
}

#bg_wrapper {
  position: absolute;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  top: 0;
  left: 0;
  -webkit-filter: blur(5rem);
          filter: blur(5rem);
  overflow-y: clip;
}

.gradient_ani {
  -webkit-transition: 1s;
  transition: 1s;
}

#gradient_a {
  position: absolute;
  width: 80vw;
  height: 60vw;
  border-radius: 80% 20% 60%;
  border-radius: 50%;
  -webkit-filter: none;
          filter: none;
  top: -20%;
  left: -15%;
}

#gradient_b {
  position: absolute;
  width: 80vw;
  height: 100vw;
  border-radius: 80% 20% 50%;
  border-radius: 50%;
  -webkit-filter: none;
          filter: none;
  top: -30%;
  right: -20%;
}

#gradient_c {
  position: absolute;
  width: 70vw;
  height: 90vw;
  border-radius: 80% 20% 50%;
  border-radius: 50%;
  -webkit-filter: none;
          filter: none;
  bottom: -30%;
  left: -20%;
}

#gradient_d {
  position: absolute;
  width: 90vw;
  height: 65vw;
  border-radius: 80% 20% 50%;
  border-radius: 50%;
  -webkit-filter: none;
          filter: none;
  bottom: -20%;
  right: -10%;
}

.floating {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  background-repeat: no-repeat;
}

.floating_a {
  background-image: url(../images/quiz/floating1.png);
  background-size: 120%;
  background-repeat: no-repeat;
  animation: floating1 1.5s infinite ease-in-out alternate-reverse;
}

.floating_b {
  background-image: url(../images/quiz/floating2.png);
  background-size: 120%;
  background-repeat: no-repeat;
  animation: floating2 2s infinite ease-in-out alternate-reverse;
}

.floating_c {
  background-image: url(../images/quiz/floating3.png);
  background-size: 120%;
  background-repeat: no-repeat;
  animation: floating3 2s infinite ease-in-out alternate-reverse;
}

@-webkit-keyframes floating1 {
  from {
    background-position: top 10% center;
  }
  to {
    background-position: top 15% center;
  }
}

@keyframes floating1 {
  from {
    background-position: top 10% center;
  }
  to {
    background-position: top 15% center;
  }
}

@-webkit-keyframes floating2 {
  from {
    background-position: top 0% center;
  }
  to {
    background-position: top 5% center;
  }
}

@keyframes floating2 {
  from {
    background-position: top 0% center;
  }
  to {
    background-position: top 5% center;
  }
}

@-webkit-keyframes floating3 {
  from {
    background-position: top 5% center;
  }
  to {
    background-position: top 0% center;
  }
}

@keyframes floating3 {
  from {
    background-position: top 5% center;
  }
  to {
    background-position: top 0% center;
  }
}

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100vw;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: #fff;
  z-index:999;
}
