:root {
  font-size: 16px;
  --heading-color: #342e82;
  --body-color: #111;
  --button-color: #861a8e;
  --teacherbutton-color: #479ac7;
}
.open-sans {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

roboto-slab {
  font-family: "Roboto Slab", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: #ebeaf1;
  font-family: "Open Sans", sans-serif;
}

h1 {
  font-family: "Roboto Slab", serif;
  font-size: 4rem;
  text-align: center;
  color: var(--heading-color);
  font-optical-sizing: auto;
  margin-bottom: 0;
  line-height: 1;
  a {
    color: var(--heading-color);
    text-decoration: none;
  }
}

h2 {
  display: block;
  margin: 1em auto 0 auto;
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
  line-height: 1.1;
  max-width: 25ch;
  text-align: center;
  color: var(--body-color);
  font-optical-sizing: auto;
}
p {
  line-height: 1.3;
  font-size: 1rem;
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
}
.containerfullwidth {
  display: block;
  margin: 0 auto;
  text-align: center;
  width: 100vw;
  padding: 0;
  min-width: 100vw;
  background-color: #861a8e;
  h2 {
    font-size: 2rem;
    font-family: "Open Sans", sans-serif;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    padding: 0.25em 0;
  }
}
.questionstatus {
  background-color: #000;
  display: block;
  margin: 0 auto;
  text-align: center;
  width: 100vw;
  padding: 0;
  min-width: 100vw;
  &::after {
    content: "";
    display: block;
    clear: both;
  }
}
.container {
  display: block;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: calc(100% - 2em);
}
img.brainicon {
  display: block;
  margin: 1em auto;
  width: 200px;
  height: auto;
}
.innercontainer {
  h2 {
    font-size: 2.5rem;
    margin: 0 auto;
    color: var(--heading-color);
    strong {
      color: var(--button-color);
    }
  }
  p {
    font-size: 1.75rem;
    margin: 0.5em auto;
    max-width: 60ch;
    font-weight: 600;
    font-family: "Roboto Slab", serif;
  }

  a.btnleft {
    display: inline-block;
    margin: 1em;
    background-color: var(--button-color);
    color: #fff;
    font-size: 2rem;
    padding: 0.75em 1.5em;
    text-decoration: none;
    font-weight: bold;
  }
  a.btnright {
    display: inline-block;
    margin: 1em;
    background-color: var(--heading-color);
    color: #fff;
    font-size: 2rem;
    padding: 0.75em 1.5em;
    text-decoration: none;
    font-weight: bold;
  }
}
.innercontainer {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  /* max-width: calc(100% - 2em); */
  &.teachers {
    background-color: var(--teacherbutton-color);
    width: 100vw;
    min-width: 100vw;
    min-height: 100vh;
    margin: 0 calc(50% - 50vw);
    .container {
      display: block;
      width: 100%;
      max-width: 800px;
      margin: 0 auto;
      text-align: left;
      padding: 1em 0;
      /* max-width: calc(100% - 2em); */
      color: #fff;
      p,
      li {
        margin: 1em 0;
        line-height: 1.3;
        font-size: 1rem;
        font-family: "Open Sans", sans-serif;
      }
      em {
        font-style: italic;
        font-weight: normal;
      }
      h1 {
        font-size: 2rem;
        color: #fff;
        max-width: 60ch;
      }
      h2 {
        font-size: 1.5rem;
        color: #fff;
        text-align: left;
        line-height: 1.2;
        margin: 1em 0;
        max-width: 60ch;
      }
    }
    /* a {
        color: #000;
        text-decoration: underline;
        font-weight: 700;
        &:hover {
          color: var(--button-color);
          text-decoration: underline;
      } */
  }
}
.returnlogo img {
  display: block;
  margin: 1em auto;
  @media screen and (min-width: 600px) {
    float: right;
    width: 180px;
    height: auto;
  }
}
a.startbutton {
  display: inline-block;
  margin: 2em auto;
  background-color: var(--button-color);
  color: #fff;
  font-size: 2rem;
  padding: 0.75em 1.5em;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
}

a.teacherbutton {
  display: inline-block;
  margin: 2em auto;
  background-color: var(--teacherbutton-color);
  color: #fff;
  font-size: 1.25rem;
  padding: 0.75em 1.5em;
  text-decoration: none;
  font-weight: bold;
}

#return {
  display: block;
  margin: 10px 0 10px 0;
  background-color: #dad4e8;
  padding: 4px 0;
  text-align: center;
  color: #fff;
  -webkit-border-top-left-radius: 12px;
  -webkit-border-top-right-radius: 12px;
  -moz-border-radius-topleft: 12px;
  -moz-border-radius-topright: 12px;
  border-radius: 12px 12px 0 0;
  behavior: url(/js/PIE_beta4.htc);
}

#txt {
  margin: 0;
  padding: 0;
}
#txt #info h1 {
  margin: 0.8em 0;
  font-size: 125%;
  text-align: center;
  font-weight: normal;
  color: #fff;
  font-family: "KingthingsExeterRegular", "Times New Roman", serif;
  margin-bottom: 2%;
  text-shadow:
    -4px 4px 12px rgba(255, 255, 255, 0.7),
    4px -4px 12px rgba(255, 255, 255, 0.7);
}
#return a {
  margin: 0.2em 0;
  font-size: 45%;
  font-weight: normal;
}
#txt #info p {
  font-size: 125%;
  text-align: center;
  font-weight: normal;
  color: #fff;
  line-height: 110%;
  margin: 2% 10%;
}

#txt #info p.question {
  font-size: 110%;
  text-align: center;
  font-weight: normal;
  color: #fff;
  line-height: 110%;
  margin: 1% 10%;
  padding-bottom: 1%;
  border-bottom: solid 2px #ccc;
  font-family: "Arial Bold", Arial, Helvetica, sans;
}

#txt #info p.hint {
  font-size: 85%;
  text-align: center;
  font-weight: normal;
  color: #fff;
  line-height: 110%;
  margin: 5% 10% 2% 10%;
  font-style: italic;
  font-family: "Arial Bold", Arial, Helvetica, sans;
}

#txt #info p.poss {
  font-size: 65%;
  text-align: center;
  font-weight: normal;
  color: #fff;
  line-height: 110%;
  margin: 1% 10% 1% 10%;
  font-family: "Arial Bold", Arial, Helvetica, sans;
}

#txt #info p.finalinfo {
  font-size: 55%;
  text-align: left;
  font-weight: normal;
  color: #fff;
  line-height: 110%;
  margin: 1% 10% 2% 10%;
  font-style: normal;
  font-family: Arial, Helvetica, sans;
}

#txt #info .date {
  font-size: 85%;
  text-align: center;
  font-weight: normal;
  color: #ccc;
  line-height: 110%;
  margin: 1% 10%;
}

#txt #info p a {
  color: #fff;
}
#txt #info p a:hover {
  color: #fff;
  text-decoration: underline;
}

#txt #info p.question {
  font-size: 85%;
  text-align: center;
  font-weight: normal;
  color: #ccc;
  line-height: 110%;
  margin: 1% 10%;
  padding-bottom: 1%;
  border-bottom: solid 2px #ccc;
  font-family: "Arial Bold", Arial, Helvetica, sans;
}

#txt #info p.ph {
  font-size: 85%;
  text-align: center;
  font-weight: normal;
  color: #ccc;
  line-height: 110%;
  margin: 1% 10%;
  padding-bottom: 1%;
  font-family: "KingthingsExeterRegular", "Times New Roman", serif;
}

p.ph a {
  text-decoration: none;
}

#txt #info p.ph a:hover {
  text-align: center;
  font-weight: normal;
  color: #fff;
  line-height: 110%;
  margin: 1% 10%;
  padding-bottom: 1%;
  font-family: "KingthingsExeterRegular", "Times New Roman", serif;
  text-decoration: underline;
}

#hint,
#hint-final {
  background-color: #4630b5;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  display: block;
  float: left;
  font-size: 200%;
  font-weight: bold;
  margin-left: 40%;
  margin-top: 2%;
  padding: 1%;
  text-align: center;
  width: 7%;
  behavior: url(/js/PIE_beta4.htc);
}

#hint:hover,
#hint-final:hover {
  background-color: #00b7de;
  background-color: #5e41f5;
  -moz-box-shadow:
    -4px 4px 12px rgba(255, 255, 255, 1),
    4px -4px 12px rgba(255, 255, 255, 1);
  -webkit-box-shadow:
    -4px 4px 12px rgba(255, 255, 255, 1),
    4px -4px 12px rgba(255, 255, 255, 1);
  behavior: url(/js/PIE_beta4.htc);
}

#hint a,
#hint-final a,
#answer a,
#answer-final a {
  color: #24195d;
  text-decoration: none;
  font-size: 70%;
  display: block;
  font-family: "Arial Bold", Arial, Helvetica, sans;
}

#answer a i {
  font-family: "Times New Roman", serif;
}

#hint a:hover,
#hint-final a:hover,
#answer a:hover,
#answer-final a:hover {
  color: #000;
  text-decoration: none;
  font-size: 70%;
}

#answer,
#answer-final {
  display: block;
  width: 15%;
  float: right;
  background-color: #1ea400;
  background-color: #4630b5;
  margin-right: 42%;
  text-align: center;
  -moz-border-radius: 12px; /* FF1+ */
  -webkit-border-radius: 12px; /* Saf3+, Chrome */
  border-radius: 12px; /* Opera 10.5, IE 9 */
  behavior: url(/js/PIE_beta4.htc);
  margin-bottom: 5%;
  margin-top: 2%;
  padding: 0.5%;
}
#answer,
#answer-final {
  background-color: #4630b5;
  -moz-border-radius: 50%; /* FF1+ */
  -webkit-border-radius: 50%; /* Saf3+, Chrome */
  border-radius: 50%;
  display: block;
  float: right;
  font-size: 200%;
  font-weight: bold;
  margin-right: 40%;
  margin-top: 2%;
  padding: 1%;
  text-align: center;
  width: 7%;
  behavior: url(/js/PIE_beta4.htc);
}
#answer-final,
#hint-final {
  margin-right: 45%;
}
#hint-final {
  margin-left: 45%;
}
#answer:hover,
#answer-final:hover {
  background-color: #24be00;
  background-color: #5e41f5;
  -moz-box-shadow:
    -4px 4px 12px rgba(255, 255, 255, 1),
    4px -4px 12px rgba(255, 255, 255, 1);
  -webkit-box-shadow:
    -4px 4px 12px rgba(255, 255, 255, 1),
    4px -4px 12px rgba(255, 255, 255, 1);
  behavior: url(/js/PIE_beta4.htc);
}
.clear {
  clear: both;
  display: block;
  margin: 3%;
}

#txt #info p.copyright {
  font-size: 8px;
  text-align: center;
  font-weight: normal;
  color: #999;
  padding: 3%;
  font-family: "Arial Bold", Arial, Helvetica, sans;
}
#return {
  padding: 0;
}
#return a {
  color: #333;
  text-decoration: none;
  font-size: 40%;
  line-height: 2%;
  margin: 0;
  padding: 0;
}

#return a:hover {
  color: #000;
  text-decoration: none;
}

.gradient-radial {
  color: #fff;
  width: 20%;
  height: 20%;
  padding: 2%;
  background: -webkit-gradient(
    radial,
    40% 40%,
    0,
    40% 40%,
    60,
    from(#7966d6),
    to(#4630b5)
  );
  background: -moz-radial-gradient(40% 40%, farthest-side, #7966d6, #4630b5);
}

#hint,
#hint-final,
#answer,
#answer-final {
  -moz-border-radius: 6em; /* FF1+ */
  -webkit-border-radius: 6em; /* Saf3+, Chrome */
  border-radius: 6em; /* Opera 10.5, IE 9 */
  behavior: url(/js/PIE_beta4.htc);
}

.thedate {
  width: 100vw;
  background-color: var(--button-color);
  color: #fff;
  margin: 0 auto;
  text-align: center;
  font-size: 2.5rem;
  padding: 0.25em 0;
}

.innercontainer.answers h2 {
  margin: 0.125em auto;
  max-width: 70ch;
  font-size: 3rem;
  color: var(--heading-color);
  line-height: 1.1;
}
.innercontainer.answers h3 {
  font-size: 3rem;
  color: var(--button-color);
  font-family: "Roboto Slab", serif;
  font-weight: bold;
  margin: 0.5em auto 0.25em auto;
  max-width: 70ch;
}

.innercontainer.answers p {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0.5em auto 1em auto;
  max-width: 70ch;
  font-weight: 600;
}

.innercontainer.answers p.copyright {
  margin-top: 3em;
}

.innercontainer.answers a {
  color: var(--body-color);
  text-decoration: underline;
  font-weight: 800;
  &:hover {
    color: var(--button-color);
    text-decoration: underline;
  }
}
.q-and-a {
  display: block;
  margin: 2em auto;
  text-align: left;
  width: 100%;
  max-width: calc(100% - 2em);
  .row {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    gap: 2em;
    justify-content: space-between;
    align-content: stretch;
    align-items: baseline;
    justify-items: start;
    h4 {
      color: #333;
      font-size: 1.3rem;
      line-height: 1.1;
      text-transform: uppercase;
      font-weight: 600;
    }
    p {
      line-height: 1.5;
    }
  }
  .hint1,
  .hint2,
  .hint3,
  .row2,
  .row3,
  .row4 {
    display: none;
  }
}

input[type="checkbox"] {
  width: 30px;
  height: 30px;
  size: 30px;
}
.answer {
  display: none;
  margin: 2em auto;
  padding: 1em 0;
  text-align: center;
  width: 100%;
  max-width: calc(100% - 2em);
  border-top: solid 1px #333;

  a.whybutton {
    display: block;
    margin: 2em auto;
    background-color: var(--heading-color);
    color: #fff;
    font-size: 1.5rem;
    padding: 0.75em 2.5em;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    &:hover,
    &:focus {
      background-color: var(--heading-color);
      color: #fff;
      text-decoration: none;
    }
  }
}

table {
  border-collapse: collapse;
  margin: 2em auto;
  width: 100%;
  max-width: calc(100% - 2em);
  th,
  td {
    display: block;
    margin: 1em 0;
    @media screen and (min-width: 600px) {
      display: table-cell;
      border: solid 1px #fff;
      padding: 0.5em;
      text-align: left;
      font-family: "Open Sans", sans-serif;
      line-height: 1.3;
      font-size: 1rem;
    }
    a {
      color: var(--color-white);
      text-decoration: underline;
      font-weight: 500;
      &:hover {
        color: var(--button-color);
        text-decoration: underline;
      }
    }
  }
}
