
body {
    background-color: #f8f9fa;
    color: black; 
}

body {
    opacity: 0; 
    transition: opacity 0.4s ease-in; 
}

body.visible {
    opacity: 1; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; 
    font-weight: 700; 
}

p, a, li, ul, label, input, button, span {
    font-family: 'Raleway', sans-serif;
}

.navbar {
    background-color: transparent;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
    transition: transform 0.6s ease-in-out, background-color 0.6s ease-in-out;
}

.nav-hidden {
    transform: translateY(-100%);
}

.nav-background {
    background-color: rgba(0, 0, 0, 0.65); 
}

#texte_nav {
    font-size: 1.3rem; 
}

.navbar .nav-link {
    color: #ffffff; 
    font-weight: 600;
    margin-left: 0.938rem; 
}

.navbar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.5); 
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-brand img.header-logo {
    max-width: 7rem; 
    max-height: auto; 
}

.navbar-text {
    font-family: 'Merriweather', serif; 
    font-size: 3.5rem; 
    font-weight: 400; 
    color: white; 
}

#languageDropdown {
    border-color: white;
}

#languageDropdown {
    background-color: transparent
}

#languageDropdown:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.25);

}

#languageDropdown:focus {
    outline: 2px solid black;
    background-color: rgba(255, 255, 255, 0.5);
}

.main-nav-links {
    margin-left: 1.5rem; 
    gap: 0.5rem; 
    display: flex; 
    align-items: center;
}

.main-nav-links .nav-link.btn {
    color: white;
    border-color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    font-size: 1.3rem;
    transform: none; 
}

.main-nav-links .nav-link.btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: white; 
    border-color: rgba(255, 255, 255, 0.5);
}

#bouton_insc {
    margin-right: 2.5rem; 
}

.navbar .btn {
    color: white;
}


#icone_utilisateur {
    margin-right: 1rem;
}
#icone_utilisateur.nav-link:hover {
    background-color: transparent;

}

#userDropdownContainer {
    position: relative;
}

#userDropdownContainer .dropdown-menu a {
    padding: 0.625rem;
    color: black;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease-in-out;
}


#userDropdownContainer .dropdown-menu a:hover {
    background-color:lightgray;
}

#notif_badge {
    justify-content: center; 
    text-align: center; 
    font-family: "Roboto Mono", monospace;
    margin-left: 0.5rem;
}




footer {
    background-color: #f1f1f1; 
    color: #b7b7b7; 
    padding: 2rem 0; 
}

.footer-line {
    width: 90%; 
    margin: 0 auto; 
    border: 0;
    height: 1px; 
    background: #0f0f0f; 
    margin-bottom: 1.5rem; 
    opacity: 10%;
}

.footer-logo {
    max-width: auto; 
    max-height: 8rem; 
    transform: translateY(1.5rem);
}

.footer-nav {
    display: flex;
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 0.5rem; 
}

footer a {
    color: #555555; 
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    color: #333333;
    text-decoration: underline; 
}

.footer-separator {
    margin: 0 0.5rem; 
    color: #838080; 
}



.modal h2 {
    font-size: 2rem;
    font-family: 'Raleway', serif;
}

.input-icon {
    position: absolute;
    left: 0.625rem; 
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem; 
    color: #888;
}

.input-with-icon {
    width: 85%; 
    margin: auto; 
    border: none; 
    border-radius: 0; 
    position: relative; 
}

.input-with-icon:focus {
    border-color: #007bff; 
}

.modal-content {
    padding: 1.25rem; 
}

.modal-body {
    position: relative;
    padding-top: 1rem; 
}

hr.my-3 {
    margin: 1.5rem 0; 
}

.bordure_bas {
    border-bottom: 1px solid #ccc; 
}

.modal-title {
    font-size: 1.5rem; 
    font-weight: 700; 
}

.modal-body .form-label {
    font-weight: 400; 
}

.modal-body .btn-primary {
    font-weight: 600;
    background-color: royalblue; 
    border-color: royalblue; 
}

.modal-body .btn-primary:hover {
    background-color: rgb(56, 89, 186);
    border-color: rgb(56, 89, 186); 
}

.text-danger {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: none;
}
.text-danger.visible {
    display: block;
    opacity: 1;
}


#texte_nav {
    visibility: hidden; 
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

#texte_nav.visible {
    visibility: visible; 
    opacity: 1;
}


.navbar .nav-link.btn {
    border-width: 1px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    font-size: 1.3rem;
    transform: none; 
}

#texte_nav {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    margin-top: 0 !important; 
}

.dropdown {
    right: 1.5rem;
}

body.fade-out {
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}