/* CONTENEURS */

.grfk-mainContainer {
    background-color: var(--mainColor1);
    border-radius: var(--borderRadius1);
    filter: drop-shadow(0px 10px 5px var(--mainColor4));
    margin: var(--margins1);
    height: fit-content;
    width: var(--maxWidth);
}

.grfk-mainContainer2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    justify-self: center;
    background-color: var(--mainColor1);
    border-radius: var(--borderRadius1);
    filter: drop-shadow(0px 10px 5px var(--mainColor4));
    margin: var(--margins1) auto;
    padding: var(--paddings1);
    height: fit-content;
    width: var(--maxWidth);
}

.grfk-mainContainer3{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    justify-self: center;
    background-color: var(--mainColor1);
    border-radius: var(--borderRadius1);
    filter: drop-shadow(0px 10px 5px var(--mainColor4));
    margin: var(--margins1) auto;
    padding: var(--paddings1);
    height: fit-content;
    width: var(--maxWidth);
}

.grfk-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.grfk-logo>img {
    width: 50px;
    align-self: center;
}

/* HEADER */

header {
    display: flex;
    flex-direction: column;
    height: fit-content;
    max-width: 100%;
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    align-self: start;
    z-index: 100;
    filter: drop-shadow(0px 10px 5px var(--mainColor4));
}

.grfk-container-header1 {
    display: flex;
    flex-direction: row;
    background-color: var(--mainColor4);
    color: var(--mainColor2);
    height: fit-content;
    width: 100%;
    padding: 2vh 5vw;
}

header>nav:nth-child(1)>ol>li:nth-child(3) {
    margin-right: auto;
    margin-left: auto;
}

.grfk-container-header2 {
    display: flex;
    flex-direction: row;
    background-color: var(--mainColor3);
    color: var(--mainColor2);
    height: fit-content;
    max-width: 100%;
    width: 100%;
    padding: 2vh 2vw;
    /* justify-content: space-evenly; */
}

header>nav>ol>li {
    display: flex;
    width: 18vw;
    justify-content: center;
    align-items: center;
}

header>nav>ol>li>a {
    color: var(--mainColor2);
    text-decoration: none;
    text-align: center;
}

header>nav:nth-child(2)>ol>li:nth-child(3) {
    margin-right: auto;
    margin-left: auto;
}

.menuBurgerHeaderContainer {
    display: none;
}


/* -- POP UP INSCRIPTION/LOGIN */

.grfk-profile-button {
    anchor-name: --popoverProfileButton;
}

.grfk-popUpProfile {
    margin: 0;
    inset: auto;
    position-anchor: --popoverProfileButton;
    top: anchor(bottom);
    right: anchor(right);


    background-color: var(--mainColor1);
    border-radius: var(--borderRadius1);
    filter: drop-shadow(0px 10px 5px var(--mainColor4));
    margin: 0px var(--marginDesktop);
    height: fit-content;
    width: fit-content;
}

/*
.grfk-popUpProfile:popover-open {
    display: grid;
}
*/

.popoverProfileCTAs {
    display: flex;
    flex-direction: column;
    background-color: var(--mainColor2);
    color: var(--mainColor4);
}

.popoverProfileCTAs>a:hover {
    background-color: var(--mainColor4);
    color: var(--mainColor2);
}

.popoverProfileCTAs>a {
    padding: var(--padding1);
    color: var(--mainColor4);
}

.popoverProfileCTAs>*:nth-child(1) {
    box-sizing: border-box;
    border-bottom: thin solid var(--mainColor4);
}


/* BANDEAU TITRE PAGE */

.grfk-titrePage {
    background-color: var(--mainColor3);
    color: var(--mainColor1);
    filter: drop-shadow(0px 10px 5px var(--mainColor4));
    margin: var(--heightMarginsDesktop) 0px;
    height: fit-content;
    width: 100%;
    padding: 0.5em;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
}

/* FOOTER */

footer {
    display: flex;
    flex-direction: column;
}


.footerFirstPart {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    background-color: var(--mainColor4);
    padding: var(--paddings1);
}



.footerRS {
    display: flex;
    flex-direction: column;
    width: 15vw;
    color: var(--mainColor1);
    align-items: center;
    gap: var(--gaps1);
}

.footerRS-liste {
    display: flex;
    flex-direction: row;
    gap: var(--gaps1);
}

.footerLinksListe {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 15vw;
    gap: var(--gaps1);
    text-align: center;
}

.footerSecondPart {
    display: flex;
    justify-content: center;
}

/* CARTELS */

/* Cartel actualité simplifié : texte avec background noir un peu transparent sur image */

.grfk-cartelSimpleActualite {
    width: 100%;
    display: grid;
    place-items: end;
}

img {
    width: 100%;
    object-fit: cover;
    grid-area: 1/1;
}

.grfk-presentationActualite {
    width: 100%;
    background-color: oklch(from var(-mainColor5) l c h / calc(alpha-0.5));
    grid-area: 1/1;
}


/* FAQ */

.containerFAQ {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 1vh 10vw;
    /* justify-content: center; */
}

details {
    filter: drop-shadow(0px 5px 2px var(--mainColor4));
    margin: 1em 0;
}

details>p {
    background-color: var(--mainColor4);
    color: var(--mainColor2);
    padding: var(--padding1);
}

summary>h3 {
    align-self: center;
}

summary {
    background-color: var(--mainColor2);
    color: var(--mainColor4);
    padding: var(--padding1);
    display: flex;
    justify-content: space-between;
}

details summary {
    list-style: none;

    &::after {
        content: "^";
        color: var(--mainColor4);
        padding: var(--padding1);
    }

    [open] &::after {
        content: "v";
    }
}


@media (max-width: 1200px) {}

@media (max-width: 720px) {

    .footerFirstPart {
        display:flex;
        flex-direction: column;
        gap: var(--gaps1);
    }

    .footerRS {
        width: 100%;
    }

    .footerLinksListe {
        width: 100%;
    }

    .grfk-container-header2 .grfk-button3 {
        /* visibility: hidden; */
        display: none;
    }

    .grfk-search-bar {
        display: none;
    }

    .menuBurgerHeaderContainer {
        display: flex;
        align-self: center;
        justify-self: center;
    }
}


@media (max-width: 400px) {}