html {
  box-sizing: border-box;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
}
*,
:after,
:before {
  background-repeat: no-repeat;
  box-sizing: inherit;
}
:after,
:before {
  text-decoration: inherit;
  vertical-align: inherit;
}
* {
  padding: 0;
  margin: 0;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
hr {
  overflow: visible;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}
summary {
  display: list-item;
}
small {
  font-size: 80%;
}
[hidden],
template {
  display: none;
}
abbr[title] {
  border-bottom: 1px dotted;
  text-decoration: none;
}
a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}
a:active,
a:hover {
  outline-width: 0;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
}
b,
strong {
  font-weight: bolder;
}
dfn {
  font-style: italic;
}
mark {
  background-color: #ff0;
  color: #000;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
input {
  border-radius: 0;
}
[role="button"],
[type="button"],
[type="reset"],
[type="submit"],
button {
  cursor: pointer;
}
[disabled] {
  cursor: default;
}
[type="number"] {
  width: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
textarea {
  overflow: auto;
  resize: vertical;
}
button,
input,
optgroup,
select,
textarea {
  font: inherit;
}
optgroup {
  font-weight: 700;
}
button {
  overflow: visible;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
[type="reset"],
[type="submit"],
button,
html [type="button"] {
  -webkit-appearance: button;
}
button,
select {
  text-transform: none;
}
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
  color: inherit;
}
select {
  -moz-appearance: none;
  -webkit-appearance: none;
}
select::-ms-expand {
  display: none;
}
select::-ms-value {
  color: currentColor;
}
legend {
  border: 0;
  color: inherit;
  display: table;
  max-width: 100%;
  white-space: normal;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
img {
  border-style: none;
}
progress {
  vertical-align: baseline;
}
svg:not(:root) {
  overflow: hidden;
}
audio,
canvas,
progress,
video {
  display: inline-block;
}
@media screen {
  [hidden~="screen"] {
    display: inherit;
  }
  [hidden~="screen"]:not(:active):not(:focus):not(:target) {
    position: absolute !important;
    clip: rect(0 0 0 0) !important;
  }
}
[aria-busy="true"] {
  cursor: progress;
}
[aria-controls] {
  cursor: pointer;
}
[aria-disabled] {
  cursor: default;
}
::-moz-selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}
::selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}

/*----------------------------------------------------*/

html {
  position: relative;
  background: #f5fcff;
}

body {
  width: 90%;
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
  font-size: 16px;
  line-height: 1.75;
  box-sizing: border-box;
  overflow-x: hidden;
  font-family: sans-serif;
  word-break: break-all;
  background: #fff;
  border-radius: 10px;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 767px) {
  body {
    padding: 30px;
  }
}

#app {
  margin-top: 40px;
}

[v-cloak] {
  opacity: 0;
}

button {
  width: 100%;
  max-width: 100%;
  padding: 10px 20px;
  display: inline-block;
  font-weight: bold;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  vertical-align: bottom;
  box-sizing: border-box;
  background: #009dff;
  border: 2px solid #009dff;
  border-radius: 5px;
  color: #fff;
  transition: all 0.3s ease;
}
button:hover {
  background: #fff;
  border-color: #009dff;
  color: #009dff;
}
button span {
  width: 100%;
  height: 100%;
  display: block;
}

a {
  color: #009dff;
}
a:hover {
  text-decoration: none;
}

img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

ul {
  margin: 20px 0;
  list-style-position: inside;
}

h2 {
  margin: 0 0 8px 0;
  padding: 3px 10px;
  display: inline-block;
  font-size: 12px;
  background: #333;
  border-radius: 5px;
  color: #fff;
}

h2 span {
  margin: 0 2px;
  display: inline-block;
}

.correct,
.incorrect {
  font-weight: 600;
}
.correct {
  color: red;
}
.incorrect {
  color: blue;
}

.question h3 {
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  border-bottom: 1px solid #ececec;
}
.question li {
  margin: 0;
  list-style-type: none;
}
.question li + li {
  margin-top: 10px;
}
.question li button {
  text-align: left;
}
.question-1 button {
  background: #ff4f69;
  border-color: #ff4f69;
  color: #fff;
}
.question-1 button:hover {
  border-color: #ff4f69;
  background: #fff;
  color: #ff4f69;
}
.question-2 button {
  background: #4dc160;
  border-color: #4dc160;
  color: #fff;
}
.question-2 button:hover {
  border-color: #4dc160;
  background: #fff;
  color: #4dc160;
}
.question-3 button {
  background: #ffb600;
  border-color: #ffb600;
  color: #fff;
}
.question-3 button:hover {
  border-color: #ffb600;
  background: #fff;
  color: #ffb600;
}

.explain {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.popup {
  width: 90%;
  max-width: 400px;
  padding: 20px;
  position: absolute;
  top: 50vh;
  left: 50vw;
  background: #fff;
  border-radius: 5px;
  transform: translate(-50%, -50%);
  z-index: 2;
}
@media (max-width: 767px) {
  .popup {
    top: 50%;
    left: 50%;
  }
}
.layer {
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, 0.5);
  z-index: 1;
}
#canvasParent {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}
canvas {
  width: 100%;
  height: 100%;
}

.answer .correct,
.answer .incorrect {
  margin-bottom: 10px;
  font-size: 24px;
  text-align: center;
}
.answer button {
  margin-top: 20px;
}

.result h2 {
  margin-bottom: 20px;
}
.result ul {
  margin: 10px 0;
}
.result [class^="answer-"] {
  padding: 20px 0;
  border-bottom: 1px solid #cecece;
}
.result .answer-1 {
  padding-top: 0;
}
.result .answer-3 {
  margin-bottom: 40px;
}
.result .score {
  font-size: 24px;
  text-align: center;
}
.result .score span {
  font-size: 36px;
  font-weight: 600;
}
.result .perfect {
  margin-top: 20px;
  text-align: center;
}
.result button {
  margin-top: 40px;
}
