/* Main content styles */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
main .intro {
  margin: 5rem auto 3rem auto;
  text-align: center;
}
main .faq-item {
  margin-bottom: 1em;
}
main .faq-question {
  width: 100%;
  text-align: left;
  background-image: url('../img/bg-texture.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  border: none;
  padding: 1em;
  font-size: 1.1em;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s;
  box-shadow:
    0 4px 6px var(--primary-shadow-color),
    0 5px 15px var(--secondary-shadow-color);
}
main .faq-question:hover {
  transform: scale(1.01);
}
main .faq-answer {
  max-height: 0;
  text-align: justify;
  overflow: hidden;
  padding: 0 2em;
  transition: padding 1s ease;
}
main .faq-item.active .faq-answer {
  max-height: fit-content;
  padding: 2em 2em 1em 2em;
}
main .faq-answer p {
  margin: 0.5rem 0;
  line-height: 1.6;
}
main .uniform p {
  margin-bottom: 1.5rem;
}
main a {
  color: var(--primary-green-color);
  font-weight: 500;
  text-decoration: none;
}
main a:hover {
  text-decoration: underline;
}
main .faq-answer ul {
  margin: 1rem 0 2rem 2rem;
}
main .faq-answer li {
  line-height: 1.5;
}
main .uniform ul:nth-last-of-type(2) {
  margin-bottom: 1rem;
}
main .uniform img {
  width: 500px;
  border-radius: 50px;
  cursor: zoom-in;
}
main .lightbox {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--lightbox-background-color);
  cursor: zoom-out;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
main .lightbox .lightbox-img {
  border: 3px solid var(--primary-background-color);
  border-radius: 50px;
  box-shadow:
    0 4px 6px var(--primary-shadow-color),
    0 5px 15px var(--secondary-shadow-color);
  animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: zoom-out;
}
main .lightbox .lightbox-caption {
  margin-top: 15px;
  color: var(--white-text-color);
  text-align: center;
  font-style: italic;
}
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
main small {
  text-align: center;
  display: block;
  width: 500px;
}

/* Responsive design */
@media screen and (max-width: 1200px) {
  main p,
  main li,
  main .faq-question {
    font-size: 0.95em;
  }
}
@media screen and (max-width: 900px) {
  main {
    max-width: 500px;
  }
  main .uniform img,
  main small {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  main .intro h1 {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  }
  main .intro p,
  main .intro {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.3;
  }
  main p,
  main li,
  main .faq-question {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  }
  main h2 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
  }
}
