/*
Auteur: Joël Ribeiro
Date: 11.01.2023
Description: CSS-FPF. Cette page contient le code du CSS lié à mes pages HTML.
*/

/*---------------ZONE DE BODY-------------------*/

body {
  font-family: Roboto;
  background-color: #1f262a;
  margin-bottom: 200px;
}

/*---------------ZONE D'EN-TETE-------------------*/

header {
  font-family: Roboto;
  opacity: 0.7;
  background-size: auto 100%;
  background-position: center;
  padding-bottom: 100px;
  text-decoration: none;
  width: 100%;
}

header a {
  font-family: Roboto;
  color: green;
  text-decoration: none;
}

/*---------------ZONE DE NAVIGATION-------------------*/

.nav,
.menu {
  font-family: Roboto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav {
  font-family: Roboto;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.589);
  padding: 20px;
  margin: 50px;
  transition: 0.5s;
  border-radius: 50px;
  overflow: hidden;
}

.menu {
  font-family: Roboto;
  margin: 0;
  padding: 0;
  width: 0;
  overflow: hidden;
  transition: 0.5s;
}

.nav input:checked ~ .menu {
  font-family: Roboto;
  width: 450px;
}

.menu li {
  font-family: Roboto;
  list-style: none;
  margin: 0 10px;
}

.menu li a {
  font-family: Roboto;
  text-decoration: none;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  font-weight: 600;
  transition: 0.5s;
}

.menu li a:hover {
  font-family: Roboto;
  color: #818181;
  animation: spring 300ms ease-out;
}

.nav input {
  font-family: Roboto;
  width: 40px;
  height: 40px;
  cursor: pointer;
  opacity: 0;
}

.nav span {
  font-family: Roboto;
  position: absolute;
  left: 30px;
  width: 30px;
  height: 4px;
  border-radius: 50px;
  background-color: white;
  pointer-events: none;
  transition: 0.5s;
}

.nav input:checked ~ span {
  font-family: Roboto;
  background-color: white;
}

.nav span:nth-child(2) {
  font-family: Roboto;
  transform: translateY(-8px);
}

.nav input:checked ~ span:nth-child(2) {
  font-family: Roboto;
  transform: translateY(0) rotate(-45deg);
}
.nav span:nth-child(3) {
  font-family: Roboto;
  transform: translateY(8px);
}

.nav input:checked ~ span:nth-child(3) {
  font-family: Roboto;
  transform: translateY(0) rotate(45deg);
}

li {
  cursor: pointer;
  color: #ffffff;
}

li:hover {
  color: #27262c;
  animation: spring 300ms ease-out;
  text-shadow: 0 -1px 0 #ffffff;
  font-weight: bold;
}
li:active {
  transform: translateY(4px);
}

/*---------------ZONE DE TITRE-------------------*/

h1 {
  font-family: Roboto;
  color: white;
  padding-top: 30px;
  text-align: center;
}
.h3-gauche {
  font-family: Roboto;
  color: white;
  text-align: left;
  max-width: 900px;
  margin-top: 80px;
}
.h3-droit {
  font-family: Roboto;
  color: white;
  text-align: justify;
  max-width: 900px;
  margin-right: 70px;
  margin-top: 20px;
}
.h3-Equipe {
  font-family: Roboto;
  color: white;
  text-align: right;
  max-width: 900px;
  margin-left: 475px;
  margin-top: 80px;
}
.h3-Center {
  font-family: Roboto;
  color: white;
  text-align: center;
}
h4 {
  font-family: Roboto;
  color: white;
  text-align: center;
  margin-top: 120px;
  font-size: 19 px;
}

h5 {
  font-family: Roboto;
  color: white;
  text-align: center;
  font-size: 17px;
}

/*---------------ZONE DE TEXTE-------------------*/

article {
  display: flex;
  margin-left: 50px;
}

.txt-div {
  font-family: Roboto;
  color: white;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  max-width: 900px;
}
.txt-gauche {
  font-family: Roboto;
  color: white;
  text-align: justify;

  max-width: 30%;
  margin-right: auto;
  margin-left: 10px;
  margin-top: 10px;
}
.txt-droite {
  font-family: Roboto;
  color: white;
  text-align: justify;
  max-width: 900px;
  margin-left: 60%;
  margin-right: 70px;
  margin-top: 20px;
}
.txt-centre {
  font-family: Roboto;
  color: white;
  text-align: center;
  margin-right: 160px;
  margin-left: 160px;
}
.italique {
  font-style: italic;
}
.center {
  text-align: center;
}
.centre-Joueur {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 100px;
}
a {
  color: blue;
}

/*---------------ZONE IMAGE-------------------*/

.img {
  margin-right: 10px;
  margin-left: 10px;
  height: 10px;
  width: 10px;
}
.img-center {
  margin-left: 40%;
  margin-right: 10px;
  height: 100px;
  width: 1000px;
}

.img-center > img {
  width: 100px;
  max-width: 1000px;
}

.image-JS {
  right: 0;
  margin-top: 50px;
  margin-right: 50px;
  width: 100px;
  height: 100px;
  position: fixed;
}

/*---------------ZONE HEURE-------------------*/

.bodyHeure {
  text-align: center;
  display: flex;
  justify-content: center;
}

#heure {
  color: white;
  border-radius: 10px;
  text-align: center;
  font-size: 2vh;
  font-weight: bolder;
}

/*---------------ZONE PIED DE PAGE-------------------*/

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
  right: 0;
  background-color: black;
  color: #3c4a52;
}

/*---------------ZONE TELEPHONE-------------------*/

@media screen and (max-width: 600px) {
  /*---------------ZONE EN-TETE-------------------*/

  header {
    padding-bottom: 1px;
    font-size: 10;
  }

  /*---------------ZONE TITRE-------------------*/

  h1 {
    padding-top: 70px;
    font-size: 24px; /* Ajustez selon vos besoins */
    margin-left: 10px;
    margin-right: 10px;
  }

  .h3-droit{
    padding: 20px;
    text-align: center;
    margin: auto;
    padding: 20px;
  }
  .h3-gauche{
   padding-bottom: 20px;
   padding-top: 20px;
    text-align: center;
    margin: auto;
  

  }

  .article {
    padding-bottom: 1px;
    font-size: 10;
    margin: auto;
  }

  /*---------------ZONE NAVIGATION-------------------*/

  .nav {
    padding: 10px; /* Ajustez selon vos besoins */
    margin: 0;
    background-color: black; /* Augmente l'opacité */
    border-radius: 0;
    width: 100%;
    overflow: hidden;
  }

  .a {
    font-size: 10px;
  }

  .nav input {
    display: none; 
  }

  .nav span {
    display: none;
  }
  .menu {
    width: 100%;
  }

  .menu li {
    margin: 5px 0; /* Ajustez selon vos besoins */
  }

  .menu li a {
    font-size: 10px;
    margin-right: 10px;
  }

  /*---------------ZONE TEXTE-------------------*/

  .txt-div,
  .txt-centre {
    text-align: center;
    margin: auto; 
  }

  .txt-gauche{
    text-align: center;
    font-size: 14px; 
    margin: auto; 
    padding: 10px;

  }
  .txt-droite {
    text-align: center;
    font-size: 14px; 
    margin: auto;
    padding: 10px;

  }

  /*---------------ZONE IMG-------------------*/
  .image-JS {
    display: none;
  }

  /*---------------ZONE PIED DE PAGE-------------------*/
  footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    background-color: black;
    color: #3c4a52;
  }

}

