/**
 * Soulignement du menu qui déborde
 *
 * @format
 */

/*.tab:after {
  content: " ";
  top: 84.5dvh;
  display: block;
  position: absolute;
  border: 0.25px solid rgb(255, 46, 0, 100%);
  margin-left: 5px;
  width: 70%;*/
/* background-color: rgb(255, 46, 0, 100%); 
}*/
/*les margin (left right) empêche le débordement sur les côtés*/
/*les margin (left right) empêche le débordement sur les côtés*/
.font-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200; /* ajustez selon la disponibilité */
}
.font-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
}
.font-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}
.font-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}
.font-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}
.font-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 900; /* ou le poids maximum disponible */
}
.menu-onglets {
  display: flex;
  margin-top: 1%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  flex-direction: column;
}
.menu-content {
  display: flex;
  flex-direction: column;
  width: 85%;
  height: 100vh;
  background-color: var(--couleur-fond);
  justify-content: space-around;
}
.menu-onglets {
  display: flex;
  margin-top: 1%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  flex-direction: column;
}
.menu-content {
  display: flex;
  flex-direction: column;
  width: 85%;
  height: 100vh;
  background-color: var(--couleur-fond);
  justify-content: space-around;
}
main p {
  margin-right: 3%;
  margin-left: 3%;
}

/* CSS du menu ***********************************************************/
.tab {
  overflow: hidden;
  position: relative;
  flex-wrap: wrap;
  width: 85%;
}
.sport-icon {
  margin: 0 44px 106px 52px;
}
.tab button {
  background-color: rgba(249, 242, 242, 0.8);
  border: 2px solid var(--couleur-fond);
  color: var(--couleur-accent-un);
  float: left;
  cursor: pointer;
  width: auto;
  padding: 14px 16px;
  transition: 0.3s;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.tab button:hover {
  border: 2px solid rgb(255, 46, 0, 100%);
  color: var(--couleur-fond);
  background: linear-gradient(
    to bottom right,
    rgb(255, 46, 0),
    rgba(255, 46, 0, 0.5)
  );
}

.tab button.active {
  background: linear-gradient(
    to bottom right,
    rgb(255, 46, 0, 100%),
    rgb(255, 46, 0, 25%)
  );
  color: white;
  border: 2px solid #ccc;
}

.tabcontent {
  display: none;
  padding: 120px 0px;
  border-top: none;
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::: */
/* ::::::::::::::::::Fin du bandeau::::::::::::::::::::::: */
/* :::::::::::::::::::::::::::::::::::::::::::::::::::: */

/********************************* MODAL FOOTBALL *******************************/

main {
  width:100%;
  display: flex;
  flex-direction: column;
  align-items: center;

}
dialog {
  width: 80%;
  height: 95%;
  left: 10%;
  top: 1%;
  border: 2px solid rgb(255, 46, 0, 100%);
}
body:has(dialog[open]) {
  overflow: hidden;
}
svg#fermer {
  position: fixed;
  left: 84%;
  top: 3%;
}
svg#fermer {
  cursor: pointer;
}
.football {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-direction: column;
}

.content-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-around;
  margin-bottom: 20px;
  align-items: center;
}
.content-section img {
  width: 30%; /* Pour avoir l'image un peu plus à gauche */
}
.content-section p {
  width: 55%; /* Pour avoir un plus gros <p> à droite */
}

main dialog table {
  width: 100%;
  height: 150px;
  max-width: 90%;
  margin: 3% 5% 1% 5%;
  border-collapse: collapse;
  font-family: "Poppins";
}

main dialog table,
main dialog th,
main dialog td {
  border: 1px solid orange;
  text-align: center;
}

.button-container {
  display: flex;
  justify-content: flex-end;
  justify-content: center;
}

main dialog button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
/************************ FIN MODAL FOOTBALL **********************/
/* ... animation avion ... */

.plane {
  position: absolute;
  top: 0; /* Position de départ de l'avion */
  left: 0; /* Position de départ de l'avion */
  animation: plane-animation 10s infinite linear, rotation 5s infinite linear; /* Ralentit l'animation */
}

@keyframes plane-animation {
  0% {
    left: 0;
    top: 0;
  }
  25% {
    left: 25%;
    top: 10%;
  }
  50% {
    left: 50%;
    top: 0;
  }
  75% {
    left: 75%;
    top: 10%;
  }
  100% {
    left: 0;
    top: 0;
  }
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(-15deg);
  }
}

/*******************************************************************/
/*********************MOBILE********************************************/
@media screen and (max-width: 1024px) {
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    width: 157px;
    padding: 13px 0px;
    transition: 0.3s;
  }

  .tab {
    overflow: hidden;
    position: relative;
  }
}
@media screen and (max-width: 866px) {
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    width: 169px;
    padding: 13px 0px;
    transition: 0.3s;
  }
  .tab {
    overflow: hidden;
    width: 78%;
  }
}
@media screen and (max-width: 768px) {
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    width: 169px;
    padding: 13px 0px;
    transition: 0.3s;
  }
  .menu-content {
    display: flex;
    flex-direction: column;
    width: 85%;
    height: 207vh;
    background-color: var(--couleur-fond);
    justify-content: space-around;
  }
  .adAnnonce {
    position: relative;
    top: 0;
  }
  .adIndi {
    /* height: 64.4%; */
    transform-origin: bottom;
  }
  .adAnnonce > img {
    position: absolute;
    /* top: -105px; */
    /* left: -20%; */
    display: none;
  }
  .tab:after {
    display: none;
  }
  .tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 0;
  }
  .adhésion {
    position: relative;
    width: 99vw;
    height: 100vh;
    background: var(--couleur-primary);
    display: flex;
    align-items: baseline;
    flex-direction: column;
    justify-content: space-around;
    padding-bottom: 0;
  }
  .adhésion::before {
    content: "";
    z-index: 1;
    position: absolute;
    top: -5px;
    width: 96.1vw;
    height: 99%;
    border: 9px var(--couleur-accent-deux) dotted;
    background: none;
  }
  .adhésion article {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    color: var(--couleur-fond);
  }
  #Sports {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
  }
  /*MODAL SPORT*/
  svg#fermer {
    /* display: flex; */
    position: fixed;
    left: 80.5%;
    top: 2%;
  }
  .content-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
    margin-bottom: 20px;
    align-items: center;
    flex-direction: column;
  }
  .content-section p {
    width: 80%;
  }
}
@media screen and (max-width: 320px) {
  svg#fermer {
    /* display: flex; */
    position: fixed;
    left: 79.5%;
    top: 2%;
  }
}
