body {
    margin: 40px 60px;
    padding: 0;
    background-color: #F5F3ED;
}

@media (max-width: 768px) {
        body{
            margin: 20px 20px;
        }
    }

@font-face {
  font-family: 'General Sans Variable';
  src: url('Font/WEB/fonts/GeneralSans-Regular.woff') format('woff'),
       url('Font/WEB/fonts/GeneralSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
  font-family: 'General Sans Variable';
  src: url('Font/WEB/fonts/GeneralSans-Italic.woff') format('woff'),
       url('Font/WEB/fonts/GeneralSans-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
}

h1 {
    font-family: 'General Sans Variable', Arial, sans-serif;;
    font-size: 160px;
    font-style: normal;
    font-weight: 400;
    line-height: 170px;
    margin: 0px;
}

h2 {
    font-family: 'General Sans Variable', Arial, sans-serif;;
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 82px;
}

h3 {
    font-family: 'General Sans Variable', Arial, sans-serif;;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px;
}


h4 {
    font-family: 'General Sans Variable', Arial, sans-serif;;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin-top: 10px;
}

h5{
    font-family: 'General Sans Variable', Arial, sans-serif;;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; 
    color: rgba(0, 0, 0, 0.50); 
}

p {
    font-family: 'General Sans Variable', Arial, sans-serif;;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

a{
    font-family: 'General Sans Variable', Arial, sans-serif;;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
    color: black;
}

a:hover {
    transition-duration: 0.3s;
    color: #555; /*Couleur du texte du bouton au survol*/
}
.lien-externe{
    text-decoration: underline;
}
.lien-externe:hover {
    transition-duration: 0.3s;
    color: #555;
}


/*---------------HEADER---------------*/
header{
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0, 100px;
}
.logo img {
    max-width: 100px;
}
.hamburger{
    display: none;
}
.nav-bar ul{
    display: flex;
    list-style: none;
}
.nav-bar ul li a{
    display: block;
    padding: 10px 25px;
    margin: 0 5px;
}
@media (max-width: 768px) {
    .hamburger{
        display: block;
        cursor: pointer;
    }
    .hamburger .line{
        width: 30px;
        height: 2px;
        margin: 6px 0;
        background: #000000;
    }
    .nav-bar{
        height: 0;
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        width: 100vw;
        background: #F5F3ED;
        transition: 0.5s;
        overflow: hidden;
    }
    .nav-bar.active{
        height: 450px;
    }
    .nav-bar ul{
        display: block;
        width: fit-content;
        margin: 80px auto 0 auto;
        text-align: center;
        transition: 0.5s;
        opacity: 0;
    }
    .nav-bar.active ul {
        opacity: 1;
    }
    .nav-bar ul li a{
        margin-bottom: 12px;
        color: #000000;
    }
}


/*------------ELLIPSE------------*/
.ellipse1 {
    width: 300px; /* Largeur de l'ellipse */
    height: 500px; /* Hauteur de l'ellipse */
    background-color: #FD4EB7; /* Couleur de fond de l'ellipse */
    border-radius: 50%; /* Utilisez border-radius pour créer une forme d'ellipse */
    position: absolute; 
    filter: blur(200px);
    opacity: 25%; 
    top: 100px; /* Position en haut de l'élément parent */
    right: 0; /* Position à droite de l'élément parent */
    z-index: -1; /* Placez l'ellipse derrière le contenu */
}
.ellipse2 {
    width: 350px; /* Largeur de l'ellipse */
    height: 600px; /* Hauteur de l'ellipse */
    background-color: #FF5C00; /* Couleur de fond de l'ellipse */
    border-radius: 50%; /* Utilisez border-radius pour créer une forme d'ellipse */
    position: absolute; 
    filter: blur(200px);
    opacity: 20%; 
    left: -50px; /* Position à droite de l'élément parent */
    z-index: -1; /* Placez l'ellipse derrière le contenu */
}



/*------------INTRO------------*/
.intro {
    display: flex;
    align-items: flex-end;
    margin-top: 80px;
    margin-bottom: 200px;
    word-wrap: break-word;
}

.intro-left {
    width: 70%; 
     /*Espacement entre les colonnes*/
}

.intro-right {
    width: 30%; /*Le reste de la largeur*/
}


.btn {
    display: inline;
    text-decoration: underline;
    color: black; 
    font-family: General Sans Variable;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    transition: color 0.3s;
}

.btn:hover {
    color: #555; /*Couleur du texte du bouton au survol*/
}

@media (max-width: 768px) {
    .intro {
        flex-direction: column; /*Colonnes empilées en dessous en mobile*/
        margin-bottom: 80px; 
    }

    .intro-left, .intro-right {
        width: 100%; /*Pleine largeur en mobile*/
    }

    .intro h1 {
        font-size: 80px;
        line-height: 90px; 
    }
}



/*------------COMPETENCES------------*/
.competences {
    text-align: left;
    margin: 20px 0;
}
.competence {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    border-top: 1px solid #000; 
    padding-top: 20px; /*Espacement au-dessus du séparateur*/
}
.competence:first-child {
    border-top: none; /*Supprimer le séparateur pour le premier élément*/
    padding-top: 10px;
}
.competence h3 {
    margin-top: 0px;
    text-align: left;
    width: 30%; /*Largeur fixe pour la version desktop*/
}
.competence p {
    width: 45%; 
    margin: 0;
}

@media (max-width: 768px) {
    .competence {
        flex-direction: column; /*Texte explicatif en dessous du titre H3 en version responsive*/
    }

    .competence h3, .competence p {
        width: 100%; /*Pleine largeur en version responsive*/
    }

    .competences h2{
        width: 100%;
        font-size: 42px; /*Pleine largeur en version responsive*/
    }

    .competence {
        border-top: 1px solid #000; /*Ajout d'un séparateur en version responsive*/
        padding-top: 10px; /*Espacement au-dessus du séparateur en version responsive*/
    }
}


/*------------CITATION------------*/
.citation {
    text-align: left;
    margin: 0;
    padding: 0;
}
blockquote {
    margin: 0;
    margin-top: 120px;
    font-family: General Sans Variable, sans-serif; 
    font-size: 90px;
    line-height: 110px;
}
span.italic {
    font-family: General Sans Variable, sans-serif;
    font-style: italic; /* Style de police normal */
}


/* Media query pour le style réactif */
@media (max-width: 768px) {
    blockquote {
        font-size: 50px;
        line-height: 68px; 
    }
}



/* ---------------PROJETS------------- */
.projets {
    text-align: left;
    margin-top: 200px;
}
.projets-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px; /* Espacement entre les projets */
}

/* Style des projets individuels */
.projet {
    text-align: left;
}
.projet img {
    max-width: 100%;
    height: auto;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.projet:hover img{
    opacity: 70%;
}
.projet h4{
    margin-top: 20px;
    margin-bottom: 0;
}
.projet h5{
    margin-top: 20px;
    margin-bottom: 0;
}
.voir-plus {
    text-align: center;
    margin: 40px;
}

/* Media query pour le style réactif */
@media (max-width: 768px) {
    .projets{
        margin-top: 80px;
    }
    .projets-container {
        grid-template-columns: 1fr; /* Une colonne en version responsive */
    }
    .projets h2{
        width: 100%;
        font-size: 42px; /*Pleine largeur en version responsive*/
    }
}


/* -----------------PARCOURS SCOLAIRE---------------*/
.about {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 200px;
}
.about h3{
    margin-bottom: 8px;
}
.about h5{
    margin-top: 8px;
}
.column {
    width: 30%; /* Ajustez la largeur des colonnes en fonction de vos besoins */
    margin-bottom: 12px;
}
@media (max-width: 768px) {
    .about {
        flex-direction: column; /* Colonnes empilées en dessous en version responsive */
        margin-bottom: 100px;
    }
    .column {
        width: 100%; /* Colonnes pleine largeur en version responsive */
    }
}


/* -----------------SOFT SKILLS--------------*/
.soft-skills {
    display: flex;
    align-items: top;
    margin: 40px 0;
}
.soft-skills-title {
    flex: 1;
    text-align: left;
}
.soft-skills-title h3{
    margin-top: 0;
}
.skills {
    flex: 1;
    text-align: left;
}
.skills h4{
    margin-bottom: 0;
}
.skills h5{
    margin-top: 20px;
}
.separator {
    width: 100%;
    height: 1px;
    background-color: #000;
    margin: 28px 0;
}

.skill {
    margin: 20px 0;
}

@media (max-width: 768px) {
    .soft-skills {
        flex-direction: column;
    }

    .soft-skills-title,
    .skills {
        padding-left: 0;
    }
}


/* -----------------PAGE REALISATION---------------*/
.retour-travaux{
    margin-top: 80px;
}
.intro-real{
    align-items: center;
    text-align: center;
}
.intro-real h3{
    margin: 20px;
}
.intro-real img {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    flex: 1;
    max-width: 590px; /* Largeur maximale pour chaque image */
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Media query pour le style réactif */
@media (max-width: 768px) {
    .retour-travaux{
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .gallery {
        flex-direction: column; /* Empiler les images en mode responsive */
    }

    .gallery-item {
        max-width: 100%; /* Pleine largeur pour les images en mode responsive */
    }
}


/* -----------------FOOTER---------------*/
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Style du logo dans le footer */
.footer-left img {
    max-width: 100px;
}

/* Style du menu du footer */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    display: inline;
    margin-right: 20px;
}


/* Media query pour le style réactif du footer */
@media (max-width: 768px) {

    .footer-container {
        flex-direction: column;
    }

    .footer-left {
        text-align: center;
    }

    .footer-menu {
        margin-top: 20px;
    }

    .footer-right {
        text-align: center;
        margin-top: 20px;
    }
}