@import url('https://fonts.googleapis.com/css2?family=Teko&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Niramit:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Paytone+One&display=swap');

body {
    margin: auto;
    font-family: 'Niramit', sans-serif;
    background-color:#CED9EE;
    width: 1080px; ;
}

/* Header */
#active {
    padding: 0 10px;
    background-color: white;
    border-radius: 11px;
    color: #000000;
}

header {
    padding-bottom: 20px;
    background-image: linear-gradient(rgba(182, 203, 246, 0.9), rgba(0, 0, 0, 0)),
                  url('https://medias.lequipe.fr/img-photo-jpg/le-onze-de-depart-du-real-madrid-contre-villarreal-samedi-pablo-morano-reuters/1500000001732546/0:0,1952:1302-1200-800-75/d5f14.jpg');
    background-position: right 50% bottom 80%;
    background-size: cover;
    box-shadow: rgba(233, 13, 13, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

nav {
    width: 500px;
    height: 400px;
    margin: 0 auto;
    font-size: 30px;
    font-family: 'Teko', sans-serif;
}

nav > ul {
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: auto;
}

ul > li, a {
    color: #254d85;
    list-style-type: none;
    margin-right: 10px;
}

ul  {
    text-decoration: underline;
    color: rgb(255, 255, 255);
}

nav > span {
    font-size: 80px;
    color: white;
    font-weight: bolder;
    font-family: 'Paytone One', sans-serif;
    text-shadow: #485971;
}
/* Fin Header */
#content {
    width: 1090px;
    margin: auto ;
    background-color: white;
    font-size: 17px;
    border-radius: 20px;
}

#contenu > p {
    padding: 0 17% 10px 17%;
    text-align: center;
}

#content > h1 {
    font-family: 'Teko', sans-serif;
    font-size: 60px;
    margin: -3px;
    padding: 20px;
    text-align: center;
    color: #ffffff;
}

.article {
    padding: 100px;
}

img {
    height: 270px;
    border-radius: 20px;
	transform: scale(0.9);
	transition: 0.3s ease-in-out;
}


p > img:hover {
	-webkit-transform: scale(1);
	transform: scale(1);
}

#tableau {
    width: 1080px;
    margin: 30px auto 0 auto;
    padding: 20px;
    box-sizing: border-box;
       border-radius: 20px;
}

#tableau> h1 {
    font-family: 'Teko' ;
    font-size: 60px;
    margin: -3px;
    text-align: center;
    color: #5a8aca;
}

#background-video
{
    width: 100%;
    margin-top: 30px;
}
/*partie contact*/
#monform {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
label{
    display: block;
}
main {
    margin-top: 70px;
}
input{
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 50px;
    outline: none;
}
textarea {
    width: 220px;
    outline: none;
    border: #254d85;
    border-radius: 10px;
    padding: 125px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
input[type="submit"] {
    background-color: #254d85;
    color: white;
    cursor: pointer;
    margin-top: 10px;
    width: 300px;
    font-size: 20px;
}
#input[type="submit"] a:hover {
  background-color: rgb(101, 136, 224);
  color: rgb(232, 224, 224);
}
label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
  }
h5{
    text-align: center;
    font-size: 50px;
    color: #254d85;
}
#carre{
    width: 60%;
    background-color: #adb0c3;
    margin: auto;
    border-radius: 15px;
}
  
  #partenaires_top_page {
    display: flex;
    justify-content: center;
    width: 1080px;
  }
  
  #notre_groupe {
    text-align: center;
    margin: 50px 0 0 0;
  }
  
  #partenaires_pres {
    padding: 0 50px 50px 50px;
  }
  
  #partenaires_pres p {
    text-align: justify;
    line-height: 30px;
  }
  
  .partenaires_members {
    display: flex;
    align-items: center;
    padding: 0 50px 100px;
    filter: saturate(1);
    transition: filter 0.3s ease;
  
  }
  
  .partenaires_members img {
    filter: saturate(0%);
    transition: 0.3s;
    border-radius: 15%;
  }
  .partenaires_members img:hover {
    filter: none;
  }
  
  .partenaires_members p {
    padding: 0 0 0 50px;
    line-height: 30px;
    text-align: justify;
  }
  
  #en_savoir_plus {
    margin-bottom: 100px;
  }
  
  #en_savoir_plus p {
    text-align: center;
  }
  
  #partenaires_button {
    display: flex;
    justify-content: space-around;
  }
  
  #partenaires_button a {
    background-color: #254d85;
    padding: 10px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: 0.3s;
  }
  
  #partenaires_button a:hover {
    background-color: rgb(101, 136, 224);
    color: rgb(232, 224, 224);
  }
  li > a {
    text-decoration: none;
    display: inline-block;
    position: relative;
  }
  
  li > a::after {
    content: "";
    display: block;
    margin: auto;
    height: 5px;
    width: 0;
    top: 5px;
    background: transparent;
    transition: all 0.7s;
  }
  
  li > a:hover::after {
    width: 100%;
    background: rgb(255, 255, 255);
  }
  
  .active a {
    color: rgb(245, 245, 245);
    text-decoration-line: overline;
    font-style: italic;
  }
  #rien {
    text-align: center;
    color: #424242;
}

#titre {
    font-size: 50px;
    font-weight: bold;
    font-family:'Teko', sans-serif
}
#a{
  color: #254d85;
}
#ref{
  color: #254d85;
}
/* styles.css */

/* Style général de la galerie */
.main {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Style des images */
.image-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(70%); 
}

/* Effet de changement de couleur au survol */
.image-container img:hover {
  filter: grayscale(0%); 
}

#form {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgb(255, 255, 255);
  box-shadow: 0px 0px 10px 0px;
  border-radius: 5px;

}
label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

input[type="file"] {
  margin-bottom: 10px;
}

input[type="submit"] {
  background-color: #254d85;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 600px;
}

input[type="submit"]:hover {
  background-color: rgb(101, 136, 224);
  color: black;
}
#content > h1 {
  font-family: 'Teko', sans-serif;
  font-size: 60px;
  margin: -3px;
  padding: 20px;
  text-align: center;
  color: #254d85;
}
#references > span {
  font-size: 25px;
  font-weight: bold;
}
#references {
  padding: 20px;
  text-align: center;
  color: #254d85;
}
#references p > a {
  list-style-type: "-";
  color: #254d85;
}
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;

}
.rad_1 {
  margin-right: 20px;
}
textarea {
  resize: vertical;
}
#radio {
  margin-bottom: 20px;
}
h1 {
  text-align: center;
  font-size: 50px;
  color: #254d85;
}
#partenaires_pres p {
  text-align: justify;
  line-height: 30px;
}
