@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: rgb(15, 0, 69);
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}


.header {
    background-color: white;
    padding: clamp(10px, 2vw, 20px);
}

.header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(10px, 2vw, 30px);
    flex-wrap: wrap;
}

.nav-links {
    display: flex;
    gap: clamp(10px, 2vw, 25px);
    flex-wrap: wrap;
    justify-content: center;
}

.header nav a {
    text-decoration: none;
    color: black;
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    white-space: nowrap;
}

.header nav img {
    width: clamp(50px, 6vw, 72px);
    height: auto;
    display: block;
}

.header a:hover {
    color: rgb(180, 180, 180);
}



.presentation-moi {
    padding: clamp(30px, 6vw, 60px) 5%;
    color: white;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

.titre-apropos {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: clamp(30px, 6vw, 50px);
}



.cartes {
    display: flex;
    gap: clamp(20px, 4vw, 40px);
    flex-wrap: wrap;
    justify-content: center;
}

.carte {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: clamp(20px, 4vw, 30px);
    flex: 1 1 300px; 
    max-width: 520px;
    box-sizing: border-box;
}

.carte img[src=""], .carte img[src="moi"] {
    display: none;
}

.carte img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 20px;
    display: block;
}

.carte h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-top: 0;
    margin-bottom: 15px;
}

.carte p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 15px;
}

.carte p:last-child {
    margin-bottom: 0;
}



.carte-large {
    max-width: 100%;
    margin-top: clamp(20px, 4vw, 40px);
    text-align: center;
}

.carte-large h2 {
    text-align: center;
}

.carte-large p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 15px auto;
}



.footer {
    background-color: white;
    color: black;
    padding: clamp(20px, 4vw, 40px) clamp(10px, 3vw, 20px);
    text-align: center;
    margin-top: clamp(30px, 6vw, 80px);
}

.footer-logo img {
    width: clamp(60px, 8vw, 90px);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 3vw, 30px);
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: black;
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1.6rem);
    transition: 0.3s;
}

.footer-links a:hover {
    color: rgb(180, 180, 180);
}

.footer p {
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    opacity: 0.8;
    color: black;
}