/* Styles du corps de la page */
body {
    font-family: Arial, sans-serif;
    background-color: #e2e2e2;
    color: #333;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Styles de l'en-tête */
header {
    text-align: center;
    background-color: #ffffff;
    color: #ecf0f1;
    padding: 20px;
}

header h1 {
    font-size: 36px;
}

header p {
    font-size: 18px;
}

/* Styles de la barre de navigation */
nav {
    background-color: #34495e;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 10px;
}

/* Adaptation de la barre de navigation pour les petits écrans */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

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

nav li {
    display: inline;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #ecf0f1;
    font-size: 18px;
}

/* Styles des sections */
section {
    padding: 40px;
    text-align: center;
}

section h2 {
    font-size: 24px;
}

/* Styles pour les liens visités */
h2 a:visited {
    color: #728FAF;
}

/* Styles du pied de page */
footer {
    text-align: center;
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 10px;
    font-size: 14px;
}

/* Styles pour le bouton */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #728FAF;
    color: #fff;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Ajoute un effet de survol */
.btn:hover {
    background-color: #516684;
}

/* Styles pour l'image du logo */
#logo {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Styles pour les sections avec une image de fond */
section {
    background-size: cover;
    background-position: center;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 10% 5%;
    margin-bottom: 30px;
    height: auto; /* Ajuste la hauteur automatiquement pour le contenu */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-shadow: 2px 2px 2px #000;
}

/* Styles de la section "Dépannage Informatique" avec une image de fond */
#depannage {
    background-image: url('images/image-depannage.jpeg');
    background-attachment: fixed;
    color: #728FAF;
    font-weight: bold;
    text-align: center;
    padding: 10% 5%;
    margin-bottom: 30px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-shadow: 2px 2px 2px #000;
}

/* Styles de la section "Cours Informatiques" avec une image de fond fixe */
#cours {
    background: url('images/cours.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    color: #728FAF;
    font-weight: bold;
    text-align: center;
    padding: 10% 5%;
    margin-bottom: 30px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-shadow: 2px 2px 2px #000;
}

/* Styles de la section "Mise en service" avec une image de fond fixe */
#etudes {
    background: url('images/miseservice.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    color: #728FAF;
    font-weight: bold;
    text-align: center;
    padding: 10% 5%;
    margin-bottom: 30px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-shadow: 2px 2px 2px #000;
}

/* Styles de la section "Smartphone" avec une image de fond fixe */
#configuration {
    background: url('images/smartphone.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    color: #728FAF;
    font-weight: bold;
    text-align: center;
    padding: 10% 5%;
    margin-bottom: 30px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-shadow: 2px 2px 2px #000;
}

/* Styles de la section "Mise en service" avec une image de fond fixe */
#tv {
    background: url('images/television.webp') center/cover no-repeat;
    background-attachment: fixed;
    color: #728FAF;
    font-weight: bold;
    text-align: center;
    padding: 10% 5%;
    margin-bottom: 30px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-shadow: 2px 2px 2px #000;
}

/* Styles de la section "Impression3D" avec une image de fond fixe */
#Impression3D {
    background: url('images/impression3D.webp') center/cover no-repeat;
	background-attachment: fixed;
    color: #728FAF;
    font-weight: bold;
    text-align: center;
    padding: 10% 5%;
    margin-bottom: 30px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-shadow: 2px 2px 2px #000;
}

/* Styles de la section "tarifs" avec une image de fond fixe */
#tarifs {
    background: url('images/tarifs.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    color: #728FAF;
    font-weight: bold;
    text-align: center;
    padding: 10% 5%;
    margin-bottom: 30px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-shadow: 2px 2px 2px #000;
}
/* Styles de la section "contact" avec une image de fond fixe */
#contact {
    background: url('images/contact.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: #728FAF;
    font-weight: bold;
    text-align: center;
    padding: 10% 5%;
    margin-bottom: 30px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-shadow: 2px 2px 2px #000;
}