/* Réinitialisation des marges et padding */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

/* Contenu général */
body {
    background-color: black; /* Fond noir */
    color: white; /* Texte en blanc */
    font-family: Arial, sans-serif;
    position: relative;
    overflow-x: hidden; /* Empêche le défilement horizontal */
}

/* Header avec le titre et le menu */
header {
    position: relative;
    z-index: 1;
}

#header-content {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    background-color: black; /* Fond noir */
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Ombre sous le header */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    width: 115px; /* Largeur de l'image,*/
    height: 90px; /* Hauteur de l'image*/
    margin-right: 20px; /* Espacement entre le logo et le titre */
}

#title {
    margin: 0;
    font-size: 2rem;
    color: white;
}

#menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#menu a {
    color: white;
    text-decoration: none;
}

#menu a:visited, #menu a:active {
    color: white;
    text-decoration: none;
}

#menu a:hover {
    text-decoration: none;
}

#menu li {
    display: inline-block;
    margin-right: 20px;
}

#menu li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

#presentation {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    margin-top: 80px;  
    justify-content: center;
}

#presentation img {
    border-radius: 50%; 
    border: 5px solid gray; 
    width: 250px; 
    height: 250px;
}

#presentation-text {
    font-size: 2rem;
}

#presentation-text h1 {
    margin-top: 0;
    font-size: 3rem;
}

#presentation-text h2 {
    font-size: 2rem;
    color: #ccc;
    margin-bottom: 10px;
}

#a-propos {
    width: 90%;
    margin: 20px auto; /* réduit le margin-top */
    padding: 20px;
    background-color: #000000;
    border: 1px solid #000000;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#bas {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
}

#bas img {
    max-width: 50px;
    max-height: 50px;
    margin: 10px;
}

/* Responsivité - Adaptation sur mobile */
@media (max-width: 768px) {
    /* Pour la section de présentation, la disposition devient verticale sur mobile */
    #presentation {
        flex-direction: column;
        text-align: center;
    }

    #presentation img {
        margin-bottom: 20px;
    }

    #header-content {
        flex-direction: column;
        align-items: center;
    }

    #menu {
        margin-top: 20px;
    }

    #bas {
        flex-direction: column;
        margin-top: 30px;
    }

    #bas img {
        margin: 10px 0;
    }
}

/* Menu déroulant */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    padding: 10px;
    border: 1px solid #444;
    z-index: 1;
}

.dropdown-menu li {
    margin-bottom: 10px;
}

.dropdown-menu li a {
    color: #fff;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    color: #ccc;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

#contact {
    width: 90%;
    margin: 20px auto; /* centrage horizontal */
    padding: 20px;
    background-color: #000000;
    border: 1px solid #000000;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact-form {
    margin-top: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 10px;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #000000;
    border-radius: 5px;
}

#contact-form input:focus, #contact-form textarea:focus {
    border-color: #000000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#contact-form button[type="submit"] {
    background-color: #4CAF50;
    color: #000000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#contact-form button[type="submit"]:hover {
    background-color: #3e8e41;
}

a {
    color: white;
    text-decoration: none;
}

a:visited, a:active {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}