
body {
    
    background-color: #EAEAEA;
   
}
body {
    font-family: 'Rubik', sans-serif;
  }
  
  h1, h2, h3 {
    font-weight: 500;
  }

  p, li, a {
    font-size: 1.2rem;
  }

@media (max-width: 768px) {
h2 {
  font-size: 1.2rem !important;}
  p, li, a {
    font-size: 1rem;
  }

}
  p {
    font-weight: 300;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px;
  }
.containerprojets {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    padding-left: 5%;
    padding-bottom: 3%;
}
.section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.section > h2 {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}
.containerprojets h2 {
    text-align: center;
    font-size: 1.5rem;
font-weight: bold;
padding: 5%;

}
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    text-decoration: none;
    color: black;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}
.card-content {
    padding: 15px;
    text-align: center;
}
.card h3 {
    margin: 0;
}
.card p {
    color: #555;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .section {
        width: 90%;
    }
}

.logo {
    max-width: 20%;
    max-height: 20%;
    }

footer {
background-color: #000;
color: #fff;
padding: 30px 20px;
text-align: center;
display: flex;
justify-content: space-around;
align-items: flex-start;
flex-wrap: wrap;
margin-left: 03.5%;
border-top-left-radius: 50px; /* Coin supérieur gauche */
border-top-right-radius: 50px; /* Coin supérieur droit */
}

.footer-container {
display: flex;
justify-content: space-around;
width: 100%;
max-width: 1200px;
margin: 0 auto;
flex-wrap: wrap;
}

.footer-logo {
text-align: left;
margin-bottom: 20px;
}

.footer-logo p {
margin: 5px 0;
}

.footer-section {
margin: 10px;
}

.footer-section h4 {
margin-bottom: 15px;
}

.footer-section ul {
list-style-type: none;
padding: 0;
}

.footer-section ul li {
margin-bottom: 10px;
}

.footer-section ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s;
}

.footer-section ul li a:hover {
color: #ccc;
}

.back-to-top {
display: inline-block;
margin-top: 20px;
font-size: 20px;
text-decoration: none;
color: #fff;
background-color: #333;
padding: 20px;
border-radius: 10%;
transition: background-color 0.3s;
margin-right: 10px;
}

.back-to-top:hover {
background-color: #555;
}

.fond{

background-color: #ebeced;

}



.hautpage {
    background-color: #3D444D;
    width: 100%;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hautpage h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 20px;
    max-width: 90%;
}

.hautpage hr {
    width: 60%;
    height: 4px;
    background-color: #000;
    border: none;
    margin-bottom: 20px;
}

.hautpage h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #000;
    max-width: 60%;
    line-height: 1.6;
}

.certification-button {
   
    background-color: #4b0082;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    align-self: center;
    margin-top: auto;
}

.certification-button i {
    margin-right: 5px;
}

.certification-button:hover {
    background-color: #6a0dad;
}
.image-container
{
display: flex;
justify-content: end;
height: 100% ;
z-index: 100;
}

.hautpage img

{
position: absolute;
height: 40% ;
top: 2%;
margin-right: 3%;
}





/* From Uiverse.io by e-coders */ 
button {
    appearance: none;
    background-color: transparent;
    border: 0.125em solid #1A1A1A;
    border-radius: 0.9375em;
    box-sizing: border-box;
    color: #3B3B3B;
    cursor: pointer;
    display: inline-block;
    font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    min-height: 3.75em;
    min-width: 0;
    outline: none;
    padding: 1em 2.3em;
    text-align: center;
    text-decoration: none;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    will-change: transform;
   }
   
   button:disabled {
    pointer-events: none;
   }
   
   button:hover {
    color: #fff;
    background-color: #1A1A1A;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
   }
   
   button:active {
    box-shadow: none;
    transform: translateY(0);
   }
