.profile-name {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    margin: 0;
}

.profile-pic2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    transform: translateY(100px);
    object-fit: cover;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #f4f4f4;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    outline: 2px solid transparent;
    transition: outline 0.3s;
}

a:focus {
    outline-color: #00d8d6;
    background-color: rgba(0, 216, 214, 0.1);
    transition: background-color 0.3s;
}

header {
    background: #000;
    color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #f4f4f4;
    text-transform: uppercase;
    font-weight: bold;
    transition: color 0.3s, background-color 0.3s;
}

nav ul li a:hover,
nav ul li a:focus {
    color: #00d8d6;
    background-color: rgba(0, 216, 214, 0.1);
}

.section {
    padding: 5rem 0;
    text-align: center;
}

#about, #projects, #contact {
    padding-top: 200px;
}

#about h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    font-size: 2.5rem;
}

.about-box {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: auto;
}

.about-intro {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.8;
    text-align: center;
}

#projects h2 {
    font-size: 2.5rem;
    color: #00ffff;
    text-align: center;
    margin: 3rem 0;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #000000;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 200px; /* ou auto si tu veux garder le ratio */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

#contact {
    padding: 80px 20px;
}

#contact .container {
    max-width: 800px;
    margin: 0 auto;
}

#contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffffff;
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact label {
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
}

#contact input,
#contact textarea {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    resize: vertical;
}

#contact input:focus,
#contact textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

#contact button[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 14px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact button[type="submit"]:hover {
    background-color: #0056b3;
}

/* ===== ANIMATED TITLE ===== */
.animated-title {
    animation: fadeColor 10s infinite;
    color: #00ffff; /* Couleur visible au départ */
    text-align: center;
    font-size: 7rem;
    margin-top: 150px; /* ajuste en fonction du header */
}

@keyframes fadeColor {
    0% {
        color: black;
        text-shadow: 3px 3px 2px rgba(255, 255, 255, 0.8), 
                    -3px -3px 2px rgba(255, 255, 255, 0.8), 
                    -3px 3px 2px rgba(255, 255, 255, 0.8), 
                    3px -3px 2px rgba(255, 255, 255, 0.8);
    }
    50% {
        color: white;
        text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.8), 
                    -3px -3px 2px rgba(0, 0, 0, 0.8), 
                    -3px 3px 2px rgba(0, 0, 0, 0.8), 
                    3px -3px 2px rgba(0, 0, 0, 0.8);
    }
    100% {
        color: black;
        text-shadow: 3px 3px 2px rgba(255, 255, 255, 0.8), 
                    -3px -3px 2px rgba(255, 255, 255, 0.8), 
                    -3px 3px 2px rgba(255, 255, 255, 0.8), 
                    3px -3px 2px rgba(255, 255, 255, 0.8);
    }
}















