/*header*/
header {
  display: block;
  position: fixed;
  width: 100%;
  top: 0%;
  height: 156px;
  padding: 0px;
  margin: 0px;
  background-color: #00000063;
  z-index: 2;
}
.logoef {
  padding: 3px;
  vertical-align: top;
  position: absolute;
  top: 1px;
  width: 54%;
}

header nav {
  font-size: 1.2vh;
  width: 200%;
  height: 50px;
  position: relative;
  top: 46px;
  right: -100%;
  padding: 0px;
  margin: 0px;
}
header .nav-links {
  font-size: 1.2vh;
  width: 100%;
  height: 50px;
  position: absolute;
  right: -33%;
  padding: 0px;
  margin: 0px;
}

header ul {
  margin: 0px;
  padding: 0px;
  width: 100%;
}

header nav li {
  display: inline-block;
  margin: 1.5%;
}

header nav a {
  font-size: 2.5em;
  font-family: arial;
  font-weight: bold;
  color: white;
}

header nav a:hover {
  color: rgb(67, 66, 66);
  transition: 0.3s;
}

header li ul {
  display: none;
}

header li:hover ul {
  display: block;
  position: absolute;
  width: auto;
  background: rgba(200, 210, 235, 0.8);
  border-radius: 2px 2px 2px 2px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  padding: 2px;
  z-index: 100;
}
header li ul li {
  display: block;
  margin: 5px;
}
.scrolling-text {
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

.scrolling-text span {
  display: inline-block;
  font-family: arial;
  position: absolute;
  top: 70%;
  color: white;
  font-size: 2vw;
  letter-spacing: 0.2vw;
  animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

header marquee {
  display: inline-block;
  width: 100%;
  position: absolute;
  top: 120px;
  font-size: 1.5em;
  font-family: arial;
  color: white;
  z-index: 20;
}

#active {
  color: black;
}
.header_cadre_text {
  position: absolute;
  left: 44%;
  top: 108%;
  margin: 0px 0px 0px;
  z-index: 6;
  width: 71%;
}
.header_text1 {
  display: inline-block;
  font-weight: bold;
  font-size: 15px;
  font-family: arial;
  color: white;
  padding: 2px;
  margin: 4px 6px 8px;
  vertical-align: top;
  text-align: left;
  border-radius: 5px;
}

/*Connexion/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.bouton_connection {
  position: absolute;
  display: block;
  top: 2em;
  right: 0%;
  width: 6%;
  z-index: 10;
}

header .bouton_connection:hover {
  width: 7%;
  transition: 0.3s;
}

header .header_cadre_session {
  margin: 0px;
  font-family: arial;
  font-size: 15px;
  font-weight: normal;
  color: hwb(0 3% 84%);
  width: 130%;
  display: none;
}

header .header_cadre_session.connection-menu {
  display: inline;
  top: 21%;
  left: 35%;
  position: FIXED;
  background-color: rgb(0 0 0 / 60%);
  border-radius: 13px;
  height: 25%;
  color: white;
  width: 500px;
  z-index: 25;
}

.cadre_connexion {
  display: inline;
  position: absolute;
  top: 17%;
  left: 26%;
  padding: 0px;
  margin: 0px;
  font-family: arial;
  font-size: 15px;
  font-weight: normal;
  width: 30%;
}
.bonjour_pseudo {
  position: absolute;
  top: 1vh;
  left: 8vw;
}
.abonne {
  position: absolute;
  left: 4%;
  top: 4%;
  display: inline;
}
.tickets_restants {
  position: absolute;
  top: 35%;
  left: 8%;
}
.gestion_membres {
  position: absolute;
  left: 18%;
  top: 43%;
  color: white;
  display: inline;
}
.gestion_compte {
  position: absolute;
  left: 59%;
  top: 35%;
  color: white;
  display: inline;
  width: 82%;
}
.planning_fitness {
  position: absolute;
  left: 30%;
  top: 52%;
  color: white;
  display: inline;
  width: 82%;
}
.statistiques {
  position: absolute;
  left: 22%;
  top: 68%;
  color: white;
  display: inline;
}
.options {
  position: absolute;
  left: 67%;
  top: 42%;
  color: white;
  display: inline;
}
.planning_squash {
  position: absolute;
  left: 8%;
  top: 34%;
  color: white;
  display: inline;
}
.recherche_partenaire {
  position: absolute;
  left: 8%;
  top: 71%;
  color: white;
  display: inline;
}
.deconnection {
  position: absolute;
  top: 67%;
  color: white;
  left: 63%;
}
.deconnection_membre {
  position: absolute;
  top: 71%;
  color: white;
  left: 63%;
}
textarea,
input {
  background-color: white;
  border-radius: 4px;
  color: black;
}
.zone_saisie_connection {
  width: 210%;
  left: -19%;
  position: relative;
  font-size: 2em;
}

.bouton_cadre_connexion,
.bouton_cadre_connexion_option a {
  position: absolute;
  top: 148%;
  left: 69%;
  border-radius: 3px;
  padding: 1px;
  margin: 6px;
  font-weight: bold;
  font-size: 2em;
  color: rgb(125, 21, 21);
}
.bouton_cadre_connexion:hover {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  background-color: green;
}
.bouton_menu {
  display: none;
}
/*****************************responsive ****************************************************/
@media only screen and (max-width: 1000px) and (orientation: portrait) {
  header {
    height: 8vh;
  }
  .logoef {
    left: 12vw;
    width: 26vh;
  }

  header nav {
    width: 35%;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.6);
    left: 100%;
    height: 1500%;
    top: 170px;
  }
  header .nav-links {
    display: flex;
    left: 0;
    top: 8vh;
    backdrop-filter: blur(7px);
    width: 100vw;
    height: 94vh;
    align-items: center;
    margin-left: -135%;
    transition: all 0.3s ease-in-out;
  }

  header .nav-links.mobile-menu {
    margin-left: 0;
  }

  header ul {
    position: relative;
    line-height: 800%;
  }
  header nav ul li ul {
    line-height: 120px;
  }
  header li:hover ul {
    top: 1306px;
    left: 61%;
    width: auto;
  }
  header nav a {
    display: block;
    font-size: 2em;
    text-align: center;
  }
  header nav li {
    display: block;
    margin: 5%;
  }
  .scrolling-text span {
    font-size: 0.7em;
  }

  .bouton_connection {
    position: fixed;
    top: 2vh;
    left: 82vw;
    width: 7vh;
  }
  .bouton_cadre_connexion,
  .bouton_cadre_connexion_option a {
    top: 98%;
    left: 91%;
    border-radius: 1vh;
    padding: 13px;
    width: 79%;
    height: 64%;
  }
  textarea,
  input {
    background-color: white;
    border-radius: 5px;
    color: black;
    font-size: 5vw;
    width: 100%;
  }
  .cadre_connexion {
    left: 10%;
    top: 19%;
    font-size: 0.6em;
  }
  .zone_saisie_connection {
    width: 293%;
  }
  header .header_cadre_session.connection-menu {
    top: 19vh;
    left: 7vw;
    width: 80vw;
    height: 29vh;
  }

  .bouton_menu {
    display: block;
    width: 7vw;
    position: fixed;
    left: 6vw;
    top: 2vh;
    cursor: pointer;
  }

  .bouton_menu:hover {
    color: rgb(3, 70, 3);
    transition: 0.3s;
  }

  header marquee {
    font-size: 5vw;
    top: 11vh;
  }

  .header_cadre_text {
    right: 8%;
    top: 22px;
  }
  .body_footer {
    display: none;
  }

  .bonjour_pseudo {
    font-size: 0.8em;
    top: -2vh;
    left: 14vw;
  }
  .statistiques {
    position: absolute;
    left: 20%;
    top: 135%;
    display: inline;
    font-size: 1em;
  }
  .options {
    position: absolute;
    left: 30%;
    top: 135%;
    display: inline;
    font-size: 1em;
  }
  .deconnection {
    position: absolute;
    top: 135%;
    left: 38%;
    font-size: 1em;
  }
  .header_cadre_session {
    font-size: 35px;
  }
  .abonne {
    left: 18%;
    top: 21%;
    font-size: 1em;
    font-weight: bold;
  }
  .tickets_restants {
    position: absolute;
    top: 46%;
    left: 13%;
    font-size: 1em;
    font-weight: bold;
  }

  .gestion_membres {
    left: 21%;
    top: 40%;
    font-size: 1em;
    font-weight: bold;
  }

  .gestion_compte {
    left: 23%;
    top: 33%;
    font-size: 1em;
    font-weight: bold;
  }
  .planning_fitness {
    left: 23%;
    top: 73%;
    font-size: 1em;
    font-weight: bold;
    width: 82%;
  }
  .planning_squash {
    left: 25%;
    top: 45%;
    font-size: 1em;
    font-weight: bold;
    width: 82%;
  }

  .statistiques {
    left: 32%;
    top: 55%;
    font-size: 1em;
    font-weight: bold;
  }

  .options {
    left: 37%;
    top: 70%;
    font-size: 1em;
    font-weight: bold;
  }

  .recherche_partenaire {
    left: 20%;
    top: 59%;
    font-size: 1em;
    font-weight: bold;
  }

  .deconnection {
    top: 87%;
    left: 28%;
    font-size: 1em;
    font-weight: bold;
  }

  .deconnection_membre {
    top: 25vh;
    left: 39vw;
    font-size: 1em;
    font-weight: bold;
  }
}
@media only screen and (max-width: 1000px) and (orientation: landscape) {
  header {
    width: 100vw;
    height: 18vh;
  }
  .logoef {
    left: 18vw;
  }
  header nav {
    width: 35%;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.6);
    left: 100%;
    height: 1500%;
    top: 170px;
  }
  header .nav-links {
    display: flex;
    left: 0;
    top: -6vh;
    background-color: rgb(0, 0, 0, 0.5);
    backdrop-filter: blur(7px);
    width: 100%;
    height: 117vh;
    justify-content: center;
    align-items: center;
    margin-left: -135%;
    transition: all 0.7s ease-in-out;
  }

  header .nav-links.mobile-menu {
    margin-left: 0;
  }

  header ul {
    line-height: 3vh;
  }
  header nav ul li ul {
    line-height: 120px;
  }
  header nav a {
    display: block;
    font-size: 4.5em;
    text-align: center;
  }
  header nav li {
    display: block;
    margin: 5%;
  }
  header li:hover ul {
    top: 970px;
    left: 61%;
    width: auto;
  }
  .scrolling-text span {
    font-size: 0.8em;
  }
  .bouton_connection {
    left: 90vw;
    width: 10vw;
    top: 4vh;
  }
  header .bouton_connection:hover {
    width: 3%;
  }
  .bouton_cadre_connexion,
  .bouton_cadre_connexion_option a {
    top: 22vh;
    left: 17vw;
    border-radius: 5px;
    padding: 7px;
  }
  textarea,
  input {
    font-size: 1em;
  }
  .cadre_connexion {
    left: -1vw;
    top: 1vh;
    font-size: 0.6em;
  }
  .zone_saisie_connection {
    top: 2vh;
    border-radius: 9px;
    width: 30vw;
    left: 6vw;
  }
  header .header_cadre_session.connection-menu {
    top: 35vh;
    left: 16vw;
    width: 69vw;
    height: 41vh;
    border-radius: 5px;
    font-size: 0.9em;
  }

  .bouton_menu {
    display: block;
    width: 4vw;
    position: fixed;
    left: 5vw;
    top: 7vh;
    cursor: pointer;
  }

  .bouton_menu:hover {
    color: rgb(3, 70, 3);
    transition: 0.3s;
  }

  header marquee {
    font-size: 6vw;
    top: 42vh;
  }

  .header_cadre_text {
    right: 8%;
    top: 22px;
  }
  .body_footer {
    display: none;
  }

  .bonjour_pseudo {
    top: -1vh;
    left: 21vw;
    padding: 0;
  }

  .statistiques {
    position: absolute;
    left: 20%;
    top: 135%;
    display: inline;
  }
  .options {
    position: absolute;
    left: 30%;
    top: 135%;
    display: inline;
  }
  .deconnection {
    position: absolute;
    top: 135%;
    left: 38%;
  }
  .header_cadre_session {
    font-size: 35px;
  }
  .abonne {
    left: 32vw;
    top: 18vh;
  }
  .tickets_restants {
    top: 19vh;
    left: 30vw;
  }

  .gestion_membres {
    left: 1vw;
    top: 15vh;
  }

  .gestion_compte {
    left: 2vw;
    top: 18vh;
  }
  .planning_fitness {
    left: 2vw;
    top: 25vh;
  }
  .planning_squash {
    left: 32vw;
    top: 25vh;
  }
  .statistiques {
    left: 28vw;
    top: 15vh;
  }
  .options {
    left: 6vw;
    top: 30vh;
  }
  .recherche_partenaire {
    left: 2vw;
    top: 32vh;
  }
  .deconnection {
    top: 30vh;
    left: 21vw;
    width: 50vw;
  }
  .deconnection_membre {
    top: 32vh;
    left: 42vw;
  }
}
