/* Palette colori */
:root {
  --whitish: #fdfbfe;
  --blackish: #151514;
  --gold: #ae9c85;
  --stone: #B8B8B8;
}

html {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  scroll-behavior: smooth;
}

body {
  background-image: url('../images/sfondo2.jpg');
  background-repeat: repeat;
  background-size: auto; /* keep original size, or set e.g. 200px 200px */
  background-blend-mode: lighten;
}

  h2 {
    font-family: "Herr Von Muellerhoff", cursive;
    font-weight: 400;
    font-style: normal;
    color: var(--blackish);
    margin: 0em;
    font-size: 3em
  }

    h3 {
    font-family: "Herr Von Muellerhoff", cursive;
    font-weight: 400;
    font-style: normal;
    color: var(--blackish);
    margin-bottom: 0.5em;
    font-size: 2em
  }

  .question {
    font-family: 'Old Standard TT', serif;
    font-size: 1rem; /* scales with user settings */
    font-style: italic;
  }

  .answer {
    font-family: 'Old Standard TT', serif;
    font-size: 0.75rem; /* scales with user settings */
    font-style: italic;
    padding-bottom: 15px;
  }

  .qa-images {
  display: flex;
  justify-content: center; /* center horizontally */
  gap: 1rem; /* space between the images */
  margin-bottom: 2rem; /* space before the questions */
}

.qa-images img {
  height: 80px;   /* or whatever size fits your design */
  width: auto;  /* keep aspect ratio */
}

.two-column {
  display: flex;
  align-items: center; /* center everything vertically */
  margin: 10 auto;
}

.two-column .column {
  flex: 1;
  padding: 1rem;
}

a {
  text-decoration: none;
}
.separator {
  width: 2px;
  background-color: #ccc;
  height: 100px; /* adjust this to make it shorter */
  align-self: center; /* center it in the row */
}

.two-column .left {
  text-align: center;
}

.two-column .right {
  text-align: center; /* or center if you prefer */
  gap: 0.5rem; /* space between text and image */
}

.two-column img {
  max-width: 40px; /* adjust size */
  height: auto;
}

p {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.15em; 
  color: var(--blackish);
}

.page {
  height: 90vh; /* 100% altezza viewport */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem 0;         /* space inside each section */
  box-sizing: border-box;  /* padding counts toward min-height */
  overflow: visible;       /* was hidden – don’t clip content */
}

.center-wrapper {
  width: 100%;
}

/* Top-aligned page variant */
.page.page-top {
  display: flex;           /* make the section a flex container like the others */
  align-items: flex-start; /* put the child at the top of the section */
  min-height: 100vh;       /* keep the full-height behavior if you're using it */
}

.page.page-top .top-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* start content at the very top */
  align-items: stretch;
  height: 100%;
  padding-top: 0;
}

/* Also make sure .top-wrapper itself never centers its children */
.top-wrapper {
  align-items: flex-start;
}

.page-compact {
  display: flex;             /* keep flex layout for consistent alignment */
  align-items: center;       /* or flex-start if you want top alignment */
  justify-content: center;   /* horizontal centering */
  padding: 3rem 0;           /* vertical space, no extra width padding */
  min-height: 80vh;          /* don't force 100vh like .page might */
}

/* Contenuto centrato */
.content {
  width: 90%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
  z-index: 1;
}

.content.full {
  width: 100%;
}

.hero-img-full {
  width: 100%;
  max-height: 70vh;   /* cap it to the section’s space */
  height: auto;       /* keep aspect ratio */
  object-fit: contain;/* show the whole image (no cropping) */
  object-position: center;
  display: block;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* o cover se vuoi riempire */
  display: block;
}

.bottom-text {
  height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bottom-text p {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Desktop */
@media (min-width: 768px) {
  .center-wrapper {
    width: 50%;
  }
}
/* Fade-in effect */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}