@font-face {
  font-family: "Katana";
  src: url("../fonts/Katanf.ttf") format("truetype");
  font-weight: regular;
  font-style: normal;
}
@font-face {
  font-family: "Katana";
  src: url("../fonts/Katanfs.ttf") format("truetype");
  font-weight: regular;
  font-style: italic;
}
/* Enlève le Loading si le JS est désactivé */
body.no-js #loading {
  display: none;
}
/* Styles pour l'écran de chargement */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1e272e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.loader {
  color: #f3f3f3;
  font-size: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  font-family: "Katana", sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Katana", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f7f1e3;
  padding-top: 2vh;
  scroll-behavior: smooth;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 10px;
  background-color: #1e272e;
  border-radius: 6px;
  height: 8vh;
  box-shadow: -1px 6px 6px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: -1px 6px 6px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -1px 6px 6px 0px rgba(0, 0, 0, 0.75);
  width: 95%;
  margin: auto;
}

.logo {
  font-family: "Katana";
  font-style: regular;
  font-size: 1.5rem;
  margin: 10px;
  color: #f4f4f4;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 25%;
}
nav a {
  color: #f4f4f4;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #f7f1e3;
  transform: scale(1.1);
}

.selectSportMobile {
  display: none;
}
main {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.container {
  width: 80%;
  height: 70%;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-template-rows: repeat(20, 1fr);
  gap: 20px;
}

.container > a {
  border-radius: 6px;
  box-shadow: -1px 6px 6px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: -1px 6px 6px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -1px 6px 6px 0px rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
  padding: 2px 5px;
  opacity: 1;
}
.container > a:hover {
  opacity: 0.8;
}

.judo {
  grid-row: 1/11;
  grid-column: 1/11;
  background-color: #fa5352;
}
.escalade {
  grid-row: 1/11;
  grid-column: 11/21;
  background-color: #ffd43b;
}
.gym {
  grid-column: 1/7;
  grid-row: 11/17;
  background-color: rgba(230, 73, 128, 1);
}
.boxe {
  grid-column: 7/13;
  grid-row: 11/17;
  background-color: #878e96;
}
.muscu {
  grid-column: 13/21;
  grid-row: 11/17;
  background-color: #218be6;
}

.stage {
  grid-column: 1/11;
  grid-row: 17/21;
  background-color: #ff9f43;
}

.auto {
  grid-column: 11/21;
  grid-row: 17/21;
  background-color: #4cd137;
}

.container img {
  height: 90%;
}
.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 90%;
  font-family: "Katana";
  color: #1e272e;
}

.content h2 {
  font-size: 1.6rem;
  color: #1e272e;
}

.main_sport {
  font-size: 2rem !important;
}

.selectSport {
  font-size: 1.2rem;
  color: #1e272e;
  margin-top: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  opacity: 0.9;
}
footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 10px;
  background-color: #1e272e;
  border-radius: 6px;
  box-shadow: -1px 6px 6px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: -1px 6px 6px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -1px 6px 6px 0px rgba(0, 0, 0, 0.75);
  width: 95%;
  margin: auto;
  margin-bottom: 20px;
  margin-top: 20px;
  color: #f4f4f4;
  font-family: "Katana", sans-serif;
}

.footer-content {
  display: flex;
  justify-content: center;
}

footer .contact-info,
footer .locations {
  flex: 2;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

footer p,
footer ul {
  font-size: 1rem;
  margin: 5px 0;
}

footer ul {
  list-style-type: none;
  padding: 0;
}

footer a {
  color: #f4f4f4;
  transition: all 0.3s ease;
}

.footer-brand {
  text-align: center;
  margin-top: 20px;
}

.footer-brand p {
  font-size: 1rem;
  margin: 0;
}

.creator-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  cursor: pointer;
}

.creator-info p {
  margin: 0;
  font-size: 1rem;
}

.creator-info .logo {
  margin-top: 5px;
  width: 100px;
  height: auto;
}
/* button fixed on the screen */
.button__contact__fixed {
  position: fixed;
  bottom: 10px;
  right: 60px;
  font-size: 1.2rem;
  background-color: rgba(30, 39, 46, 1);
  text-decoration: none;
  padding: 10px;
  border-radius: 6px;
  box-shadow: -1px 3px 6px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: -1px 3px 6px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -1px 3px 6px 0px rgba(0, 0, 0, 0.75);
  transition: all 0.3s ease;
  display: none;
}
/* button fixed on the screen */
.button__move__to__top__fixed {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-size: 1.2rem;
  background-color: rgba(30, 39, 46, 1);
  text-decoration: none;
  padding: 10px;
  border-radius: 6px;
  box-shadow: -1px 3px 6px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: -1px 3px 6px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -1px 3px 6px 0px rgba(0, 0, 0, 0.75);
  transition: all 0.3s ease;
  display: none;
}
/* hover buttons */
.button__contact__fixed:hover {
  transform: scale(1.1);
}
.button__move__to__top__fixed:hover {
  transform: scale(1.1);
}

#informations-legales {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
#section-legales {
  width: 95%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#section-legales > section {
  width: 70%;
}

#legal-content {
  width: 70%;
}

#legal-content p {
  margin-bottom: 30px;
}
/* Responsive Styles */
@media (max-width: 1300px) {
  header {
    flex-direction: column;
    height: auto;
    align-items: center;
  }

  nav {
    width: 100%;
    justify-content: space-around;
    margin-top: 10px;
    padding-bottom: 10px;
  }

  .selectSport {
    display: none;
  }
  .selectSportMobile {
    font-size: 1.2rem;
    color: #1e272e;
    margin-top: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    opacity: 0.9;
  }
  main {
    height: auto;
    padding: 20px 0;
  }

  .container {
    width: 95%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .container img {
    width: 100px !important;
    height: auto;
  }

  .container img {
    width: 50%;
  }

  .container > div {
    margin: 10px 0;
    width: 45%;
  }

  .content {
    width: 100%;
    height: 100%;
    text-align: center;
  }

  .content h2 {
    font-size: 1.3rem !important;
  }

  .selectSport {
    font-size: 1.3rem;
  }

  footer {
    width: 95%;
    margin: 20px auto;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .contact-info,
  .locations,
  .creator-info {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }

  .creator-info .logo {
    width: 80px;
  }
}

@media (max-width: 600px) {
  header {
    padding: 0 5px;
  }

  .container {
    gap: 10px;
    flex-direction: column;
  }

  .container > div {
    width: 100%;
  }

  .content h2 {
    font-size: 1.1rem;
  }

  .content p {
    font-size: 0.9rem;
  }

  footer h3 {
    font-size: 1.2rem;
  }

  footer p,
  footer ul {
    font-size: 0.9rem;
  }
}
