/*----------------VARIABLE----------------*/

html {
	--longueur: 55%; /*variable*/
}

@media all and (max-width: 1500px) {
    html {
        --longueur: 70%; /*variable*/
    }
}

@media all and (max-width: 1000px) {
    html {
        --longueur: 85%; /*variable*/
    }
}

/*----------------FOND----------------*/

/*présentation*/
.fond:nth-of-type(2) {
    padding: 50px 0px; /*marge intérieur*/
}

/*couteau*/
.fond:nth-of-type(4) {
    padding: 175px 0px 25px 0px; /*marge intérieur*/
}

/*planchette*/
.fond:nth-of-type(6) {
    padding: 175px 0px 200px 0px; /*marge intérieur*/
}

/*----------------FOND RESPONSIVE----------------*/

@media all and (max-width: 600px) {
    /*présentation*/
    .fond:nth-of-type(2) {
        padding: 75px 0px 75px 0px; /*marge intérieur*/
    }

    /*couteau*/
    .fond:nth-of-type(4) {
        padding: 100px 0px 50px 0px; /*marge intérieur*/
    }

    /*planchette*/
    .fond:nth-of-type(6) {
        padding: 100px 0px 100px 0px; /*marge intérieur*/
    }

    /*galerie*/
    .fond:nth-of-type(8) {
        padding: 50px 0px 50px 0px; /*marge intérieur*/
    }
}

/*----------------PRESENTATION----------------*/

.presentation {
    width: var(--longueur); /*largeur*/
    margin: auto; /*marge extérieur*/
    padding: 50px 0px 75px 0px; /*marge intérieur*/
}

.ville {
    width: calc(var(--longueur) + 2.5%); /*largeur*/
    margin: auto; /*marge extérieur*/
    padding: 0; /*marge intérieur*/
    text-align: center; /*texte alignement*/
}

.ville hr {
	width: 100%; /*largeur*/
	height: 4px; /*hauteur*/
	margin: auto; /*marge extérieur*/
	padding: 0; /*marge intérieur*/
	border-width: 0; /*bordure épaisseur*/
	background-color: var(--couleur-blanc); /*couleur des lignes*/
}

.ville h3 {
    margin: 20px auto; /*marge extérieur*/
    font-size: 44pt; /*police taille*/
}

/*----------------PRESENTATION RESPONSIVE----------------*/

@media all and (max-width: 1200px) {
    .ville h3 {
        font-size: 40pt; /*police taille*/
    }
}

@media all and (max-width: 800px) {
    .ville h3 {
        font-size: 32pt; /*police taille*/
    }
}


/*----------------PRODUIT----------------*/

.produit {
    width: var(--longueur); /*largeur*/
    margin: auto; /*marge extérieur*/
    margin-top: 50px; /*marge extérieur haut*/
    padding: 0; /*marge intérieur*/
    display: flex; /*apparition des balises*/
    flex-direction: row; /*direction des contenants*/
    justify-content: space-between; /*centre horizontalement le contenu*/ 
}

.produit img {
    --image: 400px; /*variable*/
    width: var(--image); /*largeur*/
    height: var(--image); /*hauteur*/
    margin: auto 0px; /*marge extérieur*/
    padding: 0; /*marge intérieur*/
    border-radius: var(--image); /*bordure arrondi*/
    object-fit: cover; /*ajuster à la taille de son contenant*/  
	object-position: center; /*position du contenu*/
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.4); /*bordure ombre*/
}

.produit .paragraphe {
    width: 45%; /*largeur*/
    margin: auto 0; /*marge extérieur*/
    padding: 0; /*marge intérieur*/
}

.produit .texte {
    width: 100%; /*largeur*/
    height: 225px; /*hauteur*/
    margin: auto; /*marge extérieur*/
    margin-bottom: 25px; /*marge extérieur bas*/
    padding: 0; /*marge intérieur*/
    overflow: hidden; /*dépassement du contenant*/
    position: relative; /*couleur du fond*/
    background: linear-gradient(to bottom, #000000 50%, transparent); /*couleur du fond dégradé linéaire*/
    background-clip: text; /*définit l'arrière plan sur le texte*/
    color: transparent; /*couleur*/
}


/*----------------PRODUIT RESPONSIVE----------------*/

@media all and (max-width: 1200px) {
    .produit {
        width: 100%; /*largeur*/
        flex-direction: column; /*direction des contenants*/
    }
    .produit img {
        width: 100%; /*largeur*/
        height: 400px; /*hauteur*/
        border-radius: 0px; /*bordure arrondi*/
        order: -1; /*définit l'ordre*/
    }
    .produit .paragraphe {
        width: var(--longueur); /*largeur*/
        margin: auto; /*marge extérieur*/
        margin-top: 75px; /*marge extérieur haut*/
    }
    .produit .texte {
        height: 185px; /*hauteur*/
    }
}

@media all and (max-width: 600px) {
    .produit img {
        height: 250px; /*hauteur*/
    }
}


/*----------------GALERIE----------------*/

.galerie {
    max-width: 1120px; /*largeur*/
    margin: 0px auto; /*marge extérieur*/
}

.galerie li:nth-child(n+7) {
	display: none; /*apparition des balises*/
}

/*----------------GALERIE RESPONSIVE----------------*/

@media all and (max-width: 1000px) {
    .galerie li:nth-child(n+4) {
        display: none; /*apparition des balises*/
    }    
}