@font-face {
    font-family: "Megatrans";
    src: url("./Fonts/Octosquares.ttf") format("truetype");
}



/* Général */
body {
    font-family: 'Megatrans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    background-image: url('./fonds.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Header */
header {
    background: linear-gradient(135deg, #002B5B, #005BB5); /* Dégradé bleu */
    color: white;
    padding: 20px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre douce */
}

header h1 {
    font-size: 2.5rem;
    text-align: center;
    margin: 0;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin-top: 10px;
    
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00BFFF; /* Changement de couleur au survol */
}


/* Structure des sections */
.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.text {
    flex: 1;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    
}
.texte {
    font-size: 1.9rem;
}

.image {
    max-width: 45%;
}

.image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #ddd; /* Bordure légère */
}

/* Liste à puces */
ul {
    list-style-type: disc;
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background: #002B5B;
    color: white;
    position: relative;
}

/* Titres */
h2 {
    color: #002B5B;
    font-size: 3.8rem;
    margin-bottom: 10px;
    font-weight: 900;
}
.text {
    flex: 1;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8); /* Fond blanc légèrement transparent */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}