body {
  margin-top: 80px; 
  background: linear-gradient(135deg, #f0f8ff, #fce8e8);
  font-family: 'Oswald', sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

img {
    width: 250px;
    border-radius: 15px;
}

a {
    text-decoration: none;
}











header {
    background: linear-gradient(135deg, #f0f8ff, #fce8e8);
    margin: 0;
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header img{
    border-radius: 15px;
    width: 70px;
    padding: 5px;
}

.bandeau {
    display: flex;
    align-items: center;
    padding: 5px;
    width:100%;
}

.bandeau .liens a{
    color: rgb(0, 0, 0); 
    padding: 20px;
}

.liens {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

.menu {
    background-color:#f0f8ff;
    padding: 10px 10px;
    border-radius: 15px;
    width: 100%;
}

.menu_liens {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #f0f8ff, #fce8e8);
    border-bottom-left-radius: 15px;
}

.menu_liens ul{
    list-style-type: none;
    display: flex;
    gap: 50px;
}










.hautdepage{
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ec3333, #a01010);
    padding-top: 160px;
    padding-bottom: 200px;
}

.recherche{
    width: 500px;
    height: 30px;
    border-radius: 15px;
}

.valider{
    padding: 10px;
    height: 30px;
    border-radius: 15px;
}











.formations {
    align-items: center;
    justify-content: center;
    text-align: center;  
    background: linear-gradient(135deg, #f0f8ff, #fce8e8);
    display: flex;        
    flex-wrap: wrap;     
    gap: 30px;            
    padding: 30px 20px;   
}

#f {
    position: relative;
    display: inline-block;
    width: 300px;      
    height: 200px;     
    overflow: hidden;  
    border-radius: 15px;
}

#f img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#f:hover img {
    opacity: 0.6;
}

#f img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 15px;
    border-radius: 5px;
}

#titre{
    justify-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
}










.motivations {
    background: linear-gradient(135deg, #f0f8ff, #fce8e8);
    text-align: center;
}

.motivations h1 {
    text-align: center;
}

.m1:hover, .m2:hover, .m3:hover, .m4:hover{
    opacity: 0.6;
}

.m1, .m2, .m3, .m4{
    position: relative;
    display: inline-block;
    width: 300px;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    background-color: #ec3333;
    margin: 10px;
}

.m1 h2, .m2 h2, .m3 h2, .m4 h2{
    color: #ffffff;
    width: 100%;
    text-align: center;
}

.m1 p, .m2 p, .m3 p, .m4 p{
    display: none;
}

#click img{
    height: 150px;
    width: 150px;
}











.assistant {
    position: fixed;
    bottom: 20px;   
    right: 20px;    
}

.assistant img {
    width: 300px;       
}

.directions{
    border-radius: 15px;
    background-color: aliceblue;
    padding: 10px;
    display: none;
}

.directions ul{
    list-style-type: none;
}

.tete{
    display: flex;
    gap: 10px;
}

.tete button{
    width: 30px;
    height: 30px;
    padding: 5px;
    background-color: #ec3333;
    color: white;
    border-radius: 10px ;
}

.rensegnement{
    display: none;
}
.reservation{
    display: none;
}
.autres{
    display: none;
}

.questions {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #ec3333;
    border-radius: 15px;
    font-family: 'Oswald', sans-serif;
    color: #a01010;
    background-color: #ffffff;
}

.validation {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #ec3333, #a01010);
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
}

.validation:hover {
    opacity: 0.8;
}

.rensegnement, .reservation, .autres {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.rensegnement li, .reservation li, .autres li {
    margin-bottom: 8px;
}

.rensegnement a, .reservation a, .autres a {
    display: block;
    padding: 8px 10px;
    border-radius: 15px;
    background-color: #ffffff;
    color: #a01010;
    border: 1px solid #ec3333;
    text-align: center;;
}

.rensegnement a:hover, .reservation a:hover, .autres a:hover {
    background: linear-gradient(135deg, #ec3333, #a01010);
    color: #ffffff;
}

.arriere {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 15px;
    background-color: #f0f8ff;
    color: #a01010;
    border: 1px solid #ec3333;
    font-family: 'Oswald', sans-serif;
}

.arriere:hover {
    background-color: #ec3333;
    color: #ffffff;
}







footer {
    background: linear-gradient(135deg, #ec3333, #a01010);
    margin: 0;
    display: flex;
    align-items: center;
}

.reseau {
    margin-left: 10px;
    padding: 10px;
}

.contacts {
    margin-left: auto;
    padding: 10px;
}

footer img{
    border-radius: 15px;
    width: 40px;
    padding: 5px;
}