body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f3f3; 
    color: #333;
    height: 100%;
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #e91ed5; 
    z-index: 100;
}

header {
    background-color: rgba(0, 0, 0, 0.7); 
    color: white;
    padding: 1em;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

#title {
    position: relative;
    text-align: center;
    color: white;
    padding: 10% 0;
    background-image:linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(liberté.jpg);
    background-size: cover;
    background-position: center;
    height: 60vh; 
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: parallax 20s linear infinite;
    background-attachment: fixed;
}

@keyframes parallax {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

#title h1 {
    font-size: 4em;
    font-weight: bold;
    letter-spacing: 2px;
}

#title h1 span {
    padding: 15px;
    border-radius: 58px;
    background: linear-gradient(145deg, transparent, transparent);
    box-shadow:  21px 21px 41px #211e1e,
                 -21px -21px 41px transparent;
}


#info {
    padding: 4em 2em;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9); 
}

.container {
    display: flex;
    justify-content: center;
    gap: 3em;
    flex-wrap: wrap;
    align-items: center;
}

.text {
    max-width: 600px;
}

.image {
    width: 300px;
}

.img {
    width: 100%;
    max-width: 100%;
    height: 50vh;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.interesting-facts {
    background-color: #fff;
    padding: 2em;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 3em;
}

.interesting-facts ul {
    list-style: none;
    padding: 0;
}

.interesting-facts li {
    font-size: 1.2em;
    margin: 1em 0;
}

.interesting-facts i {
    margin-right: 10px;
    color: #e91e63; 
}

@media (max-width: 768px) {
    #title h1 {
        font-size: 2.5em;
    }

    #info {
        padding: 2em;
    }

    .container {
        flex-direction: column;
        text-align: left;
    }

    .text {
        width: 100%;
    }

    .image {
        width: 80%;
    }

    .interesting-facts ul {
        font-size: 1em;
    }
}
#title a i{
    font-size: 25px;
    color: black;
    border: 4px solid transparent;
    border-radius: 10px;
    transition: 0.5s ease;
}

#title a i:hover{
    color: white;
    background-color: black;
} 
#title a {
    float: left;
    padding: 10px;
    margin-top: -10%;
    text-decoration: none;
}