 /* CSS Document */

:root {
  interpolate-size: allow-keywords;
}

body {
  background: #FEFEFA;
  font-family: 'Beirut', sans-serif;
}

a img {
  transition: 0.5s ease;
  transform: scale(1.05);
}

a {
  overflow: hidden;
}

a img:hover {
  transform: scale(1.1);
}

h1, h2 {
    font-weight: 400;
    letter-spacing: 0px;
    margin: 0 auto;
    text-align: center;
    color: darkgray;
}

summary {
  display: block;
  cursor: pointer;
  padding: 10px;
  transition: .3s;
  border-bottom: 2px solid darkgray;
  user-select: none;
  max-width: 400px;
  margin: 0 auto;
}

details summary::-webkit-details-marker {
  display:none;
}

details {

}

details .content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

details[open] .content {
  max-height: 5000px;
  opacity: 1;
}

details[open] summary {
  border-bottom: none;
}

.content {
    max-width:720px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

details[open]::after {
  content: "";
  display: block;
  height: 2px;
  background: darkgray;
  max-width: 420px;
  margin: 0 auto;
  margin-top: 0px;  /* spacing from content */
}
