@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@100&family=Dancing+Script:wght@400;500&family=Edu+VIC+WA+NT+Beginner&family=Lobster&family=Mulish:ital,wght@1,200&family=Yanone+Kaffeesatz:wght@200&display=swap');


*{
    padding: 0;
    margin: 0;
}
ul{
    padding: 0;
    margin: 0;
}

#navbar {
  background-image: linear-gradient(135deg, rgba(181, 209, 42,0.5) 0%, rgba(181, 209, 42,0.5) 16%,rgba(38, 179, 43,0.5) 16%, rgba(38, 179, 43,0.5) 49%,transparent 49%, transparent 96%,rgba(252, 224, 41,0.5) 96%, rgba(252, 224, 41,0.5) 100%),linear-gradient(45deg, rgb(181, 209, 42) 0%, rgb(181, 209, 42) 8%,rgb(38, 179, 43) 8%, rgb(38, 179, 43) 31%,transparent 31%, transparent 45%,rgb(252, 224, 41) 45%, rgb(252, 224, 41) 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));
  opacity: 0.9;
  width: 100%;
  height: 40px;
  padding: 5px;
}

#navbar ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style-type: none;
}

#navbar li {
  align-self: center;
}

#navbar a {
  text-decoration: none;
  color: black;
  font-size: 1.2em;
  align-self: center;
  padding: 10px;
  border-radius: 5%;
  transition: 0.3s;
}

#navbar a:hover {
  color: whitesmoke;
  background-image: linear-gradient(135deg, rgba(181, 209, 42,0.9) 0%, rgba(38, 179, 43,0.9) 100%);
  border-radius: 5%;
  padding: 6px;
  box-shadow: 0 0 10px rgba(38, 179, 43,0.9);
}


#logo img {
  height: 60px;
  width: auto;
  padding: 10px;
}

#navbar img {
  height: 30px;
  width: 30px;
  margin-right: 5px;
}


#logo img {
  height: 60px;
  width: auto;
  padding: 10px;
}

a img{
    height: 40px;
    width: auto;
}

a{
    text-decoration: none;
    color: black;
    font-size: 1.2em;
    align-self: center;
}

a:hover{
    transition: 0.3s;
    color: whitesmoke;
    border-radius: 5%;
    padding: 6px;
}

.premiertrait{
    background-image: linear-gradient(135deg, rgba(181, 209, 42,0.5) 0%, rgba(181, 209, 42,0.5) 16%,rgba(38, 179, 43,0.5) 16%, rgba(38, 179, 43,0.5) 49%,transparent 49%, transparent 96%,rgba(252, 224, 41,0.5) 96%, rgba(252, 224, 41,0.5) 100%),linear-gradient(45deg, rgb(181, 209, 42) 0%, rgb(181, 209, 42) 8%,rgb(38, 179, 43) 8%, rgb(38, 179, 43) 31%,transparent 31%, transparent 45%,rgb(252, 224, 41) 45%, rgb(252, 224, 41) 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));
    box-shadow: #f0a604;
    width: 80%;
    height: 5px;
    margin: 50px 100px;


}
h2{
    text-align: center;
    margin-bottom: 15px;
    font-size: 2em;
   text-shadow: 2px 3px 4px rgb(252, 224, 41);
}
h2::after{
    content: "";
    background: black;
    transform: scale(0);
    height: 3px;
    width:48%;
    display: block;
    transition: 0.5s ease-in-out;
    margin: auto;
}
h2:hover::after{
    transform: scale(1);

}
h3{
    text-align: center;
}
h4{
    text-align: center;
    margin-top: 20px;
}
ul{
    display: flex;

}

#tout_savoir {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 15px;
}

#tout_savoir li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid black;
  padding: 15px;
  margin: 5px;
  width: calc(25% - 10px);
  max-width: 360px;
}

#tout_savoir img {
  height: 80px;
  width: auto;
  margin-bottom: 10px;
}

#tout_savoir p {
  color: black;
  font-size: 1.1em;
  margin-bottom: 0;
  line-height: 1.5;
}

.arrow{
    text-align: center;
}
h3{
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    padding: 15px;
}

footer{
    background: rgb(255, 216, 1);
    padding: 20px 0 10px 0;
    display: flex;
    justify-content: center;
}
footer p{
    color: black;
    font-size: 1.2em;

}

#associations img{
    height: 250px;
    width: 250px;
    object-fit: contain;
}
@media (max-width:600px){
    #associations img{
        margin-left: 100px;
    }
    #parrainagebouton{
        height: 80px;
        font-size: 0.9em;
    }
}

#main_presentation{
    background: url(../images/man-3404451_1920.jpg);
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

h1{
    text-transform: uppercase;
    padding: 2px;
    text-align: center;
    font-size: 4em;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.text_colored{
    color: #b5d12a;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

p{
    font-size: 1.5em;
    text-align: center;
    color: #ffffff;
    width: 80%;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn{
    display: flex;
    justify-content: center;
    align-items: center;
}

button, #infos, #parrainagebouton{
    font-family: 'Mulish', sans-serif;
    font-size: 1.2em;
    border: none;
    border-radius: 35px;
    height: 60px;
    padding: 20px 40px;
    margin: 15px;
    font-weight: bold;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    background-color: #b5d12a;
    color: #ffffff;
    cursor: pointer;
}

#parrainagebouton{
    height: 200px;
    width: 250px;
    overflow: hidden;
    font-size: 1.5em;
}

button:hover, #infos:hover, #parrainagebouton:hover{
    transform: translateY(-5px);
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5);
    background-color: #ffffff;
    color: #b5d12a;
}

#parrainagebouton:hover a{
    color: rgb(181, 209, 42);
}

#infos{
    background-color: #ffffff;
    color: #b5d12a;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-in-out;
}

#infos:hover{
    transform: translateY(-5px);
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5);
    background-color: #b5d12a;
    color: #ffffff;
}
#Prestations ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 15px;
  padding: 0;
}

#Prestations li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid black;
  padding: 15px;
  margin: 5px;
  width: calc(50% - 10px);
  max-width: 360px;
}

#Prestations img {
  height: 80px;
  width: auto;
  margin-bottom: 10px;
}

#Prestations p {
  color: black;
  font-size: 1.1em;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  #Prestations li {
    width: 100%;
    margin: 10px 0;
  }
}
