@charset "UTF-8";
/* Variabler som bliver brugt en eller flere gang i scss'en */
/* mixin til gentagene stykker styling */
/* style som bliver anvendt på hele siden */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif; /* bruger en tidligere defineret */
  color: #161616;
  overflow: hidden;
}

body {
  background-color: #FBC100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100dvh;
  text-align: center;
}

#q1 p:first-of-type, #q2 p:first-of-type, #q3 p:first-of-type {
  text-align: left;
}

#counter {
  padding: 1em;
}

#e3 p:nth-of-type(2) {
  font-weight: 400;
}
#e3 p:nth-of-type(3) {
  font-weight: 700;
}

/* nesting som mindsker behovet for at skrive section før alle de underliggende elementer*/
section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  /* styling på id med .innerText element, fra javascript */
}
section h1 {
  font-family: "Raleway", sans-serif;
  font-size: 2em;
  padding-bottom: 0.5em;
}
section p {
  font-size: 1em;
  padding: 1em 2em;
  max-width: 800px;
}
section p:nth-of-type(2) {
  font-weight: 700;
}
section #fb1 {
  display: none;
  text-align: center;
  background-color: #5A002C;
  margin: 1em;
  border-radius: 1rem;
  border: 1px solid #FFFFFC;
  transition: 0.7s;
  color: #FFFFFC;
}
section img {
  max-height: 425px;
  width: 450px;
  -o-object-fit: contain;
     object-fit: contain;
}

/* styling på alle sections undtagen den første */
section:not(:first-of-type) {
  display: none;
}

/* div til at holde frem og tilbage knapper */
div {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.5em 15px 0 15px;
}

button {
  text-decoration: none;
  text-align: center;
  font-size: 1em;
}

/* Knap til svarmulighed */
.answer {
  font-size: 1em;
  width: 300px;
  margin: 12px 0;
  padding: 10px 5px;
  font-family: "Inter", sans-serif;
  background-color: #FFFFFC;
  border-radius: 1rem;
  border: 1px solid #161616;
  transition: 0.7s;
  text-decoration: none;
}

/* hovereffect til knapperne på siden */
button:hover, a:hover {
  background-color: #2e667c;
  color: #FFFFFC;
  border: 1px solid #FFFFFC;
  transition: 0.7s;
}

/* Media query til mobil */
@media screen and (max-width: 800px) {
  section h1 {
    font-size: 1.8;
  }
  section p {
    width: 90vw;
    padding: 8px 16px;
  }
  section #fb1 {
    width: 95vw;
  }
  section button {
    margin-top: 1em 5px 0 15px;
  }
  section img {
    width: 350px;
    max-height: 325px;
  }
}/*# sourceMappingURL=style.css.map */