details {
    background: #eee;
    padding: .5rem 1rem;
    margin:  .3em auto!important;
    border-radius: .2em;
    border: .5px solid rgb(203, 203, 203);
  
  }
  
  /* animace prvku*/

  details[open] summary {
    opacity: 0.8;
    animation-name: fadeOut;
    animation-duration: 150ms;
  }

  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0.8;
    }
  }

  details p {
    animation-name: tinyGrow;
    animation-duration: 450ms;
    animation-delay: 0ms;
  }

  @keyframes tinyGrow {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  

  details h3{
    font-size: .95em;
    margin: 0;
    font-weight: 700;
  }

  details p{
    font-size: .85em !important;;
    margin: 0;
  }

  details > summary::before {
    content: '▶ ';
    }
    
  details[open] > summary::before {
  content: '▼ ';
  }

  summary {
    cursor: pointer;
  }
  
  summary > * {
    display: inline;
  }
  

details[open] > summary:before {
  transform: rotate(90deg);
}