/* darkblue: #14443e */
/* cream: #f1d09f */
/* tomato: #e0592a */

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

html {
  margin: 0;
  background: #14443e;
}
body {
  margin: 1rem;
  padding: 1rem;
  color: #14443e;
  background: #f1d09f;
  font-family: open-sans, sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  min-height: 90vh;
}

body.ar {
  background: none;
}

.hidden {
  display: none !important;
}

.title {
  font-family: matrix-ii, serif;
  font-weight: 700;
  font-size: 2rem;
}
.title em {
  font-style: normal;
  font-size: 120%;
}
.title small {
  font-size: 1rem;
}

body.ar .title {
  display: none;
}

.instructions {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 24rem;
  padding: 0 1rem 1rem;
}
.instructions ol {
  padding: 0;
  list-style: none;
  counter-reset: instructions;
}
.instructions ol li {
  margin-bottom: 1rem;
  counter-increment: instructions;
}
.instructions ol li:before {
  content: counter(instructions);
  display: block;
  font-weight: 800;
  font-size: 1.25rem;
  color: #e0592a;
  text-shadow: 0px 1px #14443e, 0px 2px #14443e, 1px 1px #14443e,
    -1px 1px #14443e, 0px -1px #14443e;
}

body.ar .instructions {
  display: none;
}

.silhouette {
  max-width: 100%;
  height: auto;
}

button {
  background: #e0592a;
  color: #f1d09f;
  border-radius: 4px;
  border: 2px solid #14443e;
  text-shadow: 1px 1px 0px #14443e;
  padding: 0.4rem 1.4rem;
  display: inline-block;
  margin: 2rem auto 0;
  font-family: sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1.618rem;
}

.loading button {
  display: none;
}

/* Decorations */
.snowflake-1 {
  position: absolute;
  top: 45%;
  left: 10%;
  z-index: 1;
}
.snowflake-2 {
  position: absolute;
  top: 20%;
  right: 10%;
  z-index: 1;
}
.scales {
  position: absolute;
  top: 75%;
  right: 10%;
  z-index: 1;
}

body.ar .snowflake-1,
body.ar .snowflake-2,
body.ar .scales {
  display: none;
}
