@import url('https://fonts.googleapis.com/css2?family=Aclonica&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-style: normal;
    transition: all 0.75s ease-in-out;
}

html,
body{
    background: #ffffff url('../img/bg_site.png') repeat-x 0 0;
    width: 100%;
    min-width: 22.5rem;
    overflow-x: hidden;
    
}
body{
    min-width: 22.5rem;
}

.contentPage{
    width: 100%;
    max-width: 81.25rem;
    min-height: 31.25rem;
    margin: 0 auto;
    position: relative;
    box-shadow: rgba(50, 50, 93, 0.25) 0rem 3.125rem 6.25rem -1.25rem, rgba(0, 0, 0, 0.3) 0rem 1.875rem 3.75rem -1.875rem;
}

.bio{
    font-size: 0;
    text-indent: -1000rem;
    width: 9rem;
    height: 9rem;
    background: url('../img/Logo-Nouvelle-Cosmétique-Ver2-300x297.png') no-repeat 50% 50%;
    background-size: contain;
    position: absolute;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

header{
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    
}
header h1{
    display: block;
    width: 14.5rem;
    height: 7.625rem;
    text-indent: -1000rem;
    font-size: 0rem;
    margin:  1.25rem 0 0  1.25rem;
    background: url('../img/logo-vie-en-bulle.png') no-repeat 0 0;
    background-size: contain;
}

.bulle0{
    width: calc(19.875rem - 4.375rem);
    height: 13.125rem;
    padding:  2.5rem  1.25rem  1.25rem 3.125rem;
    background: url("../img/bulle0.png") no-repeat 0 0;
    font-family: "Aclonica", serif;
    color: #ffffff;
    font-weight: 600;
}
.bulle0 address{
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}
.bulle0 li{
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
}
.bulle0 li a{
    color: #ffffff;
    border-bottom: 0.125rem solid transparent;
    transition: all 0.75s ease-in-out;
}
.bulle0 li a:hover{
    border-color: #e5f94c;
    color: #e5f94c;
}



h2, h3{
    font-family: "Aclonica", serif;
}

main{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.bulle1{
    width: 100%;
    max-width: 38.625rem;
    height: 43.438rem;
    background: url('../img/bulle1.png') no-repeat 0 0;
}

.bulle2{
    width: 100%;
    max-width: 37.875rem;
    height: 53.75rem;
    background: url('../img/bulle2.png') no-repeat 100% 0;
    margin-top: 7.813rem;
}
.bulle3{
    width: 100%;
    max-width: 37.125rem;
    height: 29.563rem;
    background: url('../img/bulle3.png') no-repeat 0 0;
    margin-top: -7.813rem;
}

.ekoboutic{
    width: 100%;
    max-width: 23.438rem;
}

.contenu{
    padding: 12.5rem 0 0 1.563rem;
    width: calc(100% - 1.875rem);
    max-width: 31.25rem;
    display: flex;
    flex-wrap: wrap;
}
.bulle2 .contenu{
    width: calc(100% - 9.375rem);
    padding: 10.938rem 0 0 9.375rem;
}
.contenu h2{
    width: calc(100% - 2rem);
    margin-bottom: 0.625rem;
    color: #e5f94c;
    font-size: 1.875rem;
    font-weight: 400;
    line-height: 1.875rem;
}
.contenu .contenuTexte{
    width: calc(100% - 6.313rem);
    color: #ffffff;
    padding-right:  1.25rem;
    max-height: 17.188rem;
        overflow: auto;
}
.bulle2 .contenu .contenuTexte{
    width: calc(100% - 5rem);
    padding-right:  1.25rem;
    
}
.contenu .contenuTexte h3{
    color:#e5f94c;
    font-size: 1.25rem;
}
.contenu .contenuTexte p{
    color: #ffffff;
    margin-bottom: 1.25rem;
}
.contenu .illu{
    width: 5.0625rem;
    height: auto!important;
}

.bulle2 .contenu .illu{
    width: 100%;
    height: auto!important;
    margin-top: 1rem;
    text-align: center;
}
.contenu .illu img{
    width: calc(100% - 0.5rem);
    height: auto!important;
    margin-left: 0.5rem;
}
.bulle2 .contenu .illu img{
    max-width: 9.25rem;
    margin-left: -4.688rem;
}

.contenuProd{
    background-color: rgba(255,255,255,0.75);
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
    border-radius: 0.25rem;
    position: relative;
    width: 100%;
    margin: 0 0 0  2.5rem;
    height: 18.625rem;
}
.produit{
    display: flex;
    flex-direction: row;
    position: relative;
}
.illuProd{
    position: absolute;
    left: 0;
    top: 0;
    width: calc(50% - 0rem);
    height: 20.938rem;
    overflow: hidden;
    transform: translate(-1.5rem, -1.5rem);
}
.illuProd img{
    width: 100%;
    transform: scale(1.75) translate(1rem,-1.75rem);
    max-width: 12.5rem;
}
.texteProd{
    width: calc(100% / 3 * 3 - 8rem);
    display: flex;
    padding:  1.25rem;
    margin-left: 8rem;
    position: relative;

}
.texteProd h2{
    color: #008519;
    margin-right: 2rem;
    width: 9.375rem;
}

.detailProd{
    height: 15.625rem;
    overflow: auto;
    padding: 0.5rem 1rem;
    width: calc(100% - 2rem - 13rem);
    font-size: 0.8rem;
    background: rgba(255,255,255,0.75);
    border-radius: 0.375rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0.625rem 0.938rem -0.1875rem, rgba(0, 0, 0, 0.05) 0px 0.25rem 0.375rem -0.125rem;
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
}

.produit{
    display: none;
}
.produit.active{
    display: flex;
}

.produitNav{
    margin:  1.75rem  2.5rem;
    z-index: 10;
    position: absolute;
    width: 100%;
    max-width: 20.5rem;
}
.produitNav ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.produitNav ul li{
    margin-right: 1rem;
    font-size: 0.75rem;
    padding-bottom: 0.125rem;
}
.produitNav ul li a{
    padding: 0.3125rem 0.625rem;
    border-radius: 0.5rem;
    display: block;
    color: #008519;
}
.produitNav ul li a.active,
.produitNav ul li a:hover{
    color: #ffffff;
    background-color: #db8134;
}
/** **/
.ekoboutic{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-right: 1.563rem;
}

.ekoboutic .accroche{
    margin: 0  1.25rem;
    font-size: 1.25rem;
    width: calc(100% - 12.5rem);
    font-weight: 600;
}
.ekoboutic .accroche a{
    color: #db8134;
    font-size: 1.75rem;
    display: inline-block;
    font-family: "Aclonica", serif;
    border-bottom: 0.125rem solid transparent;
    transition: all 0.5s ease-out;
    margin-top: 0.625rem;
}
.ekoboutic .accroche a:hover{
    border-color: #db8134;
}
/** **/
footer{
    background:#008519;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.313rem  1.25rem;
    font-weight: 600;
    box-shadow: rgba(0, 0, 0, 0.17) 0rem -1.438rem 1.563rem 0rem inset, rgba(0, 0, 0, 0.15) 0rem -2.25rem 1.875rem 0rem inset, rgba(0, 0, 0, 0.1) 0rem -4.938rem  2.5rem 0rem inset, rgba(0, 0, 0, 0.06) 0rem 0.125rem 0.0625rem, rgba(0, 0, 0, 0.09) 0rem 0.25rem 0.125rem, rgba(0, 0, 0, 0.09) 0rem 0.5rem 0.25rem, rgba(0, 0, 0, 0.09) 0rem 1rem 0.5rem, rgba(0, 0, 0, 0.09) 0rem 2rem 1rem;
}
footer a{
    color: #fff;
    transition: all 0.5s ease-in-out;
    border-bottom: 0.125rem solid transparent;
}
footer a:hover{
    border-color: #fff;
}
/** Scroll Bar **/
@supports not (selector(::-webkit-scrollbar-thumb)) {
    .scroll {
      scrollbar-color: var(--scroll-thumb-color, grey) var(--scroll-track, transparent);
      scrollbar-width: thin;
    }
  }
  .scroll::-webkit-scrollbar {
    width: var(--scroll-size, 0.625rem);
    height: var(--scroll-size, 0.625rem);
  }
  .scroll::-webkit-scrollbar-track {
    background-color: var(--scroll-track, transparent);
    border-radius: var(--scroll-track-radius, var(--scroll-radius));
  }
  .scroll::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color, grey);
    background-image: var(--scroll-thumb, none);
    border-radius: var(--scroll-thumb-radius, var(--scroll-radius));
  }
  .scroll-1 {
    --scroll-size: 0.625rem;
    --scroll-radius: 0.625rem;
    --scroll-track: rgb(0 0 0 / 40%);
    --scroll-thumb-color: #e5f94c;
  }
  .scroll-2 {
    --scroll-size: 0.625rem;
    --scroll-radius: 0.625rem;
    --scroll-track: rgb(0 0 0 / 40%);
    --scroll-thumb-color: #008419;
  }
/** End Scroll Bar **/

@media screen AND (max-width:76.375rem){
    .bulle2{
        margin-left:auto;
        margin-top: -15.625rem;
        max-width: 37.875rem;
        background-size:auto;
        
    }
    .bulle3{
        margin-top: -7.5rem;
    }
}

@media screen AND (max-width:62rem){
    .bulle2{
        margin: -9.375rem 0 0 auto;
        max-width: calc(50% - 2rem);
        min-width: 37.875rem;
        background-size:contain;

    }
    .bulle3{
        margin-top: -7.5rem;
    }
    .contenuProd{
        max-width: 27.5rem;
    }
    .texteProd{
        width: calc(100% / 3 * 3 - 0rem);
        display: flex;
        padding:  1.25rem;
        margin-left: 0rem;
    
    }
    .illuProd{
        transform: translate(-1.5rem, 0rem);
    }
    .illuProd img{
        width: 100%;
        transform: scale(1.25) translate(-0.625rem,2rem);
    }
    .bulle1{
        order: 1;
    }
    .bulle2{
        order: 2;
        margin-bottom: 15.625rem;
    }
    .bulle3{
        order: 4;
    }
    .ekoboutic{
        order: 3;
        margin-top: -28.125rem;
        max-width: 22.5rem;
        margin-left: 1.563rem;
        margin-right: 1.563rem;
        
    }

    .detailProd{
        width: calc(100% - 2rem - 13rem);
    }

    .bio{
        width: 5rem;
        height: 5rem;
        top: 7.5rem;
    }
}

@media screen AND (max-width:30.5rem){
    .bulle0{
        width: calc(19.875rem - 2.188rem);
        height: 13.125rem;
        padding: 3.125rem 0.625rem  1.25rem 1.563rem;
    }
    .bulle0 address{
        font-size: 0.85rem;
        margin-bottom: 0.625rem;
    }
    .bulle0 li{
        font-size: 0.75rem;
        margin-bottom: 0.175rem;
    }
    .bulle2 .contenu{
        width: calc(100% -  2.5rem);
        padding: 7.813rem 0 0  2.5rem;
    }
    .contenu .contenuTexte{
        width: calc(100% - 6.313rem);
        color: #ffffff;
    }
    .contenu .illu{
        width: 4.375rem;
        height: auto!important;
    }
    .bulle2{
        margin: -4.688rem 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        background-size:auto;
    }
    .bulle3{
        margin: -4.688rem 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        background-size:auto;

    }
    .contenuProd{
        max-width: 19.688rem;
        margin-left:  1.25rem;
    }
    .texteProd h2{
        color: #008519;
        margin-right: 2rem;
        width: 8.063rem;
        font-size: 1rem;
        letter-spacing: -0.05rem;
    }

    .detailProd{
        height: 15.625rem;
        overflow: auto;
        padding-right: 1rem;
        width: calc(100% - 2rem - 9.063rem);
        font-size: 0.75rem!important;
    }
    .detailProd p{
        font-size: 0.75rem!important;
    }
    .illuProd img{
        width: 100%;
        transform: scale(1.5) translate(0.125rem,2.5rem);
    }
    .bulle2{
        margin-bottom: 15.625rem;
    }
    .ekoboutic{
        margin-left: auto;
        margin-right: auto;
    }
    .ekoboutic .accroche a{
        font-size: 1.5rem;
    }
    .bio{
        width: 4rem;
        height: 4rem;
        top: 8rem;
        left: 8.5rem;
        transform: translateX(0rem);
    }
}
