
@font-face {
    font-family: "Quicksand";
    src: url(../fonts/Quicksand-Regular.ttf)
}


@font-face {
    font-family: "MochiyPopOne";
    src: url(../fonts/MochiyPopOne-Regular.ttf)
}

@font-face {
    font-family: "MouseMemoirs";
    src: url(../fonts/MouseMemoirs-Regular.ttf)
}


* {
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
}

body {

    color: #333;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3em;
    scroll-behavior: smooth;
    width: 100%;
}

a {
    text-decoration: none;
    color: indianred;
}

a:hover {
    color: #333;
    text-decoration: underline;
}

.taste {
    border: 0;
}

h1, h2, h4, h5 {
    text-wrap: balance;
    font-weight: 400;
    font-family: 'Rubik-medium', sans-serif;
}

h2{
    font-family: "MouseMemoirs", serif;
    margin: 40px auto;
    text-transform: uppercase;
}


h3 {
    font-weight: 400;
    font-size: 1.1em;
}

header {
    background-image: url(../images/fonds.webp);
    background-position: 0 0;
    background-size: contain;
    background-repeat: repeat-x;
    background-color: #fff;
    left: 0;
    padding-left: 40px;
    position: fixed;
    height: 240px;
    top: 0;
    width: 100%;
    z-index: 1000;
}

main {
    margin-top: 240px;
    z-index: 1;
}

header img.logo {
    object-fit: cover;
    width: 80%;
    margin-top: 40px;
}

header img.logo-king {
    object-fit: cover;
    width: 28%;
    margin-top: 3px;

}

header div:nth-child(1) {
    height: 100%;
}

header div:nth-child(2) {
    /* Roi Lion */
    height: 100%;
    width: 50%;
    text-align: right;
}

header div:nth-child(3) {
    /* EG LABO */
    height: 100%;
    width: 5%;
    margin-right: 60px;
}


header div:nth-child(3) img.eg {
    opacity: 1;
    transition: transform .3s ease-in-out,
    -webkit-transform .3s ease-in-out;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, .14);
    width: 80px;
}

header div:nth-child(3) img.eg:hover {

    transform: scale(1.17);
}

ul {
    list-style-type: none;
}

.val-m {
    vertical-align: middle;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.c-green {
    color: #25afaa;
}

.c-purple {
    color: #901f93;
}

.c-orange {
    color: #e65405;
}

.bg-orange {
    background-color: rgba(230, 84, 5, 0.3);
}

.bg-purple {
    background-color: rgba(144, 31, 147, 0.3);
}

.bg-point {
    background-image: radial-gradient(#ddd 1px, transparent 0);
    background-size: 15px 15px;
}

.bg-green {
    background-color: rgba(37, 175, 170, 0.3);
}

.br-orange {
    border-left: #e65405 15px dashed;
}

.br-purple {
    border-right: #901f93 15px dashed;
}

.br-green {
    border-left: #25afaa 15px dashed;
}

.br-white {
    border-bottom: #fff 3px solid;
}

.jc-around {
    justify-content: space-around;
}

.jc-center {
    justify-content: center;
}

.jc-between {
    justify-content: space-between;
}

.txt-c {
    text-align: center;
}

.txt-i {
    font-style: italic;
}

.txt-small {
    font-size: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.slider {
    background-color: #fbf0dc;
    width: 100%;
}

.swiper {
    height: 100%;
    width: 100%;
}

.swiper img {
    object-fit: cover;
    width: 100%;
}

.swiper-pagination-bullet {
    background-color: indianred;
    height: 16px;
    width: 16px;
}

.swiper-pagination {
    text-align: right;
}


div.intro {
    background-color: #fbf0dc;
    background-image: url(../images/fruits.webp);
    font-weight: 400;
    margin: auto auto 0 auto;
    padding: 20px;

}

div.intro div p {
    background-color: #fbf0dc;
}

img.intro-img {
    margin: -100px auto -26px auto;
}


/*
div.intro div.testimonials{
    margin-top: 80px;
}

div.intro div.testimonials svg {
    width: 30px;
}

div.intro div.testimonials p{
    margin:20px auto;
}

 */



div.intro p {
    padding: 10px;
    text-wrap: balance;
    line-height: 1.6em;
}

p {
    padding: 10px;
}


div.product h2 {
    font-size: 3em;
}

div.product{
}

div.product.bg-orange .image {
    background-image: url(../images/multi-vitamines.webp);
    background-repeat: repeat;
}

div.product.bg-purple .image {
    background-image: url(../images/immunite.webp);
    background-repeat: repeat;
}

div.product.bg-green .image {
    background-image: url(../images/croissance.webp);
    background-repeat: repeat;
    background-position-y: -3px;
}

div.product div {
    padding: 18px;
}

div.product div.image {
    width: 38%;
}

div.product div.image img {
    margin-top: 120px;
    width: 80%;
}

div.product table {
    border-collapse: collapse;
    font-size: 0.9em;
}

div.product table.purple, table.purple td {
    border: #901f93 1px solid;
}

div.product table.orange, table.orange td {
    border: #e65405 1px solid;
}

div.product table.green, table.green td {
    border: #25afaa 1px solid;
}

div.product table td {
    padding: 10px;
    text-align: center;
    width: 30%;
}

div.product div.detail-product {
    width: 50%;
    z-index: 3;
}

div.product ul {
    list-style-image: url('../images/sun.png');
    padding: 20px;

}

div.product ul li {
    padding: 10px;
}

/*
div.product ul.orange-list li::marker {
    color: #e65405;
}

div.product ul.purple-list li::marker {
    color: #901f93;
}

div.product ul.green-list li::marker {
    color: #25afaa;
}

 */

summary {
    cursor: pointer;
    padding: 10px 10px 10px 20px;
}

details p {
    padding-left: 60px;
}

summary.green::marker, summary.green::-webkit-details-marker {
    color: #25afaa;
}

summary.purple::marker, summary.purple::-webkit-details-marker {
    color: #901f93;
}

summary.orange::marker, summary.orange::-webkit-details-marker {
    color: #e65405;
}

div.mention {
    font-size: 0.8em;
    margin: auto;
    text-align: center;
    text-wrap: balance;
    width: 90%;
}

details {
    padding: 10px;
}

details ul li {
    padding: 10px;
}

footer {
    padding: 10px;
    width: 100%;
}

footer nav ul li {
    padding: 10px;
}

footer .maj {
    font-size: 0.8em;
    font-style: italic;
}

@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }

    /* passer body (et tous les éléments de largeur fixe) en largeur automatique */
    body {
        width: auto;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    /* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */
    img,
    table,
    td,
    blockquote,
    code,
    pre,
    textarea,
    input,
    iframe,
    object,
    embed,
    video,
    header,
    main, .slider {
        max-width: 100%;
    }

    /* conserver le ratio des images */
    img {
        height: auto;
        vertical-align: middle;
    }

    /* gestion des mots longs */
    textarea,
    table,
    td,
    th,
    code,
    pre,
    samp {
        -webkit-hyphens: auto;
        /* césure propre */
        -moz-hyphens: auto;
        hyphens: auto;
        word-wrap: break-word;
        /* passage à la ligne forcé */
    }

    .swiper img, .swiper {
        width: 100%;
    }

    header.flex {
        height: 120px;
        position: fixed;
        max-width: 99%;

    }

    header.flex div {
        display: block;
    }

    header div:nth-child(1), header div:nth-child(2), header div:nth-child(3) {
        width: 100%;
    }

    header div:nth-child(1) {
        height: 100px;
    }

    header div:nth-child(2) {
        height: auto;
        text-align: center;
    }

    header div:nth-child(3) {
        left: 0;
        position: absolute;
        top: 0;
    }

    header img.logo {
        left: 30px;
        position: absolute;
        top: -10px;
        width: 200px;
    }


    header img.logo-king {
        position: absolute;
        right: 40px;
        top: 10px;
        width: 20%;
    }

    main {
        margin-top: 120px;
    }

    div.product ul {
        margin:19px auto auto 30px;
        padding:0;
        width: 96%;
    }

    .swiper {
        width: 100%;
    }

    .swiper img {
        width: 100%;
    }

    img.intro-img {
        margin: auto auto -26px auto;
    }

    .flex {
        display: block;
    }

    div.product {
        width: 100%;
    }

    div.product h2 {
        font-size: 2em;
    }

    div.product div.detail-product {
        width: 100%;
    }

    div.product div.image {

        padding: 0;
    }

    details p {
        padding-left: 0;
    }

    details p.note{
        font-size: 0.8em;
    }

    div.product div.image, div.product div.detail-product {
        width: 100%;
    }

    div.product.flex.bg-purple.br-purple {
        display: flex;
        flex-direction: column-reverse;
    }

    div.product ul li{
        font-size: 0.85em;
    }
    .val-m{
        width: 30px;
    }

    footer {
        text-align: center;
    }

    header div:nth-child(3) {
        display: none;
    }
}

@media (min-width: 770px) {
    header img.logo-king {
        width: 100%;
        margin-top: 18px;
    }

    header img.logo{
        margin-top: 60px;
        width: 100%;
    }

    header div:nth-child(1){
        margin-right: 130px;
        width: 40%;
    }

    header div:nth-child(2){
        margin-right: 20px;
        width: 24%;
    }
    header div:nth-child(3){
        margin-right: 90px;
    }
}

@media (min-width: 1100px) {
    header img.logo-king {
        width: 80%;
        margin-top: 8px;
    }
    header img.logo{
        width: 70%;
    }
}

@media (min-width: 1200px) {
    header img.logo-king {
        width: 60%;
        margin-top: 8px;
    }
    header div:nth-child(1){
        margin-right: 130px;
        width: 36%;
    }
    header div:nth-child(2){
        width: 30%;
    }
    header div:nth-child(3){
        margin-right: 60px;
    }
}

@media (min-width: 900px) {
    header img.logo-king {
        margin-top: 12px;
        width: 94%;
    }
}

@media (min-width: 1000px) {
    header img.logo-king {
        margin-top: 10px;
        width: 90%;
    }
}
@media (min-width: 1200px) {
    header img.logo-king {
        margin-top: 12px;
        width: 60%;
    }
}
@media (min-width: 1280px) {
    header img.logo-king {
        margin-top: 10px;
        width: 58%;
    }
}
@media (min-width: 1300px) {
    header img.logo-king {
        margin-top: 10px;
        width: 54%;
    }
}
@media (min-width: 1400px) {
    header img.logo-king {
        margin-top: 10px;
        width: 51%;
    }
}
@media (min-width: 1500px) {
    header img.logo-king {
        margin-top: 10px;
        width: 48%;
    }
    header img.logo {
        width: 58%;
    }
}

@media (min-width: 1600px) {
    header img.logo-king {
        margin-top: 12px;
        width: 45%;
    }

    header img.logo{
        width: 65%;
    }
}

@media (min-width: 1700px) {
    header img.logo-king {
        margin-top: 10px;
        width: 42%;
    }
    header img.logo{
        width: 64%;
    }
}

@media (min-width: 1800px) {
    header img.logo-king {
        margin-top: 10px;
        width: 40%;
    }
}

@media (min-width: 1900px) {
    header img.logo-king {
        width: 38%;
        margin-top: 10px;
    }
}

@media (min-width: 2000px) {
    header img.logo-king {
        width: 36%;
        margin-top: 10px;
    }

    header img.logo {
        width: 60%;
    }

}

@media (min-width: 2100px) {
    header img.logo-king {
        width: 34%;
        margin-top: 13px;
    }
    header img.logo{
        width: 54%;
        position: relative;
        left:-90px
    }
}

@media (min-width: 2200px) {
    header img.logo-king {
        margin-top: 10px;
        width: 33%;
    }
    header img.logo{
        width: 54%;
        position: relative;
        left:-90px
    }
}
@media (min-width: 2300px) {
    header img.logo-king {
        margin-top: 8px;
        width: 32%;
    }
    header img.logo{
        width: 54%;
        position: relative;
        left:-90px
    }
}

@media (min-width: 2400px) {
    header img.logo-king {
        width: 30%;
        margin-top: 12px;
    }
    header img.logo{
        width: 54%;
        position: relative;
        left:-90px
    }
}

@media (min-width: 2500px) {
    header img.logo-king {
        width: 30%;
        margin-top: 10px;
    }
    header img.logo{
        width: 54%;
        position: relative;
        left:-90px
    }
}
@media (min-width: 2600px) {
    header img.logo-king {
        width: 28%;
        margin-top: 10px;
    }
}
@media (min-width: 2700px) {
    header img.logo-king {
        width: 27%;
        margin-top: 10px;
    }
    header img.logo{
        width: 40%;
        position: relative;
        left:-190px
    }
}

@media (min-width: 2800px) {
    header img.logo-king {
        width: 26%;
        margin-top: 10px;
    }
}

@media (min-width: 3000px) {
    header img.logo-king {
        width: 25%;
        margin-top: 10px;
    }
    header img.logo{
        left: -190px;
        position: relative;
        width: 43%;

    }

    header div:nth-child(1) {
        text-align: center;
    }
}



