/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Hauteur minimale de l'écran */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #343a40;
    color: #ffffff;
}

.header-left h1 {
    font-size: 2em;
    margin-bottom: 5px;
}

.header-right p {
    font-size: 1.2em;
    margin-bottom: 0;
}

nav {
    text-align: center;
    background-color: #343a40;
    padding: 10px 0;
}

nav a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #343a40;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #6c757d;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1; /* Occupe tout l'espace restant */
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
}

.content-text {
    flex: 1;
    padding-right: 20px;
}

.content-text h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.content-text p {
    line-height: 1.6;
}

.map {
    flex: 1;
    height: 300px;
    margin-bottom: 20px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background-color: #343a40;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    flex-shrink: 0; /* Empêche de rétrécir */
}

footer p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    .header-right {
        margin-top: 10px;
    }
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav a {
        margin: 5px;
    }
    .container {
        padding: 10px;
    }
}
