/* Style de base */
*, *::before, *::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: url("../Images/About.png") no-repeat center center fixed;
    background-size: cover;
    color: white;
    position: relative;
    z-index: 0;
    transition: background-image 0.6s ease-in-out;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

header {
    background-color: rgba(51, 51, 51, 0.9);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 1.1em;
}

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

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

nav ul li a {
    font-size: 22px;
    font-weight: bold;
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:visited {
    color: #2980b9;
}

nav ul li a:hover {
    color: #f39c12;
}

nav ul li a:active {
    color: #e74c3c;
}

section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
    font-size: x-large;
    text-align: left;
}

.motivation-list {
    list-style: none;
    padding-left: 0;
}

.motivation-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.motivation-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 1.2em;
    line-height: 1;
}

.socials {
    padding: 8px;
    text-align: center;
}

.socials a {
    font-size: 22px;
    margin: 0 12px;
    color: #3498db;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: #f39c12;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: rgba(51, 51, 51, 0.9);
    color: white;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
}

footer a {
    font-size: 22px;
    color: #3498db;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #f39c12;
}

/* Responsive typographie */
@media (max-width: 768px) {

    footer {
        position: static;
    }

    section {
        font-size: 1rem;
        padding: 16px;
        margin-bottom: 80px;
    }

    nav ul li a {
        font-size: 16px;
    }

    header {
        font-size: 1em;
    }

    .motivation-list li {
        font-size: 1rem;
    }
}