:focus {
  outline: none;
}

div + div {
  clear: both;
}

p {
  line-height: 1.4em;
  color: #9e9e9e;
}

.faq-title {
  font-size: 2em;
  margin: 0.4em 0;
}

div.seperator {
  width: 7.5em;
  background-color: var(--first-color);
  height: 0.07em;
  margin-left: -1.8em;
}

.faq-list > div {
  border-bottom: 0.07em solid #ededed;
  padding: 1em 0em;
}

.faq-list > div:last-child {
  border: initial;
}

summary {
  font-size: 1.4em;
  font-weight: bold;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

summary:hover {
  color: var(--first-color);
  transition: all 0.3s ease;
}

details[open] summary ~ * {
  animation: sweep 0.5s ease-in-out;
}

@keyframes sweep {
  0% {
    opacity: 0;
    margin-left: -10px;
  }
  100% {
    opacity: 1;
    margin-left: 55px;
  }
}

details[open] summary {
  color: var(--first-color);
}

details[open] p {
  border-left: 2px solid var(--first-color-alt);
  margin-left: 55px;
  padding-left: 25px;
  opacity: 100;
  transition: all 3s ease;
}

details[open] summary:after {
  content: "-";
  font-size: 3.2em;
  margin: -0.5em 0.14em 0 0;
  font-weight: 200;
}

.faq-body {
  width: 70vw;
  margin: 10vh auto;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  border-radius: 0.2em;
  padding: 5em;
  background-color: var(--background-color);
}

.faq-list {
  width: 55em;
  margin: 1em auto;
  padding: 2em 0;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  background: transparent;
  border-radius: 0.3em;
  content: "+";
  color: var(--first-color);
  float: left;
  font-size: 1.8em;
  font-weight: bold;
  margin: -0.3em 0.25em 0 0;
  padding: 0;
  text-align: center;
  width: 25px;
}
