/*----------------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: 75px 0px; /*marge intérieur*/
}


/*hip hop enfant*/
.fond:nth-of-type(4) {
    padding: 200px 0px 20px 0px; /*marge intérieur*/
}

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

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

/*coaching hip hop*/
.fond:nth-of-type(10) {
    padding: 200px 0px; /*marge intérieur*/
}

/*house dance*/
.fond:nth-of-type(12) {
    padding: 20px 0px 20px 0px; /*marge intérieur*/
}

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

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

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

@media all and (max-width: 1200px) {
    /*présentation*/
    .fond:nth-of-type(2) {
        padding: 50px 0px 100px 0px; /*marge intérieur*/
    }
    /*hip hop*/
    .fond:nth-of-type(4) {
        padding: 150px 0px 100px 0px; /*marge intérieur*/
    }
    /*house dance*/
    .fond:nth-of-type(6) {
        padding: 150px 0px 150px 0px; /*marge intérieur*/
    }
    /*training*/
    .fond:nth-of-type(8) {
        padding: 50px 0px 100px 0px; /*marge intérieur*/
    }
    /*Atelier*/
    .fond:nth-of-type(10) {
        padding: 100px 0px 150px 0px; /*marge intérieur*/
    }
    /*galerie*/
    .fond:nth-of-type(12) {
        padding: 50px 0px 100px 0px; /*marge intérieur*/
    }
}



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

.presentation {
    width: var(--longueur); /*largeur*/
    margin: auto; /*marge extérieur*/
    padding: 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 du fond*/
}

.ville h3 {
    margin: 20px auto; /*marge extérieur*/
    font-size: 68pt; /*police taille*/
    letter-spacing: 2pt; /*espace entre lettre*/
}

/*----------------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*/
    }
}


/*----------------COURS----------------*/

.cours {
    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*/
}

.cours 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*/
}

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

.cours .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*/
}


/*----------------COURS RESPONSIVE----------------*/

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

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


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

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

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

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

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