@charset "UTF-8";
:root {
  --gutter: clamp(1ch, 2.5vmax, 3ch);
  --stack: clamp(1.25ex, 2.5vmax, 1.75ex);
  --line-length: 70ch;
  --page-padding-inline: calc(
    (100vw - min(90rem, 100vw - var(--gutter) * 3)) / 2
  );
  --section-spacing: clamp(var(--stack) * 4, 10vmax, var(--stack) * 6);
  --pt-double-canon: 4.666rem;
  --pt-canon: 3.999rem;
  --pt-double-great-primer: 2.999rem;
  --pt-double-english: 2.333rem;
  --pt-double-pica: 2rem;
  --pt-paragon: 1.666rem;
  --pt-great-primer: 1.5rem;
  --pt-english: 1.166rem;
  --pt-pica: 1rem;
  --pt-small-pica: 0.916rem;
  --pt-long-primer: 0.833rem;
  --pt-bourgeois: 0.75rem;
  --pt-chu: 3.499rem;
  --pt-xiaochu: 2.999rem;
  --pt-yi: 2.166rem;
  --pt-xiaoyi: 1.999rem;
  --pt-er: 1.833rem;
  --pt-xiaoer: 1.5rem;
  --pt-san: 1.333rem;
  --pt-xiaosan: 1.25rem;
  --pt-si: 1.166rem;
  --pt-xiaosi: 1rem;
  --pt-wu: 0.875rem;
  --pt-xiaowu: 0.75rem;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(100%, 90% + 0.5vw, 150%);
  font-weight: 300;
  line-height: 1.4;
  color-scheme: dark light;
} 

/*body {
  -webkit-animation: bugfix infinite 1s;
}*/

@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
body {
 display: grid;
  gap: var(--section-spacing);
  padding-inline: var(--page-padding-inline);  
  color: #fff;
  background-color: #000;
  overflow-x: hidden;
  background-attachment: fixed;
  padding-top: 2em;
  overflow-y: scroll;
}

.wrap {
  display: block;
  max-width: 1024px;
  margin: 0 auto 2em;
  padding: 0 1em;
  width: 100%;
}

@media (min-width: 43.75em) {
  .wrap {
    padding: 3em;
  }
}

p {
  
  text-align: left;
}

a, a:visited {
  color: #4bc5b7;
  text-decoration: none;
}

.question-section {
  background: black;
  display: inline-block;
  font-size: 1rem;
  margin-bottom: 5em;
  padding: 1em;
  position: relative;
  vertical-align: top;
  width: 100%;
  
}
@media (min-width: 50em) {
  .question-section {
    font-size: .75rem;
    padding: 1em 1.5em;
  }
}
@media (min-width: 62.5em) {
  .question-section {
    font-size: 1rem;
  }
}
.question-section h1 {
  color: #fff;
  font-size: 1.25em;
  font-size: 5.5vw;
  font-weight: 600;
  margin-bottom: .25em;
}

.question-section p {
  max-width: calc(150vw - 10%);
  margin-left:.75em;
  margin-right: .9em;
}

@media (min-width: 32.25em) {
  .question-section h1 {
    font-size: 2.25em;
    font-size: 4.9vw;
  }
}
@media (min-width: 67.5em) {
  .question-section h1 {
    font-size: 3.25em;
  }
}
.question-section > p, .question-section > h1 {
  text-align: center;
}
.question-section > p {
  font-size: 0.667em;
  font-size: 2.8vw;
  margin-bottom: 1em;
  color:  rgba(255,255,255, 0.8);
}

@media (min-width: 22.1875em) {
  .question-section > p {
    font-size: 0.667em;
  }
}
@media (min-width: 31.25em) {
  .question-section > p {
    font-size: 1em;
  }
}
@media (min-width: 81.25em) {
  .question-section > p {
    font-size: 1.15em;
  }
}

div[class^="cat"] {
  width: 100%;
}
div[class^="cat"] > label {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0px 0px 1px rgba(255, 255, 255, 0.2), 1px 1px 2px rgba(255, 255, 255, 0.2) inset, 0px 1px 1px rgba(255, 255, 255, 0.2);
  color: #ccc;
  cursor: pointer;
  display: block;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 0.5em;
  padding: 0.75em 0.5em;
  transition: all 0.55s;
}
div[class^="cat"] > label:hover {
    box-shadow: 0 2px 10px rgba(5, 131, 202, 0.4), 0 2px 0 rgba(250, 250, 250, 0.2) inset, 5px 0 6px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.4);
}
@media (min-width: 50em) {
  div[class^="cat"] > label {
    font-size: 1.35em;
  }
}
div[class^="cat"] > input {
  position: absolute;
  z-index: -999;
}
div[class^="cat"] > input:focus + label {
  background: rgba(255, 255, 255, 0.1);
  letter-spacing: 1px;
}
div[class^="cat"] .question-wrap {
  height: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
  width: 100%;
}
div[class^="cat"] > input:checked ~ .question-wrap {
  max-height: 1000px;
  opacity: 1;
  transition: all 1.95s cubic-bezier(0.19, 1, 0.22, 1);
}
.question-wrap .question {
  margin: 1em 0;
}
.question-wrap label {
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  display: block;
  font-weight: 600;
  margin-bottom: 0.5em;
  margin-left: .75em;
}
@media (min-width: 50em) {
  .question-wrap label {
    font-size: 1.25em;
  }
}
.question-wrap input {
  position: absolute;
  z-index: -999;
  top: -10000px;
}
.question-wrap input:focus + label {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.question-wrap input:focus + label, span {
  font-weight: 300;
  font-size: calc(1vw + 50%);
  color: #0a6090
}

.question-wrap input:not(:checked) ~ p {
  height: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
  padding-bottom: 0px;
  border-bottom: 0px solid #333;
}
.question-wrap input:checked ~ p {
  font-weight: 300;
  max-height: calc(50% + 10vh);
  opacity: 1;
  transition: all 1.95s cubic-bezier(0.19, 1, 0.22, 1);
  padding-bottom: 14px;
  border-bottom: 1px solid #0a6090;
}

input:focus {
  border: 3px solid red;
  outline: 3px solid red;
  background: red;
}

a:focus {
  color: #085078;
  font-weight: bold;
  outline: none;
}