/***
   * Developed by Beatriz Lacerda
   * @ bildwerk.tv
   ***
***/
 
 /*! tailwindcss v2.2.4 | MIT License | https://tailwindcss.com */

/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

*,
::before,
::after {
  box-sizing: border-box;
}

/**
Use a more readable tab size (opinionated).
*/

html {
  -moz-tab-size: 4;
  tab-size: 4;
}

/**
1. Correct the line height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
*/

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/*
Sections
========
*/

/**
Remove the margin in all browsers.
*/

body {
  margin: 0;
}

/**
Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
*/

body {
  font-family:
		system-ui,
		-apple-system, /* Firefox supports this but not yet `system-ui` */
		'Segoe UI',
		Roboto,
		Helvetica,
		Arial,
		sans-serif,
		'Apple Color Emoji',
		'Segoe UI Emoji';
}

/*
Grouping content
================
*/

/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
}

/*
Text-level semantics
====================
*/

/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr[title] {
  text-decoration: underline dotted;
}

/**
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		'Liberation Mono',
		Menlo,
		monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
Tabular data
============
*/

/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
}

/*
Forms
=====
*/

/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
Remove the inheritance of text transform in Edge and Firefox.
1. Remove the inheritance of text transform in Firefox.
*/

button,
select { /* 1 */
  text-transform: none;
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

/**
Remove the inner border and padding in Firefox.
*/

::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
Restore the focus styles unset by the previous rule.
*/

:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
  padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Interactive
===========
*/

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/**
 * Manually forked from SUIT CSS Base: https://github.com/suitcss/base
 * A thin layer on top of normalize.css that provides a starting point more
 * suitable for web applications.
 */

/**
 * Removes the default spacing and border for appropriate elements.
 */

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

button {
  background-color: transparent;
  background-image: none;
}

fieldset {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/**
 * Tailwind custom reset styles
 */

/**
 * 1. Use the user's configured `sans` font-family (with Tailwind's default
 *    sans-serif font stack as a fallback) as a sane default.
 * 2. Use Tailwind's default "normal" line-height so the user isn't forced
 *    to override it to ensure consistency even when using the default theme.
 */

html {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 1 */
  line-height: 1.5; /* 2 */
}

/**
 * Inherit font-family and line-height from `html` so users can set them as
 * a class directly on the `html` element.
 */

body {
  font-family: inherit;
  line-height: inherit;
}

/**
 * 1. Prevent padding and border from affecting element width.
 *
 *    We used to set this in the html element and inherit from
 *    the parent element for everything else. This caused issues
 *    in shadow-dom-enhanced elements like <details> where the content
 *    is wrapped by a div with box-sizing set to `content-box`.
 *
 *    https://github.com/mozdevs/cssremedy/issues/4
 *
 *
 * 2. Allow adding a border to an element by just adding a border-width.
 *
 *    By default, the way the browser specifies that an element should have no
 *    border is by setting it's border-style to `none` in the user-agent
 *    stylesheet.
 *
 *    In order to easily add borders to elements by just setting the `border-width`
 *    property, we change the default border-style for all elements to `solid`, and
 *    use border-width to hide them instead. This way our `border` utilities only
 *    need to set the `border-width` property instead of the entire `border`
 *    shorthand, making our border utilities much more straightforward to compose.
 *
 *    https://github.com/tailwindcss/tailwindcss/pull/116
 */

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: currentColor; /* 2 */
}

/*
 * Ensure horizontal rules are visible by default
 */

hr {
  border-top-width: 1px;
}

/**
 * Undo the `border-style: none` reset that Normalize applies to images so that
 * our `border-{width}` utilities have the expected effect.
 *
 * The Normalize reset is unnecessary for us since we default the border-width
 * to 0 on all elements.
 *
 * https://github.com/tailwindcss/tailwindcss/issues/362
 */

img {
  border-style: solid;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}

button,
[role="button"] {
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/**
 * Reset links to optimize for opt-in styling instead of
 * opt-out.
 */

a {
  color: inherit;
  text-decoration: inherit;
}

/**
 * Reset form element properties that are easy to forget to
 * style explicitly so you don't inadvertently introduce
 * styles that deviate from your design system. These styles
 * supplement a partial reset that is already applied by
 * normalize.css.
 */

button,
input,
optgroup,
select,
textarea {
  padding: 0;
  line-height: inherit;
  color: inherit;
}

/**
 * Use the configured 'mono' font family for elements that
 * are expected to be rendered with a monospace font, falling
 * back to the system monospace stack if there is no configured
 * 'mono' font family.
 */

pre,
code,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/**
 * 1. Make replaced elements `display: block` by default as that's
 *    the behavior you want almost all of the time. Inspired by
 *    CSS Remedy, with `svg` added as well.
 *
 *    https://github.com/mozdevs/cssremedy/issues/14
 * 
 * 2. Add `vertical-align: middle` to align replaced elements more
 *    sensibly by default when overriding `display` by adding a
 *    utility like `inline`.
 *
 *    This can trigger a poorly considered linting error in some
 *    tools but is included by design.
 * 
 *    https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210
 */

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/**
 * Constrain images and videos to the parent width and preserve
 * their intrinsic aspect ratio.
 *
 * https://github.com/mozdevs/cssremedy/issues/14
 */

img,
video {
  max-width: 100%;
  height: auto;
}

*, ::before, ::after {
  --tw-border-opacity: 1;
  border-color: rgba(229, 231, 235, var(--tw-border-opacity));
}

@font-face {
  font-family: "Montserrat-Light";

  src: url("./fonts/Montserrat-Light.eot");

  src: url("./fonts/Montserrat-Light.eot?#iefix") format("embedded-opentype"), url("./fonts/Montserrat-Light.ttf") format("truetype"), url("./fonts/Montserrat-Light.svg#Montserrat-Light") format("svg");

  font-weight: normal;

  font-style: normal;
}

@font-face {
  font-family: "Montserrat-Bold";

  src: url("./fonts/Montserrat-Bold.eot");

  src: url("./fonts/Montserrat-Bold.eot?#iefix") format("embedded-opentype"), url("./fonts/Montserrat-Bold.ttf") format("truetype"), url("./fonts/Montserrat-Bold.svg#Montserrat-Bold") format("svg");

  font-weight: normal;

  font-style: normal;
}

.icon-24px {
  font-size: 24px;
  height: 24px;
  width: 24px;
}

.icon-32px {
  font-size: 32px;
  height: 32px;
  width: 32px;
}

.icon-40px {
  font-size: 40px;
  height: 40px;
  width: 40px;
}

.icon-50px {
  font-size: 50px;
  height: 50px;
  width: 50px;
}

.icon-64px {
  font-size: 64px;
  height: 64px;
  width: 64px;
}

.icon-80px {
  font-size: 80px;
  height: 80px;
  width: 80px;
}

@-webkit-keyframes clicked-animation {
  0%, 50%, 100% {
    background-color: #E4E7E9;
    border-color: #485156;
    color: #485156;
  }

  25%, 75% {
    background-color: #F39000;
    border-color: #F39000;
    color: #E4E7E9;
  }
}

@-webkit-keyframes wrong-animation {
  0% {
    background-color: #E4E7E9;
    border-color: #485156;
    color: #485156;
  }

  100% {
    background-color: #E30B18;
    border-color: #E30B18;
    color: #E4E7E9;
  }
}

@-webkit-keyframes reveal-animation {
  0% {
    background-color: #E4E7E9;
    border-color: #485156;
    color: #485156;
  }

  100% {
    background-color: #006BAC;
    border-color: #006BAC;
    color: #E4E7E9;
  }
}

@-webkit-keyframes shape-reveal {
  0% {
    left: -100%;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    left: 0%;
  }
}

@-webkit-keyframes shape-reveal-low {
  0% {
    left: -100%;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    left: -66%;
  }
}

@-webkit-keyframes shape-reveal-low-small {
  0% {
    left: -100%;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    left: -70%;
  }
}

@-webkit-keyframes shape-reveal-medium {
  0% {
    left: -100%;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    left: -54%;
  }
}

@-webkit-keyframes shape-reveal-medium-small {
  0% {
    left: -100%;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    left: -60%;
  }
}

@-webkit-keyframes shape-reveal-high {
  0% {
    left: -100%;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    left: -10%;
  }
}

@-webkit-keyframes shape-reveal-high-small {
  0% {
    left: -100%;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    left: -24%;
  }
}

@-webkit-keyframes text-reveal {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translatey(0px);
    filter: grayscale(0);
  }

  50% {
    transform: translatey(-20px);
    filter: grayscale(1);
  }

  100% {
    transform: translatey(0px);
    filter: grayscale(0);
  }
}

/*---- Font ----*/

html {
  font-family: Montserrat-Light, Arial-light, arial, sans-serif;
  background-color: #E4E7E9;
  color: #485156;
}

.title {
  font-size: 44px;
  line-height: 44px;
  font-family: Montserrat-Bold, Arial-bold, arial, sans-serif;
}

@media (max-width: 700px) {
  .title {
    font-size: 30px;
    line-height: 32px;
    margin-bottom: 8px;
  }
}

@media (min-width: 600px) {
  .title {
    font-size: 36px;
    line-height: 40px;
  }
}

@media (min-width: 1000px) {
  .title {
    font-size: 54px;
    line-height: 60px;
  }
}

.double.mobile {
  display: none;
}

@media (max-width: 380px) {
  .double {
    display: none;
  }

  .double.mobile {
    display: flex;
    flex-direction: column;
  }
}

.body {
  font-size: 16px;
  line-height: 30px;
  font-family: Montserrat-Light, Arial-light, arial, sans-serif;
}

@media (max-width: 599px) {
  .body {
    line-height: 24px;
  }
}

#sources {
  font-size: 12px;
  line-height: 16pxpx;
  font-family: Montserrat-Light, Arial-light, arial, sans-serif;
}

.highlight {
  font-size: 16px;
  line-height: 30px;
  font-family: Montserrat-Bold, Arial-bold, arial, sans-serif;
}

@media (max-width: 599px) {
  .highlight {
    font-size: 14px;
    line-height: 18px;
  }
}

.note {
  font-size: 16px;
  line-height: 24px;
  font-family: Montserrat-Light, Arial-light, arial, sans-serif;
}

@media (max-width: 599px) {
  .note {
    font-size: 14px;
    line-height: 18px;
    min-width: 40px;
  }
}

@media (max-width: 599px) {
  .page header p.note {
    text-align: right;
  }
}

.button, button, .message {
  font-size: 16px;
  line-height: 24px;
  font-family: Montserrat-Light, Arial-light, arial, sans-serif;
}

@media (max-width: 599px) {
  .button, button, .message {
    line-height: 20px;
  }
}

.large {
  font-size: 80px;
  line-height: 80px;
  font-family: Montserrat-Bold, Arial-bold, arial, sans-serif;
}

@media (max-width: 599px) {
  .large {
    font-size: 60px;
    line-height: 60px;
  }
}

.wordbreak {
  word-break: break-word;
}

.center {
  text-align: center;
}

/*---- General ----*/

* {
  box-sizing: border-box;
}

html, body {
  margin: 0px;
  height: 100%;
}

.page {
  width: 100vw;
  /*height: 100vh;
  height: 100dvh;*/
  height: 100%;
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  overflow-x: hidden;
}

.page .logo-container {
  padding: 32px 0px;
  margin-top: auto;
}

@media (max-width: 599px) {
  .page .logo-container {
    margin-left: 16px;
    margin-right: 16px;
    padding-top: 16px;
  }
}

@media (max-width: 360px) {
  .page .logo-container {
    display: grid;
    justify-items: center;
  }
}

.page .logo-container img {
  display: inline-block;
  width: 200px;
  height: auto;
  margin: 0px 16px;
}

@media (max-width: 599px) {
  .page .logo-container img {
    width: 175px;
    margin: 0px 8px;
    padding-top: 0px;
  }
}

.page .logo-container img:nth-child(2) {
  display: none;
}

@media (max-width: 599px) {
  .page#landing .logo-container {
    padding-bottom: 64px;
  }
}

.page#landing .logo-container img {
  width: 350px;
  height: auto;
}

@media (max-width: 599px) {
  .page#landing .logo-container img {
    width: 175px;
  }
}

.page#result .logo-container img:nth-child(2) {
  display: inline-block;
}

.page#result .logo-container img:nth-child(2) {
  width: 150px;
  height: auto;
}

@media (max-width: 599px) {
  .page#result .logo-container img:nth-child(2) {
    width: 110px;
    margin-top: 8px;
  }
}

.page .background {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: -1;
  /*background-image: url("../img/arrowgon-blue.png");*/
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-position-x: right;
}

@media (min-width: 600px) {
  .page .background {
    left: -50%;
    width: 150%;
  }
}

@media (max-width: 599px) {
  .page .background {
    left: -70%;
    width: 170%;
  }
}

.page .content, .page section {
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 940px;
  margin: 34px;
  word-break: break-word;
}

@media (max-width: 599px) {
  .page .content, .page section {
    margin: 8px 0px;
  }
}

.page .content.left, .page section.left {
  align-items: flex-start;
}

@media (max-width: 599px) {
  .page .content {
    width: 85%;
  }
}

.page section {
  width: 85%;
}

@media (min-width: 1400px) {
  .page section {
    width: 55%;
  }
}

.page section#intro {
  width: 50%;
  max-width: 500px;
}

@media (max-width: 599px) {
  .page section#intro {
    width: 75%;
  }
}

.page .list {
  display: flex;
  align-items: center;
}

.page .list > div {
  padding: 8px;
}

.page#result .list > div {
  padding: 0px;
}

.page .vertical-list {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page .grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1400px;
}

.page .grid .col {
  flex: 50%;
  margin: 8px;
  max-width: 600px;
  min-height: 38px;
  height: auto !important;
  align-content: center;
}

@media (max-width: 599px) {
  .page .grid .col {
    flex: 100%;
    margin: 8px 0px;
    min-height: 36px;
  }
}

.mb-l {
  margin-bottom: 48px;
}

@media (max-width: 599px) {
  .mb-l {
    margin-bottom: 32px;
  }
}

.mb {
  margin-bottom: 32px;
}

@media (max-width: 599px) {
  .mb {
    margin-bottom: 16px;
  }
}

.mb-s {
  margin-bottom: 16px;
}

@media (max-width: 599px) {
  .mb-s {
    margin-bottom: 8px;
  }
}

.mt-l {
  margin-bottom: 48px;
}

@media (max-width: 599px) {
  .mt-l {
    margin-bottom: 32px;
  }
}

.hide {
  display: none !important;
}

.contents {
  display: contents;
}

@media (max-width: 360px) {
  .contents .note {
    text-align: right;
    width: 20%;
  }
}

/*---- Buttons ----*/

.button:not(.img), button, .message {
  border: 0.9px solid #485156;
  height: 40px;
  border-radius: 46px;
  /*36px;*/
  margin-top: 16px;
  align-content: center;
}

@media (max-width: 599px) {
  .button:not(.img), button, .message {
    margin-top: 8px;
  }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
  .button:not(.img), button, .message {
    border-width: 0.7px;
  }
}

button a {
  padding: 0px 30px;
}

.button:not(.img), .message {
  padding: 6px 30px;
}

@media (max-width: 599px) {
  .button:not(.img), .message {
    padding: 9px 30px;
  }
}

@media (max-width: 599px) {
  .button:not(.img).answer, .message.answer {
    padding: 9px 16px;
  }
}

.button.pad, button.pad, .message.pad {
  padding: 12px 30px;
}

@media (max-width: 599px) {
  .button.pad, button.pad, .message.pad {
    padding: 8px 16px;
    border-radius: 28px;
  }
}

@media (max-width: 599px) {
  .button.pad.answer, button.pad.answer, .message.pad.answer {
    padding: 8px 16px;
    border-radius: 18px;
  }
}

.button:not(.img), button, .message {
  background-color: #E4E7E9;
}

.button.img.video {
  margin-top: 16px;
}

.button:not(.img):hover, button:hover, .button.active, button.active {
  border: 0.9px solid #485156;
  background-color: #485156;
  color: #E4E7E9;
  cursor: pointer;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
  .button:not(.img):hover, button:hover, .button.active, button.active {
    border-width: 0.7px;
  }
}

.button.img {
  height: 32px;
  width: 52px;
  background-size: auto 100%;
  background-repeat: no-repeat;
  /*
  &:not(.important) {
  @include for-phone  { 
  height: 28px;
  width: 44px;
  }
  }
  */
}

@media (max-width: 599px) {
  .button.img {
    height: 24px;
  }
}

@media (max-width: 599px) {
  .button.img.home {
    height: 24px;
    width: 80px;
  }
}

@media (max-width: 599px) {
  .button.img.video, .button.img.close, .button.img.next {
    height: 32px;
  }
}

.button.img:hover {
  cursor: pointer;
}

.button#home {
  background-image: url("../img/icon-back.svg");
}

.button#home:hover {
  background-image: url("../img/icon-back-hover.svg");
}

@media (max-width: 360px) {
  .button#home {
    margin-bottom: 12px;
  }
}

.button#back {
  background-image: url("../img/icon-left.svg");
}

.button#back:hover {
  background-image: url("../img/icon-left-hover.svg");
}

.button.next, .button.video {
  background-image: url("../img/icon-right.svg");
}

.button.next:hover, .button.video:hover {
  background-image: url("../img/icon-right-hover.svg");
}

.button.next.secondary {
  background-image: url("../img/icon-right-video.svg");
}

.button.next.secondary:hover {
  background-image: url("../img/icon-right-hover.svg");
}

.button.close {
  background-image: url("../img/icon-close.svg");
}

.button.close:hover {
  background-image: url("../img/icon-close-hover.svg");
}

.button.close.secondary {
  background-image: url("../img/icon-close-video.svg");
}

.button.close.secondary:hover {
  background-image: url("../img/icon-close-hover.svg");
}

.button#share {
  background-image: url("../img/icon-share.svg");
}

.button#share:hover {
  background-image: url("../img/icon-share-hover.svg");
}

.action-shake {
  animation: action-shake 4s infinite;
  will-change: transform;
}

.action-shake-shadow {
  will-change: transform;
  animation: action-shake-shadow 2s infinite;
}

@keyframes action-shake {
  0% {
    transform: translateX(0) rotate(0);
  }

  30% {
    transform: translateX(0) rotate(0);
    filter: saturate(100%);
  }

  31% {
    transform: translateY(-2px) rotate(-17deg);
    filter: saturate(250%) hue-rotate(15deg);
  }

  38% {
    transform: translateY(-3px) rotate(17deg);
    filter: saturate(500%) hue-rotate(15deg);
  }

  42% {
    transform: translateY(-4px) rotate(-17deg);
    filter: saturate(400%) hue-rotate(15deg);
  }

  44% {
    transform: translateY(0) rotate(0);
    filter: saturate(100%);
  }

  100% {
    transform: translateY(0) rotate(0);
    filter: saturate(100%);
  }
}

@keyframes action-shake-shadow {
  0% {
    transform: translateX(0) rotate(0);
  }

  5% {
    transform: translateX(0) rotate(0);
    filter: drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.1));
    -webkit-filter: drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.1));
  }

  8% {
    transform: translateX(0) rotate(0);
    filter: drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.3));
    -webkit-filter: drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.2));
  }

  10% {
    transform: translateX(0) rotate(0);
    filter: saturate(100%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.3));
    -webkit-filter: saturate(100%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.3));
  }

  15% {
    transform: translateX(0) rotate(0);
    filter: saturate(100%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.45));
    -webkit-filter: saturate(100%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.45));
  }

  21% {
    transform: translateY(-2px) rotate(-17deg);
    filter: saturate(100%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.6));
    -webkit-filter: saturate(100%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.6));
  }

  28% {
    transform: translateY(-3px) rotate(17deg);
    filter: saturate(1000%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.6));
    -webkit-filter: saturate(1000%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.6));
  }

  36% {
    transform: translateY(-4px) rotate(-17deg);
    filter: saturate(800%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.6));
    -webkit-filter: saturate(800%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.6));
  }

  44% {
    transform: translateY(0) rotate(0);
    filter: saturate(400%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.6));
    -webkit-filter: saturate(400%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0.6));
  }

  100% {
    transform: translateY(0) rotate(0);
    filter: saturate(100%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0));
    -webkit-filter: saturate(100%) drop-shadow(0px 0px 30px rgba(0, 107, 172, 0));
  }
}

/*---- Quiz ----*/

.page header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 85%;
  margin: 64px 0px 32px 0px;
  max-width: 1400px;
}

.page header img {
  height: 32px;
  width: auto;
}

.page header p {
  text-align: center;
}

@media (max-width: 599px) {
  .page header {
    margin: 32px 0px 16px 0px;
  }
}

@media (min-width: 1200px) {
  .page header {
    justify-content: space-around;
    width: 100%;
  }
}

.page section.question {
  display: none;
}

.page section.question.active {
  display: flex;
}

.page section.question.clicked .answer {
  cursor: auto;
  transition: all 500ms ease;
}

.page section.question.clicked .answer.clicked, .page section.question.clicked .answer.clicked:hover {
  border-color: #F39000;
  color: #E4E7E9;
  animation: clicked-animation 2s infinite;
}

.page section.question.clicked .answer.wrong, .page section.question.clicked .answer.wrong:hover {
  background-color: #E30B18;
  border-color: #E30B18;
  color: #E4E7E9;
  animation: wrong-animation 500ms 1;
}

.page section.question.clicked .answer.reveal, .page section.question.clicked .answer.reveal:hover {
  background-color: #006BAC;
  border-color: #006BAC;
  color: #E4E7E9;
  animation: reveal-animation 500ms 1;
}

.page section.question.clicked .answer:not(.clicked, .wrong, .reveal) {
  background-color: #E4E7E9;
  color: #485156;
}

.page section.popupopen .button.video {
  display: none;
}

.page section .backdrop {
  position: fixed;
  z-index: -1;
  top: 0px;
  left: 0px;
  right: 0px;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center 70%;
  background-size: 300px auto;
  width: 100%;
  height: 110%;
  margin: 0 auto;
  box-sizing: border-box;
  transform: translatey(0px);
  filter: grayscale(0);
  animation: float 8s ease-in-out infinite;
}

.page section .backdrop {
  background-image: url("../img/backdrop-1.svg");
}

.page section#question0 .backdrop {
  background-image: url("../img/backdrop-1.svg");
}

.page section#question1 .backdrop {
  background-image: url("../img/backdrop-2.svg");
}

.page section#question2 .backdrop {
  background-image: url("../img/backdrop-3.svg");
}

.page section#question3 .backdrop {
  background-image: url("../img/backdrop-4.svg");
}

.page section#question4 .backdrop {
  background-image: url("../img/backdrop-5.svg");
}

.page section#question5 .backdrop {
  background-image: url("../img/backdrop-6.svg");
}

.page section#question6 .backdrop {
  background-image: url("../img/backdrop-7.svg");
}

.page section#question7 .backdrop {
  background-image: url("../img/backdrop-8.svg");
}

.page section#question8 .backdrop {
  background-image: url("../img/backdrop-9.svg");
}

.page section#question9 .backdrop {
  background-image: url("../img/backdrop-10.svg");
}

.minh {
  min-height: 104px;
}

.message.pos {
  background-color: #006BAC;
  border-color: #006BAC;
  color: #E4E7E9;
}

.message.neg {
  background-color: #E30B18;
  border-color: #E30B18;
  color: #E4E7E9;
}

/*---- Explanation ----*/

.popup:not(.static) {
  position: absolute;
}

.popup {
  max-width: 1000px;
  width: 80vw;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 599px) {
  .popup {
    width: 90vw;
  }
}

@media (min-width: 1200px) {
  .popup {
    width: 60vw;
  }
}

.popup.static {
  width: 100%;
}

@media (min-width: 900px) {
  .popup.static {
    width: 75%;
  }
}

.popup .cover {
  position: fixed;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  top: 0px;
  left: 0px;
  background-color: rgba(228, 231, 233, 0.8);
}

.popup .video-container {
  width: 100%;
  border: 1px solid #899297;
  background-color: #C8D1D6;
  padding: 16px;
  border-radius: 24px;
  filter: drop-shadow(20px -20px 70px #89929766) drop-shadow(-40px 40px 40px #E4E7E9);
}

@media (min-width: 900px) {
  .popup .video-container {
    padding: 32px;
    border-radius: 32px;
  }
}

@media (max-width: 599px) {
  .popup .video-container {
    margin-bottom: 16px;
  }
}

.popup .video-container .iframe-container {
  width: 100%;
  padding: 56.25% 0 0 0;
  position: relative;
  border: 1px solid #899297;
  border-radius: 8px;
}

@media (min-width: 900px) {
  .popup .video-container .iframe-container {
    border-radius: 24px;
  }
}

.popup .video-container .iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

@media (min-width: 900px) {
  .popup .video-container .iframe-container iframe {
    border-radius: 24px;
  }
}

.popup .video-container, .popup .list {
  z-index: 1;
}

.popup .button:not(:nth-child(1)) {
  margin-left: 16px;
}

.video-container {
  max-width: 1000px;
  width: 60vw;
  padding: 32px;
  border: 1px solid #899297;
  background-color: #C8D1D6;
  border-radius: 32px;
}

.video-container .iframe-container {
  width: 100%;
  padding: 56.25% 0 0 0;
  position: relative;
  border: 1px solid #899297;
  border-radius: 24px;
}

.video-container .iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
}

/*---- Result ----*/

.page#result .title-container {
  margin: 32px 16px 16px 16px;
  width: 85%;
}

@media (min-width: 1200px) {
  .page#result .title-container {
    margin: 48px 0px 0px 0px;
    width: auto;
  }
}

@media (max-width: 599px) {
  .page#result .title-container {
    margin: 32px 16px 0px 16px;
  }
}

.page#result .list {
  flex-direction: column;
  align-items: flex-start;
  max-width: 1400px;
  flex: 4;
}

@media (min-width: 1200px) {
  .page#result .list {
    flex-direction: row;
  }
}

@media (max-width: 599px) {
  .page#result .list {
    flex: none;
  }
}

.page#result .list > div:nth-child(1) {
  margin-bottom: 32px;
}

@media (min-width: 1200px) {
  .page#result .list > div:nth-child(1) {
    margin-bottom: 0px;
  }
}

.page#result .result-container, .page#result .message-container {
  flex: 1;
  width: 100%;
  height: 100%;
}

@media (max-width: 599px) {
  .page#result .result-container, .page#result .message-container {
    width: 100%;
  }
}

.page#result .result-container {
  position: relative;
}

@media (min-width: 900px) {
  .page#result .result-container {
    width: 75%;
  }
}

@media (min-width: 1200px) {
  .page#result .result-container {
    width: 100%;
  }
}

.page#result .result-container .shape {
  position: absolute;
  width: calc(100% - 64px);
  height: 100%;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position-x: 100%;
  opacity: 0;
  left: -100%;
  z-index: -1;
  margin-right: 64px;
}

@media (min-width: 1200px) {
  .page#result .result-container .shape {
    width: calc(100% - 32px);
    margin-right: 32px;
  }
}

@media (max-width: 599px) {
  .page#result .result-container .shape {
    width: calc(100% - 24px);
    margin-right: 24px;
  }
}

.page#result .result-container .shape#under {
  background-image: url("../img/logo-shape.svg");
}

.page#result .result-container .shape#over {
  background-image: url("../img/logo-shape-over.svg");
}

.page#result .result-container.finished .shape#under {
  animation: shape-reveal 1.2s ease-out 0s 1 forwards;
}

.page#result .result-container.finished.low .shape#over {
  animation: shape-reveal-low 1.5s ease-out 0.75s 1 forwards;
}

@media (max-width: 599px) {
  .page#result .result-container.finished.low .shape#over {
    animation: shape-reveal-low-small 1.5s ease-out 0.75s 1 forwards;
  }
}

.page#result .result-container.finished.medium .shape#over {
  animation: shape-reveal-medium 1.5s ease-out 0.75s 1 forwards;
}

@media (max-width: 599px) {
  .page#result .result-container.finished.medium .shape#over {
    animation: shape-reveal-medium-small 1.5s ease-out 0.75s 1 forwards;
  }
}

.page#result .result-container.finished.high .shape#over {
  animation: shape-reveal-high 1.5s ease-out 0.75s 1 forwards;
}

@media (max-width: 599px) {
  .page#result .result-container.finished.high .shape#over {
    animation: shape-reveal-high-small 1.5s ease-out 0.75s 1 forwards;
  }
}

.page#result .result-container.finished.perfect .shape#over {
  animation: shape-reveal 1.5s ease-out 0.75s 1 forwards;
}

.page#result .result-container.finished .result-info {
  animation: text-reveal 1s 2s 1 forwards;
}

.page#result .result-container.finished.zero .result-info {
  animation: text-reveal 1s 1.2s 1 forwards;
}

.page#result .result-container.finished.zero .result-info {
  margin-right: 45%;
}

.page#result .result-container.finished.medium .result-info {
  margin-right: 28%;
}

@media (max-width: 599px) {
  .page#result .result-container.finished.medium .result-info {
    margin-right: 30%;
  }
}

@media (min-width: 1200px) {
  .page#result .result-container.finished.medium .result-info {
    margin-right: 20%;
  }
}

.page#result .result-container.finished.high .result-info, .page#result .result-container.finished.perfect .result-info {
  margin-right: 30%;
}

@media (max-width: 599px) {
  .page#result .result-container.finished.high .result-info, .page#result .result-container.finished.perfect .result-info {
    margin-right: 52%;
  }
}

.page#result .result-container.finished.zero .result-info, .page#result .result-container.finished.low .result-info, .page#result .result-container.finished.medium .result-info {
  color: #485156;
}

.page#result .result-container .result-info {
  margin: 32px;
  margin-right: 36%;
  width: 30%;
  align-items: flex-start;
  float: right;
  color: #E4E7E9;
  opacity: 0;
}

@media (min-width: 900px) {
  .page#result .result-container .result-info {
    margin-right: 28%;
  }
}

@media (max-width: 599px) {
  .page#result .result-container .result-info {
    margin-right: 28%;
    width: 40%;
  }
}

.page#result .result-container .button#share {
  position: absolute;
  right: 0px;
  bottom: 16px;
  margin-right: 40px;
}

@media (min-width: 900px) {
  .page#result .result-container .button#share {
    bottom: 0px;
    margin-right: 16px;
  }
}

@media (max-width: 599px) {
  .page#result .result-container .button#share {
    bottom: -16px;
    margin-right: 24px;
  }
}

.page#result .result-container #copied {
  position: absolute;
  bottom: 58px;
  right: 0px;
  margin-right: 16px;
}

@media (min-width: 900px) {
  .page#result .result-container #copied {
    bottom: 46px;
    margin-right: -14px;
  }
}

@media (max-width: 599px) {
  .page#result .result-container #copied {
    bottom: -16px;
    right: 75px;
  }
}

.page#result .message-container .text {
  width: 85%;
  margin: auto;
}

@media (min-width: 1200px) {
  .page#result .message-container .text {
    width: 75%;
    margin-left: 64px;
  }
}