/* ==== GLOBAL ==== */
* {
  box-sizing: border-box;
}

body {
 
  background: rgba(0, 0, 0, 1);
/* background: url('./images/background3.jpg') no-repeat center center fixed;
  background-size: cover;*/
  color: #FFF5E7;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  font-size: 1.3em;
  min-height: 100svh;
}

/* ==== LAYOUT ==== */
main {
  padding-top: 80px;
  margin-top: 50px; /* Ajuste selon la hauteur du header */
}


/* Sections du contenu principal */
main section {
  padding: 10px 30px 10px 30px;
  margin: 0 auto;
  max-width: 50%;
  border-bottom: 1px solid #333;
  font-family: 'ToxTypewriter';
  line-height: 1.2;
}

/* Ajout d'une alternance de fond pour chaque section */
main section:nth-child(odd) {
  background-color: rgba(40, 40, 40, 0.7); /* noir avec 80% d'opacité */
  backdrop-filter: blur(2px); /* (optionnel) flou léger pour l’élégance */
}
main section:nth-child(even) {
  background-color: rgba(10, 10, 10, 0.7); /* noir avec 80% d'opacité */
  backdrop-filter: blur(2px); /* (optionnel) flou léger pour l’élégance */
}

/* Titres de sections */
main section h2 {
  color: #E0AA0A; /* Jaune pâle surnaturel */
  margin-top: 10px;
     text-align: center;
  
}

/* Textes de section */
main section p {
  font-size: 1.3em;
  text-align: center;
  text-wrap: balance;
}

main section em {
  font-size: 1.3em;
  text-decoration: underline;
}


/* ==== CONTENU TEXTE/IMAGES ==== */
.section-content {
	    flex-direction: column; /* pile le texte et l'image */
    align-items: center; /* aligne à gauche */
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* permet d’empiler en petit écran */
}

.section-content .text {
    flex: 1 1 100%;
    text-align: left; /* ou "center" si tu veux le texte centré aussi */
}

.section-content .image {
    flex: 1 1 100%;
    text-align: center; /* centre le contenu du bloc image */
}

.section-content .image img {
    width: 100%;
    max-width: 550px; /* évite que l'image devienne trop large */
    height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* ==== LIENS ==== */
a {
  color:#E0AA0A;
  transition: color 0.3s ease;
}
a:hover {
  text-decoration: underline;
}

/* ==== HEADER ==== */
.site-header {
  /* background: rgba(0, 0, 0, 1); */
  color: #FFF5E7;
  top:0px;
  width: 100%;
  position: absolute;
  text-align: center;
  z-index: 1000;
  font-family: 'ToxTypewriter';
  font-size: 1em;
  line-height: 1; /* réduit l’espace vertical */
  padding: 10px 10px 25px; /* top - right/left - bottom */
}


.site-header h1 {
  padding-bottom: 10px;
   font-weight: normal;
     font-size: 3em;
  margin: 0;
  font-family: 'LovecraftianHorrors';
  color: #E0AA0A;
  text-align: center;
 -webkit-text-stroke: 1px #1A1400; /* outline */
  text-shadow: 
    0 0 2px #C89705,
    0 0 2px #C89705,
    0 0 3px #C89705;
	}
	
.site-header h2 {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 15px;  /* <-- espace sous le H2 */
  color: #FFF5E7;
  font-family: 'ToxTypewriter';
  font-size: 1.1em;
  font-weight: normal;
}
	
	
	

/* ==== FONTS ==== */
@font-face {
  font-family: LovecraftianHorrors;
  src: url("LovecraftianHorrors.otf");
}
@font-face {
  font-family: ToxTypewriter;
  src: url("ToxTypewriter.ttf");
}

/* ==== TITRE ==== */

.wave-title {
  gap: 0.1em;
}

.wave-title span {
  display: inline-block;
    animation: float 15s ease-in-out infinite;
}

/* petit décalage d’animation pour chaque lettre */
.wave-title span:nth-child(1) { animation-delay: 0s; }
.wave-title span:nth-child(2) { animation-delay: 2.1s; }
.wave-title span:nth-child(3) { animation-delay: 1.7s; }
.wave-title span:nth-child(4) { animation-delay: 3.4s; }
.wave-title span:nth-child(5) { animation-delay: 0.8s; }
.wave-title span:nth-child(6) { animation-delay: 4.1s; }
.wave-title span:nth-child(7) { animation-delay: 2.7s; }


@keyframes float {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-4px); }
  50% { transform: translateY(2px); }
  75% { transform: translateY(-2px); }
}


/* ==== FOOTER ==== */
footer {
  color: #b3b3b3;
  text-align: center;
  width: 100%;
  bottom: 0;
}



mark.baroudeur
{
color: #f66960;
    background: none;
}
mark.chercheuse
{
color: #2A95E2;
    background: none;
}
mark.seducteur
{
color: #E0AA0A;
    background: none;
}
mark.reveuse
{
color: #CB96EF;
    background: none;
}


#newsletterForm
{
	padding-bottom: 10px;
}

#responseMessage
{
	margin-top:10px;
	font-weight:bold;
	padding-bottom: 10px
}

.mini-input {
  width: 30px;      /* très petit champ */
}

#responseMessage {
  text-align: center;     /* centre le texte */
  margin-top: 10px;       /* espace au-dessus */
  font-weight: bold;      /* texte en gras */
  color: #E0AA0A;
}



.underline
{
  text-decoration: underline;
}




@media (max-width: 1200px) {
* {
  box-sizing: border-box;
}
body{
line-height: 1.3;}

  .section-content .image img {
    width: 100%;
    max-width: 450px; /* évite que l'image devienne trop large */
    height: auto;
  }

main section {
  max-width: 75%;
}


/* Titres de sections */
main section h2 {
   text-align: center;
     font-size: 1.1em;
}

/* Textes de section */
main section p {
  font-size: 1.1em;
  text-align: center;
  text-wrap: balance;
}




	
/* ==== FOOTER ==== */
footer {

  font-size: 0.7em;
}
}






@media (max-width: 700px) {

* {
  box-sizing: border-box;
}

body{
line-height: 1.3;
  margin: 0;
  padding: 0;
}

main {
  width: 100%;
}

  .section-content .image img {
    width: 100%;
    max-width: 450px; /* évite que l'image devienne trop large */
    height: auto;
  }

  main section {
    max-width: 100%;
    box-sizing: border-box;	
  }


/* Titres de sections */
main section h2 {
   text-align: center;
     font-size: 1.1em;
}

/* Textes de section */
main section p {
  font-size: 1.1em;
  text-align: center;
  text-wrap: balance;
}





.site-header h1 {

  font-size: 2.5em;

	}
	
.site-header h2 {

  font-size: 0.85em;

}



	
/* ==== FOOTER ==== */
footer {

  font-size: 0.6em;
}
}

