/*RESET CSS*/

*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{scroll-behavior: smooth;
}

body{
    font-family: "Roboto Thin", Helvetica, sans-serif;
    background: #f1f1f1;
}

h1{
font-family: Modak thin;
}
/*----------------NAVIGATION -------------------*/
nav {
    position: fixed;
    z-index: 1000;
    width:    100%;
    height: 70px;
    background: transparent;
    /*background: #000000;*/
/*changement couleur du nav selon bg*/
    transition: background-color 0.3s ease-in-out,
    border-bottom 0.3s ease-in-out;
}
nav.anim-nav{
    background: #000;
    border-bottom: 1px solid #f1f1f1;

}

nav ul{
    width: 100%;
    height: 100%;
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav li{
    margin: 0 15px;

}
nav a{
    text-decoration: none;
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
}
@media screen and (max-width:450px ){
    nav ul{
        flex-wrap: wrap;
        color: red;

    }
    a.items-navigation{
        font-size: 15px;


    }
}

/*----------------ACCEUIL FONDUE-----------*/
.acceuil{
    height: 800px;
    display: flex;
    overflow: hidden;
}
.bloc-gauche-acceuil{
    position: relative;
    width: 40%;
    height: 100%;
    background: #000;
    box-shadow: 90px 0 100px 100px #000;
}
h1{
    color: #f1f1f1;
    mso-generic-font-family: Modak;
    font-size: 90px;
    padding-top: 200px;
    padding-bottom: 20px;
    margin-left: 8vw;
    white-space: nowrap;
}
.acceuil p{
    color: #f1f1f1;
    font-size: 30px;
    width: 600px;
    margin-left: 8vw;
    line-height: 1.3;
}
.cont-btn-home{
display: flex;
}

.btn-acceuil{
    font-size: 18px;
    text-align: center;
    color: #f1f1f1f1;
    padding: 15px ;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 40px;
    border: 1px solid #f1f1f1f1;
    width: 150px;
    cursor: pointer;
}
.btn-acceuil:hover{
    transition: all 0.2s ease-in-out;
    color: #000000;
    background: #f1f1f1;
}
.b1{
    margin-left: 8vw;
}
.b2{
    margin-left: 10px;
}
.bloc-droit-acceuil{
background-image: url("ressources/gym-accueil.jpg");
    width: 60%;
    height: 100%;
    background-position: 70% 10%;
}


/* -------------Medias accueil fondu-------------*/

@media screen and (max-width: 1350px){
    .bloc-gauche-acceuil{
        width: 60%;
    }
    .bloc-droit-acceuil{
        background-position: 72% 10%;
    }
}

@media sceern and (max-width: 750px){
.acceuil{
    height: 600px;
}
    h1{
        max-font-size: 25px;
        margin-bottom: 10px;
    }
    .acceuil p{
        max-font-size: 50px;
        padding-top: 120px;
    }
    .btn-acceuil{
        font-size: 18px;
        padding: 12px;
        margin-top: 20px;
    }
    .bloc-gauche-acceuil{
        width: 50%;

    }

}


@media screen and (max-width: 550px){
    /*nav li{*/
    /*    margin: 0 8px;*/
    /*}*/
    /*nav a {*/
    /*    font-size: 15px;*/
    /*}*/

.acceuil{
    height: 450px;
}
    h1{
        font-size: 40px;
        padding-top: 100px;
        margin-left: 2vw;
    }
    .acceuil p{
        font-size: 20px;
        margin-left: 2vw;
        margin-bottom: 15px;
    }
.btn-acceuil{
    padding: 8px;
    font-size: 16px;
    }
.b1{
    margin-left: 2vw;
}
.b2{
    margin-left: 10px;
}
.bloc-gauche-acceuil{
    box-shadow: 20px 0 100px 100px #000;
    width: 40%;
}
/*.bloc-droit-acceuil{*/
/*    width: 50%;*/
/*}*/

}

/*-----------------section info------------*/
.titre-section-info{
    color: black;
    text-align: center;
    font-size: 65px;
    padding: 50px 20px 120px;

}
.section-info{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    width: 100%;
    margin: 0 auto;
    background: #f1f1f1;
    position: relative;
}
.carte-info {
    width: 350px;
    height: auto;
    margin: 0 20px 80px;
/*OMBRE AUTOUR carte-info, jouer sur dernier chiifres*/
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    z-index: 100;
}
.carte-info p{
    padding: 5px;
}
.container-photo-info img{
    width: 100%;
    height: 500px;
    object-fit: cover;
}
 .carte-info h2{
     color: #333;
     text-align: center;
     font-size: 23px;
     padding: 0 5px 15px;
 }

 .deco-infos{
     position: absolute;
     z-index: -1;
     top: -70px;
     left: -100px;
 }
 @media scren and (max-width: 1400px){
     .deco-infos{
         display: none;
     }
 }

 @media screen and (max-width: 1000px){
     .titre-section-info{
         font-size: 50px;
     }
 }
@media screen and (max-width: 550px){
    .titre-section-info{
        font-size: 32px;
        padding: 40px 20px 40px;
        margin-bottom: 30px;
    }
    .carte-info{
        margin: 0 10px 45px ;
    }
}

/*------------------SECTION CHOIX ----------------------  */
#choix{
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: repeating-linear-gradient(135deg, hsla(55,0%,44%,0.09) 0px, hsla(55,0%,44%,0.09) 1px,transparent 1px, transparent 11px),repeating-linear-gradient(45deg, hsla(55,0%,44%,0.09) 0px, hsla(55,0%,44%,0.09) 1px,transparent 1px, transparent 11px),linear-gradient(90deg, hsl(22,0%,2%),hsl(22,0%,2%));
    /*background: #000000;*/
}
.entrainement-choix {
    width: 30%;
    text-align: center;
    color: #f1f1f1f1;
    margin: 50px 20px 70px;
}
.entrainement-choix h3{
    font-size: 50px;
    margin-bottom: 20px;
          font-family:  Modak thin, Arial, Helvetica, sans-serif;
}
.entrainement-choix p{
    font-size: 18px;
    width: 70%;
    margin: 0 auto 30px;
}
.btn-outline-choix{
    width: 300px;
    padding: 15px 0;
    font-size: 22px;
    background: #0000;
    color: #f1f1f1;
    border: 1px solid #f1f1f1;
    cursor: pointer;
}
.btn-outline-choix:hover{ /*onfait switcher le bg et la couler quand le curseur est dessus*/
    transition: all 0.2s ease-in-out;
    background: #fff;
    color: #000;
}

@media screen and (max-width: 1200px){
    .entrainement-choix{
        widh:400px;
    }
}
@media screen and (max-width: 775px){
    #choix{
        flex-direction: column;
    }
    .entrainement-choix h3{
        font-size: 40px;
        margin-bottom: 20px;
    }
    .btn-outline-choix{
        width: 250px;
    }
    .entrainement-choix{
        width: 350px;
        margin: 50px 0 70px;
    }
    .entrainement-choix:nth-child(1){
        margin: 50px 20px 0;
    }

}
/*---------------SECTION EQUIPEMENT-----------------*/
.titre-equipements{
    border-top: 1px dashed #f1f1f1;
    text-align: center;
    font-size: 70px;
    color: #000;
    padding: 50px 0;
    text-transform: uppercase;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
}

#equipement{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1300px;
    min-width: 300px;
    margin: 0 auto 100px;
}

/*portfolio 9 images cliquable*/
.btn-modale{
    width: 350px;
    height: 400px;
    border: none;
    margin: 10px;
    cursor: pointer;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-modale:nth-child(1){
    background-image: url("ressources/img1-equip.jpg");
}
.btn-modale:nth-child(2){
    background-image: url("ressources/img2-equip.jpg");
}
.btn-modale:nth-child(3){
    background-image: url("ressources/img3-equip.jpg");
}.btn-modale:nth-child(4){
    background-image: url("ressources/img4-equip.jpg");
}
.btn-modale:nth-child(5){
    background-image: url("ressources/img5-equip.jpg");
}
.btn-modale:nth-child(6){
    background-image: url("ressources/img6-equip.jpg");
}.btn-modale:nth-child(7){
    background-image: url("ressources/img7-equip.jpg");
}
.btn-modale:nth-child(8){
    background-image: url("ressources/img8-equip.jpg");
}
.btn-modale:nth-child(9){
    background-image: url("ressources/img9-equip.jpg");
}

/*fenetre modal qui apparait*/
.bloc-modale{ /*image centré au milieu ecran+ avant plan + bg opacité reduite  */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75)  ;
    z-index: 1000;
    display: none;
}
.active-modale{
    display: block;
}
.bloc-img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
}
.bloc-modale img{
    width: 100%;
}
.fermeture-modale{ /*il faut que l'im soit au dessus de l'image*/
    position: absolute;
    z-index: 4000;
    top: 5%;
    right: 5%;
    width: 60px;
    height: 60px;
    font-size: 22px;
    color: white;
    background: red ;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

@media screen and (max-width: 850px){
    .titre-equipements{
    font-size: 45px;
    }
}
@media screen and (max-width: 500px){
    .titre-equipements{
    font-size: 35px;
    }
}

/*---------------PARALLAX-----------*/
.parallax{
    background-image: url("ressources/img-paral.jpg");
    background-attachment: fixed;
    background-position: center;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.parallax-txt{
    font-size: 100px;
    color: #fff;
    text-align: center;
    font-weight: 700;
}
@media screen and (max-width: 600px){
    .parallax-txt{
        font-size: 50px}


}

/*----------------Section Equipepents----------------*/
.titre-tarifs{
    background: #f1f1f1;
    font-size: 50px;
    text-align: center;
    padding: 50px 0 ;
}
#tarifs{
    background: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 70%;
    max-width: 1300px;
    min-width: 300px;
   margin: 0 auto 100px;
}

.carte-tarif{
    width: 350px;
    height: auto;
    background-image: repeating-linear-gradient(135deg, hsla(55,0%,44%,0.09) 0px, hsla(55,0%,44%,0.09) 1px,transparent 1px, transparent 11px),repeating-linear-gradient(45deg, hsla(55,0%,44%,0.09) 0px, hsla(55,0%,44%,0.09) 1px,transparent 1px, transparent 11px),linear-gradient(90deg, hsl(22,0%,2%),hsl(22,0%,2%));
    color: #f1f1f1;
    margin: 20px 10px ;
    border-radius: 5px;
}

.carte-tarif h3{
    text-align: center;
    font-size: 45px;
    margin: 25px 0;
    font-family: Montserrat, Arial, Helvetica, sans-serif ;
    position: relative;
    /*padding-left: 5px;*/
    /*padding-top: 5px;*/

}

.prix-carte{
    text-align: center;
    font-size: 30px;
    margin: 25px 0;
}
.prix-carte span{
    font-size: 80px;
    position: relative;
}
.prix-carte span::after{
    content: "€";
    display: block;
    position: absolute;
    top: 10px;
    right: -20px;
    font-size: 25px;
}
.infos-carte{
    width: 170px;
    margin: 20px auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size: 22px;
}


.infos-carte img{
    margin-right: 7px;
    width: 20px;

}

/*-------------SECTION FORMULAIRE-----------------*/


.titre-contact{
    border-top: 1px dashed #000;
    text-align: center;
    font-size: 50px;
    padding: 50px 0;

}
form{
    width: 50%;
    margin: 0 auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 100px;
    position: relative;

}
label, input{
    width: 100%;
    font-size: 20px;
    margin: 5px 0;
}

section#contact{
    margin: 0 auto;
}

form input  {
    padding: 10px 5px ;
}

input:nth-child(4){
    margin-bottom: 20px;
}

textarea{
width: 100%;
    height: 200px;
    font-size: 20px;
    padding: 15px;
}
label:nth-child(5){
    margin-bottom: 10px;
}

.form-btn{
    display: block;
    margin: 20px auto;
    padding: 10px;
    font-size: 15px;
    width: 250px;
    border-radius: 5px;
    border: 1px solid #000;
}


/* FOOTER************************************/
footer{
    text-align: center;
    border-top: 1px dashed  #000;
    height: 100px;
     padding: 15px 0;
     
}

/* MEDIA **************************************/

@media screen and (min-width: 1100px){
    
    footer{
        text-align: center;
        padding: 15px 0;
        border-top: 1px dashed  #000;
    }
}

@media screen and (max-width: 1100px){
    #contact{
        width: 80%;
    }
    footer{
        text-align: center;
        padding: 15px 0;
        border-top: 1px dashed  #000;
    }
}
@media screen and (max-width: 600px){
  form{
        width: 100%;
      margin: 0 auto;
      /*justify-content: center;*/
      align-items: center;
      text-align: center  ;
  }

    input#prenom, input#nom, textarea#txt-area{
        width: 250px;

    }

}
