:root{
    --green: #c2ffd3; /*création d'une variable*/
}

body {
    margin: 0;
    font-family: "Comfortaa", sans-serif;
    color: white;
}

/*Header*/

header{
    background: linear-gradient(#ff007b, #ffabed, #c2ffd3);
}
header nav {
    padding: 30px 5% 0 5%;
    display: flex; /*utilisation des flexbox*/
    flex-wrap: wrap; /*responsive*/
    justify-content: space-between; /*espace entre le logo et la barre de navigation*/
    align-items: center; /*aligner les élements*/
}
header nav h1 {
    margin: 0;
    text-transform: uppercase;
    color: var(--green); 
}
header nav .right {
    display: flex;
    align-items: center;
}
header nav .right p {
    margin: 0 15px 0 0;
    color: white;
    cursor: pointer; 
}
header nav .right p:hover {
    color: #c2ffd3; 
    cursor: pointer;
}
header nav .right button {
    padding: 5px 15px;
    font-size: 16px;
    font-family: comfortaa;
    background-color: inherit; /*appliquer la couleur du fond du header au bouton*/
    border: 1px solid var(--green); /*bordure du bouton*/
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1); /* Ajout de l'ombre portée */
    color: white;
    border-radius: 15px;
    cursor: pointer; /*indiquer à l'utlisateur qu'il peut cliquer sur le bouton en modifiant le curseur*/
    transition: color 0.5s, background-color 0.5s; /*apporter une latence à la couleur de transition du bouton*/
}
header nav .right button:hover {
    color: #ff007b; 
    cursor: pointer;
    background-color: var(--green);
}

/*Pemière section*/

.presentation {
    padding: 30px 5%; 
    margin-top: 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.presentation .product-presentation {
    width: 100%;
    flex-shrink: 3;
}
.presentation .product-presentation h1 {
    margin: 0;
    font-size: 4vw;
    width: 40%;
}
.presentation .product-presentation p {
    font-weight: 300;
}
.presentation .product-presentation button {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-family: comfortaa;
    border: none;
    outline: none;
    cursor: pointer;
}
.presentation .image-presentation img {
    width: 550px;
}
.first .product-presentation button {
	background-color: var(--green);
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.1); /* Ajout de l'ombre portée */
	color: black;
	border: 1.5px solid var(--green);
	transition: background-color 0.5s, color 0.5s;
}
.first .product-presentation button:hover {
	background-color: inherit;
	color: var(--green);
    cursor: pointer;
    border: 1.5px solid var(--green);
}
.first .product-presentation .small-images {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.first .product-presentation .small-images .small {
    padding: 20px;
    background-color: inherit;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1); /* Ajout de l'ombre portée */
    margin: 0 15px 15px 0;
    border: 1.5px solid var(--green);
    border-radius: 20px;
    transition: filter 0.5s;
}
.first .product-presentation .small-images .small:hover {
    filter: brightness(50%) /*baisser la luminosité des images lors du passage de la souris*/
}

.first .product-presentation .small-images .small img {
    width: 130px;
}

/*Deuxième section*/

.second{
    margin: 0;
    background-color: #ff007b;
}
.second .product-presentation .new {
    color: var(--green);
}
.second .product-presentation h1{
    width: 65%;
}
.second .product-presentation p{
    width: 80%;
}
.second .product-presentation button {
    background-color: inherit;
    border: 1.5px solid var(--green);
    color: var(--green);
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.1); /* Ajout de l'ombre portée */
    transition: color 0.5s, background-color 0.5s; /*apporter une latence à la couleur de transition du bouton*/
}
.second .product-presentation button:hover {
    background-color: var(--green);
	color: #ff007b;
    cursor: pointer;
    border: 1.5px solid var(--green);
}
.second .image-presentation img {
    width: 450px;
    padding-right: 20px;
}

/*Troisième section*/

.three {
    margin: 0;
    background-color: var(--green);
}
.three .product-presentation .recette {
    color: #ff007b;
}
.three .product-presentation h1 {
    color: black;
    width: 65%;
}
.three .product-presentation .icon {
    margin-right: 20px;
}
.three .product-presentation h2 {
    color: #ff007b;
}
.three .product-presentation p {
    color: black;
}
.three .product-presentation .img {
    width: 450px;
    padding-right: 20px;
}

/*Quatrième section*/

.four {
    margin: 0;
    background-color: #ffe4f9;
}
.four .product-presentation .icon {
    margin-right: 25px;
}
.four .product-presentation h2 {
    color: #ff007b;
}
.four .product-presentation p {
    color: black;
    width: 30%;
    padding-left: 20px;
}
.four .product-presentation .step {
    display: flex;
    flex-wrap: wrap;
    background-color: inherit;
    border: 4px solid #ff007b;
    border-radius: 20px;
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.1);
}
.four .product-presentation .step img {
    max-width: 100%;
    height: auto;
    padding: 10px; 
    transition: background-color 0.5s, color 0.5s;
}
.four .product-presentation .step img:hover {
    filter: brightness(50%) /*baisser la luminosité des images lors du passage de la souris*/
}

/*Cinquième section*/

.five {
    margin: 0;
    background-color: #ffe4f9;
}
.five .product-presentation .step6-7 {
    color: black;
}
.five .product-presentation .icon {
    margin-right: 25px;
}
.five .product-presentation h2 {
    color: #ff007b;
}

/*Footer*/

footer nav {
    margin: 0;
    background-color: #ff007b;
    display: flex;
    flex-wrap: wrap;
    padding: 30px 5% 1.5% 5%;
    justify-content: space-between; /*espace entre les éléments*/
    align-items: center; /*aligner les élements*/
}
footer nav h1 {
    margin: 0;
    text-transform: uppercase;
    color: var(--green); 
}
footer nav h3 {
    color: var(--green);
}
footer nav p {
    cursor: pointer;
    color: white;
}
footer nav p:hover{
    color: black;
    transition: color 0.5s, background-color 0.5s; /*apporter une latence à la couleur de transition du bouton*/
}

/*responsive*/

@media screen and (max-width: 640px) {
    header nav .right p { 
        display: none;
    }
    header nav .right button {
        display: none;
    }
    .presentation .product-presentation h1 {
        font-size: 2em;
    }
    .presentation .image-presentation {
        display: none;
    }
    .presentation .cheesecake {
        display: none;
    }
    .first .product-presentation .small-images .small img {
        width: 90px;
    }
    .three .product-presentation .img {
        display: none;
    }
    .four .product-presentation p {
        width: 60%;
    }
    .four .product-presentation .step img {
        width: 260px;
    }
    footer {
        justify-content: flex-start;
    }
    footer .column {
        width: 80%;
    }
}



    