* {
    box-sizing: border-box;
}

body{
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    padding: 0;
    margin: 0;
    background-color: #0B3861;
    min-height: 100vh;
    position: relative;
    flex-direction: column;
    align-items: center;
}

.header {
    position: sticky;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 1rem 2rem;
    top: 0;
    z-index: 10;
    background-color: rgba(11, 56, 97, 0.9);
    backdrop-filter: blur(4px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f0f0f0;
}

/* Bouton hamburger caché en PC */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
}

.nav ul {
    display: flex;
    list-style-type: none;
    color: #f0f0f0;
    margin: 20px;
    font-size: 1em;
}

.nav ul li a {
    text-decoration: none;
    color: #f0f0f0;
    border-radius: 5px;
    padding: 0.5rem 1rem;    
}

.nav ul li a:hover {
    color: #ffde7d;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    animation: move 10s infinite ease-in-out;
}

@keyframes move {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 20px);
    }
}

.about-container {
    position: relative;
    max-width: 800px;
    margin: 60px auto;
    padding: 30px;
    background-color: rgba(11, 56, 97, 0.3);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05)
}

.mon-titre h1 {
    font-size: 2.5em;
    color: #ffcc70;;
}

.mon-titre, .sous-titre {
    text-align: center;
    margin: 0 auto;
}

.mon-titre h3 {
    margin-top: 30px;
    font-size: 1.2em;
    color: #fff;
    font-style: italic;
    font-weight: 600;
}

.about-header p {
    line-height: 1.6rem;
    font-size: 1rem;
    text-align: justify;
    color: #fff;
}

.about-paragraph h2 {
    font-size: 1.5em;
    color: #ffcc70;
    margin-bottom: 10px;
}

.about-paragraph p {
    text-align: justify;
    line-height: 1.6rem;
    font-size: 1rem;
    padding-left: 20px;
    padding-right: 20px;
    color: #fff;
}

.skills-list {
    font-size: 1rem;
    list-style-type: square;
    color: #fff;
}

.footer {
    height: 100%;
    margin: 0;
    display: flex;
    background-color: #0B3861;
    padding: 2rem 1rem;
    margin-top: 4rem;
}

.footer a {
    color: white;
}

.footer a:hover {
    color: #ffcc70;
}

.footer-container {
    margin: 0 auto;
    text-align: center;
    color: white;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
}

.footer-links a:hover{
    text-decoration: underline;
}
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    .menu-toggle span {
        transition: all 0.3s ease;
    }
    .header {
        flex-direction: row;
        justify-content: space-between;
        height: auto;
    }
    .logo {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    .nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(11, 56, 97, 0.95);
        padding: 1rem;
        margin: 0;
        text-align: left;
    }
    .nav.active ul {
        display: flex;
    }
    .nav ul li {
        margin: 0.5rem 0;
        text-align: left;
    }
    .nav ul li a{
        color: #fff;
        display: block;
        width: 100%;
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    .about-paragraph {
        padding: 10px;
    }
    .about-paragraph h2 {
        font-size: 1.25rem;
    }
    .about-paragraph p {
        font-size: 0.95rem;
        text-align: justify;
    }
    .skills-list {
    font-size: 0.95rem;
    }
}