/* Style de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #eef2f7;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    padding-top: 50px;
}

a {
    text-decoration: none;
    color: black;
}

.container {
    background: white;
    width: 80%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

header {
    background-color: #1E90FF;
    color: white;
    padding: 30px;
    text-align: center;
}

header img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    border: 3px solid white;
    background-image: cover;
}

header h1 {
    font-size: 36px;
}

nav {
    background-color: #004080;
    color: white;
    display: flex;
    justify-content: center;
    padding: 10px;
}

nav a {
    text-decoration: none;
    color: white;
    padding: 12px 30px;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #1E90FF;
}

.section {
    padding: 40px 30px;
    margin: 20px 0;
}

h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #004080;
    text-transform: uppercase;
    border-bottom: 3px solid #1E90FF;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.experience, .education {
    list-style: none;
    padding-left: 0;
}

.experience li, .education li {
    background-color: #f9f9f9;
    margin: 15px 0;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.experience li:hover, .education li:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #1E90FF;
}

.contact-form button {
    background-color: #1E90FF;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #004080;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    header h1 {
        font-size: 2rem;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-icon {
        font-size: 1.2rem;
    }

    .contact-form input, .contact-form textarea, .contact-form button {
        padding: 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    
    header h1 {
        font-size: 1.8rem;
    }

    nav a {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .section h2 {
        font-size: 1.2rem;
    }

    .education li, .experience li {
        font-size: 0.9rem;
    }

    .contact-form input, .contact-form textarea, .contact-form button {
        font-size: 0.8rem;
    }

    .social-icon {
        font-size: 1rem;
    }
}

label {
    font-weight: bold; 
    display: block; 
    margin-top: 10px; 
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%; 
    padding: 10px; 
    margin-top: 5px; 
    border: 1px solid #ccc;
    border-radius: 4px; 
    box-sizing: border-box; 
}
input[type="submit"] {
    background-color: #0d70f1; 
    color: white;
    border: none; 
    padding: 10px 15px; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 16px; 
    margin-top: 10px; 
}

input[type="submit"]:hover {
    background-color: #49a4ee;
}
.remonter{
    background-color: #0d70f1; 
    border: none; 
    padding: 10px 15px; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 16px; 
    margin-top: 10px;
}
button:hover{
    background-color: #49a4ee;
}
button a{
    color: white;
    text-decoration: none;
    
}