details {
    padding: 0 1rem;
    transition: 0.2s;
    margin: 1rem 0;
}

details summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: xx-large;
    font-weight: bold;
}

details summary:hover {
    text-decoration: underline;
    cursor: pointer;
}

details:has(summary:hover) {
    box-shadow: 10px 10px var(--shadow);
    border-top: 1px solid var(--highlight-hover);    
    border-left: 1px solid var(--highlight-hover);    
}

details summary::after {
  content: '';
  width: 0; 
  height: 0; 
  border-top: 10px solid var(--text);
  border-inline: 7px solid transparent;
  transition: 0.2s;
}

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

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

