summary {
  font-size: 1.25rem;
  font-weight: 600;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.35)
  );
  border: 2px solid white;
  color: #fff;
  padding: 1rem;
  margin-bottom: 1rem;
  outline: none;
  border-radius: 1rem;
  text-align: left;
  cursor: pointer;
  position: relative;
}
details > summary::after {
  position: absolute;
  content: "+";
  right: 20px;
}
details[open] > summary::after {
  position: absolute;
  content: "-";
  right: 20px;
}
details > summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0.55)
  );
}

details[open] summary ~ * {
  animation: sweep 0.5s ease-in-out;
}
@keyframes sweep {
  0% {
    opacity: 0;
    margin-top: -10px;
  }
  100% {
    opacity: 1;
    margin-top: 0px;
  }
}

details {
  margin-top: 1rem;
}

.faq__content p {
  color: #fff;
}

@media (max-width: 420px) {
  summary {
    font-size: 1rem;
  }
}
