html {
    --font-celtic: 'Celtic', Arial, sans-serif;
    --font-arial: 'Arial Rounded', Arial, sans-serif;
}

@font-face {
    font-family: 'Celtic';
    src: url('../fonts/CELTG___.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arial Rounded';
    src: url('../fonts/arlrdbd.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ##################################################################### */
/* ###################    NAVBAR             ########################### */
/* ##################################################################### */

.navbar {
    padding: 0;
}

.logo-titre {
    background-color: black;
    color: #996533;
    display: flex;
    align-items: center;
    padding: 2%;
    text-decoration: none;
}

.logo-titre:hover {
    color: #996533;
}

.logo-titre img {
    width: 9rem;
    margin-right: 2%;
}

.nav-titre {
    font-family: var(--font-celtic);
}

.wrap-nav {
    padding: 0.5rem;
    background-color: black;
}

.wrap-nav-btn-toggle span {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1rem;
}

.dropdown-menu {
    background-color: #996533;
    color: white;
}

.navbar-brand {
    margin-right: 0;
}

.title {
    font-family: 'Georgia', serif;
    color: #E5C100;
    font-size: 24px;
    margin: 0;
}

.img-pattes {
    padding: 2%;
}

.pattes {
    width: 100%;
}

.partie-links {
    background-color: #996533;
}

.links {
    padding: 1.4rem;
    display: flex;
    flex-direction: row;
    text-align: center;
    align-items: center;
}

.nav-link,
.dropdown-item {
    color: white;
    font-family: var(--font-arial);
    text-decoration: none;
    font-size: 20px;
}

.nav-link:active {
    color: #350203;
}

.navbar-nav .nav-link.show,
.dropdown-item:focus,
.dropdown-item:hover {
    color: #350203;
}

.links-container {
    position: absolute;
    display: flex;
}

.home-icon {
    height: 3rem;
    color: #350203;
}

@media screen and (min-width: 992px) and (max-width: 1500px) {
    .logo-titre {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-titre img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Ajustements spécifiques pour Tablette */
@media screen and (max-width: 991px) {
    .logo-titre img {
        width: 7rem;
    }

    .nav-titre {
        font-size: 1.3rem;
    }

    .img-pattes {
        padding: 1%;
    }

    .home-icon {
        height: 2.5rem;
    }

    .links {
        padding: 1.4rem;
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Ajustements spécifiques pour Mobile */
@media screen and (max-width: 578px) {
    .title {
        font-size: 18px;
    }

    .logo-titre {
        padding: 3% 2%;
    }

    .logo-titre img {
        width: 5rem;
        margin-right: 3%;
    }

    .nav-titre {
        font-size: 1.1rem;
    }

    .nav-link,
    .dropdown-item {
        font-size: 16px;
    }

    .img-pattes {
        padding: 0;
        max-width: 80%;
        margin: 0 auto;
    }

    .home-icon {
        height: 2rem;
    }

    .links {
        padding: 1.4rem;
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Media Query pour petit Mobile */
@media screen and (max-width: 400px) {
    .logo-titre img {
        width: 4rem;
    }

    .nav-titre {
        font-size: 0.9rem;
    }

    .nav-link,
    .dropdown-item {
        font-size: 14px;
        padding: 0.5rem 0;
    }

    .img-pattes {
        display: none;
    }

    .home-icon {
        height: 1.5rem;
    }

    .links {
        padding: 0.5rem;
    }

    .links {
        padding: 1.4rem;
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}