h2 {
  text-align: center;
}

.svg-icon[viewBox="0 0 184 150"]>path {
  stroke: var(--couleur-accent-trois);
}

.svg-icon>g>path {
  fill: var(--couleur-accent-trois);
  stroke: var(--couleur-accent-trois);
}

.svg-icon[viewBox="0 0 184 150"] path:nth-child(n+3) {
  fill: var(--couleur-accent-trois);
  stroke: var(--couleur-accent-trois);
  stroke-width: 0px;
}

.svg-icon[viewBox="0 0 300 245.83"] g path {
  stroke: var(--couleur-accent-trois);
  fill: none;
}

.tabcontent .svg-icon {
  width: clamp(150px, 100%, 200px);
  height: auto;
}

.content-section .svg-icon {
  max-width: 200px;
}

.font-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
}

.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;
}

.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%;
  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%;
  background-color: var(--couleur-fond);
  justify-content: space-around;
}

main p {
  margin-right: 3%;
  margin-left: 3%;
}

.titre_activite {
  font-size: 50px;
}

/* CSS du menu ***********************************************************/
.tab {
  overflow: hidden;
  position: relative;
  flex-wrap: wrap;
  width: 85%;
}

.sport-icon {
  margin: 0 25px 85px 25px;
  width: 20%;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.sport-icon:hover {
  transform: scale(1.1);
}

.tab button {
  background-color: rgba(249, 242, 242, 0.8);
  border: 2px solid var(--couleur-fond);
  color: var(--couleur-accent-trois);
  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 rgba(68, 175, 105, 1);
  color: var(--couleur-fond);
  background: linear-gradient(to bottom right,
      rgba(68, 175, 105, 1),
      rgba(68, 175, 105, 0.5));
}

.tab button.active {
  background: linear-gradient(to bottom right,
      rgba(68, 175, 105, 1),
      rgba(68, 175, 105, 0.25)
    );
  color: white;
  border: 2px solid #ccc;
}

.tabcontent {
  display: none;
  padding: 20px 0px;
  justify-content: center;
  border-top: none;
}

.bloc-descritption p {
  padding: 0;
}

/********************************* 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 rgba(68, 175, 105, 1);

  &:focus {
    outline: none;
  }
}

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;
  margin-top: 0px;
  flex-direction: column;
}

.content-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  margin-bottom: 20px;
  align-items: center;
}

.content-section img {
  width: 20%;
  margin-top: 3vw;
  margin-bottom: 3vw;
}

.content-section p {
  width: 30%;
}

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;
  vertical-align: middle;
}

.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;
  left: 0;
  animation: plane-animation 10s infinite linear, rotation 5s infinite linear;
}

@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);
  }
}

@media screen and (max-width: 866px) {
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding: 13px 0px;
    transition: 0.3s;
    height: unset;
  }

  .menu-content {
    display: flex;
    flex-direction: column;
    width: 85%;
    background-color: var(--couleur-fond);
    justify-content: space-around;
  }
}

@media screen and (max-width: 768px) {

  .adAnnonce {
    position: relative;
    top: 0;
  }

  .adIndi {
    transform-origin: bottom;
  }

  .adAnnonce>img {
    position: absolute;
    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-trois) dotted;
    background: none;
  }

  .adhésion article {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    color: var(--couleur-fond);
  }

  .menu-content>article:first-child {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
  }

  /*MODAL SPORT*/
  svg.fermer {
    position: fixed;
    left: 80.5%;
    top: 12%;
  }

  .content-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
    margin-bottom: 20px;
    align-items: center;
    flex-direction: column;
  }

  .content-section img {
    width: 35%;
  }

  .content-section p {
    width: 80%;
    text-align: center;
  }

  main dialog button {
    border-radius: unset !important;
  }

  dialog {
    top: 15%;
    height: 70%;
  }

  dialog>h1 {
    margin-top: 70px;
  }

  .titre_activite {
    font-size: 30px;
  }

  .sport-icon {
    width: 65%;
    margin: unset;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .plane {
    width: 20%;
  }
}

@media screen and (max-width: 320px) {
  svg.fermer {
    position: fixed;
    left: 79.5%;
    top: 2%;
  }
}