
p, h2, h3, h4, a, li, ul, label, input, button, span {
    text-align: justify;
    font-family: 'Raleway', sans-serif;
}

 body {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), 
      url('photos/web/nara_hd.jpg');
    overflow-x: hidden;
    background-position: 50% 57%;
    background-size: cover;
    background-repeat: no-repeat;
 }

main {
    margin-top: 9.5rem;
}

.autocomplete-suggestions > div.autocomplete-active {
  background-color: #e9ecef; 
  cursor: pointer;
}


.navbar-text, .navbar .nav-link, .navbar .btn, #languageDropdown { 
    color: white;
    border-color: white;
}

#formulaire_insc {
    margin-top: 2rem; 
}

#titre_form {
    font-size: 3.7rem;
    font-family: 'Playfair Display', serif; 
    margin-bottom: 5rem;
    color: #52362E;  
}

section {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem; 
    padding: 2rem; 
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1); 
}

#formulaire_insc h3 {
    font-size: 1.5rem; 
    font-weight: 600; 
    margin-bottom: 1rem; 
    color: #52362E;; 
}

#formulaire_insc .form-control, .form-select {
    border-radius: 0.25rem; 
    border: 1px solid #ccc; 
    padding: 0.75rem; 

    font-family: 'Raleway', sans-serif; 
}


#formulaire_insc .form-control:focus, #formulaire_insc .form-select:focus {
    border-color: #007bff; 
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); 
    outline: none;
}

#formulaire_insc .form-check-label {
    font-weight: 400; 
}

#btn_conf {
    margin-top: 2rem;
    width: 10rem;
    height: 3rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    font-size: 1.25rem;
    background-color: #8a552e;
    color: white; 
    border: none; 
    border-radius: 0.25rem; 
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;

    
}

#btn_conf:hover {
    background-color: #6B3F1F; 
    transform: translateY(-2px);
}

.form-check-input, .form-check-label{
    cursor: pointer; 
}

.input-error {
    background-color: rgba(255, 0, 0, 0.1);
}

.error-message {
    margin: 0;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    color: red;
  }
  
  .error-message.show {
    margin-bottom: 1.8rem;
    max-height: 2.6rem;
    opacity: 1;
  }  

.mdp_container {
    position: relative; 
}

.password-toggle {
    position: absolute;
    right: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: gray;
}

.password-toggle:hover {
    color: black;
}

.custom-fade {
    transition: opacity 0.5s ease;
    opacity: 0;
  }

#welcomeMessage {
    text-align: center;
    padding: 2rem; 
    background-color: rgba(255,255,255,0.95); 
    border-radius: 0.75rem; 
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

#welcomeMessage h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #52362E;
}

#optionsRetour {
    text-align: left;
    margin-top: 2rem;
}

.autocomplete-container {
    position: relative;
}

.autocomplete-suggestions {
    position: absolute;
    border-top: none;
    z-index: 99;
    left: 0;
    right: 0;
    background-color: white;
    max-height: 12.5rem;
    overflow-y: auto;
    width: 100%;
}

.autocomplete-suggestions div {
    padding: 0.625rem;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}


.autocomplete-suggestions div:hover {
    background-color: #f1f1f1;
}


.mt-4 {
    text-align: center;
}


 
#inscription_modal {
    display: flex;
    justify-content: center; 
    align-items: center;
}

#connexionModal .text-center p {
    text-align: center;
}

:root {
  font-size: 100%; 
}


@media (min-width: 2350px) {
    :root {
    font-size: 125%;
  }

  .formu .container {
    max-width: 85%;
  }

}


@media (min-width: 1400px) and (max-width: 2399px) {


}

@media (min-width: 1200px) and (max-width: 1399px) {

}

@media (min-width: 992px) and (max-width: 1199px) {

}

@media (min-width: 768px) and (max-width: 991px) {
    :root {
    font-size: 75%;
  }

}

@media (max-width: 767px) {
    :root {
    font-size: 70%;
  }

  .navbar-brand img.header-logo {
    max-width: 4.5rem; 
    max-height: auto; 
}

 #btn_accueil, #btn_contact {
    font-size: 0.8rem;
 }

 #texte_nav .btn {
    font-size: 0.8rem;
    padding: 0.5rem;
 }

 .navbar .nav-link {
    margin-left: 0.3rem;
}

.main-nav-links {
    margin-left: 0.1rem; 
    gap: 0.6rem; 
    display: flex; 
    align-items: center;
}

.main-nav-links .nav-link.btn {
    padding: 0.1rem 0.1rem;
}

#bouton_insc {
    margin-right: 1.5rem; 
}

#titre_conf {
    font-size: 2.5rem;
}

}


