
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 {
    position: relative; 
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
        url('photos/web/golden_trek.jpg'); 
    background-position: 50% 95%;
    overflow-x: hidden; 
    background-size: 100%; 
    background-size: cover;
    background-repeat: no-repeat;
}

.container-fluid, .navbar, footer {
    z-index: 1;
}


.navbar-text, .navbar .nav-link, .navbar .btn, #languageDropdown { 
    color: white;
    border-color: white 
}

.nav-background {
    background-color: rgba(0, 0, 0, 0.45); 
}

#row_2 {
    height:20rem;
}

#titre_hero {
    font-size: 6.5rem;
    font-weight: 500;
    text-align: center;
    font-family: 'Playfair Display', serif; 
    color: white;

}

#row_1 {
    color: rgba(17, 15, 61, 0.7); 
    height: 20rem; 
    margin-left: 5rem;
    margin-bottom: 5rem;
}

#row_1 {
    padding-top: 10rem;
    padding-bottom: 5rem; 
}
#titre_hero {
    transform: none; 
}

.col-md-6 {
    padding-bottom: 6rem; 
}

#col_1 p, #col_2 p {
    font-size:1.3rem;
}

#col_1 {
    border-radius: 0.75rem;
    padding-left: 3rem;
    color: white;
    border: none; 
}

#col_2 {
    color: white;
    position: relative;   
    border-left: 4px solid rgba(255, 255, 255, .55);
    padding-left: 3rem; 
}


#col_1 h2, #col_2 h2 {
    font-size:2.8rem;
    font-weight: 700;
    text-align: left;
}

#col_1 h2, #col_1 p,#col_2 h2, #col_2 p {
    transform: translate(1rem, 2.5rem);
}


.contact-info {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: whitesmoke;
}

.contact-info p {
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 0.5rem; 
    color: #FFD27F; 
}

#contactSection {
    background-color: rgba(255, 255, 255, 0.9); 
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    align-items: center;
    margin: auto;
    max-width: 40.625rem;
}

#titre_formulaire {
    transform: translateY(-2rem);
    font-size: 1.9rem;
    color: white;
}

#contactSection h3 {
    color: #333; 
    font-weight: 600; 
    margin-bottom: 3rem;
}

#contactSection label {
    font-weight: 600; 
    color: #333; 
    margin-bottom: 0.5rem; 
}

#contactSection input, #contactSection textarea {
    border: 1px solid #ccc;
    padding: 0.75rem; 
    border-radius: 0.25rem; 
    margin-bottom: 0.8rem; 
    width: 100%; 
    font-family: 'Raleway', sans-serif; 
}

#contactSection input:focus, #contactSection textarea:focus {
    border-color: #007bff;
    outline: none; 
}

#contactSection h3 {
    text-align: center;
    padding-top: 1rem;
}

.btn_msg {
    display: flex;
    justify-content: center; 
}

.input-error {
    background-color: rgba(255, 0, 0, 0.1);
}

.error-message {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }
  
  .error-message.show {
    max-height: 3.125rem;
    opacity: 1;
    margin-bottom: 1rem; 
  }
  
  #btn_msg {
    font-weight: 500;
    background-color: #D99032; 
    color: white; 
    border: none; 
    border-radius: 0.25rem; 
    height: 2.6rem;
    width: 6rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

#btn_msg:hover {
    background-color: #A56628; 
    transform: translateY(-2px);
    color: white;
}  

.custom-fade {
    transition: opacity 0.5s ease;
    opacity: 0;
  }

#messageAfter {
    text-align: center;
    padding: 2rem; 
    background-color: rgba(255,255,255,0.9); 
    border-radius: 0.75rem; 
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    width: 30rem;
    margin-bottom: 4rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%); 
}

#messageAfter h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #C89B3C;
}

#optionsRetour {
    text-align: left;
    margin-top: 2rem;
}

#optionsRetour a::before {
  content: "\27A1\FE0E";
  margin-right: .4rem;
  color: #C89B3C;
}

.mt-4 {
    text-align: center;
}

#inscription_modal {
    display: flex;
    justify-content: center;
}

#col_1 {
    transform: translateX(2rem);
}

#col_2 {
    padding-left: 6rem;
    padding-right: 0;
}

:root {
  font-size: 100%; 
}

@media (min-width: 2350px) {
    :root {
    font-size: 125%;
  }

}

@media (min-width: 1538px) and (max-width: 2399px) {

}

@media (min-width: 1400px) and (max-width: 1536px) {
    #col_1 {
        padding-right: 4rem;
        padding-left: 1.5rem;
    }

    #titre_hero {
        font-size: 5.5rem !important;
        transform: translateX(-4rem) !important;
    }

    #section_au_complet {
        padding-top: 5rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {

    #titre_hero {
        font-size: 5rem !important;
    }

    #col_1 {
        padding-right: 3rem;
    }

    #section_au_complet {
        padding-top: 5rem;
    }

}

@media (min-width: 992px) and (max-width: 1199px) {

    :root {
    font-size: 60%;
  }

}

@media (min-width: 768px) and (max-width: 991px) {
    :root {
    font-size: 52%;
  }

  #col_1 {
    padding-right: 3rem;
  }

  #col_2 {
    padding-left: 1rem;
  }

  #titre_hero {
    text-align: center;
    font-size: 6rem;
    transform: translateX(-2rem);
  }
  

}


@media (max-width: 767px) {
    :root {
    font-size: 70%;
  }

  body {
    width: 100%;
    overflow-x: hidden;
  }
  .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;
}

#titre_hero {
    font-size: 4rem;
    transform: translateX(-2rem);
}
#col_1 {
    font-size: 1rem;
    margin-right: 5rem;
    padding: 2rem 2rem 2rem 4rem;
    transform: none;
}

#col_2 {
    font-size: 1rem;
    margin-right: 5rem;
    padding: 2rem;
    border-left: none;
}
#row_2 p {
    padding-right: 3rem;
}

#section_au_complet {
    margin-top: 30rem !important;
}

}