@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');
*{
  margin: 0;
  border: 0;
  scroll-behavior: smooth;
}
body {
  background: url(../images/westenics.webp);
  background-size: cover;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #000000;
  border-bottom: 2px solid #ffffff;
  flex-wrap: wrap;
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

main, body {
  margin-top: 70px; 
}

nav#haut {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  transition: color 0.2s ease-in-out, font-size 0.2s ease-in-out;
  font-family: "Audiowide", sans-serif;
}

a:hover {
  color: #ffffff;
  font-size: 16pt;
  -webkit-text-stroke: #6d124f 1px;
}

header div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

header img {
  height: 50px;
  width: auto;
}

h2#acceuil {
  font-family: "Audiowide", sans-serif;
  color: #ffffff;
  margin-right: 20px;
  font-size: 18px;
  padding-right: 20px;
}

@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
  }

  nav#haut {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  header div {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  header img {
    height: 40px;
  }

  a {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  a {
    font-size: 12px;
  }

  nav#haut {
    justify-content: flex-start;
    margin-bottom: 10px;
  }

  header div {
    justify-content: flex-end;
  }
}
h2 {
  font-family: 'Audiowide' ;
  font-weight: 50;
  color: #ffffff; 
  font-size: 24px;
  margin: 0; 
}
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
a{
  color: white;
  padding: 10px ;
}
h1 {
  font-family: 'Audiowide', sans-serif;
  color: #b52083;
  text-align: center;
  margin: 20px 0;
  width: 100%;
}
h1:hover{
  -webkit-text-stroke: rgba(255, 255, 255, 0.355) 1px;
}
h1 a{
  font-size: 24pt;
  color: #6a124d;
  -webkit-text-stroke: #ffffff91 1pt;
}
h1 a:hover{
  font-size: 26pt;
  color: #6a124d;
  -webkit-text-stroke: #ffffff 1px;
  text-decoration: underline;
}
img{
  height: 70px;
}
#acceuil{
  color: rgb(255, 255, 255);
}

#acceuil h1:hover{
  -webkit-text-stroke: black;
}
#athlethe{
  margin: 80px;
}
.box {
  flex: 1 1 calc(33.33% - 10px);
  max-width: 200px;
  max-height: 200px;
  background-color: #6a124d;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  color: white;
  font-size: 18px;
  padding: 10px;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid #cb138e;
}

#noha,
#lucien,
#teho,
#juju,
#statique {
  background-size: cover;
  background-repeat: no-repeat;
  width: 200px;
  height: 200px;
  margin: 10px;
  transition: transform 0.2s ease-in-out;
}

#noha {
  background-image: url(../images/noha.png);
  background-position-y: 60%;
}

#lucien {
  background-image: url(../images/lucien.png);
  background-position-y: 75%;
}

#teho {
  background-image: url(../images/teho.png);
  background-position-y: 25%;
}

#juju {
  background-image: url(../images/juju.png);
  background-position: 59% 60%;
}

#statique {
  background-image: url(../images/statique_sw_86.png);
  background-position-y: 75%;
}

.box:hover {
  transform: scale(1.1);
}

h1 {
  margin: 1px 0;
}


@media (min-width: 768px) {
  .container {
    gap: 15px;
  }

  .box {
    flex: 1 1 calc(25% - 15px); 
    max-width: 250px;
    max-height: 250px;
  }

  #noha,
  #lucien,
  #teho,
  #juju,
  #statique {
    width: 250px;
    height: 250px;
  }
}

@media (min-width: 1200px) {
  .container {
    gap: 20px;
  }

  .box {
    flex: 1 1 calc(20% - 20px); 
    max-width: 300px;
    max-height: 300px;
  }

  #noha,
  #lucien,
  #teho,
  #juju,
  #statique {
    width: 300px;
    height: 300px;
  }
}
h2{
  color: rgb(216, 13, 213);

  font-size: 50px;
  text-align: center;
}


h2:hover{
  font-size: 52px;
  -webkit-text-stroke: white 1px;
}
#comp{
  margin-top: 30px;
  background-color: white;
  border-radius: 20px 20px 0 0;
  padding: 10px;
}

#comp:hover{
  -webkit-text-stroke: #000000 2px;
}

#competition {
  flex-direction: row;
  margin: 20px;
  background-size: cover;
  background-color: white;
  color: #6d124f;
  justify-content: center;
  align-items: center;
  height: 300px;
  padding: 20px;
  border-radius: 20px;
  padding-bottom: 40px;
  border: solid 2px rgb(216, 13, 213);
  justify-content: flex-start;

}

p {
  font-family: "Audiowide";
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  color: #fc1cb1ce;
  -webkit-text-stroke: #ffffff20 1px;
  padding: 20px;
  margin-bottom: 30px;
  background: url(../images/comp.png);
  height: 150px;
  border-radius: 20px;
  background-position: 30% 18%;
  border:solid 2px rgb(184, 8, 237);
}
p:hover{
  height: 160px;
  -webkit-text-stroke: #ffffff 1px;
}

#reseaux{
  margin: 20px;
  background-size: cover;
  background-color: white;
  color: #6d124f;
  justify-content: center;
  align-items: center;
  height: 300px;
  padding: 20px;
  border-radius: 20px;
  padding-bottom: 40px;
  border: solid 2px rgb(216, 13, 213);
}
#insta{
  font-size: 15px;
  margin: 20px;
  -webkit-text-stroke-color: #00000046;
}
#cr{
  margin-top: 60px;
  display: flex;
  flex-direction: row;
  background-color: #850b5c;
  padding: 20px;
  border-radius: 20px;
}
h2 a{
  color: #000000;
}
h2 a:hover{
  text-decoration: underline;
}
@media screen and (max-width: 640px){
 #cr{flex-direction:column ;}
 #insta{
  height: 20px;
 }
 #comp{
  font-size: 20px;
 }
 #competition{
  flex-direction: row;
 }
 #reseaux{
  height: 100px;
 }
 p{
  font-size: 10pt;
  background-position: 50% 10%;
 }
 h1 a{
  font-size: 16pt;
 }

 h1 a:hover{
  font-size: 18pt;
 }
}