/* heebo-regular - latin */
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Heebo"), local("Heebo-Regular"), url("fonts/heebo-v4-latin-regular.woff2") format("woff2"), url("fonts/heebo-v4-latin-regular.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* heebo-900 - latin */
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: local("Heebo Black"), local("Heebo-Black"), url("fonts/heebo-v4-latin-900.woff2") format("woff2"), url("fonts/heebo-v4-latin-900.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* dm-serif-display-regular - latin */
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-v3-latin-regular.eot");
  /* IE9 Compat Modes */
  src: local("DM Serif Display Regular"), local("DMSerifDisplay-Regular"), url("fonts/dm-serif-display-v3-latin-regular.eot?#iefix") format("embedded-opentype"), url("fonts/dm-serif-display-v3-latin-regular.woff2") format("woff2"), url("fonts/dm-serif-display-v3-latin-regular.woff") format("woff"), url("fonts/dm-serif-display-v3-latin-regular.ttf") format("truetype"), url("fonts/dm-serif-display-v3-latin-regular.svg#DMSerifDisplay") format("svg");
  /* Legacy iOS */
}
body {
  box-sizing: border-box;
  margin: 0;
  font-family: "DM Serif Display", georgia, helvetica, arial, serif;
  color: #333;
}

p {
  margin: 0;
}

h1 {
  margin-bottom: 0.25em;
  margin-top: 0.25em;
  line-height: 1.2em;
  font-size: 2.5em;
  font-weight: normal;
}

h2 {
  line-height: 1.25em;
  font-size: 1.6em;
  font-weight: normal;
}

h3 {
  margin: 0;
  font-size: 1.6em;
}

#content {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
}

#primaries {
  width: 100vw;
  height: 100vh;
  padding-top: 6em;
  background: url("img/flag.gif") center center fixed;
  background-size: cover;
}

#forgot {
  margin-left: 0;
  margin-right: 0;
  padding: 1em 0.7em;
  background-color: #b5371c42;
}

#content,
#resultsTitle,
.hide,
.answer,
.answer-title {
  display: none;
}

.title {
  margin-bottom: 8px;
  padding: 8px;
  background-color: #B5371C;
  color: white;
  font-weight: bold;
  text-align: center;
}

.question-container:nth-of-type(even) .title {
  background-color: #323A73;
}

.questions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0;
  padding: 0;
  list-style-type: none;
}

.food-name {
  display: none;
}

.is-centered {
  text-align: center;
}

.caption {
  font-style: italic;
}

.answer {
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  margin: 2em 1em;
}
.answer img {
  margin: 0 auto;
  background-color: lightblue;
  border-radius: 50%;
}
.answer h2:not(.candidate-name) {
  padding-top: 2em;
}
.answer .answer-text p {
  margin-bottom: 1em;
}

.answer-item {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100px;
  height: 100px;
  margin: 5px;
  cursor: pointer;
}
.answer-item button {
  padding: 0;
  border: none;
  border-radius: 3px;
  font-size: 1em;
}
.answer-item button:focus .answer-title {
  background-color: rgba(0, 0, 0, 0.8);
}
.answer-item img {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  box-shadow: inset 0 0 0 8px rgba(0, 0, 0, 0);
}

.answer-title-container {
  display: block;
}

.answer-title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  text-shadow: 1px 1px #333;
  font-family: "Heebo", "helvetica neue", helvetica, arial, sans-serif;
  font-size: 1em;
  font-weight: 900;
  text-align: center;
}
.answer-title.answer-title--small {
  font-size: 0.6em;
}
.answer-title p {
  position: absolute;
  bottom: 0;
  font-size: 0.75em;
}

.attribution {
  margin: 2em 0.5em;
  font-family: "Heebo", "helvetica neue", helvetica, arial, sans-serif;
  font-size: 0.8em;
  font-weight: 400;
}

.mm {
  margin: 2.5em 0 1.5em 0;
}

.mochi {
  height: 1em;
}

@media only screen and (min-width: 40em) {
  h1 {
    font-size: 3.5em;
  }

  #content,
.attribution {
    max-width: 80%;
  }

  .attribution {
    margin: 2em auto;
  }

  .main-title {
    margin-top: 1em;
  }

  .questions {
    margin-bottom: 1em;
  }

  h2.title {
    padding: 15px 10px;
    font-size: 2.25em;
  }

  .answer {
    flex-direction: row;
  }
  .answer p {
    margin-bottom: 1em;
  }
  .answer img {
    margin-right: 1.5em;
  }

  .answer-item {
    width: 200px;
    height: 200px;
  }

  .answer-title-container {
    display: none;
  }

  .answer-title {
    background-color: rgba(0, 0, 0, 0.6);
    text-shadow: 0;
    font-size: 2em;
  }
  .answer-title.answer-title--small {
    font-size: 1.25em;
  }
  .answer-title p {
    position: relative;
  }
}
@media only screen and (min-width: 80em) {
  h1 {
    font-size: 4em;
  }

  #content,
.attribution {
    max-width: 75%;
  }

  .main-title {
    margin-top: 1.5em;
    line-height: 1.5em;
  }

  .questions {
    margin-bottom: 2em;
  }

  h2.title {
    padding: 20px 10px;
    font-size: 2.5em;
  }

  .answer-item {
    width: 250px;
    height: 250px;
  }

  .answer-title {
    font-size: 2.5em;
    line-height: 1.25em;
  }
  .answer-title.answer-title--small {
    font-size: 1.5em;
  }
  .answer-title p {
    margin: 10px 15px;
  }
}

/*# sourceMappingURL=style.css.map */
