@media(min-width: 400px) and (max-width: 540px)

{

 

#global

{

            width :100% ;

            padding :0px ;

}

 

#menu-gauche

{

            width :100% ;           

}

 

#contenu

{

            width :80% ;

}

 

}

/* --- GÉNÉRAL --- */

html {
	font-size: 62.5%;
}

body{
    background-image: url('https://delgard.re/img/background.webp');
    font-size: 1.8rem;
    max-width: 1200px;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    margin: 0 auto;
    color: white;
}

h1{
    font-size: 50px;
}

h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 40px;
    padding-top: 80px;
}

.prenom{
    text-align: center;
    font-size: 60px;
    font-family: Montserrat, sans-serif;
    margin-top: 150px;
    margin-bottom: 10px;
}
.citation-intro {
    text-align: center;
    font-size: 2rem;
    font-style: italic;
    color: #ccc;
}


/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Opaque pour plus de visibilité */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 50px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    padding: 10px 15px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: rgb(49, 73, 184); 
}


/* --- ACCUEIL (HERO) & BOUTON CV --- */
.hero {
    height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 50px;
}

.titre-pro {
    font-size: 2.5rem;
    font-style: italic;
    color: rgb(49, 73, 184); /* Couleur accentuée pour le titre pro */
    margin-top: 10px;
}

.container-cv {
    margin-top: 40px;
}

.btn-cv {
    font-family: 'Open Sans';
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 30px;
    border: 4px solid whitesmoke;
    display: inline-block;
    transition: all 0.4s ease 0s;
}

.btn-cv:hover {
    background: rgb(49, 73, 184);
    border-color: rgb(49, 73, 184);
}


/* --- SECTIONS GÉNÉRIQUES --- */
.section-content {
    min-height: 50vh;
    padding: 80px 5% 40px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.6); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}

.section-content:nth-child(even) { /* Pour alterner légèrement les couleurs de fond */
    background-color: rgba(0, 0, 0, 0.75);
}

.presentation, .description {
    text-align: justify;
    max-width: 900px;
    margin: 20px auto;
    line-height: 1.8;
}

.atouts-container {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
}

.atouts-container h3 {
    color: rgb(49, 73, 184);
    font-size: 2rem;
    margin-bottom: 15px;
}

.atouts-container ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.atouts-container li {
    background-color: rgba(49, 73, 184, 0.4);
    padding: 10px 15px;
    margin: 5px;
    border-radius: 20px;
    font-size: 1.6rem;
}


/* --- SECTION PROJETS PHARE --- */
.projects-section {
    background-color: rgba(0, 0, 0, 0.85); /* Plus sombre pour mettre en valeur */
}

.project-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-left: 5px solid #00c1ff; /* Nouvelle couleur d'accent pour les projets */
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    transition: box-shadow 0.3s;
}

.project-card:hover {
    box-shadow: 0 0 20px rgba(0, 193, 255, 0.4);
}

.project-card h3 {
    font-size: 2.6rem;
    margin-top: 0;
    color: #00c1ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.project-card .entreprise {
    font-weight: 500;
    font-style: italic;
    color: #ccc;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.project-card .taches li {
    list-style: square;
    margin-bottom: 8px;
    font-size: 1.7rem;
}


/* --- SECTION COMPÉTENCES --- */
.skills-container {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.skill-category {
    width: 30%;
    min-width: 300px;
    padding: 25px;
    margin: 15px;
    border: 1px solid rgba(49, 73, 184, 0.5);
    border-radius: 5px;
    transition: transform 0.3s;
}

.skill-category:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
}

.skill-category h4 {
    font-size: 2.2rem;
    color: rgb(49, 73, 184);
    margin-bottom: 15px;
    text-align: center;
}

.skill-category p {
    font-size: 1.7rem;
    line-height: 1.5;
}


/* --- SECTION EXPÉRIENCE (Synthétisée) --- */
.experience-section {
    background-color: rgba(0, 0, 0, 0.7);
}

.job-card {
    /* Style simplifié ici pour contraster avec les "project-card" */
    background-color: transparent; 
    padding: 20px 30px;
    border-left: 5px solid #aaa;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    transition: background-color 0.3s;
}

.job-card:hover {
    background-color: rgba(255, 255, 255, 0.03);
    transform: none;
}

.job-card h3 {
    font-size: 2.2rem;
    color: whitesmoke;
}

.job-card .periode {
    font-size: 1.5rem;
    color: #aaa;
    margin-bottom: 10px;
}

.job-card .taches li {
    list-style: disc;
    margin-left: 20px;
    font-size: 1.6rem;
}


/* --- FOOTER & CONTACT --- */
.contact-section {
    text-align: center;
    padding-bottom: 100px;
}

.contact-section p {
    font-size: 1.9rem;
    margin: 10px 0;
}

.contact-btn {
    margin-top: 30px;
}

footer {
    font-size: 1.5rem;
    margin-top:15px;
    text-align:center;
    font-size:13px;
    color:#aaa;
    margin-bottom:0;
    padding: 20px;
    background-color: #000;
}