/* La page */
html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* En-tête */
header {
    background-color: #111;
    padding: 2.5rem 0; 
}

header .container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: white;
    margin: 0;
    font-size: 1.25rem;
}

header .Nom {
    font-weight: bold;
    color: white;
}

header .prenom {
    color: #04d9d9;
}

header nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.25rem; 
    font-size: 0.875rem; 
}

header nav a:hover {
    color: #04d9d9;
}

/* SECTION ACCUEIL */
.section-accueil {
    padding: 6.25rem 0; 
    text-align: center;
}

.section-accueil .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12.5rem; 
    flex-wrap: wrap;
}

.section-accueil .texte p {
    font-size: 1.875rem; 
    line-height: 1.6;
}

.section-accueil .prenom {
    color: #04d9d9;
    font-weight: bold;
}

.section-accueil .btn {
    display: inline-block;
    background-color: #04d9d9;
    color: white;
    padding: 0.625rem 1.25rem;
    margin-top: 1.25rem;
    text-decoration: none;
    border-radius: 0.3125rem;
    font-weight: bold;
    font-size: 1rem;
}

.section-accueil .btn:hover {
    background-color: #00bfbf;
}

/* SECTION À PROPOS */
.section-a-propos {
    background-color: whitesmoke;
    padding: 5rem 0;
    border-bottom: solid;
    border-left: solid;
    border-right: solid;
}

.section-a-propos .container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.section-a-propos h2 {
    color: #04d9d9;
    font-size: 1.5625rem;
    margin-bottom: 2.5rem; 
    text-align: center;
}

.section-a-propos .prenom {
    color: #00bfbf;
}

.section-a-propos p {
    font-size: 1.25rem; 
    margin: 0.625rem 0;
}

.section-a-propos .devweb {
    color: #04d9d9;
    font-weight: bold;
}

.section-a-propos .moncv {
    display: inline-block;
    background-color: #04d9d9;
    color: white;
    padding: 0.5rem 0.9375rem;
    text-decoration: none;
    border-radius: 0.3125rem; 
    margin-top: 0.9375rem;
    font-weight: bold;
}

.section-a-propos .moncv:hover {
    background-color: #00bfbf;
}

/* Photo de profil */
.section-a-propos .image img {
    border-radius: 50%;
    border: 0.1875rem solid #04d9d9;
}

/* SECTION PROJETS */
.section-mes-projets {
    background-color: white;
    padding: 5rem 0;
    text-align: center;
}

.section-mes-projets h2 {
    font-size: 1.375rem; 
    color: #04d9d9;
    margin-bottom: 1.875rem; 
}

.projets {
    display: flex;
    justify-content: center;
    gap: 1.875rem; 
    flex-wrap: wrap;
}

.projet {
    background: whitesmoke;
    padding: 1.25rem;
    border-radius: 0.625rem; 
    width: 15.625rem; 
    box-shadow: 0 0.25rem 0.625rem rgba(0,0,0,0.05);
    text-align: center;
}

.projet p {
    font-size: 0.875rem;
    margin-bottom: 0.9375rem; 
}

.projet a {
    display: inline-block;
    text-decoration: none;
    background-color: #04d9d9;
    color: #f7f7fb;
    font-weight: bold;
    padding: 0.5rem 1.25rem; 
    border-radius: 0.3125rem;
    transition: 0.3s;
}

.projet a:hover {
    background-color: #00bfbf;
}

/* SECTION COMPÉTENCES */
.section-mes-competences {
    background-color: whitesmoke;
    padding: 3.125rem 0;
    text-align: center;
}

.section-mes-competences h2 {
    font-size: 1.5rem; 
    margin-bottom: 2.5rem; 
    font-weight: 600;
}

.competences {
    display: flex;
    justify-content: center;
    gap: 3.125rem; 
    flex-wrap: wrap;
}

.softskills, .hardskills {
    background: #fff;
    padding: 1.5625rem; 
    border-radius: 0.75rem; 
    box-shadow: 0 0.25rem 0.9375rem rgba(0,0,0,0.05); 
    width: 18.75rem; 
    text-align: left;
}

.softskills h3, .hardskills h3 {
    text-align: center;
    margin-bottom: 1.25rem; 
    font-size: 1.125rem; 
    font-weight: 600;
}

.progress-bar {
    background: #e0e0e0;
    border-radius: 1.25rem; 
    overflow: hidden;
    height: 0.375rem; 
    margin-bottom: 0.9375rem; 
}

.progress {
    background: #04d9d9;
    height: 100%;
    border-radius: 1.25rem; 
}

p {
    margin: 0.3125rem 0; 
    font-size: 0.875rem; 
    font-weight: 500;
}

/* SECTION CONTACT */
#contact {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 3.75rem 1.25rem; 
}

#contact h2 {
    font-size: 1.5rem; 
    margin-bottom: 0.625rem; 
}

#contact h2 span {
    color: #04d9d9;
}

#contact h3 {
    font-size: 1.25rem; 
    font-weight: normal;
    margin-bottom: 1.875rem; 
}

#contact h3 span {
    color: #04d9d9;
}

form {
    max-width: 37.5rem; 
    margin: 0 auto;
}

.ligne {
    display: flex;
    gap: 0.9375rem; 
    margin-bottom: 0.9375rem; 
}

form input, form textarea {
    width: 100%;
    padding: 0.625rem;
    border-radius: 0.5rem; 
    border: none;
    margin-bottom: 0.9375rem; 
    font-size: 0.875rem; 
}

form textarea {
    height: 7.5rem; 
    resize: none;
}

form .btn {
    background-color: #04d9d9;
    color: white;
    border: none;
    padding: 0.75rem 1.5625rem; 
    font-size: 1rem; 
    font-weight: bold;
    border-radius: 0.3125rem; 
    cursor: pointer;
}

form .btn:hover {
    background-color: #00bfbf;
}

nav a.active {
    color: #04d9d9;
    font-weight: bold;
}

/* PIED DE PAGE */
footer {
    background-color: whitesmoke;
    color: #111;
    display: flex;
    justify-content: space-between;
    padding: 0.9375rem 1.25rem; 
    font-size: 0.875rem; 
}

footer span {
    color: #04d9d9;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .section-accueil .container {
        flex-direction: column;
        gap: 2rem;
    }

    .projets {
        flex-direction: column;
        align-items: center;
    }

    .competences {
        flex-direction: column;
        gap: 2rem;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
