section.accordion {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid black;
  width: 100%;
}

section.accordion header {
  width: 100%;
  height: 3em;
  display: flex;
  padding: var(--std-padding-small);
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

img.hidden {
  display: none;
}

.accordion-content {
  width: 80%;
  max-height: 0;
  overflow: hidden;
  height: fit-content;
  transition:
    max-height 0.5s ease-in-out,
    padding 0.5s ease-in-out;
}

@media screen and (max-width: 900px) {
  main,
  .accordion,
  .accordion-content {
    padding: 0;
    width: 100%;
  }
}

section.accordion:nth-of-type(even) {
  background-color: var(--list-even-bright);
}
section.accordion:nth-of-type(odd) {
  background-color: var(--list-odd-bright);
}
