/* global styles */
body {
    margin: 0;
    background-color: rgb(236, 209, 101);
}

.Header {
    margin: 0;
    background-color: rgb(236, 209, 101);
}

.legal {
    position: fixed;
    bottom: 25px;
    left: 25px;
}

.MentionsLegales {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 992px) {
    .Header {
        position: fixed;
        top: 0;
        z-index: 10;
        height: fit-content;
    }

    .Header h1 {
        text-align: center;
        margin-bottom: 0px;
        margin-top: 0;
        padding-top: 5px;
    }

    .Header ul {
        list-style-type: none;
        /* margin: 5; */
        margin-top: 0;
        margin-bottom: 2px;
        padding: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        /* justify-content: space-evenly; */
        justify-content: center;
    }

    .Header li {
        border: 2px solid black;
        padding: 10px;
        margin: 5px;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }

    .Header a {
        text-decoration: none;
        font-size: large;
    }

    /* Home styles */
    .firstpart {
        display: flex;
        flex-direction: column;
        height: 100vh;
        align-items: center;
        margin-top: 20vh;
    }

    .firstpart .imgbcg1 {
        width: 100vw;
        height: 100vh;
        margin: 0;
        position: absolute;
        left: 0px;
        top: 0vh;
        z-index: -1;
        object-fit: cover;
    }

    .firstpart .logo {
        display: none;
    }

    .firstpart .sloganTitle {
        position: absolute;
        font-size: xx-large;
        top: 20vh;
        /* width: 65vw; */
        text-align: center;
        border: 2px solid;
        background-color: rgb(236, 209, 101);
        border-radius: 12px;
        padding: 5px;
    }

    .firstpart .slogan {
        position: absolute;
        bottom: 5vh;
        font-size: medium;
        width: 90vw;
        text-align: center;
        border: 2px solid;
        background-color: rgb(236, 209, 101);
        border-radius: 12px;
        padding: 5px;
    }

    .secpart {
        position: absolute;
        height: 80vh;
        top: 100vh;
        display: flex;
        /* justify-content: space-evenly; */
        align-items: center;
    }

    .secpart .leftSide {
        width: 100vw;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .leftSide .hp {
        width: 55%;
        /* top: 0; */

    }

    .leftSide .sp {
        margin-top: 25px;
        width: 85%;
    }

    .leftSide p {
        margin: 20px;
        text-align: center;
    }

    .secpart .rightSide {
        display: none;
    }

    /* Parainages styles */
    .containerParainage {
        margin: auto;
        display: flex;
        align-items: center;
    }

    .item1 .ruche {
        display: none;
    }

    .containerParainage .item2 {
        /* width: 60%; */
        /* padding-left: 20%; */
        /* padding-right: 5%; */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .item2 .imgbcg {
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        height: fit-content;
        width: 100vw;
        object-fit: cover;
    }

    .item2 .imgeffect {
        display: none;
    }

    .item2 h2 {
        margin-top: 25vh;
        text-align: center;
        background-color: rgb(236, 209, 101);
        padding: 5px;
        border: 2px solid;
        border-radius: 12px;
        height: auto;
        /* width: fit-content; */
    }

    .item2 p {
        text-align: center;
        background-color: rgb(236, 209, 101);
        padding: 5px;
        border: 2px solid;
        border-radius: 12px;
        font-size: medium;
        width: 90vw;
        margin-bottom: 10vh;
    }

    /* Contact styles */
    .bodyContact {
        margin-top: 15vh;
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-evenly;
        align-items: center;
        height: 85vh;
    }

    .bodyContact .leftPanel {
        /* padding-left: 5vw; */
    }

    .leftPanel p {
        display: none;
    }

    .leftPanel iframe {
        border: 0;
        height: 25vh;
        width: 80vw;
    }

    .bodyContact .rightPanel {
        /* padding-left: 10vw; */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rightPanel h2 {
        text-align: center;
        background-color: rgb(236, 209, 101);
        padding: 5px;
        border: 2px solid;
        border-radius: 12px;
        width: fit-content;
    }

    .rightPanel p {
        background-color: rgb(236, 209, 101);
        padding: 5px;
        border: 2px solid;
        border-radius: 12px;
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 5px;
        margin-bottom: 5px;
        /* margin-right: 25px; */
    }

    .rightPanel .imgbcg {
        position: absolute;
        z-index: -1;
        top: 0;
        right: 0;
        height: 100vh;
        object-fit: cover;
    }

    .rightPanel .imgeffect {
        display: none;
    }

    /* Charte Qualité */
    .charteBody {
        margin-top: 25vh;
        display: flex;
        flex-direction: column;
    }

    .charteBody .logo {
        width: 25vw;
        position: absolute;
        z-index: -10;
        margin-left: 5vw;
        top: 22vh;
    }

    .charteBody .title {
        align-self: center;
    }

    .charteBody .charteContent {
        align-self: center;
        margin-left: 5px;
        margin-right: 5px;
    }
    .charteContent p{
        margin-left: 25px;
    }
    .charteBody .contact{
        margin-left: 25px;
        margin-top: 25px;
        padding-bottom: 55px;
    }
    .footerLogo{
       visibility: hidden;
       width: 0;
    }
    .MentionsLegales {
        margin-top: 20vh;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
/* @media only screen and (min-width: 600px) {} */

/* Medium devices (landscape tablets, 768px and up) */
/* @media only screen and (min-width: 768px) {} */

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

    .Header h1 {
        text-align: center;
        margin-bottom: 5px;
        margin-top: 0;
        padding-top: 5px;
    }

    .Header ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
    }

    .Header a {
        text-decoration: none;
        font-size: large;

    }

    /* .legal {
        position: absolute;
        bottom: 25px;
        left: 25px;
    } */

    /* Home styles */
    .firstpart {
        display: flex;
        flex-direction: column;
        height: 90vh;
        align-items: center;
    }

    .firstpart .imgbcg1 {
        width: 100vw;
        height: 100vh;
        margin: 0;
        position: absolute;
        left: 0px;
        top: 0px;
        z-index: -1;
    }

    .firstpart .logo {
        top: 15vh;
        height: 25vh;
        width: 25vh;
        position: absolute;
        left: 10vw;
        border-radius: 25px;
    }

    .firstpart .sloganTitle {
        position: absolute;
        font-size: xx-large;
        top: 20vh;
        /* width: 65vw; */
        text-align: center;
        border: 2px solid;
        background-color: rgb(236, 209, 101);
        border-radius: 12px;
        padding: 5px;
    }

    .firstpart .slogan {
        position: absolute;
        bottom: 10vh;
        font-size: large;
        width: 65vw;
        text-align: center;
        border: 2px solid;
        background-color: rgb(236, 209, 101);
        border-radius: 12px;
    }


    .secpart {
        position: absolute;
        height: 100vh;
        top: 100vh;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    .secpart .leftSide {
        width: 40vw;
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .leftSide .hp {
        width: 50%;
    }

    .leftSide .sp {
        margin-top: 25px;
        width: 75%;
    }

    .leftSide p {
        margin: 20px;
        text-align: center;
    }

    .secpart .rightSide {
        width: 60vw;
        display: flex;
        justify-content: space-evenly;
        align-items: center;

    }

    .rightSide .imgBcg {
        position: absolute;
        height: 100vh;
        width: 60%;
        top: 0;
        z-index: -2;
    }

    .rightSide .imgeffect {
        position: absolute;
        height: 100vh;
        top: 0;
        right: 40vw;
        z-index: -1;
    }

    .rightSide p {
        font-size: larger;
        position: absolute;
        border: 2px solid;
        background-color: rgb(236, 209, 101);
        text-align: center;
        width: 25%;
        bottom: 5vh;
        right: 10vw;
    }

    /* Parainages styles */
    .containerParainage {
        margin: auto;
        display: flex;
        /* justify-content: space-evenly; */
        align-items: center;
        height: 90vh;
    }

    .item1 .ruche {
        height: 60vh;
        margin-left: 5vw;
    }

    .containerParainage .item2 {
        width: 60%;
        padding-left: 20%;
        padding-right: 5%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .item2 .imgbcg {
        position: absolute;
        z-index: -1;
        top: 10vh;
        right: 0;
        height: 90vh;
        width: 66vw;
        object-fit: cover;
    }

    .item2 .imgeffect {
        position: absolute;
        height: 100vh;
        top: 0;
        right: 40vw;
        z-index: -1;
    }

    .item2 h2 {
        text-align: center;
        background-color: rgb(236, 209, 101);
        padding: 5px;
        border: 2px solid;
        border-radius: 12px;
        width: fit-content;
    }

    .item2 p {
        text-align: center;
        background-color: rgb(236, 209, 101);
        padding: 5px;
        border: 2px solid;
        border-radius: 12px;
        font-size: larger;
    }

    /* Contact styles */
    .bodyContact {
        margin: auto;
        display: flex;
        /* justify-content: space-evenly; */
        align-items: center;
        height: 80vh;
    }

    .bodyContact .leftPanel {
        padding-left: 5vw;
    }

    .leftPanel iframe {
        border: 0;
        height: 45vh;
        width: 33vw;
    }

    .bodyContact .rightPanel {
        padding-left: 10vw;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rightPanel h2 {
        text-align: center;
        background-color: rgb(236, 209, 101);
        padding: 5px;
        border: 2px solid;
        border-radius: 12px;
        width: fit-content;
    }

    .rightPanel p {
        background-color: rgb(236, 209, 101);
        padding: 5px;
        border: 2px solid;
        border-radius: 12px;
        margin-right: 25px;
    }

    .rightPanel .imgbcg {
        position: absolute;
        z-index: -1;
        top: 10vh;
        right: 10;
        height: 90vh;
        object-fit: cover;
    }

    .rightPanel .imgeffect {
        position: absolute;
        height: 100vh;
        top: 0;
        right: 40vw;
        z-index: -1;
    }

    /* Charte Qualité */
    .charteBody {
        margin-top: 55px;
        display: flex;
        flex-direction: column;
    }

    .charteBody .logo {
        width: 25vh;
        position: absolute;
        z-index: -10;
        margin-left: 5vw;
    }

    .charteBody .title {
        align-self: center;
    }

    .charteBody .charteContent {
        align-self: center;
        border: 2px solid;
        border-radius: 12px;
    }
    .charteContent h3{
        margin-left: 5px;
    }
    .charteContent p{
        margin-left: 25px;
        margin-right: 5px;
    }
    .charteBody .contact{
        margin-left: 25px;
        margin-top: 25px;
        padding-bottom: 50px;
    }
    .footerLogo{
        width: 15vw;
        position: absolute;
        right: 5vw;
        bottom: 5vw;
    }

    /* Mentions legales */
    .MentionsLegales {
        display: flex;
        flex-direction: column;
        align-items: center;

    }
}