p, h2, h3, h4, a, li, ul, label, input, button, span {
    text-align: justify;
    font-family: 'Raleway', sans-serif; 
}

#connexionModal .text-center p {
    text-align: center;
}

body {
    overflow-x: hidden; 
}

html {
    overflow-x: hidden; 
}

p {
    font-size: 1.1rem;
}

#btn_connx:hover, #bouton_insc:hover, #btn_accueil:hover, #btn_contact:hover {
    color: black;
    border-color: black;
}

#languageDropdown:hover {
    background-color: #F0F0F0 ;
}

#btn_connx:hover, #btn_accueil:hover, #btn_contact:hover {
    background-color: #F0F0F0 ;
}

#bouton_insc:hover {
    background-color: #F0F0F0 ;
}

.nav-background {
    background-color: rgba(9, 9, 9, 0.5); 
}

#heroSection {
    position: relative; 
    height: 100vh;
  }

  #heroSection h2 {
    font-family: 'Playfair Display', serif; 
  }

#cote_droit {
    background-image: url('photos/web/nikko_poteau.jpg'); 
    overflow-x: hidden; 
    position: relative; 
    z-index: 0; 
    background-size: cover;
    background-repeat: no-repeat;
}

#cote_droit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
      linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), 
      url('photos/web/nikko_poteau.jpg');
    background-position: 40% 85%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
  }

#cote_gauche {
    background-image: url('photos/web/colisee.jpg'); 
    background-repeat: no-repeat;
    background-position: 40%;
    overflow-x: hidden; 
    position: relative; 
    z-index: 0; 
}

#cote_gauche::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
      url('photos/web/colisee.jpg');
    background-position: 40%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
  }


#heroSection .row {
    width: 100%; 
    height: 100%; 
}

#heroSection .col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
    height: 100%; 
}

#heroSection h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

#heroSection p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

#heroSection .btn {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
    background-color: rgba(255, 255, 255, 0.3); 
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#heroSection .btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

#cote_gauche, #cote_droit {
  transition: transform 1s ease-in-out;
  position: relative;
}

.slide-left {
  transform: translateX(-100%);
}

.slide-right {
  transform: translateX(100%);
}

#heroSection {
  transition: opacity 1s ease-in-out;
}

.target-section {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-height: calc(100vh - 7rem - 2rem); 
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  }
  
  .target-section.visible {
    opacity: 1;
    visibility: visible;
  }
  
  
  .backButton {
    cursor: pointer;
    background-color: #B8A99A;
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 0.25rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    width: 5rem;
    text-align: center;
    border-radius: 0.5rem;
  }
  
  .backButton:hover {
    background-color: #9E8F81;
    transform: translateY(-2px);
  }

.target-section::-webkit-scrollbar {
    width: 0.5rem;
  }
  .target-section::-webkit-scrollbar-track {
    background: white;
  }
  .target-section::-webkit-scrollbar-thumb {
    background: #ECE8E4;
    border-radius: 0.3rem;
  }
  
  .target-section {
    scrollbar-width: thin;
    scrollbar-color: #ECE8E4 white;
  }

.autocomplete-container {
    position: relative;
}

.autocomplete-suggestions {
    position: absolute;
    border-top: none;
    top: 5rem; 
    z-index: 99;
    left: 0.8rem;
    right: 0;
    background-color: white;
    max-height: 12.5rem;
    overflow-y: auto;
    width: 97%;
}

.autocomplete-suggestions div {
    padding: 0.625rem;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}


.autocomplete-suggestions div:hover {
    background-color: #f1f1f1;
}

#section_complet_1, #section_complet_2 {
    background-color: #ECE8E4;

}


.diviseurs {
    margin-top: 5.5rem;
    padding: 2rem 1.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem; 
    margin-bottom: 6.5rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15); 
}

#categories p, #categories h3, #categories h4 {
    color: #6B5F57 ;
}

#categories h3, #categories h4 {
    font-weight: 400;
}


.form-row-spacing {
    gap: 1rem 2rem;
}



#categories h1, #categories h2 {
    font-family: 'Playfair Display', serif; 
    font-weight: 500;
    color: #6B5F57 ;
    margin-bottom: 1.5rem;
}

#categories h2 {
    font-size: 2.25rem;
}


#categories label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #6B5F57 ;
}


#categories input[type="text"],
#categories input[type="date"],
#categories input[type="range"],
#categories select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

#categories input[type="date"] {
    margin-bottom: 0.5rem;
}


#categories input[type="text"]:focus,
#categories input[type="date"]:focus,
#categories select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.2);
}


#categories input[type="checkbox"],
#categories input[type="radio"] {
    margin-left: 0.75rem;
    margin-bottom: 0.25rem;
    margin-right: 0.8rem; 
}

#categories input[type="checkbox"]:hover,
#categories input[type="radio"]:hover {
    cursor: pointer;
}

#categories input.radios {
    margin-left: 1rem;
}

.row .col-md-2 {
    display: flex;
    align-items: center;
}

#categories button {
    background-color: #B8A99A;
    text-align: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.75rem 0.75rem;
    border: none;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: block;
    width: 18%;
}

#categories button:hover {
    background-color: #9E8F81;
    transform: translateY(-2px);
}


#categories .espacement {
    margin-bottom: 2rem;
}


#categories .toggle_icon {
    margin-right: 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

#categories .toggle_icon:hover {
    transform: scale(1.1);
    color: #007bff;
}

.date-error {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }
  
  .date-error.show {
    opacity: 1;
    visibility: visible;
  }


.mt-4 {
    text-align: center;
}



#inscription_modal {
    display: flex;
    justify-content: center; 
    align-items: center;
}


#loading-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.9);
        z-index: 1000;
        display: none; 
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 0.938rem;
        backdrop-filter: blur(5px);
    }

    .loading-content {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center; 
    color: #333;
}

    #loading-text {
        font-family: 'Quicksand', sans-serif;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .progress-bar-container {
        width: 18.75rem;
        height: 1.25rem;
        background-color: #e0e0e0;
        border-radius: 0.625rem;
        overflow: hidden;
    }

    #progress-bar {
        width: 0%;
        height: 100%;
        background-color: #5a8c75; 
        border-radius: 0.625rem;
        transition: width 0.5s ease-in-out;
    }

    .autocomplete-suggestions > div.autocomplete-active {
  background-color: #e9ecef; 
  cursor: pointer;
}

#countries_count {
    display: none; 
    align-items: center; 
    gap: 1rem;
}

#countries_count label {
    margin-bottom: 0; 
    white-space: nowrap; 
}

#countries_count input[type="number"] {
    width: 5rem; 
}

.validation-error {
    border: 2px solid #dc3545; 
    border-radius: 0.75rem; 
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.4); 
}


.coffee-spinner {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1rem;
  animation:
             coffee-bounce 2s ease-in-out infinite;
}

@keyframes coffee-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.coffee-text {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  text-align: center;
  max-width: 32.5rem;
  line-height: 1.45;
  color: #333;
}

.loading-hide-progress .progress-bar-container,
.loading-hide-progress #loading-text {
  display: none !important;
}


:root {
  font-size: 100%; 
}

@media (min-width: 2350px) {
    :root {
    font-size: 125%;
  }

}


@media (min-width: 1400px) and (max-width: 2399px) {


}


@media (min-width: 1200px) and (max-width: 1399px) {


}


@media (min-width: 992px) and (max-width: 1199px) {

    :root {
    font-size: 65%;
  }

}


@media (min-width: 768px) and (max-width: 991px) {
    :root {
    font-size: 60%;
  }

  #section_complet_1, #section_complet_2 {
    margin-top: 15rem;
  }

  footer {
    margin-top: 15rem;
  }

}


@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;
}

footer {
    margin-top: 66rem;
}

#recherche_pays_section h1, #recherche_avancee_section h1 {
    text-align: center;
}
#recherche_pays_section h4, #recherche_avancee_section h4, .espacement h2 {
    text-align: left !important;
}

#section_complet_1 button, #section_complet_2 button {
    padding: 1rem !important;
    width: 15rem;
}

#cote_gauche h2, #cote_droit h2 {
    text-align: center;
}

}