
/** faq **/
.faq {
  position: relative;
  text-align: center;
}
.container-faq {
  max-width: 1800px;
}
.mask-faq {
  overflow: clip;
  position: relative;
}
.mask-faq::after {
  background: url(../img/texture-2.png) no-repeat top center;
  background-size: contain;
  content: "";
  mix-blend-mode: soft-light;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 99%;
}
.qas {
  background-color: black;
  color: whitesmoke;
  line-height: 1.5;
  margin-block-start: -.5rem;
  overflow-y: auto;
  padding: 1rem;
  text-align: left;
  width: 100%;
}
.qas::-webkit-scrollbar {
  width: 1rem;
  height: 1rem;
}
.qas::-webkit-scrollbar-thumb {
  background: var(--nerd-orange);
  border: 4px solid #7b1600;
  border-radius: 8px;
}
.qas::-webkit-scrollbar-track {
  background-color: #7b1600;
  border: 2px solid #7b1600;
}
.qas::-webkit-scrollbar-button {
  background-color: var(--nerd-orange);
  border: 1px solid #7b1600;
  border-radius: 2px;
}
.qas::-webkit-scrollbar-button:hover {
  background-color: var(--nerd-orange);
}

.qas summary {
  border-bottom: 1px solid black;
  cursor: pointer;
  font-family: var(--title-font);
  font-size: 1.3rem;
  font-weight: bold;
  margin-block-end: .5rem;
  padding-block-end: .5rem;
  padding-inline-end: 1.2rem;
  position: relative;
}
.qas summary::after {
  content: "🔥";
  position: absolute;
  right: 0;
}
.qas p {
  font-size: 1.1rem;
  font-family: var(--text-font);
  line-height: 1.4;
  margin: 0 0 1rem 1rem;
  max-width: 80ch;
}
details[open] summary, .qas summary:hover, .qas summary:focus { color: var(--nerd-yellow);}

@media screen and (min-width: 75em) /* 1200 */ {
  .qas {
    position: absolute;
    top: 20%;
    left: 54%;
    max-height: 72%;
    max-width: 80ch;
    width: 45%;
  }
}

@media screen and (max-width: 40em) /* 640 */{
  .container-faq, .mask-faq::after {
    background-size: cover;
    width: 100%;
    height: 300px;
  }
  .mask-faq::after { width: 200%; }
}