:root {
    --h2-green: #97B012;
    --dark-green: #879E0F;
    --light-beige: #F2F2F2;
    --light-brown: #B09067;
    --white: white;
    --bold-grey: #6A6265;
    --grey: #6D6D7A;
    
}
.h3-style {
display:flex;
align-items: center;
}
.h3-style hr {
    width: 45%
}
@font-face {
    font-family: "Amaranth";
    src: url("../assets/fonts/amaranth.otf");
}

html {
    padding:0;
    margin:0;
}

body {
    background: var(--light-beige);
    font-family: Calibri;
    font-size: 1.2rem;
    color: var(--grey);
}

header, header a, footer, footer a, .top-banner p, header section + section p {
    color: var(--light-beige);
}

h1, h2, h3, h4 {
    font-family: "Amaranth", Calibri;
    
}

a {
    text-decoration: none;
}

p {
    color: var(--grey);
}

strong {
    color: var(--bold-grey);
    display: block;
    font-size: 2rem;
    margin: 1rem 0;
}

ul {
    list-style: none;
    padding: 0;
}

/* HEADER */

.vignette {
    display: none;
    text-align: center;
    position: absolute;
    width: 15rem;
    height: 15rem;
    right: 0rem;
    top: 0rem;
    background: linear-gradient(45deg, rgba(0,0,0,0) 50%, #879E0F 50%);/**/
}

.vignette p{
    display: inline-block;
    margin: 3rem 0 0 3rem;
    color: var(--light-beige);
    font-size: 1.6rem;
    transform: rotate(45deg) translateX(25%);
}

header {
    background: url("../assets/images/bg.jpg") bottom / cover;
    text-align: center;
    margin-bottom: 2.5rem;
}

header > * {
    margin-bottom: 1.25rem;
}

.top-banner {
    padding: 1rem 0;
    font-size: 1.4rem;
    background: rgba(0, 0, 0, 0.15);
}

.cart {
    text-align: left;
    font-weight: bold;
}

.cart p {
    color: var(--light-beige);
    padding: 0.8rem 1rem 0.8rem 0;
    border-radius: 0 20px 20px 0;
    display: inline-block;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

.cart i {
    margin: 0 0.2rem 0 0.6rem;
    padding: 0.8rem;
    border-radius: 50%;
    border: 1px solid var(--light-beige);
}


.logo {
    text-align: center;
    margin-bottom: 4rem;
}

header nav {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    flex-direction: column;
}

header nav a {
    margin-bottom: 2.5rem;
}


/* MAIN */


.column-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.row-container {
    display: flex;
    justify-content: center;
}

.column-container img, .row-container img {
    width: 100%;
    height: auto;
}


.h2-style {
    display: flex;
    justify-content: space-around;
    align-items: center;
    column-gap: 2rem;
    flex-wrap: no-wrap;
    color:  var(--h2-green);
    font-size: 2rem;
}

.h2-style h2{
    white-space: nowrap;
}

.h2-style hr{
    width: 45%;
    border: 1px solid var(--light-beige);
}

.h2-style h2{
    white-space: nowrap;
}

.h2-style-left h2{
    font-size: 2rem;
}

.h2-style-left hr:nth-of-type(1) {
    width: 2%;
}

.h2-style-left hr:nth-of-type(2) {
    width: 88%;
}



.h2-style-solo {
    display: inline-block;
}

.h2-style-solo h2 {
    white-space: normal;
}

.h2-style-solo hr {
    width: 90%;
}



.btn {
    background: var(--light-brown);
    color: var(--light-beige);
    padding: 1.3rem 2rem;
    font-size: 2rem;
}

h4 {
    text-align: center;
    color: var(--bold-grey);
    font-size: 1.7rem;
    font-weight: normal;
}

.main-section {
    background: var(--white);
    padding: 4rem 2rem 3rem 2rem;
    margin: 2.5rem 0;
}

.content-width {
    width: 100%;
    margin: auto;
}



.offers {
    display: none;
    text-align: center;
    background: var(--light-beige);
}

.offers h2 {
    color: var(--h2-green);
    font-size: 2.4rem;
}

.offers img {
    width: 100%;
    height: auto;
}

.offers p {
    margin-bottom: 2rem;
}



.top-sellers article {
    text-align: center;
    font-size: 1.4rem;
}

.top-sellers article a {
    display: inline-block;
}

.top-sellers article > * {
    margin-bottom: 2rem;
    
}



.listing {
    display: flex;
    flex-direction: column;
}

.listing strong {
    margin-bottom: 3rem;
}

.listing article:first-child img:first-child {
    display: none;
}

.listing article:last-child{
    text-align: center;
}

.listing article:last-child img{
    width: clamp(200px, 300px , 50%);
    height: auto;
}

.product-a {
    display: inline-block;
    color: var(--h2-green);
    font-size: 1.4rem;
}

.product {
    text-align: center
}

.product p, .product h5 {
    font-size: 1.4rem;
}

.product article:nth-of-type(3) {
    text-align: left
}

.product h4 {
    font-size: 2.5rem;
}

.product article:nth-of-type(1), .product article:nth-of-type(2){
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product article:nth-of-type(2) img {
    width: clamp(200px, 300px , 50%);
    height: auto;
}

.product select {
    height: 3rem;
    width: 20rem;
}



.float-container {
    overflow: hidden;
}



.about-container {
    background: #EAEFCF;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}



.about > h3 {
    font-size: 3rem;
} 



/* FOOTER */


footer {
    background: var(--h2-green);
    text-align: center;
}

footer a {
    color: var(--light-beige);
}

#ftr-nav-bg {
    background: var(--dark-green);
}

.ftr-nav-bar {
    font-size: 1.7rem;
    padding: 3rem 0;
}

.ftr-nav-bar > div {
    margin-bottom: 1rem;
}

.ftr-nav-bar i {
    display: inline-block;
    width: 100%;
    font-size: 2.3rem;
    margin-bottom: 1rem;
    
}

.ftr-nav-bar a {
    margin: auto;
}

.ftr-nav-bar a {
    width: 40%;
    height: 40%;
    
}


.ftr-links {
    margin-bottom: 2rem;
}

.ftr-links * {
    margin: 1.5rem 0;
}

.ftr-links h3 {
    font-size: 1.8rem;
    margin: 2rem 0;
    font-weight: normal;
}


.academy {
    background: url("../assets/images/bg.jpg") bottom / cover;
    padding: 2rem 0;
}

.academy p {
    color: var(--light-beige);
}

.academy img {
    height: 50px;
    width: auto;
    
}

@media (min-width: 500px) {
    .offers {
        display: block;
    }
    
    .cart-logo {
        display: flex;
        justify-content: space-between;
        padding: 0 2rem;
    }
    
    .cart {
        order: 1;
    }
    
    .cart p {
    border-radius: 0;
    display: inline-block;
    box-shadow: none;
    font-size: 1.8rem;
    }
    
    .cart p::before {
        content: "Mon panier";
        font-size: 1.4rem;
        font-weight: lighter;
        position: relative;
        bottom: 0.2rem;
    }
    
    
    header nav {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .row-container {
        display: flex;
        justify-content: space-around;
    }
    
    .ftr-nav-bar {
        flex-direction: row;
        justify-content: center;
    }
    
    .ftr-links {
        flex-direction: row;
        justify-content: space-around;
    }
    
    
    
    
    .product article:nth-of-type(1) {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .product article:nth-of-type(2) {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 0 0 0 2rem;
    }
    
    #amelie {
        float: left;
        margin: 2rem;
    }
    
    #xavier {
        float: right;
        margin: 2rem;
    }
    
    
    
    .h2-style-solo {
        display: flex;
    }
    
    .h2-style-solo h2 {
        white-space: nowrap;
    }
    
    
    .vignette {
        display: block;
    }
    
    
    .top-banner {
        background: rgba(0, 0, 0, 0.15) linear-gradient(90deg, rgba(0,0,0,0) 50%, #879E0F 80%);
    }
    
    
}

@media (min-width: 1024px) {
    .column-container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .row-container {
        flex-grow: 1;
        justify-content: space-around;
        align-items: stretch;
    }
    
    .content-width {
        width: 80%;
    }
    
    .listing article:first-child img:first-child {
        display: inline-block;
    }
    
    
    .about-container {
        display: flex;
        flex-direction: row;
        column-gap: 1.5rem;
    }
    
}


