details {
  max-width: 960px;
  margin: 1rem auto;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
}

details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0;
  transition: margin-bottom 0.4s;
  position: relative;
  color: #20333d;
  font-size: 1.17em;
  padding-right: 4rem;
}

details .btn-1,
details .btn {
  display: inline-flex;
}

details .btn-1 img,
details .btn img {
  filter: invert(1) brightness(2);
  transform: translateY(-3px);
}

details .span {
  font-size: 1rem;
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0 0 0 / 50%);
}

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

details summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  margin-right: 1rem;
  cursor: pointer;
  background-color: #76bde369;
  padding: 0.75rem;
  display: grid;
  place-content: center;
  aspect-ratio: 1;
  line-height: 0;
  position: absolute;
  top: -0.5rem;
  right: -1.5rem;
  border-radius: 50%;
}

details *:not(summary) {
  animation-name: fade;
  animation-duration: 0.4s;
}

details[open] summary {
  margin-bottom: 1.5rem;
}

details[open] summary::after {
  content: "−";
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
