@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&family=Rouge+Script&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato';
    scroll-behavior: smooth
}

 body {
    height:100%;
    width: 100%;

}

.invisible{
    display: none;
}

header{
    width: 100%;
    height: 7rem;
    background-color: #8B5E3C ;
    display: flex;

}
.headerNav{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
    width: 100%;
}

nav{
    width: 45%;

    display: none;
    justify-content :end;
    gap: 1rem;
    align-items: center;
}

.titleBox{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.titleBox img{

    height: 3rem;
    width: 3rem;
}


nav a, footer a{
    text-decoration: none;
    color:rgb(249, 245, 245);

}

nav a:hover, footer a:hover, .CTABanner:hover,.CTANav:hover{
    color: rgb(240, 176, 57);
}


.banner {
    background: url(../images/pain.jpg) no-repeat center/cover;
    height: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
}

.slogan {
    font-size: 1.2rem;
    color: white;
    font-family: 'Playfair Display';
    font-style: italic;
    text-align: center;
    padding: 0 1rem;
    position: relative; 
    z-index: 1;
}


h1{
    color: rgb(249, 245, 245);
    font-size: 1.5rem;
    font-family: 'Playfair Display';
    font-weight: 500;

}

h2,h3,h4{

    text-align: center;
    font-family: 'Playfair Display';
    color: #4E342E;
    font-weight: 600;
    padding-top:1rem;
}

h3{
    margin-bottom: 2rem;
}

 p{
    color: #4E342E;
    
}

section{
        display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}



#shop{

    background-color:#F5EFE6 ;

}


.shop_cards{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
}

#shop .card{
    margin: 1rem 0;
    height: 100%;
}

#shop p{
    text-align: center;
    margin : 1rem 0;
}

.card{
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 5px 5px 0 5px rgba(0, 0, 0, 0.067);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover; 
    min-height: unset; 
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}


.card .title-card{
    display: flex;
    justify-content: center;
    gap:0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.card p{
    color: #4E342E;
    text-align: center;
    flex: 1;
}

.title-card img{

    height: 2rem;
    width:2rem;
}

#product{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#product p{
    text-align: center;
    padding: 1rem;
}

.carousel{
    width: 90%;
    margin: auto;
}

.carousel-item{
        max-height: 180px;
}
.carousel-it.carousel-item img {

    object-fit: cover; 
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 1rem;
    border-radius: 10px;
}

.carousel-caption .title-carousel{
    color: white;
}

#schedule{
    display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
    margin: 2rem 0;
    background-color: #F5EFE6;
}

#schedule .container{
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#schedule .container p{
    text-align: center;
}
.planning{
	display: flex;
    flex-wrap: wrap;

}

.trait{
	width: 100%;
	height: 1px;
	background-color:#4E342E;
}

.trait-titre{
	width: 50%;
	height: 1px;
	background-color:#4E342E;
    margin-bottom: 1rem;
}

.jour{
	flex-basis: 0;
	flex-grow: 1;
}

.jour p{
	padding: 20px;
	text-align: center;
    color:#4E342E;
}

footer{
    margin: 0;
    background-color:#8B5E3C;
    height: 10rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.adress .maps iframe{
    width: 100%;
    height: 400px;
}
.adress .adress-text{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact{
   display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
}

footer,.phone, .mail, .adress{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mail, .phone{
    padding: 1rem;
    background-color: #F5EFE6;
    width: 75%;
    border: 1px solid #4E342E;
    box-shadow: 5px 5px 0 5px rgba(0, 0, 0, 0.067);
    border-radius: 5px;
}

.location img{
    height: 4rem;
    width: 4rem;
}

.phone, .mail, .location{
    margin: 1rem 0;
}

.phone img, .mail img{
    height: 4rem;
    width: 4rem;
}

.phone a, .mail a{
    text-decoration: none;
    color: #4E342E;
}
footer{
     color:rgb(249, 245, 245);
    text-align: center;
}

footer p{
    color: white;
}

.socialbar{
    margin-top: 1rem;
}
.socialbar img{
    height:4rem;
    width :4rem;
}


@keyframes fade{
	from{opacity: 0}
	to {opacity: 1}
}

.scroll-haut{

    text-decoration: none;
    font-weight: 600;
    z-index: 6;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
	position: fixed;
	bottom: 30px;
	right: 20px;
	font-size: 30px;
	background-color: #8B5E3C;
	color:rgb(249, 245, 245) ;
	width: 50px;
	height: 50px;
	border-radius: 1rem;
	text-align: center;
	border: 3px solid #4E342E;
	animation: fade;
	animation-timeline: scroll(y);
	animation-range: 0 10%;
}


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





    h1{
        font-size: 2rem;
    }

    nav a {
        font-size: 1.5rem;
    }

    h2{
        font-size: 2rem;
    }

    .shop_cards .card{
        width: 45% !important;
    }

    p, a{
        font-size: 1.3rem;
    }

    .maps{
        width: 100%;
    }

    .maps iframe{
        width: 100%;
    }

    .carousel-item{
        max-height: 400px;
}

}

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

    header{
        width: 100%;
    }

    .headerNav{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;


    }
    nav{
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 2rem;
        
    }

    h1{
        font-size: 3rem;
    }

    .banner{
        height: 400px;
    }

    .slogan{
        font-size: 1.5rem;
    }

    .trait-titre{
        width: 35%;
    }




    .shop_cards{
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 2rem;
        width: 100%;
        height: 100%;
        margin: 3rem 0;
    }


    #shop .card{
    width: 30% !important;
    height: unset !important; /* laisse stretch faire son travail */
    align-self: stretch
    }

    .carousel{
        width: 75%;
        height: auto;
    }

    .carousel-item{
        max-height: 800px;
    }   
     .adress{
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        width: 100%;
    }

    .location .maps{
        width: 75%;
    }

    footer{
        width: 100%;
        text-align: center;

    }

    .infobar{
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 16rem;
    }

    #contact{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;

    }
    .contact-box{
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 6rem;
    }

    .phone, .mail{
       width: 30%;
    }
    .mail{
        margin-left:4rem;
    }

    .location{
        margin-top: 3rem;
    }


}

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

    #shop .card{

        width: 20% !important;
    }

    .carousel{
        width: 60%;
    }

    .trait-titre{
        width: 20%;
    }
    
}