body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.menu2 {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    position: fixed;
    width: 100%;
    z-index: 1;
    transition: 1000ms;
    background-color: rgba(255, 255, 255, 0.952);
}

.menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 17px;
    position: fixed;
    width: 100%;
    z-index: 1;
    background-color: white;
}

#menu a {
    color: black;
    text-align: center;
    padding: 13px;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all .40s ease;
}

#menu a:hover {
    background-color: #f5f5f5;
    color: black;
    box-shadow: 5px 5px 0px #0000007d;
}

.menubtn {
    display: flex;
    color: black;
    padding: 16px;
    text-decoration: none;
    z-index: 1;
}

.sousmenu {
    background-color: white;
    display: none;
    position: absolute;
    border-radius: 10px;
    transition: 1000ms;
    padding: 7px 0px;
    padding-right: 3px;
}


.sousmenu a {
    margin: 3px 0px !important;
    letter-spacing: 0px !important;
    background-color: white;
    padding: 2px;
}

.menuspe:hover .sousmenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 151px;
}

.menubtn:hover {
    background-color: black;
    color: white;
}

.menuspe {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.active1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.active {
    position: fixed;
    margin-top: 30px;
    border-bottom: 2px solid black;
    width: 40px;
    transition: 500ms;
}

.active1:hover .active {
    width: 0;
}

.shadow {
    box-shadow: 0 .15rem 1.75rem 0 rgba(58, 59, 69, .15)
}

.shadowdoux {
    box-shadow: 5px 5px 0 rgba(58, 59, 69, .15)
}

.shadowdoux2 {
    box-shadow: 10px 10px 0 rgba(58, 59, 69, .15)
}

.barsep {
    margin-left: 50vh;
    border-bottom: 3px solid #000000;
    width: 30vh;
    transition: 3s;
}

.linkedin {
    width: 40px;
}

.linkedin:hover {
    transition: 500ms;
    opacity: 0.7;
    cursor: pointer;
}

.link {
    all: unset !important;
}

/*Partie Fin*/

#basaccueil {
    background-color: black;
    height: 12vh;
}

#blockfin {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    color: whitesmoke;
    font-weight: 500;
    font-size: 14px;
    opacity: 0.8;
    height: 100%;

}

.Copyright {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 600px;
}

.Mentions {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.Mentions a {
    text-decoration: none;
    color: white;
}

.Mentions a:hover {
    text-decoration: underline;
    color: white;
}

.tiret {
    margin: 5px;
}


@media (max-width: 480px) {
    #blockfin {
        flex-direction: column;
        align-items: center;
    }

    .Copyright {
        margin-right: 0;
    }

    .titresection {
        font-size: 40px;
    }

    .barsep {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    #menu {
        position: fixed;
        left: -310px;
        top: 0;
        height: 100vh;
        width: 280px;
        background-color: #fff;
        z-index: 1000;
        transition: left 0.3s ease;
        flex-direction: column;
        padding-top: 70px;
    }

    body {
        padding-top: 60px;
    }

    #menu.active {
        left: 0;
    }

    #menu a {
        padding: 15px 20px;
        width: 100%;
        text-align: left;
    }

    .menuspe {
        width: 100%;
    }

    .sousmenu {
        position: relative;
        width: 100%;
        box-shadow: none;
        padding-left: 20px;
    }

    .toggle-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        /* Augmenté pour être au-dessus de tout */
    }

    .toggle-menu .bar {
        width: 100%;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
    }

    .toggle-menu.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .toggle-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .toggle-menu.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .active1 {
        width: 100%;
    }

    .active1 a {
        width: 100%;
    }

    .link {
        padding: 15px 20px;
    }

    .linkedin {
        width: 30px;
        height: 30px;
    }
}

@media screen and (min-width: 769px) {
    .toggle-menu {
        display: none;
    }
}