@charset "UTF-8";

@font-face {
    font-style: normal;
    font-family: "Freight";
    src:url("../fonts/Optima.eot") format("eot"), 
        url("../fonts/Optima.woff") format("woff"),
        url("../fonts/Optima.woff2") format("woff2");
}

@font-face {
    font-style: normal;
    font-family: "Fri";
    src:url("../fonts/freight-big-pro-book.eot") format("eot"), 
        url("../fonts/freight-big-pro-book.woff") format("woff"),
        url("../fonts/freight-big-pro-book.woff2") format("woff2");
}

body{
    margin: 0; 
    padding: 0;
}

.wrapper{
    position: fixed;
    right: 0;
    margin: 0 auto;
    margin-right: 0;
    padding: 50px 0;
    clear: both;   
    z-index: 99; 
    width: 10em;
    
}

.menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
}

.menu-item {
    width: 2em;
    height: 2em;
    display: block;
    margin: 1em;
    margin-bottom: 3em;
    background-repeat: no-repeat ;
    background-position: center;
    background-size: contain;
    transition: 0.5 ease;
}

.menu-item:nth-child(1) {
    background-image: url(../images/menu-sol.svg);
}
.menu-item:nth-child(1):hover {
    background-image: url(../images/menu-sol-hover.svg);
}

.menu-item:nth-child(2) {
    background-image: url(../images/menu-multi.svg);
}
.menu-item:nth-child(2):hover {
    background-image: url(../images/menu-multi-hover.svg);
}

.menu-item:nth-child(3) {
    background-image: url(../images/menu-lessi.svg);
}
.menu-item:nth-child(3):hover {
    background-image: url(../images/menu-lessi-hover.svg);
}

.menu-item:nth-child(4) {
    background-image: url(../images/menu-adou.svg);
}
.menu-item:nth-child(4):hover {
    background-image: url(../images/menu-adou-hover.svg);
}


.section-bulles{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    overflow: hidden; 
    top: 0;
    left: 0;
}

.bulle{
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 40px;
    animation: flying 10s infinite ease-in;
}

.bulle:nth-child(1){
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 6s;
}

.bulle:nth-child(11){
    width: 120px;
    height: 120px;
    left: 14%;
    animation-duration: 8s;
}

.bulle:nth-child(2){
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 5s;
    animation-delay: 1s;
}

.bulle:nth-child(3){
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.bulle:nth-child(12){
    width: 120px;
    height: 120px;
    left: 47%;
    animation-duration: 6s;
}

.bulle:nth-child(4){
    width: 80px;
    height: 80px;
    left: 50%;
    animation-duration: 7s;
    animation-delay: 0s;
    z-index: 3;
}

.bulle:nth-child(5){
    width: 35px;
    height: 35px;
    left: 55%;
    animation-duration: 6s;
    animation-delay: 1s;
}

.bulle:nth-child(13){
    width: 25px;
    height: 25px;
    left: 60%;
    animation-duration: 8s;
}

.bulle:nth-child(6){
    width: 45px;
    height: 45px;
    left: 65%;
    animation-duration: 8s;
    animation-delay: 3s;
    z-index: 3;
}

.bulle:nth-child(7){
    width: 25px;
    height: 25px;
    left: 75%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.bulle:nth-child(14){
    width: 45px;
    height: 45px;
    left: 78%;
    animation-duration: 6s;
}

.bulle:nth-child(8){
    width: 80px;
    height: 80px;
    left: 80%;
    animation-duration: 6s;
    animation-delay: 1s;
    z-index: 3;
}
.bulle:nth-child(9){
    width: 15px;
    height: 15px;
    left: 70%;
    animation-duration: 9s;
    animation-delay: 0s;
}

.bulle:nth-child(10){
    width: 50px;
    height: 50px;
    left: 85%;
    animation-duration: 5s;
    animation-delay: 3s;
    z-index: 3;
}
.bulle:nth-child(15){
    width: 45px;
    height: 45px;
    left: 95%;
    animation-duration: 6s;
}

@keyframes flying {
    0%{
        bottom: -100px;
        transform: translateX(0)
    }
    50%{
    
        transform: translateX(100px)
    }
    100%{
        bottom: 1080px;
        transform: translateX(-200px)
    }
}

.full-sol{
    position: relative;
    min-height: 100vh;
    width: 100vw;
}

.full-multiusage{
    position: relative;
    min-height: 100vh;
    width: 100vw;
}

.full-lessive{
    position: relative;
    min-height: 100vh;
    width: 100vw;
}

.full-adoucissant{
    position: relative;
    min-height: 100vh;
    width: 100vw;
}

.titre{
    min-width: 100vw;
    min-height: 30vh;
    background-color:  rgb(230, 247, 251);
    overflow: hidden;
}

.picto{
    margin-left: 7%;
    margin-top: 2%;
    max-width: 30vh;
    position: absolute;
    z-index: 1;
}
.picto-multi{
    margin-left: 7%;
    margin-top: 2%;
    max-width: 20vh;
    position: absolute;
    z-index: 1;
}

.picto-adoucissant{
    margin-left: 4%;
    margin-top: 2%;
    max-width: 18vh;
    z-index: 1;
    position: absolute;
}

.marge{
    margin-left: 35%;
    margin-right: 8%;
    margin-top: 4%;
    margin-bottom: 4%;
}

.gauche-col{
    width: 45%;
    float: left;
    margin-bottom: 3%;
}
.centre-col{
    width: 35%;
    float: left;
    margin-bottom: 3%;
}
.droite-col{
    width: 20%;
    float: left;
    margin-bottom: 3%;
}


.mgauche-col{
    width: 25%;
    float: left;
    margin-bottom: 3%;
}
.mcentre-col{
    width: 25%;
    float: left;
    margin-bottom: 3%;
}
.mdroite-col{
    width: 25%;
    float: left;
    margin-bottom: 3%;
}

.mlast-col{
    width: 25%;
    float: left;
    margin-bottom: 3%;
}

.section-recette-sol{
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    /* background-image: linear-gradient(to right, rgb(230, 238, 212) 30%, white 30%); */
}

.section-recette-multiusage{
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
}

.section-recette-lessive{
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    /* background-image: linear-gradient(to right, rgb(230, 238, 212) 30%, white 30%); */
}

.section-recette-adoucissant{
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    /* background-image: linear-gradient(to right, rgb(230, 238, 212) 30%, white 30%); */
}

.texte{
    min-width: 100vw;
    min-height: 100vh;
    display: flex;
}

.ingredient{
    max-height: 200vh;
    width: 30%;
    background-color: rgb(230, 238, 212);
    padding: 2em;
}

.recette{
    width: 70%;
    min-height: 100vh;
    background-color: white;
    margin-left: 3%;
    margin-top: 3%;
}

h2{
    font-size: 5.5em;
    font-family: "Fri";
    color: rgb(179, 200, 107);
}

h3{
    font-size: 1.3em;
    font-family: "Freight";
    color: rgb(179, 200, 107);
}

p{
    font-size: 1.3em;
    font-family: "Freight";
    line-height: 1.3em;
    color: rgb(74, 71, 66);
}

.recette-txt-grand{
    font-size: 2em;
}

.txt-1{
    font-size: 2em;
}


h1{
    font-size: 5.5em;
    text-align: center;
    font-family: "Fri";
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    position: absolute;
    z-index: 2;
    color: rgb(179, 200, 107);
    animation-name: fade-titre;
    animation-duration: 6s;
}
@keyframes fade-titre{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}


@media screen and (max-width: 750px) {
    .texte{
        display: block;
        margin-right: 15%;
    }
    
    .ingredient{
        width: 100%;
        margin-right: 15%;
    }
    
    .recette{
        width: 100%;
        margin-right: 15%;
        margin-bottom: 3%
    }

    .marge{
        margin-left: 5%;
        margin-right:15%;
        z-index: 1;
        }

    .ns-pt{
        font-size: 3em;
        margin-right: 15%;
        margin-left: 5%;
        z-index: 1;
    }

    h2{
        margin-left: 5%;
    }

    h3{
        font-size: 1em;
        margin-right:3%;
        margin-left: 5%;
    }
    p{
        font-size: 1em; 
        margin-right:3%; 
        margin-left: 5%;
    }
    .recette-txt-grand{
        font-size: 1.5em;
        margin-right: 15%;
    }

    .picto{
        margin-left: 3%;
        margin-right: 75%;
        z-index: 99;
        opacity: 0%;
    }

    .picto-multi{
        margin-left: 3%;
        margin-right: 75%;
        z-index: 99;
        opacity: 0%;
    }

    .picto-adoucissant{
        margin-left: 3%;
        margin-right: 75%;
        z-index: 99;
        opacity: 0%;
    }
    
    .mgauche-col{
        width: 25%;
        float: left;
        margin-bottom: 3%;
        margin-left: 5%;
    }
    .mcentre-col{
        width: 20%;
        float: left;
        margin-bottom: 3%;
    }
    .mdroite-col{
        width: 25%;
        float: left;
        margin-bottom: 3%;
    }
    
    .mlast-col{
        width: 25%;
        float: left;
        margin-bottom: 3%;
    }

    .gauche-col{
        width: 33%;
        float: left;
        margin-bottom: 3%;
        margin-left: 5%;
    }
    .centre-col{
        width: 27%;
        float: left;
        margin-bottom: 3%;
    }
    .droite-col{
        width: 30%;
        float: left;
        margin-bottom: 3%;
    }

}

