@font-face {
    font-family: 'RomanWoodTypeJNL';
    src: url('/static/fonts/Roman-Wood-Type-JNL.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Albertsthal_Typewriter';
    src: url('/static/fonts/Albertsthal\ Typewriter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, html {
  overflow-x: hidden; /* interdit le scroll horizontal */
}


/*navbar*/
.navbar {
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: transparent;;
}

#navbarNav a {
    color: white;
    font-family: 'RomanWoodTypeJNL', serif;
}

.navbar-toggler-icon {
      background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
        border:none;
}

.navbar-toggler{
    border:none;
    box-shadow: none;
}

/* Transitions */
.text-transition {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
}

.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
/*ENTREE*/
#entree, #entree2{
font-family: 'RomanWoodTypeJNL';
}



.titre0 {
  font-size: clamp(1.5rem, 7vw, 4rem);
  text-align: center;
  color: white;
}

.titre1 {
  font-size: clamp(3rem, 20vw, 12rem); /* entre 3rem et 12rem selon la taille de l’écran */
  line-height: 1;
  text-align: center;
  color: white;
}

.titre2 {
  font-size: clamp(2rem, 12vw, 7rem);
  text-align: center;
  color: white;
}

.titre00 {
  font-size: clamp(1.5rem, 7vw, 4rem);
  text-align: center;
  color: white;
}

.titre11 {
  font-size: clamp(3rem, 15vw, 12rem); /* entre 3rem et 12rem selon la taille de l’écran */
  line-height: 1;
  text-align: center;
  color: white;
}

.titre22 {
  font-size: clamp(2rem, 12vw, 7rem);
  text-align: center;
  color: white;
}

/*Modal*/
#rsvpModal{
    font-family: 'RomanWoodTypeJNL', serif;
    color:white;
}
.modal-body,  .modal-header, .modal-footer{
    background-color: #000000;
}


#merci {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('/static/images/merci.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    text-align: center;
}

.merciContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* espace entre texte et bouton */
    z-index: 1;
}

.merciText {
    font-family: 'Albertsthal_Typewriter', serif;
    color: white;
    font-size: 3rem;
}

.btnReturnAccueil {
    font-size: 1.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    font-family: 'RomanWoodTypeJNL', serif;
    background-color: white;
    color: rgb(0, 0, 0);
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
}
.btnReturnAccueil:hover{
    background-color: black;
    color:white;
}


.bg-desktop-entree {
  background: url('/static/images/entree.jpg') center center / cover no-repeat fixed;
  z-index: 0;
}

.bg-mobile-entree {
  background: url('/static/images/entreeMobile.jpg') center center / cover no-repeat fixed;
  background-attachment: scroll;
  z-index: 0;
}



.bg-desktop-theme {
  background: linear-gradient(90deg,rgba(7, 10, 25, 1) 0%, rgba(70, 91, 112, 1) 50%, rgba(205, 189, 156, 1) 100%);
  z-index: -2;
}

.bg-mobile-theme {
  background-image: url('/static/images/peaky2.png');
  background-position: center center;
  background-size: cover;      /* remplit tout le conteneur */
  background-repeat: no-repeat;/* empêche toute répétition */
  background-attachment: scroll; /* mobile friendly */
  z-index: -2;

}

@media (max-width: 767px) {

      .text-theme {
        font-size: 0.8rem;
      }
      .text-theme h1{
        font-size: 1rem;
      }
      .text-theme p:first-child{
        margin-top: -6rem;
      }
    }

@media (max-width: 380px) { 
  .text-theme {
    font-size: 0.4rem;   /* texte plus petit */
  }
  .text-theme h1 {
    font-size: 0.9rem;
  }


}


@media (max-width: 767px) {
  #agenda .agendaText h1 {
    font-size: 1.5rem;  /* réduit la taille du h1 */
    margin-bottom: 0.5rem;
  }

  #agenda .agendaText h4 {
    font-size: 1rem;  /* réduit la taille du h4 */
    margin-bottom: 1rem;
  }
  #merci {
    background-position-x: right;
  }

}



