@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600&display=swap');
@font-face {
  font-family: "MorrisRomanBlack";
  src: url("../Fonts/MorrisRoman-Black.ttf") format("truetype");
} 
/* SNAP SCROLL */
html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-y: scroll;
}

/*---------------------------------*/
/* BODY */
/*---------------------------------*/
body {
  font-family: "MorrisRomanBlack", serif;
  color: rgba(93, 64, 55, 1);
  background: rgba(255, 243, 214, 1);
 cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 32 32'%3E%3Ctext y='28' font-size='28'%3E%F0%9F%97%A1%EF%B8%8F%3C/text%3E%3C/svg%3E") 0 32, auto;
}
/*---------------------------------*/
/* SECTIONS */
/*---------------------------------*/
.section {
  display: flex;
  align-items: center;
  padding: 40px 200px;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(184, 134, 11, 0.12) 20px,
    rgba(184, 134, 11, 0.12) 21px
  );
  pointer-events: none;
  z-index: 1;
}

.section.reverse::before {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(184, 134, 11, 0.12) 20px,
    rgba(184, 134, 11, 0.12) 21px
  );
}

.section:nth-child(odd)  { background: rgba(255, 243, 214, 1); }
.section:nth-child(even) { background: rgba(240, 225, 190, 1); }
.section.reverse {
  flex-direction: row-reverse;
}
/*---------------------------------*/
/* TEXTES */
/*---------------------------------*/
.text {
  flex: 1;
  text-align: center;
}

.text h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: rgba(93, 64, 55, 1);
  text-shadow: 1px 1px 0 rgba(184, 134, 11, 0.3);
}

.text h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, rgba(139, 0, 0, 1), rgba(184, 134, 11, 1));
  margin: 12px auto 0;
}

.text p {
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.5rem;
  color: rgba(93, 64, 55, 1);
  font-family: "Lora", serif;
}
/*---------------------------------*/
/* IMAGE */
/*---------------------------------*/
.image {
  flex: 1 1 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 0;
}
.image img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 2px;
  border: 3px solid rgba(184, 134, 11, 1);
  outline: 6px solid rgba(184, 134, 11, 0.15);
  outline-offset: 4px;
  object-fit: contain;
  box-sizing: border-box;
  box-shadow:0 0 0 1px rgba(196, 168, 130, 1), 6px 6px 20px rgba(59, 37, 16, 0.25);
}
 .image a {
    width: 100%;
    height: auto;
    max-width: 500px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    display: block;
  }
/* TABLET*/
@media (max-width: 1200px) {

  .section {
    padding: 40px 80px; 
    gap: 30px;
  }

  .text h2 {
    font-size: 2.5rem;
  }

  .text p {
    font-size: 1.3rem;
    max-width: 500px;
  }

  .image img {
    max-height: 420px; 
  }

}

/* MOBILE*/
@media (max-width: 768px) {
  #introVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .section,
  .section.reverse {
    flex-direction: column; 
    padding: 40px 20px;    
    gap: 30px;             
  }

  .text {
    order: -1; 
    text-align: center;
    margin-top: 50px;
  }

  .image {
    justify-content: center;
  }

  .text h2 {
    font-size: 2rem; 
  }

  .text p {
    font-size: 1.2rem; 
    max-width: 100%;   
  }


}
