
body {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
      url('photos/web/huaccachina_2.jpg');
    overflow-x: hidden; 
    background-position: 50% 130%;
    background-size: cover;
    background-repeat: no-repeat;
 }



main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 0; 
}

.titre_page {
    text-align: center;
    font-weight: 500;
    color: white;
    margin-bottom: 1rem; 
}

.reset-password-box, #messageAfter {
    background-color: rgba(255, 255, 255, 0.90);
    max-width: 28rem;
    width: 100%;
    text-align: center;
    max-height: 32rem;
}


#section_reset {
    margin-top: 7rem;
}

#titre_box {
    font-family: 'Raleway', sans-serif; 
    font-size: 2.5rem;
}

#explication {
    text-align: justify;
    font-size: 1.05rem;
}

#label_email {
    text-align: justify;
}

.reset-password-container {
    min-height: 100vh;
    padding: 3.125rem 0.938rem;
    max-height: 50rem;
}




.reset-password-box .form-label { 
    font-weight: 600;
    color: #333;
}

.reset-password-box .form-control {
    border-radius: 0.313rem;
    border: 1px solid #ddd;
    padding: 0.625rem;
    font-size: 1rem;
}

.reset-password-box .input-group-text {
    background: #FDF8F3  ;
    border: 1px solid #ddd;
    border-radius: 0.313rem 0 0 0.313rem;
    color: #007bff;
}

.reset-password-box .btn-primary {
    border: none;
    font-size: 1.1rem;
    padding: 0.625rem;
    border-radius: 0.313rem10;
    transition: background 0.3s ease-in-out;
}

.reset-password-box .btn-primary:hover {
    background-color: #0056b3;
}

.reset-password-box .text-primary {
    font-weight: 600;
    text-decoration: none;
}

.reset-password-box .text-primary:hover {
    text-decoration: underline;
}

.input-error {
    background-color: rgba(255, 0, 0, 0.1);
}

.error-message {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    margin: 0;
}
  
.error-message.show {
    max-height: 3.125rem;
    opacity: 1;
}


#messageAfter {
    border-radius: 0.5rem;
    max-width: 31rem;
    text-align: justify;
    height: 22rem;
}

#titre_message {
    font-size: 2.5rem;
    text-align: center;
    font-family: 'Raleway', sans-serif; 
}

#optionsRetour {
    text-align: left;
    margin-top: 2rem;
}

#optionsRetour a::before {
  content: "\27A1\FE0E";  
  margin-right: .4rem;
  color: #A78963;
}

.custom-fade {
    transition: opacity 0.5s ease;
    opacity: 0;
  }

  
  .showing {
    opacity: 1;
  }

  #btn_reset {
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-color: #CBAF87 ;
    font-size: 1.1rem;
    padding: 0.3rem;
    border-radius: 0.5rem;
    width: 20rem;
    height: 3rem;
    border: none;
    color: white;
  }

  #btn_reset:hover {
    background-color: #A78963;
    transform: translateY(-2px);
  }

  :root {
  font-size: 100%; 
}



@media (min-width: 2350px) {
    :root {
    font-size: 125%;
  }

  body {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
      url('photos/web/huaccachina_2.jpg');
    overflow-x: hidden; 
    background-position: 50% 127%;
    background-size: cover;
    background-repeat: no-repeat;
 }

}


@media (min-width: 1400px) and (max-width: 2399px) {
  .titre_page {
    padding-top: 3rem;
  }


}


@media (min-width: 1200px) and (max-width: 1399px) {
  .titre_page {
    padding-top: 3rem;
  }

}


@media (min-width: 992px) and (max-width: 1199px) {
body {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
      url('photos/web/huaccachina_2.jpg');
    overflow-x: hidden; 
    background-position: 50% -25rem;
    background-size: cover;
    background-repeat: no-repeat;
 }

 .titre_page {
    padding-top: 3rem;
  }
}


@media (min-width: 768px) and (max-width: 991px) {
    :root {
    font-size: 75%;
  }

  .titre_page {
    padding-top: 5rem;
  }

  body {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
      url('photos/web/huaccachina_2.jpg');
    overflow-x: hidden; 
    background-position: 50% -20rem;
    background-size: cover;
    background-repeat: no-repeat;
 }

}


@media (max-width: 767px) {
    :root {
    font-size: 70%;
  }

  body {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
      url('photos/web/huaccachina_2.jpg');
    overflow-x: hidden; 
    background-position: 50% -20rem;
    background-size: cover;
    background-repeat: no-repeat;
 }

  .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;
}

}


