@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5e1dc; 
    animation: fadeIn 1s ease-in-out;
    overflow-x: hidden; /* Empêche le défilement horizontal */
    margin-top: 200px
}


header {
    background-color: #800020; 
    color: #fff;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; /* Fixe le header en haut */
    top: 0; /* Positionne le header en haut de la page */
    width: 100%; /* Assure que le header prend toute la largeur de la page */
    z-index: 1000; /* Assure que le header reste au-dessus des autres éléments */
}

h1 {
    margin: 0;
    padding-left: 20px;
}

h2 {
    margin: 1;
    flex-grow: 1;
    text-align: center;
}

.title-container {
    padding-left: 20px;
}

.subtitle-container {
    flex-grow: 1;
    text-align: center;
}

nav ul {
    background-color: #800020; 
    color: #fff;
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

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

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

nav ul li a:hover {
    background-color: #a4032b; 
}


.button-container {
    display: flex;
    justify-content: center;
    margin: 50px 0; /* Augmentez la marge pour descendre les boutons */
    margin-top: -80px;
}

.button-item {
    text-align: center;
    margin: 0 60px; /* Espace entre les boutons encore augmenté */
}

.button-item img {
    width: 400px; /* Largeur de l'image */
    height: 300px; /* Hauteur de l'image */
    border-radius: 10px;
    object-fit: cover;
}

.button-item img {
    width: 400px; /* Largeur de l'image */
    height: 300px; /* Hauteur de l'image */
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out; /* Ajoute une transition pour l'effet d'augmentation */
    margin-bottom: 80px;
}

.button-item img:hover {
    transform: scale(1.1); /* Effet de zoom au survol */
}


footer {
    background-color: #800020;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
}
