
:root {
  --contentHeight: 30vh;
  --sectionWidth: 1130px;
}

* {
  outline: 0;
  box-sizing: border-box;
}


section {
  max-width: var(--sectionWidth);
  margin: auto;
  width: 100%;
   
  }

summary {
  display: block;
  cursor: pointer;
  padding: 10px 2px;
  color: #b07540; font-size: 16px; font-weight: 600; text-transform: ; letter-spacing: 0.06em; 
  transition: .3s;
  border-top: 0.2em solid #7c737e;
  border-bottom: 0.2em solid #7c737e;
  user-select: none;
background-color: rgba(50, 50, 50, .9);
margin: 5px auto;
  }

details > div {
  display: flex;
  flex-wrap: wrap;
  overflow-y: hidden;
  height: 100%;
  user-select: none;
  background-color: rgba(70, 70, 70, .9);
  
  }

details > div > img {
  align-self: flex-start;
  max-width: 100%;
  margin-top: 2px;
  padding: 2px 2px 2px 2px;
  border: 0.05em solid #bbb;
}

details > div > p {
  flex: 1;
  color: #bbb;
  margin-top: 10px;
  font-size: 12px;
padding: 5px 5px ;
border: 0.05em solid #bbb;
}

details[open] > summary {
color: #bbb;
}

@media (min-width: 768px) {
  
  details[open] > div > p {
    opacity: 0;
    animation-name: showContent;
    animation-duration: 0.6s;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
    margin: 2px;
    padding-left: 20px;
	color: #bbb;
	border: 0.05em solid #bbb;
  }

  details[open] > div {
    animation-name: slideDown;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
	margin: 5px 0;
	
  }

  details[open] > div > img {
    opacity: 0;
    height: 100%;
    margin: 0;
    animation-name: showImage;
    animation-duration: 0.3s;
    animation-delay: 0.15s;
    animation-fill-mode: forwards;
	margin: 2px;
	padding: 0px 0px;
	border: 0.05em solid #bbb;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    height: 0;
    padding: 0;
  }

  to {
    opacity: 1;
    height: var(--contentHeight);
    padding: 0px;
  }
}

@keyframes showImage {
  from {
    opacity: 0;
    clip-path: inset(50% 0 50% 0);
    transform: scale(0.4);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes showContent {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}