STYLO DE CSS PARA DISPLAY Y SUMMARY

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600&display=swap');
 

body {  
  background: #f6f8fa;
  margin: 0;
  font-family: 'Quicksand', sans-serif;
}
.faq-container {    
  max-width: 800px;
  margin: 30px 100px 0 100px;
  padding: 2rem;
  background-color: aqua;   
}
.faq-container h2 {
  margin-bottom: 50px;
  font-size: 3.5rem;
  font-weight: 600;
  text-align: center;
  color: #996666;
}
details { 
  background-color: #f6a611;
  width: 100%;
  margin-bottom: 1rem;   
  border-radius: 8px;  
  border: 1px solid #d8e0e9;
  color: #364f6b;
  position: relative;  
}
details summary {  
  font-weight: 400;
  font-size: 5.25rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}
details p {
  padding: 1rem;
  margin: 0 1rem 1rem 1rem;
  background-color: darkkhaki;
  border-left: 2px solid #364f6b;
  font-size: 4 rem;    
}

details:hover,
details[open] {
  box-shadow: 5px 5px 15px #aaaaaa;
}

details[open] {
  background-color: darkkhaki;
  color: darkblue;
font-size: 2rem;    
      
}

details[open] summary {
  font-weight: 600;
}

details summary::before {
  position: absolute;
    content: "👇";    
    font-size: 1.75rem;
    top: 10px;
    right: 16px;  
}

details[open] summary::before {
  -webkit-animation: rotate 0.6s ease-in-out both;
          animation: rotate-emoji 0.6s ease-in-out both;
}

@-webkit-keyframes rotate-emoji {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
  }
}
