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


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


header {
    background-color: #c5b422;
    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;
}

nav ul {
    background-color: #c5b422;
    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: #fff176;
}


.realisation {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 20px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.realisation h3 {
    margin-top: 0;
}

.realisation p {
    margin: 10px 0;
}


.stars {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.stars .filled {
    color: gold;
}

.stars .empty {
    color: grey;
}

.stars .filled, .stars .empty {
    margin: 0 2px;
}


#block {
    display: flex;
    justify-content: center;
    gap: 20px
}

.button-pdf {
    display: inline-block;
    width: 200px;
    padding: 10px;
    margin: 10px 0; /* Espace entre les boutons */
    background-color: #c5b422;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
}

.button-pdf:hover {
    background-color: #fff176;
}


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


@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}