@import url(https://fonts.googleapis.com/css?family=Stoke&display=swap&subset=latin-ext);
@import url(https://fonts.googleapis.com/css?family=Trirong&display=swap&subset=latin-ext);
@import url(https://fonts.googleapis.com/css?family=Quintessential&display=swap&subset=latin-ext);
@import url(https://fonts.googleapis.com/css?family=Crimson+Pro&display=swap&subset=latin-ext);
body {
  background-color: beige; }

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Trirong'; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Stoke';
  font-weight: lighter; }

h1 {
  font-size: 36pt; }

h2 {
  font-size: 22pt; }

h3 {
  font-size: 20pt; }

h4 {
  font-size: 18pt; }

h5 {
  font-size: 16pt; }

h6 {
  font-size: 14pt; }

p {
  font-family: 'Trirong';
  font-size: 12pt;
  font-weight: normal; }

q {
  font-family: 'Quintessential';
  font-size: 13pt; }

i {
  font-family: 'Crimson Pro';
  font-size: 9pt;
  font-style: normal; }

footer {
  width: calc(100% - 5em);
  text-align: center;
  line-height: 1em;
  padding: 0 0 1em 1em; }

.wrapper {
  max-width: 800px;
  margin: 2em auto;
  padding: 20px; }
  .wrapper p {
    text-align: justify;
    margin-bottom: 2em; }
  .wrapper i {
    max-width: 700px;
    line-height: 1em;
    display: block; }
  .wrapper h2 {
    margin: 1em 0; }
  .wrapper ul,
  .wrapper ol {
    padding-left: 1em; }
  .wrapper ol {
    margin: 1em 0; }

.header {
  width: 100%;
  height: 50vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative; }
  .header .background {
    filter: blur(3px);
    margin: 0 auto;
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: scale(1.1); }
  .header h1 {
    position: absolute; }
  .header i {
    position: absolute;
    right: 0.5em;
    bottom: 0; }
    .header i img {
      height: 1em;
      margin-right: 0.5em;
      vertical-align: middle; }
    .header i a {
      color: white; }

.bar {
  width: 50%;
  margin: 0 auto;
  height: 4px;
  position: absolute;
  background: black;
  opacity: 1;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
  border-radius: 5px; }
  .bar::before, .bar::after {
    width: 100%;
    height: 4px;
    position: absolute;
    background: black;
    content: '';
    left: 0;
    border-radius: 5px; }
  .bar::before {
    top: -7px;
    transition: all 0.3s ease-in-out; }
  .bar::after {
    top: 7px;
    transition: all 0.3s ease-in-out; }

.bar--menu-opened {
  background: transparent; }
  .bar--menu-opened::before {
    transform: rotate(45deg);
    top: 0px; }
  .bar--menu-opened:after {
    transform: rotate(-45deg);
    top: 0px; }

.nav-button {
  background-color: #fcfcf4;
  padding: 1.5em;
  position: fixed;
  bottom: 1em;
  right: 1em;
  border-radius: 50%;
  line-height: 0;
  transition: all 0.5s ease-in-out;
  z-index: 5;
  box-shadow: 0px 0px 15px 0px #b4b4af;
  cursor: pointer; }

.list {
  position: fixed;
  top: 0;
  background-color: beige;
  width: 100%;
  height: 100vh;
  z-index: 3;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  text-align: center; }
  .list h1 {
    margin: 0.5em 0; }

.list--opened {
  left: 0vw; }

.list--closed {
  left: 100%; }

.navigation a {
  color: black;
  margin: 5px;
  display: block;
  font-family: 'Quintessential';
  transition: all 0.2s; }
  .navigation a:hover {
    transform: scale(1.1); }

.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: beige; }
  .container h1 {
    margin: 0.5em 0; }

.navigation a {
  margin: 5px;
  font-size: 1.5rem;
  display: block;
  font-family: 'Quintessential';
  color: black;
  transition: all 0.2s; }
  .navigation a:hover {
    transform: scale(1.1); }

.quizWrapper {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box; }
  .quizWrapper .restart,
  .quizWrapper .begin {
    font-size: 1em;
    background-color: beige;
    color: black;
    padding: 0 10px;
    outline: none;
    border: none;
    border-bottom: 2px black solid;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1em; }
    .quizWrapper .restart:hover,
    .quizWrapper .begin:hover {
      background-color: black;
      color: beige; }

.questionWrapper {
  padding: 5px; }
  .questionWrapper input[type='text'] {
    margin: 10px auto;
    display: block;
    max-width: 300px;
    width: 100%;
    padding: 0 10px;
    font-size: 1em;
    background-color: beige;
    border: none;
    border-bottom: 2px black solid;
    outline: none;
    transition: box-shadow 0.3s ease; }
    .questionWrapper input[type='text']:focus {
      box-shadow: 0px 7px 10px -10px rgba(0, 0, 0, 0.75); }
  .questionWrapper button {
    font-size: 1em;
    background-color: beige;
    color: black;
    padding: 0 10px;
    outline: none;
    border: none;
    border-bottom: 2px black solid;
    cursor: pointer;
    transition: box-shadow 0.3s ease; }
    .questionWrapper button:hover {
      box-shadow: 0px 7px 10px -10px rgba(0, 0, 0, 0.75); }

