*{
    scroll-behavior: smooth ;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body{
    width: 100%; /*permet de définir la largeur d'un élément*/
    margin: 0; /*définit la taille des marges d'un l'élément*/
    padding: 0; /*permet de définir les différents écarts de remplissage d'un l'élément*/
    display: flex; /*définit le type d'affichage utilisée pour le rendu d'un élément*/
    flex-direction: column; /*elle définit l'axe principal et la direction des éléments*/
    align-items: center; /*cette propriété contrôle l'alignement d'un l'élément*/
    justify-content: center; /*indique la façon dont l'espace doit être réparti entre et autour des éléments*/
    font-family: 'Fjalla One', sans-serif; /*permet de définir une police*/
}



main{
    padding: 5rem;
    width: 1000px;
	position: center ;
}

#slider{
	width: 800px;
	height: 500px;
	overflow: hidden; /* est une propriété raccourcie qui définit comment gérer le dépassement du contenu d'un élément dans son bloc*/
	display: flex;
	justify-content: center;
	margin: auto;
	box-shadow: 0 0px 70px rgb(53, 100, 255),0 0px 70px rgb(53, 100, 255); /*ajoute des ombres à la boîte d'un élément*/
	border-radius: 20px;
}

#slider img{
	width: 800px;
	height: 500px;
	float: left; /* indique qu'un élément doit être retiré du flux normal*/
	position: absolute; /*définit la façon dont un élément est positionné dans un document*/
	display: flex;
	justify-content: center;
	transition: all 0.5s ease;
	transition-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1); /*décrit la façon dont les effet de transition sont calculées*/
	margin: auto;
	border-radius: 20px;	
}
  
#slider img:first-child{
	display: block;
}
  
#slider img:not(:first-child){
	display: none;
}

.small-container{
	max-width: 1080px;
	margin: auto;
	padding-left: 25px; /*d'un élément correspond à l'espace nécessaire à la gauche d'un élément*/
	padding-right: 25px; /*d'un élément correspond à l'espace nécessaire à la droite d'un élément*/
}

.col-4{
	flex-basis: 25%; /* détermine la base de flexibilité utilisée comme taille initiale principale pour un élément flexible*/
	padding: 10px;
	min-width: 200px;
	margin-bottom: 50px; /* définit la marge basse appliquée à un élément*/
}

.col-4 img{
	width: 100%;
}

.title{
	text-align: center;
	margin: 0 auto 80px ;
	position: relative;
	line-height: 60px;
	color: rgb(0, 0, 0);
	transform: translate(-194%, 225%);
	z-index: 2;
}


h4{
	color: #555;
	font-weight: normal;
}

.col-4{
    transition: all 0.2s;   
}

.col-4:hover {
    transform: scale(1.1);
}

.products{
    color: #000000;
    text-decoration: none;
    text-align: center;
    text-transform: none;
}

.price{
    margin-bottom: 5px;
    line-height: 18px;
    color: #000;
    font-weight: 500; /*Largeur de la police*/
    font-size: 18px; /*Taille de la police*/
    letter-spacing: .2px; /*L espacement enttre les lettre*/
    height: 40px;
    text-align: center;
}



.title{
	text-align: center;
	margin: 0 auto 20px ;
	position: relative;
	line-height: 60px;
	color: rgb(17, 52, 168)#40c440;
    transform: translateX(1%) translateY(-10%); 
}

.title::after {
	content: '\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0';
	background: #40c440;
	width: 8Opx;
	height: 5px;
	border-radius: 5px;
	position: absolute;
	bottom: 0; 
	left: 50%; 
	transform: translateX(-50%); 
}

.card {
    width: 1000px;
    height: 400px;
    border-radius: 4px;
    display: flex;
    gap: 5px;
    padding: .4em;
}

.card p {
    position: relative;
    height: 100%;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
    transition: all .5s;
    background: #212121;
    border: 2px solid #2c80ff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card p span {
    padding: .5em;
    text-align: center;
    text-transform: uppercase;
    color: #40c440;
    letter-spacing: .1em;
    position: relative;
    z-index: 1;

}

.card p .title {
    margin: 10px -57px;
    position: absolute;
    top: 50%;
    left: 40%;
    width: 30%;
    height: 10%; /* Modifiez la hauteur selon vos besoins */
    background: rgba(53, 100, 255, 0.63);
	border-radius: 20px;
	line-height: 25px ;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%) rotate(90deg); /* Inverse le texte et centre verticalement */
	opacity: 0;
}

.card p:hover {
    flex: 18;

}

.card p:hover span {
    transform: rotate(0);
}







.fieldset{
	border: 2px solid #000;
	width: 100%;
    text-align: center;
    padding: 2rem;
	background-color: rgb(248, 246, 246);
}

.objectif{
    width: 100%;
    text-align: center;
    padding: 2rem;
}

.objectif img{
    width: 10rem;
	border-radius: 20px;
}

.objectif>.row{
    display: flex ;
    justify-content: space-evenly;
    flex-wrap:wrap ;
}


.btn{
	display: inline-block;
	background: #ffffff;
	color: rgb(0, 0, 0);
	padding: 8px 30px;
	margin: 30px 30px;
	border-radius: 30px;
	transition: background-color 0.5s;	
}

.btn:hover{
	background: #40c440;	
}


.brand-container {
    overflow: hidden;
    width: 100%;
    background-color: white;
    box-shadow: 0 20px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0px 10px rgb(0, 0, 0);
}


.brand-slider {
    display: flex;
    width: 100%;
    animation: slide 20s linear infinite;
}

.brand-slide {
    display: flex;
}

.brand-slide img {
    height: 80px;
    margin: 0 10px;
    opacity: 0.5; /* Make the images initially opaque */
    transition: opacity 0.3s ease-in-out; /* Smooth transition effect */
}

.brand-slide img:hover {
    opacity: 1; /* Fully visible when hovered */
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Votre CSS existant ici */

/* Styles pour la notification de cookie */ 
.cookieContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.cardd {
    width: 300px;
    height: 220px;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 70px 5px #7b57ff;
    border-radius: 8px;
    border: 2px solid #7b57ff;
}

.cooki {
    transform: translateX(0);
}

#cookieSvg {
    width: 50px;
}

#cookieSvg g path {
    fill: rgb(97, 81, 81);
}

.cookieHeading {
    font-size: 1.2em;
    font-weight: 800;
    color: rgb(26, 26, 26);
}

.cookieDescription {
    text-align: center;
    font-size: 0.7em;
    font-weight: 600;
    color: rgb(99, 99, 99);
    margin-top: 5px;
}

.buttonContainer {
    display: flex;
    flex-direction: row;
    transform: translateX() translateY(15px);
}

.acceptButton {
    width: 80px;
    height: 30px;
    background-color: #7b57ff;
    transition-duration: .2s;
    border: none;
    color: rgb(241, 241, 241);
    cursor: pointer;
    font-weight: 600;
    border-radius: 20px;
    margin: 10px;
}

.declineButton {
    width: 80px;
    height: 30px;
    background-color: rgb(218, 218, 218);
    transition-duration: .2s;
    color: rgb(46, 46, 46);
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 20px;
    margin: 10px;
}

.declineButton:hover {
    background-color: #ebebeb;
    transition-duration: .2s;
}

.acceptButton:hover {
    background-color: #9173ff;
    transition-duration: .2s;
}