@charset "UTF-8";

#page #title {
  margin: 80px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#page #title h1 {
  color: var(--primary-color);
  font-size: 4rem;
}
#page #title h1::after {
  content: attr(data-title);
  margin-bottom: 3px;
  color: #000;
  font-size: 1.4rem;
}
#page #title img {
  border-radius: 10px;
}
#page ul {
  margin-bottom: 40px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
#page li {
  padding: 15px;
  width: calc(50% - 20px);
  background: #fff;
  border: solid 1px #ccc;
  border-radius: 5px;
}
#page li figure {
  display: flex;
  align-items: center;
  gap: 20px;
}
#page li figure picture {
  flex-shrink: 0;
}
#page .gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
}
#page .gallery img {
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  #page #title {
    margin: 40px 0;
    flex-direction: column-reverse;
    gap: 20px;
  }
  #page #title h1, #page #title picture {
    width: 100%;
  }
  #page #title h1 {
    font-size: 3.6rem;
    text-align: center;
  }
  #page li {
    width: 100%;
  }
  #page .gallery {
    gap: 10px;
  }
}