@font-face {
    font-family: "Cinzel";
    src: url(./assets/fonts/CinzelDecorative-Bold.ttf);
}

@font-face {
    font-family: "Merienda";
    src: url(./assets/fonts/Merienda-VariableFont_wght.ttf);
}

*{
    font-family: Merienda;
    margin: 0;
    padding: 0;
} 
body{
  background-image: url('./assets/img/ville.png');
  background-repeat: no-repeat;
  /*background-color: rgb(211, 199, 147);*/
  background-position: top center;
  background-size: cover; /* Taille fixe */
  background-attachment: fixed; /* optionnel : garde le fond fixe au scroll */
  padding-bottom: 50px; /* ou hauteur du footer */
}

.titre-header {
    background-color: rgba(0, 0, 0, 0.925);
  }

.titre-header  #logo {
  height: 300px;
  margin: 0px auto;
  display: block;
}

#construction {
  max-height: 400px;
  margin:  -10px auto;
  display: block;
}

.comm {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; /* espace entre les deux logos */
  margin-bottom: 20px;
}

.comm a img {
  max-height: 200px;
}

.comm-text {
  font-family: Merienda;
  background-color: #141414c0;
  font-size: 4.5rem;
  color: #ffffff; /* adapte selon ton fond */
  text-align: center;
  white-space: nowrap; /* empêche le retour à la ligne */
}

.bg{
  width: 1000px;
  margin: 100px auto 00px auto;
  display: block;
}

.intro {
  background-image: url('./assets/img/papier.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size:cover;
  
  height: 1200px;
  font-size: 1.2vw;
}

.bg_titre
{
  font-family: Cinzel;
  font-size: 2rem;
  text-align: center;
  padding: 100px 200px 50px 200px;
}

.bg_texte
{
  font-family: Merienda;
  font-size: 1.5rem;
  padding: 0 50px 50px 50px;
}
/*nav{
  padding: 5px;
  min-height: 40px;
  background: black;
}

/* FLEXBOX */
/* Sert a répartir équitablement des éléments sur la page */
/*nav ul {
  padding: 0;
  display: flex;
  justify-content: space-around;
}

nav li {
  list-style: none;
  height: 20px;
  margin: 10px;
  /* Centrer un unique élément veticalement et horizontalement */
  /*display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem; 
}*/

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
  font-family: sans-serif;
  z-index: 1000;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #ffd700;
}

/* RESPONSIVE  */
@media screen and (max-width: 1050px) {
  .titre-header  #logo {
    height: 200px;
    margin: 0px auto;
  }
  
  #construction {
    max-height: 300px;
    margin:  -10px auto;
  }

  .comm a img {
    max-height: 150px;
  }
  
  .comm-text {
    font-size: 2.5rem;
  }
  
  .intro{
    width: 650px;
    height: 800px;
    margin: 50px auto 0px auto;

  }

  .bg {
    width: 650px;
    height: 980px;
    margin: 50px auto 0px auto;
  }
  
  .bg_titre
  {
    font-size: 1.2rem;
    padding: 40px 20px 10px 20px;
  }
  
  .bg_texte
  {
    font-size: 1rem;
    padding: 0 30px 10px 30px;
  }
}

@media screen and (max-width: 680px) {
  .titre-header  #logo {
    height: 120px;
    margin: 0px auto;
  }
  
  #construction {
    max-height: 200px;
    margin:  -10px auto;
  }

  .comm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row: 1fr 1fr;
    grid-template-areas: 
    "t1 t1"
    "i1 i2";
    justify-content: center;
    align-items: center;
    gap: 40px; /* espace entre les deux logos */
    margin-bottom: 20px;
  }

  .comm a img {
    grid-area: t1;
    max-height: 100px;
  }
  
  .comm-text {
    grid-area: t1;
    font-size: 1rem;
  }

  .intro {
    background-color: #492d15;
    background-image: none;
    width: 275px;
    height: 1450px;
    margin: 50px auto 0px auto;
  }
  
  .bg {
    width: 275px;
    height: 1670px;
    margin: 50px auto 0px auto;
  }
  
  .bg_titre
  {
    font-size: 1.2rem;
    padding: 40px 20px 10px 20px;
    color: #fff;
  }
  
  .bg_texte
  {
    font-size: 1rem;
    padding: 0 30px 10px 30px;
    color: #fff;
  }
}