/* Réinitialisation des styles par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Couleur de fond globale */
body {
    background-color: #efeedf;
    color: #000;
}

.container {
    background-image: url('../images/fond.png');
    background-position: center;
    background-size: 110%;
    color: #000; /* Couleur du texte */
    text-align: center; /* Alignement du contenu au centre */
    padding: 20px 0; /* Espacement intérieur (haut/bas) */
}

/* En-tête */
header {
    background-color: #efeedf;
    padding: 20px 0;
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    margin-top: 15px;
}

nav ul li {
    display: inline;
    margin-left: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-family: "mostra-nuova", sans-serif;
    font-weight: 300;
    font-size: 30px;
}

/* Styles pour les liens sociaux dans le coin supérieur droit */
.social-links {
    position: absolute;
    top: 15px;
    right: 20px;
}

.social-links a {
    margin-left: 10px;
    text-decoration: none;
}

.social-links img {
    margin-top: 15px;
    width: 50px;
    height: auto;
}

.hello {
    width: 70%;
    margin: 0 auto;
    margin-top: 130px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.hello img {
    max-width: 40%;
    margin-right: 50px;
}

.hello .text {
    display: flex;
    flex-direction: column;
}

.hello h1, .hello p {
    margin: 10px;
}

.hello h1 {
    font-family: "the-seasons", sans-serif;
    font-weight: 300;
    font-size: 40px;
    margin-bottom: 10px;
    color: #000;
}

.hello p {
    font-size: 16px;
    font-family: "omnes-variable", sans-serif;
    font-variation-settings: "wdth" 100;
    line-height: 1.4;
    color: #000;
}

/* Section Contact */
#contact {
    position: relative;
    text-align: center;
    padding: 40px 0;
    background-color: #efeedf; /* Assurez-vous que la couleur de fond est définie */
}

#contact h1 {
    font-family: "the-seasons", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 40px;
    margin-bottom: 10px;
    color: #000;
}

#contact p {
    font-size: 25px;
    font-family: "mostra-nuova", sans-serif;
    font-weight: 300;
    font-style: normal;
    margin-bottom: 20px;
    color: #000;
}

#contact strong {
    font-family: "the-seasons", sans-serif;
    font-weight: 300;
    font-style: normal;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #000;
}

#contact a {
    text-decoration: none;
    background-color: rgba(239, 238, 223, 0.5);
    color: #000;
    padding: 8px 10px;
    border-radius: 20px;
    display: inline-block; /* S'assurer que l'élément a une boîte englobante */
}

#contact a:hover {
    background-color: #b5a482;
    opacity: 0.8;
}

#contact li {
    text-decoration: none;
    font-size: 20px;
    font-family: "mostra-nuova", sans-serif;
    font-weight: 300;
    font-style: normal;
}

/* Ajoutez ces règles pour les téléphones mobiles */
@media screen and (max-width: 768px) {
    header {
        padding: 10px 0;
        height: auto;
    }

    nav ul {
        text-align: center;
        margin-top: 10px;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .social-links {
        top: 10px;
        right: 10px;
    }

.intro {
    margin-top: 100px; 
}
    .hello {
        flex-direction: column;
        align-items: center;
        margin-top: 100px;
    }

    .hello img {
        max-width: 80%;
        margin: 0 auto;
        margin-top: 20px;
    }

    .hello .text {
        text-align: center;
    }

    .hello h1, .hello p {
        margin: 10px;
    }


/* Media query pour les appareils mobiles */
@media (max-width: 768px) {
    /* Section Contact */

    #contact h1 {
        font-size: 30px; /* Réduire la taille de police pour les appareils mobiles */
        margin-bottom: 5px;
    }

    #contact p {
        font-size: 18px; /* Réduire la taille de police pour les appareils mobiles */
        margin-bottom: 15px;
    }

    #contact strong {
        font-size: 18px; /* Réduire la taille de police pour les appareils mobiles */
    }

    #contact a {
        font-size: 14px; /* Réduire la taille de police pour les appareils mobiles */
        padding: 6px 8px; /* Ajuster le padding pour les appareils mobiles */
    }

    #contact li {
        font-size: 16px; /* Réduire la taille de police pour les appareils mobiles */
    }
}

}
