:root {
  --transition-time: 0.3s;
  --transition-ease: ease;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1;
}

.content ul,
.content ol{
  margin-bottom: 1rem;
  list-style-position: inside;
}

.content li {
  margin-bottom: 0.5rem;
}

.content ul {
  list-style-type: circle;
}
.content ol {
  list-style-type: decimal;
}

.obfuscate {
  unicode-bidi: bidi-override;
  direction: rtl;
}

details {
  display: block;
}

details summary {
  cursor: pointer;
}

details.custom {}

details.custom summary {
  display: flex;

  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f5f5f5;
}

details.custom summary > * {
  flex: 1;
}

summary:after {
  --size: 0.75rem;
  content: '';
  width: var(--size);
  height: var(--size);
  margin-inline-end: 1rem;
  transition: transform var(--transition-time) var(--transition-ease);

  align-self: center;
  background-color: black;
  background-size: var(--size);
  mask-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M496 192H320V16c0-8.836-7.164-16-16-16h-96c-8.836 0-16 7.164-16 16v176H16c-8.836 0-16 7.164-16 16v96c0 8.836 7.164 16 16 16h176v176c0 8.836 7.164 16 16 16h96c8.836 0 16-7.164 16-16V320h176c8.836 0 16-7.164 16-16v-96c0-8.836-7.164-16-16-16z'/%3E%3C/svg%3E%0A");
}

details.custom[open] > summary {
  margin-bottom: 1rem;
}

details[open] > summary:after {
  transform: rotate(-45deg);
}
