@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,200;0,400&display=swap');

body {
    font-family: "Roboto Condensed", sans-serif;
    letter-spacing: 2px;
    font-size: 16px;
    min-width: 100vw;
    margin: 0;
    padding: 0;
}

@media (max-width: 479px) {
    body {
        font-size: 13px;
    }
}
/*** ZONE NAV ***/
/*** ZONE NAV ***/
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(232, 215, 239);
    height: 70px;
    width: 100%;
    letter-spacing: 3px;
    position: fixed;
    top: 0;
    margin: 0;
    padding: 0;
}
nav .logo_header {
    color: #fff;
    text-decoration: none;
    margin-left: 10px;
}
#logo_collectifpow {
    height: 70px;
}
/*** Menu principal ***/
.nav_menu {
    list-style: none;
    display: flex;
    gap: 10px;
    margin-right: 10px;
}
.nav_menu li {
    position: relative;
}
.nav_hover {
    color: black;
}
.nav_menu li a {
    text-decoration: none;
    padding: 15px 20px;
    display: block;
}
.nav_hover:hover {
    background-color:rgb(167, 139, 156);
    border-radius: 6px;
    color: white;
}
/*** Sous-menu déroulant ***/
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 0;
    z-index: 1000;
}
.submenu_collectif {
    width: 165px;
}
.submenu_creations {
    width: 315px;
}
.submenu_actions {
    width: 247px;
}
.submenu li a {
    text-align: center;
    display: block;
    border-radius: 6px;
    color: white;
    border-top: 1px solid #fff;
    background-color:rgb(167, 139, 156);
}
.submenu li a:hover {
    background-color:rgb(232, 215, 239);
    color: black;
    border-radius: 6px;
}
/* Affichage du sous-menu au survol */
.dropdown:hover .submenu {
    display: block;
}
.dropdown:hover > .nav_hover {
    background-color:rgb(167, 139, 156);
    color: white;
    border-radius: 6px;
}
/* Menu Burger */
.burger {
    display: none;
    cursor: pointer;
    margin-right: 20px;
    width: 28px;
    height: 22px;
    position: relative;
    z-index: 1001;
}
.burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: black;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }

/* --- RESPONSIVE --- */
@media (max-width: 1180px) {
    .burger {
        display: block;
    }
    .nav_menu {
        position: fixed;
        top: 70px;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgb(232, 215, 239);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        list-style: none;
        padding-top: 20px;
        margin: 0;
        gap: 0;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.5s ease;
    }
    .nav_menu.active {
        transform: translateX(0);
    }
    .nav_menu li {
        width: 100%;
        text-align: center;
    }
    .nav_menu li a {
        display: block;
        width: 100%;
        padding: 15px 0;
    }
    .submenu li a {
        display: none;
    }
  /* --- animation du burger en croix --- */
    .burger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    .burger.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }
}
/*** END ZONE NAV ***/

/*** ZONE MAIN ***/
h1 {
    color: rgb(125, 59, 73);
    font-size: 50px;
    letter-spacing: 5px;
    margin-top: 120px;
}
section {
    margin-left: 18%;
    margin-right: 18%;
    margin-bottom: 50px;
}
h2 {
    margin-top: 40px;
}
.bold {
    font-weight: bold;
}
.texte {
    font-family: "IBM Plex Serif", serif;
    font-weight: 200;
}

@media (max-width: 500px) {
    main {
        margin-left: 5%;
        margin-right: 5%;
    }
}
/*** END ZONE MAIN ***/

/*** ZONE COOKIES ***/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgb(232, 215, 239);
    padding-top: 7px;
    padding-bottom: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgb(167, 139, 156);
    flex-wrap: wrap;
}
.cookie-banner p {
    margin-left: 15px;
    flex: 1;
    box-sizing: border-box;
}
.cookie-banner a {
    color: rgb(125, 59, 73);
    text-decoration: none;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-banner button {
    background-color: white;
    border: none;
    padding: 8px 15px;
    margin-right: 15px;
    border-radius: 6px;
    cursor: pointer;
    color: rgb(125, 59, 73);
}
.cookie-banner button:hover {
    opacity: 0.7;
}
#lien_cookies:hover {
    color: rgb(167, 139, 156);
}
#rejectCookies {
    background-color: rgb(125, 59, 73);
    color: white;
}

@media (max-width: 650px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 15px;
        padding-right: 15px;
    }

    .cookie-banner p {
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .cookie-banner button {
        margin-right: 10px;
        padding: 10px 20px;
        flex: 1 1 auto;
        min-width: 120px;
    }
}
/*** END ZONE COOKIES ***/

/*** ZONE FOOTER ***/
#footer_icons {
    background-color: rgb(232, 215, 239);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 50px;
    padding-right: 50px;
}
#footer_RS {
    padding-left: 50px;
    padding-right: 50px;
}
#footer_contact {
    padding-left: 50px;
    padding-right: 50px;
}
.RS {
    height: 40px;
    width: 40px;
    padding-right: 15px;
}
#footer_copyright {
    background-color: rgb(167, 139, 156);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
#mentions_legales {
    font-size: 8px;
    text-decoration: none;
    color: black;
}
#mentions_legales:hover {
    color: rgb(232, 215, 239);
}

@media (max-width: 479px) {
    #footer_icons {
    padding-left: 10px;
    padding-right: 10px;
    }
    #copyright {
        display: none;
    }
}
/*** END ZONE FOOTER ***/