body{
    background-color: var(--violet);
    scroll-behavior: smooth;
}

.align_center{
    text-align: center !important;
    font-family: BDO-bold;
}

@media(orientation: landscape){
    .partie{
        color: white;
        width: 100vw;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding-bottom: 4vw;
        padding-top: 6vw;
        position: relative;
    }

    .partie p{
        text-align: start;
        width: 70%;
        font-size: var(--fs1);
        font-family: BDO-bold;
    }

    .partie a{
        color: white;
    }

    #la-compagnie{
        background-color: var(--violet);
        z-index: 0;
    }

    #jcf{
        background-color: var(--vert);
        z-index: 1;
    }

    #l-asso{
        background-color: var(--orange);
        z-index: 2;
    }

    #calendrier{
        text-align: center;
        background-color: var(--rouge);
        z-index: 2;
    }

    #calendrier .titre-fixe{
        background-color: var(--rouge);
        z-index: 2;
    }

    #la-compagnie .titre-fixe{
        background-color: var(--violet)
    }

    #jcf .titre-fixe{
        background-color: var(--vert)
    }

    #l-asso .titre-fixe{
        background-color: var(--orange)
    }


    .titre-fixe{
        text-align: center;
        width: 100%;
        background-color: aqua;
        padding-top: .25vw;
        font-size: var(--fs3);
        /* left: 50%;
        transform: translateX(-50%); */
        color: var(--jaune);
        z-index: 9999;
        position: absolute;
        top: 0px;
    }

    .grp-images{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        margin-bottom: 3vw;
    }

    .grp-logo{
        width: 60%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        margin-top: 5vw;
        margin-bottom: 3vw;
    }

    .grp-images div{
        border-radius: 10000px;
        overflow: hidden;
        /* filter: grayscale(1) contrast(150%); */
    }

    .grp-logo img{
        /* border-radius: 10000px; */
        overflow: hidden;
        /* filter: grayscale(1) contrast(200%); */
        width: 70%;
        filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(-10%) hue-rotate(33deg) brightness(99%) contrast(100%) !important;
        mix-blend-mode: unset !important;
    }

    #logo{
        position: fixed;
        width: 5vw;
        height: 5vw;
        margin: 1vw;
        z-index: 999999;
        top: unset !important;
        bottom: 0px !important;
        left: 0vw;
        cursor: pointer;
    }

    #logo img{
        width: 100%;
        height: 100%;
    }

    img{
    mix-blend-mode: screen;
    filter: grayscale(1) contrast(200%);
    }

    #cal{
        width: 95%;
        font-size: var(--fs1);
    }

    .annee{
        margin-bottom: 2vw;
    }

    h4{
        margin: 0px;
        padding: 0px;
        width: 100%;
        text-align: start;
        border-bottom: .2vw dotted;
        font-size: var(--fs1);
        font-family: BDO-bold;
        padding: .1vw;
    }

    .evenement{
        display: flex;
        flex-direction: row;
        padding: .1vw;
        padding-top: .25vw;
    }

    .evenement div{
        text-align: start;
    }

    .evenement div:last-of-type{
        right: 0px;
    }

    .evenement:hover{
        background-color: white;
        color: var(--rouge);
    }

    .evenement a{
        text-decoration: none;
    }

    .evenement:hover a{
        color: var(--rouge);
    }

    .evenement a:hover{
        text-decoration: underline dotted;
    }

    .cal-date{
        width: 15%;
        font-family: BDO-bold;

    }

    .cal-pro{
        width: 35%;
    }

    .cal-lieu{
        width: 25%;
        font-family: BDO-bold;
    }

    .cal-adre{
        width: 25%;
        text-align: end !important;
        font-family: BDO-bold;

    }
}

/* ----------------------------------- MOBILE PHONE ------------------------------------------------------ */

@media(orientation: portrait){
    .partie{
        color: white;
        width: 100vw;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding-bottom: 10vw;
        padding-top: 12vw;
        position: relative;
    }

    .partie p{
        text-align: start;
        width: 92%;
        line-height: 1.5;
        font-size: var(--fs1);
        font-family: BDO-bold;
        /* text-align: justify; */
        hyphens: auto;
    }

    .partie a{
        color: white;
    }

    #la-compagnie{
        background-color: var(--violet);
        z-index: 0;
    }

    #jcf{
        background-color: var(--vert);
        z-index: 1;
    }

    #l-asso{
        background-color: var(--orange);
        z-index: 2;
    }

    #calendrier{
        text-align: center;
        background-color: var(--rouge);
        z-index: 2;
    }

    #calendrier .titre-fixe{
        background-color: var(--rouge);
        z-index: 2;
    }

    #la-compagnie .titre-fixe{
        background-color: var(--violet)
    }

    #jcf .titre-fixe{
        background-color: var(--vert)
    }

    #l-asso .titre-fixe{
        background-color: var(--orange)
    }


    .titre-fixe{
        text-align: center;
        width: 100%;
        background-color: aqua;
        padding-top: .25vw;
        font-size: var(--fs3);
        /* left: 50%;
        transform: translateX(-50%); */
        color: var(--jaune);
        z-index: 9999;
        position: absolute;
        top: 0px;
    }

    .grp-images{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        margin-bottom: 6vw;
        margin-top: 2vw;
    }

    .grp-logo{
        width: 90%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        margin-top: 5vw;
        margin-bottom: 3vw;
        align-items: center;
    }

    .jcf-img div{
        width: 50vw !important;
        height: 50vw !important;
    }

    .grp-images div{
        border-radius: 10000px;
        overflow: hidden;
        /* filter: grayscale(1) contrast(150%); */
    }

    .grp-logo div{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 25% !important;
    }
    .grp-logo img{
        /* border-radius: 10000px; */
        overflow: hidden;
        /* filter: grayscale(1) contrast(200%); */
        width: 70%;
        height: auto;
        filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(-10%) hue-rotate(33deg) brightness(99%) contrast(100%) !important;
        mix-blend-mode: unset !important;
    }

    #logo{
        position: fixed;
        width: 5vw;
        height: 5vw;
        margin: 1vw;
        z-index: 999999;
        top: unset !important;
        bottom: 0px !important;
        left: 0vw;
        cursor: pointer;
    }

    #logo img{
        width: 100%;
        height: 100%;
    }

    img{
    mix-blend-mode: screen;
    filter: grayscale(1) contrast(200%);
    }

    #cal{
        width: 95%;
        font-size: var(--fs1);
    }

    .annee{
        margin-bottom: 10vw;
    }

    h4{
        margin: 0px;
        padding: 0px;
        width: 100%;
        text-align: start;
        border-bottom: .7vw dotted;
        font-size: var(--fs3);
        font-family: BDO-bold;
        padding: .1vw;
    }

    .evenement{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding: .1vw;
        padding-top: .25vw;
        margin-bottom: 3vw;
    }

    .evenement div{
        text-align: start;
    }

    .evenement div:last-of-type{
        right: 0px;
    }

    .evenement:hover{
        background-color: white;
        color: var(--rouge);
    }

    .evenement a{
        text-decoration: none;
    }

    .evenement:hover a{
        color: var(--rouge);
    }

    .evenement a:hover{
        text-decoration: underline dotted;
    }

    .cal-date{
        font-size: var(--fs3);
        width: 100%;
        font-family: BDO-bold;

    }

    .cal-pro{
        font-size: var(--fs3);

        width: 100%;
        /* text-align: end !important; */
    }

    .cal-lieu{
        width: 100%;
        font-family: BDO-bold;
    }

    .cal-adre{
        display: none;
        width: 50%;
        text-align: end !important;
        font-family: BDO-bold;

    }
}
