.header-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 10px;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1000; /* Assurez-vous que le conteneur est au-dessus des autres éléments */
    border-bottom: 1px solid var(--dark-primary-color);
}
.header-nav-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1000; /* Mettre le pseudo-élément derrière le contenu */
    background-image: url('../../../images/pexels-googledeepmind-blur.jpg');
    background-size: auto; /* Couvrir toute la zone */
    background-position: center; /* Centrer l'image en haut */
    background-repeat: no-repeat;
}
.header-nav-container > #author {
    display: flex;
    align-items: center;
    margin: 1.5px auto 0px 10px;
    background-color: transparent;
    border-radius: 8px;
    border: 1.5px dashed var(--dark-primary-color);
}

.header-nav-container > #author  p {
    font-size: 1.4em;
    font-weight: bold;
    font-family: var(--logo-font);
    color: var(--third-text-color);
    margin: 6px 15px 7px 15px;
    border-bottom: 1.5px dashed var(--dark-primary-color);
    padding-bottom: 2px;
}
input[type="checkbox"]{
    display: none;
}
.menu-btn {
    display: none; /* Cacher le bouton par défaut */
    cursor: pointer;
    color: var(--third-text-color);
    font-size: 1.5em;
    align-self: center;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
}
.menu-btn:hover {
    background-color: var(--dark-primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.header-nav-container > nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    background-color: var(--dark-primary-color);
    border-radius: 40px;
    height: 100%;
    height: 47.5px;
    margin-right: 15px;
}
.header-nav-container > nav ul {
    padding: 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
    list-style: none;
}
.header-nav-container > nav > li {
    font-size: 1em;
}
.header-nav-container > nav li a {
    color: var(--dark-text-color);
    text-decoration: none;
    padding: 0 10px;
    margin: 0px 40px 0px 40px;
}
.header-nav-container > nav li a:hover {
    color: var(--text-hover-color);
}
.header-nav-container > nav > ul .divider{
    width: 1px;
    height: 38px;
    background-color: var(--dark-secondary-color);
    border-radius: 2px;
}
.btn-contact-responsive {
    display: none;
}
.btn-contact {
    display: flex;
    border-radius: 50px;
    margin: 0px 5px;
}
.btn-contact .contact, .hire {
    border: none;
    text-decoration: none;
    height: 47.5px;
    padding: 15px 0px;
    font-weight: bold;
    cursor: pointer;
    font-size: var(--base-font-size);
    width: 100px;
    background-color: var(--third-text-color);
    color: var(--main-text-color);
}
.btn-contact .div-btn {
    background-color: var(--text-hover-color);
    width: 1px;
    height: 47.5px;
}
.btn-contact .contact:hover, .hire:hover {
    background-color: var(--text-hover-color);
    color: var(--main-text-color);
    border: none;
    height: 47.5px;
    padding: 15px 0px;
    font-size: var(--base-font-size);
    font-weight: bold;
    cursor: pointer;
}
.btn-contact .contact {
    border-radius: 50px 0px 0px 50px;
}
.btn-contact .hire {
    border-radius: 0px 50px 50px 0px;
}
@media screen and (max-width: 1300px) {
    .btn-contact {
        display: none;
    }
    .menu-btn {
        display: flex;
    }
    .menu-btn i{
        display: block;
    }
    #click:checked ~ .menu-btn i:before{
        content: "\f00d";
    }
    nav {
        z-index: 999999;
    }
    nav ul{
        position: fixed;
        top: 68px;
        left: -100%;
        background: var(--third-text-color);
        width: 35%;
        text-align: center;
        display: block;
        padding-bottom: 10px;
        transition: left 0.3s ease-in-out;
    }
    #click:checked ~ ul{
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 30px;
        height: 100vh;
        transition: left 0.3s ease-in-out;
    }
    nav ul li{
        width: 100%;
        margin: 0;
        cursor: pointer;
    }
    #click:checked ~ ul li a{
        color: white;
        font-size: 1.3em;
        line-height: 1.1;
        margin-left: 0px;
    }
    nav ul li a.active,
    nav ul li a:hover{
        background: none;
        color: var(--text-hover-color);
        font-weight: bold;
        font-size: 1.2em;
        transition: font-size 0.2s ease;
    }
    .header-nav-container > nav > ul .divider {
        display: block;
        width: 100%;
        height: 35px;
        background-color: transparent;
    }
    .header-nav-container > nav {
        background-color: transparent;
    }
    .btn-contact-responsive {
        position: absolute;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        bottom: 90px;
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
    .btn-contact-responsive button{
        border-radius: 5px;
        background-color: var(--dark-third-color);
        height: 45px;
        width: 185px;
        border: none;
        padding: 10px;
        margin: 0px 10px;
        font-size: 1.2em;
        color: var(--main-text-color);
    }
    .btn-contact-responsive button:hover {
        background-color: var(--dark-primary-color);
        color: var(--main-text-color);
        transition: all 0.2s ease-in-out;
    }
}
