@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

@font-face {
    font-family:"Amaranth";
    src:url(../fonts/amaranth.otf);
}



/*=====================================================================================================================
    MOBILE - GLOBAL
=======================================================================================================================*/

* {
    box-sizing: border-box;
    outline: none;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    text-align: center;
    
    color: #666;
    background-color: #f2f2f2;
}

img {
    max-width: 100%;
}

.container {
    margin: auto;
    max-width: 1100px;
}


/*Backgrounds & Colors Footer + Header*/
#header,
#footer {
    background-color: #96B011;
    background-image:url("../img/bg.jpg");
    background-repeat: no-repeat;
    background-position: bottom ;
    color: #fff;
}

figure {
    padding: 0;
    margin: 0;
}

/*Liens de la page par défaut*/
a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}




/*=====================================================================================================================
    MOBILE - HEADER
=======================================================================================================================*/

/* ============= HEADER - Global ==============*/

#header>img {
    display: none;
    width: 100px; 
    position: absolute;
    right: 0;
    top: 0;
}

#header>p{
    margin: 0;
    padding: 5px;
    
    background-color: rgba(0, 0, 0, 0.1);
}

#header .container {
    position: relative;
}


/* ============= HEADER - Panier ==============*/

#header .container>a {
    position: fixed;
    left: 0;
    top: 60px;
    z-index: 1000;

    font-size: 3rem;
    background-color: #96B011;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    
    border-top-right-radius: 80px 80px;
    border-bottom-right-radius: 80px 80px;
    
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#header .container>a i {
    font-size: 3rem;
    padding: 15px;
    
    border-radius: 100%;
    border: solid 1.5px #fff;
}


/* ============= HEADER - Nav ==============*/

#header nav {
    padding-bottom: 30px;
    margin-top: 130px;
    display: flex;
    flex-direction: column;
}

#header nav a {
    padding: 15px;
    text-transform: uppercase;
}

#header nav a:not(:first-child):hover {
    background-color: rgba(255, 255, 255, 0.5);
}


/*=====================================================================================================================
    MOBILE - MAIN
=======================================================================================================================*/

/* ============= MAIN - Global ==============*/

section {
    background-color: #fff;
    margin: 30px 0;
    padding: 40px 30px;
}

article {
    padding-bottom: 40px;
}


/* ============= TITRES ==============*/
#noel>p,
h1,
h2,
h3,
h4 {
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
}

h1,
#index .product-list h2 {
    font-size: 3.2rem;
    color: #96B011;
}


/*à souligner*/
#index h3,
#product-listing .product-list h2 {
    font-size: 2.5rem;
    color: #96B011;
    
    width: 100%;
    
    position: relative;
    overflow: hidden;
}

#index figcaption h2,
#index figcaption,
#product-listing figcaption {
    font-size: 2rem;
}


#index h3::before, 
#index h3::after,
#product-listing .product-list h2::after {
    position: absolute;
    top: 51%;
    overflow: hidden;
    width: 50%;
    height: 1px;
    content: '.';
    background-color: #96B011;
}


#product-listing .product-list h2::after  {
    width: 100%;
}

#index h3::before {
    margin-left: -50%;
}




/*PRIMARY BTN*/
.product-list article footer a,
.btn {
    background-color: #B09067;
    padding: 25px 20px;
    text-transform: uppercase;
}

.product-list article footer a:hover,
.btn:hover {
    background-color: rgba(176, 144, 103, 0.75);
}


/* ============= MAIN - INDEX - Aside "#noel" ==============*/

#noel {
    display: none;
}

/*Gros titre*/
#noel>p {
    font-size: 4rem;
    color: #96B011;
}

#noel figure {
    margin-bottom: 30px;
}



/* ============= MAIN - INDEX - Section "#choix-the" ==============*/

#choix-the p {
    text-align: left;
}

#choix-the .les-thes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#choix-the .les-thes figure {
    margin: 10px 0;
    flex-basis: 50%;
}

#choix-the .les-thes:hover figure {
    opacity: 0.5;
}

#choix-the .les-thes figure:hover {
    opacity: 1;
}



/* ============= MAIN - LISTING PRODUCT & PRODUCT Section "#product-list" ==============*/

/*Prix*/
.product-list .price {
    font-size: 2.4rem;
    font-weight: 600;
    padding-bottom: 40px;
}


/*Concerne seulement la page product-listing*/
#product-listing .product-list>p, 
#product-listing .product-list h2 {
    text-align: left;
}

/* ============= MAIN - PAGE PRODUCT ==============*/

#best-product h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 auto;
}

#best-product h3 {
    margin: 5px auto;
}

/*Stars*/
#best-product i:not(:last-of-type) {
    color: #ffdc0f;
}

#best-product .vert {
    text-align: center;
    color: #96b011;
}

#best-product select {
    height: 50px;
    width: 100%;
    background-color: transparent;
}

#best-product .price {
    margin-top: 0;
    font-size: 4rem;
    font-weight: 600;
}

#best-product .btn {
    display: block;
    margin-bottom: 20px;
}

/*Heart*/
#best-product a.vert i {
    color: #e7877a;
}

#best-product .article-main ~ p {
    text-align: left;
}

/* ============= MAIN - PAGE ABOUT US ==============*/

#about-page #equipe,
#about-page #concept {
    text-align: left;
}

#about-page #equipe H3 {
    color: #96b011;
}

#about-page #concept div {
    background-color: rgba(150, 176, 17, 0.2);
    text-align: center;
    padding: 30px;
    margin-top: 30px;
}

#about-page #concept div img {
    width: 70px;
}




/*=====================================================================================================================
    MOBILE - FOOTER
=======================================================================================================================*/

/* ============= FOOTER - Global" ==============*/

#footer-nav,
#footer-footer {
    padding: 30px 30px;
}


/* ============= FOOTER - Section "#footer-reassurances" ==============*/

#footer-reassurances {
    background-color: #879e0f;
    padding: 30px 0;
}

#footer-reassurances div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#footer-reassurances p {
    flex-basis: 50%;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

#footer-reassurances p:hover {
    color: rgba(255, 255, 255, 1);
}

#footer-reassurances p>i {
    font-size: 3rem;
    padding-bottom: 20px;
    display: block;
}

/* ============= FOOTER - Section "#footer-nav" ==============*/

#footer-nav {
    background-color: #96b011;
}

#footer-nav h4 {
    text-transform: uppercase;
    color: #fff;
    font-size: 2rem;
}

#footer-nav li {
    list-style-type: none;
    padding: 10px;
}

#footer-nav li a {
    color: rgba(255, 255, 255, 0.5);
}

#footer-nav li a:hover {
    color: rgba(255, 255, 255, 1);
}

#footer-nav nav ul {
    padding: 0;
}

/* ============= FOOTER - Section "#footer-footer" ==============*/

#footer-footer {
    background-color: rgba(0, 0, 0, 0.1);
}

#footer-footer img {
    width: 50px;
    margin-bottom: 15px;
}

#footer-footer a {
    text-decoration: underline;

}



/*=====================================================================================================================
    RESPONSIVE - TABLETTE
=======================================================================================================================*/

@media screen and (min-width:768px) {
    
    /* ============= HEADER - Global ==============*/
    
    #header>img {
        display: block;
    }
    
    /* ============= HEADER - Mon Panier ==============*/
    
    #header .container>a {
        text-align: right;
        position: absolute;
        top: 0;
        right: 0;
        left: initial;
        background-color: transparent;
        box-shadow: 0 0 0;
        padding-right: 30px;
    }
    
    #header .container>a::before {
        content: "Mon panier ";
        font-size: 1.6rem;
    }

    /* ============= HEADER - Nav ==============*/
    
    #header nav {
        margin : 20px 0;
        
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    #header nav a {
        padding: 15px 30px;
        /*flex-basis: 20%;*/
    }

    #header nav #logo {
        flex-basis: 100%;
        text-align: left;
        margin: 10px 0;
    }
    
    /* ============= MAIN - #noel ==============*/
    
    #noel {
        display: block;
    }  
    
    /* ============= MAIN - PAGE PRODUCT - Section "#product" ==============*/
    
    #best-product article header {
        display:flex;
        justify-content: space-between;
    }
    
    #best-product .article-main {
        display: flex;
        justify-content: space-between;
    }
    
    #best-product img,
    #best-product .article-main div {
        flex-basis: 50%;
    }
    
    #best-product .article-main div {
        margin-top: 50px;
        text-align: right;
    }
    
    #best-product .article-main div a.btn {
        text-align: center;
    }
    
    /* ============= MAIN - PAGE ABOUT US ==============*/
    
    #about-page #equipe img {
        float: left;
        width: 50%;
        margin-right: 20px;
    }

    #about-page #equipe img.f-right {
        float: right;
        margin: 0 0 0 20px;
    }
    
    #about-page #equipe article {
        overflow: hidden;
    }
    
    
    /* ============= FOOTER - #footer-reassurances ==============*/
    
    #footer-reassurances div {
        flex-wrap: nowrap;
    }
    
    #footer-reassurances p {
        padding: 20px;
    }
    
    /* ============= FOOTER - #footer-nav ==============*/
    
    #footer-nav .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #footer-nav .container nav {
        flex-basis: 31%;
    }
    
    
}


/*=====================================================================================================================
    RESPONSIVE - DESKTOP
=======================================================================================================================*/

@media screen and (min-width:1024px) {

    /* ============= MAIN - #choix-thes ==============*/
    
    #choix-the .les-thes {
        flex-wrap: nowrap;
    }
    
    /* ============= MAIN - #product-list ==============*/
    
    .product-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    #index .product-list h2,
    h1 {
        flex-basis: 100%;
    }
    
    .product-list article {
        flex-basis: 31%;
    }
    
    /* ============= MAIN - PAGE ABOUT US ==============*/
    
    #about-page #concept div {
        display: flex;
        justify-content: space-between;
    }
    
    #about-page #concept div article {
        flex-basis: 31%;
    }

    
}