#slide-1, #slide-2 {
    position: relative;
    /*width: 100vw;*/
    height: 100vh;
    background-color:#bb2f16;
}

#slide-3, #slide-4, #slide-5 {
    position: relative;
    background-color:#bb2f16;
}
#slide-3 {
    position: relative;
    background-color:#bb2f16;
}

#slide-1 { z-index:1;} 
#slide-2 { z-index:2;} 
#slide-3 { z-index:3;} 
#slide-4 { z-index:4;} 
#slide-5 { z-index:5;} 
#footer { z-index:6;} 

#slide1-text {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    display:block;
    text-align: center;
}

#slide-2{
    background-image:url('../img/cuivre.jpg');
    /*background-image:url('../img/pots-confitures.png');*/
    background-repeat: no-repeat;
    background-size: auto 100vh;
    background-position: right 40vw top 0px;
}

#slide2-text {
    position:absolute;
    width:40vw;
    right:5vw;
    color: white;
    margin-top: 20vh;
    /*transform: translateY(-50%);*/
}

#slide2-img{
    width:60vw;
    height:100vh;
    background-color: gray;
}

#slide-4 .hsContainer {
    text-align: center;
}
#slide4-text {
    top: 50%;
    width:60vw;
    left:20vw;
    position: absolute;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    
}

.bouton {
    background-color: #f0f0db;
    color:#9f3321;
    text-transform: uppercase;
    font-size: 0.7em;
    width:50%;
    margin-top:25%;
    padding-top:0.5vh;
    padding-bottom:0.5vh;
    transform: translateX(50%);
}


.itemsContainer {
    padding-left: 2vw;
    padding-right: 2vw;
    top:15vh;
    height:70vh;
}

.item { z-index: 100;}
.item h1 {font-size: 2em;}
.item .item-text {
    margin: auto;
    text-align:center;
    color:white;
}

.confitures h3 { color:#d0a267;}
.miel h3 { color:#2c3f2c;}
.gelee h3 { color:#2c3f2c;}
.caramels h3 { color:#233e28;}
.chutney h3 { color:#f3f1e4;}
.superfoods h3 { color:#f3f1e4;}

 .carousel-item p {
     font-family: "Berlingske Serif";
     text-transform: uppercase;
     font-size:1em;
     margin-bottom:0em;
     letter-spacing:0.5em;
     color: #d0a267;
     padding:5vw;
 }


    #nos-gammes {
        padding : 20vh 10vw 5vh 10vw;
        text-align: center;
        color:white;
    }

    #slide-3 .wrapper, #slide-5 .wrapper {
        display:grid;
        grid-template-columns: auto auto auto;
        grid-gap: 7vw;
        padding: 7vw;
    }

    .item, .timbre {
        margin: auto;
        width:15vw;
    }
    
    @media only screen and (max-width:800px) and (min-width:700px) {
        #slide-3 .item, #slide-3 .timbre, #slide-5 .item, #slide-5 .timbre {
            width:25vw;
        }   
    }
    @media only screen and (max-width:700px) {
        #slide-3 .wrapper, #slide-5 .wrapper {
            grid-template-columns: auto;
        }
        #slide-3 .item, #slide-5 .item, .timbre {
            width:125px;
        }   
    }

/******** Footer *********/
#footer {
    position: relative;
    
}

img#slide-btn{
    width:100%;
}

div#menu{
    position: fixed;
    display: none;
    width: 100%;
    height: auto;
    z-index: 99;
    top:0;
    background-color: #39533d;
    font-size: 0.6em;
    text-align: center;
}

h1.menu {
    color:white;
    font-family: "Brandon Grotesque";
    text-transform: uppercase;
    font-size:2em;
    margin-bottom:1.7em;
    letter-spacing:0.5em;

}

.header {
    margin: auto;
    margin-bottom : 50px;
    text-align:center;
    
}

.footer {
    margin: auto;
    margin-top : 60px;
    text-align:center;
}

#footer {
    background-color:#244029;
    bottom:0px;
    color:white;
    
}

.logo {
    margin:auto;
    margin-top:3em;
    max-width:30px;
}


a, a:visited {
    text-decoration:none;
    font-style:normal;
    color:inherit;
}

a:hover {
    text-decoration:none;
    
    color:inherit;
}

.accueil a, a:hover {
    text-decoration:none;
    color:white;
}

.navbutton {
    border :0px;
    text-align: right;
    font-size: 0.8em;
    
}

.navbutton td {
    padding-left:10px;
    text-transform: uppercase;
    letter-spacing: .2rem;
}

.navbutton .bar {
    width: 10px;
    height: 2px;
    margin-bottom: 0.2em;
}

.navbutton td {
    padding-bottom:4em;
}

.navbutton .bullet{
    width: 0.7em;
    margin-bottom: 0.2em;
}

#logo-je img {
    width:3%;
    position:fixed;
    top:5%;
    left:3%;        
}

.double-height {
    line-height: 200%;
}

 

@keyframes slidein {
    from {
      right: -35%;
    }
  
    to {
      right: 10%;
    }
  }

    @media only screen and (max-width:980px) {
    /*@media only screen and (width <= 980px) {*/
    #logo-je img {width:8%;}
    h1 {font-size:calc(2em + 1.5vw);}
    h3 {font-size:0.6em;}
    .double-height {line-height: 150%;}
    .nav-txt{visibility: hidden;}
}

.scroll-container {
    position: absolute;
    left: 50%;
    bottom:3%;
}

.scroll {
    font-size: 0.6em;
    position: relative;
    left: -50%;
}

.savoir-plus {
    padding-top:2em;
    font-size: 1.3em;
}


.lineurl a {
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    position: relative;
    color:white;
    letter-spacing: 0.4em;
}

.lineurl a:after {
    width: 0;
    background:white;
    height: 1px;
    transition: all .5s ease-in-out;
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
  }

.lineurl a:hover {
    color: white;
}
  
.lineurl a:hover:after {
    width: 100%;
    left: 0;
}

.footer {
    display:inline-block;
    width:45%;
    font-size: 0.8em;
    margin-top:0;
    line-height: 2;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.right a{
    text-transform: uppercase;
    font-size: 1em;
    margin-left: 2em;
    vertical-align: text-top;
}

figure {
    position: relative;
    display: inline-block;
    width:100%;
    top:10%;
  }
  
  figcaption {
    position: absolute;
    width: 100%;
    top: 15%;
    text-align: center;
  }

  .productPopup figcaption {
        top: 0%;
        margin-top:50%;
    }

#menu-btn .bar {
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    border-radius: 30px;
  }


#footerBar {
    border-color:white;
    width:90%;
    margin:auto;
    opacity:0.2;
}

.navigation {
    position:fixed;
    top:40%;
    right:0;
    color:white;
    text-align: right;
}

#nos-gammes {
    padding : 20vh 10vw 5vh 10vw;
    text-align: center;
    color:white;
}

#slide-3 .wrapper {
    display:grid;
    grid-template-columns: auto auto auto;
    grid-gap: 7vw;
    padding: 7vw;
}

.item, .timbre {
    margin: auto;
    width:15vw;
}

@media only screen and (max-width:800px) and (min-width:700px) {
    #slide-3 .item, #slide-3 .timbre {
        width:25vw;
    }   
}
@media only screen and (max-width:700px) {
    #slide-3 .wrapper {
        grid-template-columns: auto;
    }
    #slide-3 .item, .timbre {
        width:125px;
    }   
}

#slide-4 .carousel-item {
    height : 50vh;
}

#slide-2 h2 {
    font-size: calc(1.4em + 2.4vw);
    font-family: "Berlingske Serif Bold";
}

#slide-2 h3 {
    padding-bottom: 8vh;
}