
@import url('https://fonts.googleapis.com/css?family=Libre+Caslon+Text:400,700&display=swap');

body {
    font-family: Libre Caslon Text;
    background-color: #FFAB91;
}

.body-text {
    padding-top: 10vh;
    text-align: center;
    position: relative;
}

/*.hamburger-icon {
    position: absolute;
    z-index: 1;
    top: 7vh;
    left: 14vw;
    padding-bottom: 2vh;
}
*/
@media screen and (max-width: 440px) {
 .hamburger-icon {
    position: absolute;
    z-index: 1;
    padding-top: 2vh;/* top: 7vh; */    /*++++++++++++++++++++++++ tr�s important ++++++++++++++++ */
    right: 2vw;
    padding-bottom: 2vh;

    /* direction: rtl;    */
    display:flex;
    justify-content: center;
    align-items:center;
    flex-wrap:wrap;      /*    */
    flex-direction: row;
}
#maincontent .acounts {
    width: 0vw;
    height: 0%;   /* height: 100%; */
}
div.menu-pane {
  /*  margin-top : 6vw;   */
    background-color: #444;/* background-color: #000;*/
    position: absolute;
    transform: translateX(-105vw);
    transform-origin: (0, 0);
    width: 100vw;
    height: 120%;   /* height: 100%; */
    transition: 0.6s ease-in-out;
    z-index: 999;        margin-top: 12vh;  /*++++++++++++++++++++++++ tes important ++++++++++++++++ */
}

}
@media screen and (min-width: 441px) and (max-width: 580px){
 .hamburger-icon {
    position: absolute;
    z-index: 1;
    padding-top: 2vh;/* top: 7vh; */    /*++++++++++++++++++++++++ tes important ++++++++++++++++ */
    right: 3vw;
    padding-bottom: 2vh;

    /* direction: rtl;    */
    display:flex;
    justify-content: center;
    align-items:center;
    flex-wrap:wrap;      /*    */
    flex-direction: row;
}
#maincontent .acounts {
    width: 0vw;
    height: 0%;   /* height: 100%; */
}
div.menu-pane {
   /* margin-top : -1vw;  */
    background-color: #444;/* background-color: #000;*/
    position: absolute;
    transform: translateX(-105vw);
    transform-origin: (0, 0);
    width: 105vw;
    height: 120%;   /* height: 100%; */
    transition: 0.6s ease-in-out;
    z-index: 999;        margin-top: 8vh;  /*++++++++++++++++++++++++ tes important ++++++++++++++++ */
}

}

@media screen and (min-width: 581px) and (max-width: 968px) {
.hamburger-icon {
    position: absolute;
    z-index: 1;
    padding-top: 2vh;/* top: 7vh; */    /*++++++++++++++++++++++++ tes important ++++++++++++++++ */
    right: 3vw;
    padding-bottom: 2vh;

    /* direction: rtl;    */
    display:flex;
    justify-content: center;
    align-items:center;
    flex-wrap:wrap;      /*    */
    flex-direction: row;


}
div.menu-pane {
    background-color: #444;/* background-color: #000;*/
    position: absolute;
    transform: translateX(-105vw);
    transform-origin: (0, 0);
    width: 100vw;
    height: 110%;   /* height: 100%; */
    transition: 0.6s ease-in-out;
    z-index: 999; /**/margin-top: 8vh;  /*++++++++++++++++++++++++ tes important ++++++++++++++++ */

}
}

@media screen and (min-width: 969px) {
.hamburger-icon {
   /* position: absolute;
    z-index: 1;
    top: 6vh;
    left: 14vw;
    padding-bottom: 2vh;
                        */


    position: absolute;
    z-index: 1;
    padding-top: 2vh;/* top: 7vh; */    /*++++++++++++++++++++++++ tes important ++++++++++++++++ */
    right: 13vw;
    padding-bottom: 2vh;

    /* direction: rtl;    */
    display:flex;
    justify-content: center;
    align-items:center;
    flex-wrap:wrap;      /*    */
    flex-direction: row;

















}
div.menu-pane {
    background-color: #444;/* background-color: #000;*/
    position: absolute;
    transform: translateX(-105vw);
    transform-origin: (0, 0);
    width: 100vw;
    height: 80%;   /* height: 100%; */
    transition: 0.6s ease-in-out;
    z-index: 999;  margin-top: 7vh;  /*++++++++++++++++++++++++ tes important ++++++++++++++++ */

}
}

.hamburger-icon span {
    height: 5px;
    width: 40px;            /* taille icone*/
    background-color: #F0B800; /* ----------------- background-color: black;      */
    display: block;
    margin: 5px 0px 5px 0px;
    transition: 0.7s ease-in-out;
    transform: none;
}

#openmenu:checked ~ .menu-pane {
    right: -6vw; /* left: -5vw; -----------------------------------------*/
    transform: translateX(-5vw);
}

#openmenu:checked ~ .body-text {
display: none;
}

#openmenu:checked ~ .hamburger-icon span:nth-of-type(2) {
    transform: translate(0%, 175%) rotate(-45deg);
    background-color: red;
}

#openmenu:checked ~ .hamburger-icon span:nth-of-type(3) {
    transform: rotate(45deg);
 background-color: blue; /* background-color: white; */

}

#openmenu:checked ~ .hamburger-icon span:nth-of-type(1) {
    opacity: 0;
}

#openmenu:checked ~ .hamburger-icon span:nth-of-type(4) {
    opacity: 0;
}

/*div.menu-pane {
    background-color: #444;
    position: absolute;
    transform: translateX(-105vw);
    transform-origin: (0, 0);
    width: 100vw;
    height: 90%;
    transition: 0.6s ease-in-out;
    z-index: 999;

}*/

.menu-pane p {
 color: green; /* color: black; */
    font-size: 0.6em;
}

.menu-pane nav {
    padding: 2%;
    padding-top: 1px; /* ligne ajout�e */
}

.menu-links li, a, span {
            transition: 0.5s ease-in-out;
}

.menu-pane ul {
    padding: 4%; /* padding: 10%; */
    display: inline-block;
}

.menu-pane li {
    padding-top: 5px; /* padding-top: 20px; */
    padding-bottom: 5px; /* padding-bottom: 20px; */
    margin-left: 10px;
        font-size: 1.3em;
}

.menu-pane li:first-child {
    font-size: 2.3em;
    margin-left: 10px;
    color: #FBC007;
    font-weight: bold;
}

.menu-links li a {
    color: white;
    text-decoration: none;
}

.menu-links li:hover a {
    color: #FFAB91;
}

.menu-links li:first-child:hover a {
    color: black;
    background-color: #FFAB91;
}

#QC-info {
    background-color: #FFAB91;
        border: 2px solid;
    border-color: #FFAB91;
display: block;
    opacity: 0;

}

.menu-links li:first-child:hover #QC-info {
opacity: 1;
}

.menu-links li:first-child:hover #DC-info {
opacity: 1;
}

#DC-info {
    background-color: #FFAB91;
        border: 2px solid;
    border-color: #FFAB91;
display: block;
    opacity: 0;
}

.menu-links li:first-child a {
    padding: 5px;
}

input.hamburger-checkbox {
    position: absolute;
    z-index: 3;
    top: 5vh;
    left: 55vw;
    width: 10vw;
    opacity: 0;
    height: 6vh;
}
