* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: "Vollkorn", serif;
}

/* On crée une transition lors du scroll  */
html{
  scroll-behavior: smooth;
}

            /* ***********HEADER ************* */

/* Mise en place du header de la page et dinition de la taille couleur du titre*/
.head-cont {
  height: 100px;
  width: 100%;
  background-color: black;
  top: 0;
  color: #e4d8be;
  text-align: center;
  padding-top: 20px;
  font-size: 30px;
  position: relative;
}

/* Contenaire situé à gauche contenant le logo d'entreprise */
.head-left {
  position: absolute;
  z-index: 10;
  height: 130px;
  margin-left: 10px;
}

.head-left img {
  height: 100%;
}

              /* *************** NAV ***************** */

/* Création de la barre de navigation */
nav {
  position: relative;
  height: 80px;
  width: 100%;
  background-color: black;
  border-bottom: 4px solid #e4d8be;
}

nav ul {
  text-align: center;
}

nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}

nav ul li a {
  color: #e4d8be;
  font-size: 17px;
  border-radius: 3px;
  padding: 7px 13px;
}

nav a:hover {
  background: #e4d8be;
  color: black;
  transition: 0.5s;
}

.li-right{
  position: absolute;
  right: 10px;
}

.li-right2{
  position: absolute;
  right: 130px;
}

/* Création du bouton burger permettant d'afficher la nav étant cachée en responsive */
.checkbtn {
  font-size: 30px;
  color: #e4d8be;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

/* Création d'une classe gérée par le JS et qui permet de fixer la nav en haut de page lorsqu'on scroll*/
.fixed-nav nav {
  position: fixed;
  top: 0;
  height: 80px;
  z-index: 100;
}

.fixed-nav .center-container,
.fixed-nav .container-membre,
.fixed-nav .center-container2,
.fixed-nav .formulaire,
.fixed-nav .container-compte
 {
  margin: 130px auto;
}

.fixed-nav .accueil
{
  margin-top: 80px;
}

          /* ************** FOOTER *************** */

/* Création du footer de la page */
footer {
  width: 100%;
  background: black;
  color: #e4d8be;
}

footer i {
  color: #e4d8be;
}

.foot-haut {
  display: flex;
  text-align: center;
  width: 100%;
  justify-content: space-evenly;
  padding: 20px;
}

.foot-haut h3 {
  margin-bottom: 10px;
}

.align-li {
  display: flex;
  justify-content: space-evenly;
}

.align-li i {
  font-size: 24px;
}

.align-li i:hover {
  font-size: 28px;
}

.foot-bas {
  background-color: #0c1011;
  color: #e4d8be;
  text-align: center;
  padding: 10px;
  font-size: 12px;
}

            /* ************** ACCUEIL ************** */

/* Création du premier visuel de la page d'accueil */
.accueil{
  height: 85vh;
  background: linear-gradient(rgb(0, 0, 0, 0.6), transparent), url('../img/background.jpeg');
  background-size: cover;
  background-position: center;
  color: #e4d8be;
  text-shadow: 4px 3px 1px black;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.accueil h3{
  padding: 2rem;
  font-size: 34px;
  text-align: center;
}

/* Création du conteneur utilisé pour la partie Bienvenue du site  */
.container0 {
  height: 100%;
  width: 100%;
  color: #e4d8be;
  background: black;
  padding: 100px 100px;
}

/* Création du conteneur utilisé pour les parties fond noir de l'accueil  */
.container {
  height: 100%;
  width: 100%;
  color: #e4d8be;
  background: black;
  padding: 50px 100px;
}

/* Création du conteneur utilisé pour les parties fond beige de l'accueil  */
.container1 {
  height: 100%;
  width: 100%;
  color: black;
  background: #e4d8be;
  padding: 50px 0;
}

/* Création du conteneur utilisé pour la partie Bienvenue du site  */
.container2 {
  background: url(../img/photobleu.jpeg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 50px 0;
  width: 100%;
  min-height: 60vh;
} 

/* Création du conteneur utilisé pour la partie centrale du site  */
.center-container {
  margin: 50px auto;
  background: black;
  border-radius: 20px;
  color: #e4d8be;
  box-shadow: 0px 2px 10px 1px black;
  padding: 30px;
  width: 70%;
}

.container-membre {
  margin: 50px auto;
  background: black;
  border-radius: 20px;
  color: #e4d8be;
  box-shadow: 0px 2px 10px 1px black;
  padding: 30px;
  width: 70%;
}

.center-container2 {
  margin: 50px auto;
  background: black;
  border-radius: 20px;
  color: #e4d8be;
  box-shadow: 0px 2px 10px 1px black;
  padding: 30px;
  width: 60%;
}

.container-compte {
  margin: 50px auto;
  background: black;
  border-radius: 20px;
  color: #e4d8be;
  box-shadow: 0px 2px 10px 1px black;
  padding: 20px;
  width: 30%;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}


/*  Définition de la taille des titres de ces conteneurs*/
.container h2,
.container1 h2,
.container0, h2,
.center-container h2,
.container-membre h2,
.center-container2 h2 {
  text-align: center;
  font-size: 26px;
}

/* Création d'une petite barre qui vient juste après les titres */
.separateur {
  width: 60px;
  height: 4px;
  border-radius: 5px;
  margin: 15px auto;
  display: block;
  background-color: #e4d8be;
}

/* Même barre qu'au dessus mais noir cette fois-ci */
.separateur2 {
  width: 60px;
  height: 4px;
  border-radius: 5px;
  margin: 15px auto;
  display: block;
  background-color: black;
}

/* Bouton "Voir plus" situé sur la première partie de l'accueil */
.btn-hairmes{
  background: black;
  color: #e4d8be;
  border: 2px solid #e4d8be;
  border-radius: 5px;
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
}

.btn-hairmes:hover {
  background: #e4d8be;
  color: black;
  border: 2px solid black;
}

/* Image de la partie tarif */
.img-tarif {
  border-radius: 10px;
  height: 400px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Texte de la partie tarif */
.text-tarif {
  font-size: 18px;
  text-align: center;
  padding-bottom: 10px;
}

/* Image de la partie bienvenue */
.img-pres {
  float: right;
  margin-right: 10px;
  margin-left: 30px;
  border-radius: 10px;
  height: 400px;
}

/* Texte de la partie bienvenue */
.text-pres {
  margin-top: 100px;
  margin-left: 30px;
  margin-right: 30px;
  font-size: 20px;
  text-align: center;
  padding-bottom: 90px;
}

.text-pres a {
  color: #e4d8be;
}

/* Liste des coiffeurs avec photo et nom en grid */
.coiffeurs {
  margin-top: 50px;
  margin-bottom: 40px;
  display: grid;
  /* 3 images par ligne */
  grid-template-columns: auto auto auto;
  grid-template-rows: 350px;
  justify-content: center;
  gap: 100px;
}

.coiffeurs div{
  width: 100%;
  overflow: hidden;
  height: 350px;
  text-align: center;
}

.coiffeurs img{
  height: 80%;
  border-radius: 10px;
}

.coiffeurs p {
  padding: 10px;
  font-size: 20px;
}

/* Liste des réalisations avec du grid */
.realisations {
  margin-top: 45px;
  display: grid;
  /* 3 images par ligne */
  grid-template-columns: auto auto auto auto;
  grid-template-rows: 400px;
  gap: 20px;
}

.realisations div {
  width: 100%;
  overflow: hidden;
  text-align: center;
  height: 400px;
}

.realisations img {
  height: 70%;
  border-radius: 10px;
} 

/* Création d'une div pour positionner les horaires et la maps côte à côte*/
.horaires-map{
  display: flex;
  justify-content: space-evenly;
}

/* Création table pour les horaires */
.horaires{
  padding-top: 20px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.horaires table{
  border-collapse: collapse;;
  color: black;
  font-size: 18px;
  margin-top: 20px;
}

.horaires table tr td{ 
  padding: 20px;
  border-bottom: 1px solid black;
}

/* Création espace pour la maps */
.map{
  border-radius: 10px;
  padding-top: 25px;
}

.map iframe{
  margin-top: 20px;
}

              /* ********* CONNEXION INSCRIPTION COMPTE *********** */
              
.form-compte {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.compte-inpt {
  padding: 15px;
  width: 70%;
  background-color: #e4d8be;
  border: 1px solid black;
  outline: none;
  border-radius: 10px;
  color: black;
}
/* bouton de modif compte */
.compte-btn {
  width: 50%;
  background: #e4d8be;
  border: none;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.35s ease;
  color: black;
  margin: auto;
}

.compte-btn:hover {
  background: #c8c8a9;
  color: black;
  cursor: pointer;
}

.lil-btn {
  text-align: center;
  margin-top: 10px;
}

.lil-btn a {
  color: #e4d8be;
  text-decoration: underline;
}

.lil-btn a:hover {
  text-decoration: none;
}
/* bouton oublié mot de passe */
.oublie-btn {
  margin-top: 5px;
}

.oublie-btn a{
  color: #e4d8be;
  font-size: 14px;
  text-decoration: underline;
}

.oublie-btn a:hover{
  text-decoration: none;
}

.form-compte input[type=checkbox] + label {
  font-size: 15px;
}

.form-compte input[name=password_retype] {
  margin-bottom: 20px;
}
/* positionnement de l'espace membre en flex */
.membre {
  display: flex;
  justify-content: space-evenly;
  margin-top: 20px;
}

.membre form {
  margin-top: 10px;
}

.membre input {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #e4d8be;
  border-radius: 5px;
  color: grey;
}
.membre button {
  margin-bottom: 30px;
  padding: 10px;
  background-color: #e4d8be;
  border-radius: 10px;
  font-size: 14px;
}

.membre button a {
  color: black;
}

.membre button:hover {
  margin-bottom: 30px;
  padding: 10px;
  background-color: #c8c8a9;
  border-radius: 10px;
  color: black;
  cursor: pointer;
}
/* partie à gauche de l'espace membre */
.membre-gauche h3{
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}
/* partie à droite de l'espace membre */
.membre-droite{
  margin-left: 10px;
}

.membre-droite h3{
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.membre-droite table {
  background-color: #e4d8be;
  color: black;
  border-radius: 10px;
  border-collapse: collapse;
}
/* tableau d'affichage rdv partie membre */
.membre-droite table thead tr th {
  border-bottom: 1px solid black;
  border-top: 1px solid black;
  padding: 10px;
}

.membre-droite table tbody tr td {
  border-bottom: 1px solid black;
  border-top: 1px solid black;
  padding: 20px;
}

.lien {
  color: black;
}

              /* ***************** CONTACTEZ NOUS ***************** */

/* Création contenaire pour le formulaire */
.formulaire {
  margin: 50px auto;
  background: black;
  border-radius: 20px;
  color: #e4d8be;
  box-shadow: 0px 2px 10px 1px black;
  padding: 30px;
  width: 60%;
}

.formulaire h2 {
  text-align: center;
}

form {
  margin-top: 30px;
}

/* Groupement des input pour mettre 2 input l'un à coté de l'autre */
.form-grp {
  margin-bottom: 15px;
  width: 100%;
  display: flex;
  flex-direction: row;
  padding: 10px;
}

/* Div contenant les input */
.form-input {
  width: 100%;
  text-align: center;
  margin-right: 30px;
  margin-left: 30px;
}

/* Chaque input (sauf texte du message) */
.form-nom {
  padding: 14px 10px 14px 10px;
  width: 100%;
  background-color: #e4d8be;
  border: 1px solid black;
  outline: none;
  letter-spacing: 1px;
  border-radius: 3px;
  color: black;
}

.form-nom:focus {
  border: 2px solid white;
  background-color: #e4d8be;
}

/* Espace pour message de contact */
textarea {
  padding: 20px;
  width: 100%;
  background-color: #e4d8be;
  border: 1px solid black;
  outline: none;
  letter-spacing: 1px;
  border-radius: 3px;
  color: black;
  resize: none;
}

/* Bouton de validation du formulaire */
.form-btn {
  width: 100%;
  background: transparent;
  background: #e4d8be;
  border: none;
  padding: 15px;
  border-radius: 4px;
  font-size: 20px;
  transition: all 0.35s ease;
  color: black;
  margin: auto;
}

.form-btn:hover {
  cursor: pointer;
  background: #c8c8a9;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button 
{ 
    /* Pour retirer les flèches des inputs number */
    -webkit-appearance: none;
    margin:0;
}

/* Message généré ou caché par le script de vérification du numéro de téléphone */
#telephone {
  display: none;
}

              /* ************* NOS PRODUITS ************** */

/* Définition de taille des emplacements */
.prod {
  margin-top: 45px;
  display: grid;
  grid-template-columns: auto;
  gap: 50px;
  justify-content: center;
}

.prod div {
  width: 600px;
  height: 100%;
  overflow: hidden;
  text-align: center;
}

.prod img {
  width: 70%;
  border-radius: 10px;
  margin-top: 15px;
  margin-bottom: 10px;
}

.desc {
    margin-left: 65px;
    margin-right: 65px;
    font-size: 20px;
    text-align: center;
}


              /* ************** NOS TARIFS *************** */

/* Création de la liste des prix sous forme de table */
.tarif{
  padding-top: 30px;
  padding-bottom: 30px;
  width: 100%;
}

.tarif h4 {
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: 20px;
  text-align: center;
}

.tarif table {
  display: inline-table;
  width: 50%;
  padding: 30px;
  background-color: #ccbfa3;
  color: black;
  text-align: center;
  border-collapse: collapse;
  margin-left: 25%;
  border-radius: 10px;
}

.tarif table tr td {
  padding: 10px 10px;
  max-width: 100px;
  border-bottom: 1px solid black;
  border-top: 1px solid black;
}


            /* ************* RENDEZ-VOUS *************** */

.rdv{
  text-align: center;
}

.rdv h3 {
  padding-bottom: 10px;
  padding-top: 10px;
}

.rdv a{
  color: #e4d8be;
}

.rdv a:hover{
  color: white;
}

.button-salon {
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 10px;
  margin-right: 40px;
  margin-left: 40px;
  font-weight: bold;
  background: black;
  color: #e4d8be;
  border: 2px solid #e4d8be;
  font-size: 16px;
}

.button-salon:hover {
  background-color: #e4d8be;
  color: black;
  text-decoration: none;
}

.input-date {
  margin-bottom: 30px;
  margin-top: 10px;
}

.input-date input{
  padding: 5px;
  width: 220px;
  margin: 10px;
  border-radius: 5px;
  background-color: #e4d8be;
}

.input-date select{
  padding: 5px;
  margin: 10px;
  width: 220px;
  border-radius: 5px;
  background-color: #e4d8be;
}

.input-info{
  margin-top: 10px;
  margin-left: 10%;
}

.input-info input{
  text-align: center;
  width: 400px;
  padding: 15px;
  margin-right: 20px;
  background-color: #e4d8be;
  border-radius: 5px;
}
/* input de type radio */
.input-radio {
  margin-top: 30px;
  margin-bottom: 60px;
}

.input-radio input {
  display: none;
}

.input-radio label {
  cursor: pointer;
  padding: 10px 20px;
  border: solid 1px #e4d8be;
  border-radius: 10px;
  margin-right: 40px;
  margin-left: 40px;
}
/* bouton de selection des coiffeurs */
label[for="1"],
label[for="2"] {
  background-color: black;
  color: #e4d8be;
}
/* bouton enfoncé */
.input-radio input:checked + label {
  border: 3px solid #ccbfa3;
  background-color: #e4d8be;
  color: #000;
  padding: 12px 22px;
}
/* bouton de validation */
.rdv .input-button{
  padding: 15px 50px;
  background-color: #e4d8be;
  color: #000;
  border: 1px solid #000;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
}

.rdv .input-button:hover{
  background-color: black;
  color: #e4d8be;
  border: 1px solid #e4d8be;
}

.absent {
    color: red;
    text-align: center;
}

             /* ************* RESPONSIVE **************  */

@media screen and (max-width: 1440px){
  /* On modifie le grid pour ajouter 3 images au lieu de 4 */
  .prod{
    grid-template-columns: auto;
    justify-content: space-around;
  }
  .realisations {
    grid-template-columns: auto auto auto;
    justify-content: space-around;
  }
  .li-right2 {
    right: 110px;
  }
  .li-right {
  right: 0px;
  }
  nav ul li a {
    font-size: 16px;
  }
  .container-compte {
    width: 40%;
  }
  .coiffeurs{
      grid-template-columns: auto auto;
  }
}

@media screen and (max-width: 1080px) {
  /* On fait disparaitre les boutons de la nav bar pour y faire apparaitre un menu burger à la place */
  .checkbtn {
    display: block;
  }
  nav ul {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 1);
    top: 80px;
    right: -100%;
    text-align: center;
    display: none;
  }
  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  nav ul li a {
    font-size: 20px;
  }
  .li-right2,
  .li-right {
    position: relative;
    right: 0;
  }
  #check:checked ~ ul {
    right: 0;
    display: block;
  }
  .center-container2{
    width: 80%;
  }
  .center-container{
    width: 80%;
  }
  .formulaire{
    width: 80%;
  }
  .container-compte {
    width: 50%;
  }
  .container-membre {
    width: 90%;
  }
  /* Permet d'annuler le float right et mettre l'image au centre au dessus du texte */
  .container0 div{
    display: flex;
    justify-content: center;
  }
  /* Permet d'annuler le float right et mettre l'image au centre au dessus du texte */
  .tarif div{
    display: flex;
    justify-content: center;
  }
  /* Modification de la taille de l'image et ajout d'un écart au dessus de celle-ci */
  .img-pres{
    margin-top: 20px;
    height: 330px;
  }
  /* Modification de la taille de l'image et ajout d'un écart au dessus de celle-ci */
  .img-tarif{
    margin-top: 20px;
    height: 330px;
  }
  .text-pres {
  margin-top: 40px;
  padding-bottom: 10px;
  }
  /* On met en colonne la maps et les horaires */
  .horaires-map{
    flex-direction: column;
    align-items: center;
  }
  /* On modifie le grid pour ajouter 2 images au lieu de 3 */
  .prod{
    grid-template-columns: auto;
    justify-content: center;
  }
  .realisations {
    grid-template-columns: auto auto;
    justify-content: center;
  }
  /* Reduction de l'espace entre les coiffeurs */
  .coiffeurs {
    gap: 40px;
  }
  .input-date input,
  .input-date select{
    width: 195px;
  }
  .membre-droite table {
      width: 280px;
  }
  .membre-droite table thead tr th {
  padding: 10px;
  }
  .membre-droite table tbody tr td {
  padding: 10px;
  text-align: center;
  }
}

@media screen and (max-width: 760px){
  /* On modifie le grid pour ajouter 1 image au lieu de 2 */
  .prod{
    grid-template-columns: auto;
    justify-content: center;
  }
  .prod div {
    width: 450px;
  }
  .realisations {
    grid-template-columns: auto;
    justify-content: center;
    gap: 0px;
  }
  .coiffeurs {
    grid-template-columns: auto;
    justify-content: center;
  }
  /* On réduit la taille de chaque image du grid */
  .realisations div{
    height: 400px;
  }
  /* Mise en colonne tous les input du formulaire de contact*/
  .form-grp {
    display: block;
    margin-bottom: 0px;
  }
  .form-input {
    margin-right: 0;
    margin-left: 0;
  }
  .form-input label {
    display: inline-block;
    margin-bottom: 5px;
    margin-top: 20px;
  }
  .input-date input,
  .input-date select{
    width: 220px;
  }
  .input-radio{
    margin-bottom: 30px;
  }
  .input-radio label{
    margin-right: 10px;
    margin-left: 10px;
  }
  .map iframe{
  width: 400px;
  }
  .head-cont{
    font-size: 24px;
  }
  /* Réduction de la taille de l'image du logo du header */
  .head-left {
    height: 100px;
  }
  .container-compte {
    width: 70%;
  }
  .container0 {
    padding : 100px 15px;
  }
  .container {
    padding: 70px 15px;
  }
  .tarif table{
      width: 80%;
      margin-left: 11%;
  }
  .container-membre {
    width: 80%;
  }
  .membre {
  flex-direction: column;
  align-items: center;
  }
  .membre-droite{
    margin-left: 0px;
  }
  /* tableau d'affichage rdv partie membre */
  .membre-droite table thead tr th {
    padding: 5px 0px;
  }
  .membre-droite table tbody tr td {
    padding: 10px 5px;
  }
  .membre input {
    margin-left: 10px;
  }
  .membre button {
    margin-left: 15px;
  }
  .membre-gauche input{
    margin-left: 30px;
    font-size: 16px;
  }
  .membre-gauche button{
    font-size: 16px;
  }
  .button-salon {
      margin-bottom: 20px;
  }
  /* Modification de la taille de l'image et ajout d'un écart au dessus de celle-ci */
  .img-tarif{
    margin-top: 20px;
    height: 260px;
  }
}


@media screen and (max-width: 480px) {
  .accueil h3 {
      font-size: 26px;
  }
  /* Réduction de la taille du titre de la page */
  .head-cont h1{
    padding-left: 90px;
  }
  /* Réduction de la taille de la maps */
  .map iframe{
  width: 300px;
  }
  .prod div {
    width: 300px;
  }
  .tarif table{
      width: 100%;
      margin-left: 0;
  }
  .membre-droite table {
      width: 150px;
  }
  .membre-droite table thead tr th {
      padding: 5px;
  }
  .membre-droite table tbody tr td {
      padding: 5px;
      text-align: center;
      font-size: 14px;
  }
  .input-radio label{
    padding: 10px 10px;
  }
  .container-membre {
    width: 95%;
  }
  /* Modification de la taille de l'image et ajout d'un écart au dessus de celle-ci */
  .img-tarif{
    margin-top: 20px;
    height: 230px;
  }
}

@media screen and (max-width: 400px) {
     .input-radio label{
    padding: 5px 5px;
  }
}

@media screen and (max-width: 300px) {
     .input-radio label{
    padding: 5px 2px;
  }
  /* Modification de la taille de l'image et ajout d'un écart au dessus de celle-ci */
  .img-tarif{
    margin-top: 20px;
    height: 200px;
  }
}