*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

ul li::before {
  content: "";
  width: 16px;
  height: 16px;

  background-color: currentColor;

  mask: url("SVG/puce.svg") no-repeat center / contain;
  -webkit-mask: url("SVG/puce.svg") no-repeat center / contain;

  flex-shrink: 0;
  margin-top: 4px;
}

a{
    text-decoration: none;
    color: var(--color-text);
}

html, body {
  overflow-x: hidden;
}

/* ------------------------------ */

:root{
    --color-background : #F6F1EA;
    --color-background-button :#B1B2D0 ; 
    --color-background-mauve-claire: #C9CADF;
    --color-background-highlighting: #313252 ;
    --primary-color : #00D56A;
    --color-text : #222339;
    --color-backgrounf-green : #00391D;

}

/* #region --------------------------------------------------------------------- FONTS */

@font-face {
    font-family: 'Barlow';
    src: url('./FONT/Barlow/Barlow-Medium.ttf') format('truetype');
    font-weight: 500;
  }

@font-face {
    font-family: 'Barlow';
    src: url('./FONT/Barlow/Barlow-Bold.ttf') format('truetype');
    font-weight: 700;
  } 

@font-face {
font-family: 'Spicy_Rice';
src: url('./FONT/Spicy_Rice/SpicyRice-Regular.woff2') format('truetype');
font-weight: 400;
font-style: normal;
}

/* #endregion */

/* #region --------------------------------------------------------------------- STRUCTURE */
body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: "Barlow";
}

main{
    width: 100%;
    margin: 0 auto;
}


#main-container {
    font-family: "Barlow";
    font-weight: 500;
    overflow: hidden;
}

.primary_button{
    padding-top: 8px;
    padding-bottom: 8px;
    background: var(--color-background-button);
    color: var(--color-text);
    border-radius: 100px;
    font-family: "Spicy_Rice";
    letter-spacing: 0.05rem;
    font-weight: 700;
    font-size: 16px;
    width: auto;
    height: auto;
    text-align: center;
    border: 0rem;
}

.primary_button:hover{
    background-color: var(--color-background-highlighting);
    color: var(--color-background);
}

.button_text{
    color: var(--primary-color);
    font-size: 20px;
    font-family: "Spicy_Rice";
    letter-spacing: 0.05rem;
    font-weight: 700;
    border: 0px;
    background-color: rgb(117 190 218 / 0%); 
}

.button_text:hover{
    color: var(--color-text);
}

button.primary_button{
    width: 100%;

}

h3 {
    font-family: 'Spicy_Rice';
    font-weight: 400;
    letter-spacing: 0.05rem;

}

h1{
    font-family: 'Spicy_Rice';
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 0.10rem;
}

h2{
    font-family: 'Spicy_Rice';
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 0.10rem;
}

section{
    display: flex;
    flex-direction: column;
    margin: 24px;
}

.section{
    margin-top: 3rem;

}

/* #endregion */

/* #region ----------------------------------- Modal visible uniquement en vue mobile lorsqu'on ouvre le menu burger */
.menu-modal {
    font-family: 'Barlow';
    position: fixed;
    font-weight: 500;
    height: 100vh;
    width: 93vw;
    border-radius: 1rem;
    position: fixed;
    display: none;
    background-color: var(--color-text);
    z-index: 2;
}

.menu-modal nav {
   height: 100%;
}

.menu-modal nav ul{
    list-style-type: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    font-size: 23px;
    font-weight: 700;
    text-transform: uppercase;
}

.menu-modal a:hover::after{
    content: "-";
    margin-left: .25em;
}

.menu-modal a:hover::before{
    content: "-";
    margin-left: .25em;
}

body.menu-open{
    overflow: hidden;
}

.menu-modal ul li::before{
    content: none;
}

.menu-modal a{
    color: var(--color-background);
    font-family: 'Spicy_Rice';
    letter-spacing: 0.05rem;
    font-size: 22px;
}

/* #endregion */


/* #region -------------------------------------------------------------------- NAV */
.primary_header{
    display: flex;
    padding: 1vh;
    justify-content: space-between;
    align-items: center;
}

.primary_header nav {
    display: none;
}


@media (min-width: 740px){
    .primary_header nav {
        font-size: 16px;
        font-weight: 700;
        display: block;
        width: 600px;
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .primary_header nav ul {
        list-style-type: none;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}


#main-container a {
    color: var(--color-background);
    font-family: 'Spicy_Rice';
    letter-spacing: 0.05rem;
    font-size: 22px;
}

#main-container a:hover{
    color: var(--primary-color);
}

#main-container a.primary_button {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 2rem;
    padding-right: 2rem;
    color: var(--color-text);
    }

#main-container a.primary_button:hover{
    color: var(--color-background);
    background-color: var(--color-background-highlighting);
}

#main-container li::before {
    content: none;
}

.primary_header .logo {
    height: 3rem;
    color: var(--color-background);
    width: auto;
    margin-top: 12px;
    margin-left: 6px;
}


.primary_header .logo:hover{
    opacity: 0.7;
}

.burger-container {
    height: 20px;
    width: 20px;
    z-index: 2;
    margin-right: 20px;
}


.burger-layers {
    height: 20px;
    width: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: absolute;
}

.burger-layers .first-layer {
    transform-origin: 0% 0%;
    transition: transform 0.25s ease-in-out;
}

.burger-layers .second-layer {
    transition: transform 0.25s ease-in-out;
}

.burger-layers .third-layer {
    transform-origin: 0% 100%;
    transition: transform 0.25s ease-in-out;
}

.burger-layers div {
    height: 3px;
    width: 20px;
    background-color: var(--color-background);
    border-radius: 10px;
}

.burger-menu {
    height: 20px;
    width: 20px;
    position: absolute;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.burger-menu:checked ~ .burger-layers .first-layer {
    transform: rotate(45deg);
}

.burger-menu:checked ~ .burger-layers .second-layer {
    transform: scaleY(0);
}

.burger-menu:checked ~ .burger-layers .third-layer {
    transform: rotate(-45deg);
}

/* #endregion */

/* #region -------------------------------------------------------------------- BLOCKS */

header.secondary-header{
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 24px;
}

.secondary-header {
    display: flex;
    flex-direction: column;
}

.hero {
    background-color: var(--color-text);
    border-radius: 1rem;
    margin: 16px;
}



header .strong{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

header .titles {
    display: flex;
    flex-direction: column;
    color: var(--color-background);
}

header .titles * {
    text-align: center;
}

header .titles h1 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-style: normal;
    font-weight: 700;
    text-align: left;
}

header .titles h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-style: normal;
    font-weight: 700;
    text-align: left;
}

header .titles h3 {
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    color: var(--primary-color);
    font-family: 'Spicy_Rice';
    letter-spacing: 0.05rem;
    text-align: left;
    margin-bottom: 2rem;
    
}



.name {
    font-weight: 700;
    font-size: 34px;
    transform: rotateZ(-6deg);
    margin-bottom: 1.3rem;
}


.secondary-header p {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    margin-bottom: 2rem;
    color: var(--color-background);

}

.secondary-header .description {
    text-align: right;
    font-size: 14px;
}

.secondary-header button {
    margin-top: auto;
}
/* #endregion */

/* #region -------------------------------------------------------------------- PORTFOLIO */
section.projects{
    margin-top: 64px;
    max-width: 1048px;
}

.section-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1rem;
    align-items: center;

}

.projects > p:first-of-type {
  margin-bottom: 2rem;
}

.projects h3 {
    margin-bottom: 0rem;

}

h4.tag{
    color: var(--color-text);
    font-family: "Barlow";
    font-size: 1rem;
    letter-spacing: 0;
}

.tag{
    background-color: var(--primary-color);
    border-radius: 2px;
    padding-bottom: 4px;
    padding-top: 4px;
    padding-left: 6px;
    padding-right: 6px;

}


.projects p {
    margin-bottom: 0rem;

}

.projects article{
    flex: 1; 
    height: auto;
    width: 100%;
    margin-bottom: 2rem;

}

.projects article a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

article img {
    display: block;
    width: 100%;
    height: auto; 
    border-radius: 1rem 1rem 0rem 0rem;
}



.projects .portfolio article {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
}

.projects .portfolio article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.container-text{
    flex: 1;
    background-color: #fff;
    border-radius: 0 0 1rem 1rem;
    padding-left: 0.625rem;
    padding-right: 0.625rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* h3{
    margin-top: 4.375rem;
    font-family: 'Rubik';
    font-weight: 700;
    font-size: 34px;
    margin-bottom: 2.25rem;
} */

.color_text{
    color: var(--primary-color);
}

.title-project{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-bottom: 0.875rem;
    justify-content: space-between;
}

article h3,article h4{
    font-family: 'Spicy_Rice';
    letter-spacing: 0.10rem;
    font-weight: 400;
    display: flex;
    align-items: center;

}

article h3 {
    margin-top: 0rem;
    font-size: 24px;
    text-align: left;
    margin-bottom: 0rem;
}

article h4{
    font-size: 20px;
    text-align: right;
}

p{
    font-size: 16px;
}
/* #endregion */

/* #region -------------------------------------------------------------------- CONTACTEZ-MOI */

.contact{
    background-color: var(--color-text);
    border-radius: 1rem;
    padding-bottom: 2rem;
    padding-top: 2rem;
    margin-bottom: 3.75rem;
}

.container-contact{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1048px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
}

.contact .primary_button{
    align-self: flex-end;

}



.contact h2{
    color: var(--primary-color);
}

.contact h3{
    color: var(--primary-color);
    letter-spacing: 0.05rem;
    text-align: right;
    font-size: 20px;
}

.contact p{
    color: var(--color-background);
}
/* #endregion */

/* #region -------------------------------------------------------------------- A PROPOS DE MOI */

.about-me{
    max-width: 1048px;
    padding: 24px;
    margin-left: auto;
    margin-right: auto;
}

.clique-ici {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.clique-ici {
    position: relative;
}

.arrow {
    position: absolute;
    left: 50px; /* ajuste selon ton design */
    top: 26%;
    transform: translateY(-50%);
}

h4{
    position: relative;
}

.button-clique-ici {
    position: relative;
    float: right;
    right: -5rem;
}

.MLB-picture-container {
    position: relative;
    height: 150px;
}

#MLB-picture-container.opened .MLB-picture {
    transform: translateY(-150px);
}

.MLB-picture {
    height: 150px;
    width: 170px;
    position: absolute;
    top: 0px;
    right: 15px;
}

a.MLB-picture-button.primary_button {
    display: flex;
    justify-content: center;
    width: 180px;
}
/* #endregion */

/* #region -------------------------------------------------------------------- EXPÉRIENCE & FORMATION*/

.experiences_formation {
    display: flex;
    gap: 3.5rem;
}

.experiences_formation li {
    position: relative;
    background: var(--color-background);
    border: 3px solid var(--color-text);
    box-shadow: -2px 2px 0px var(--color-text);
    border-radius: 30px;
    padding: 1.25rem;
    padding-left: 2.5rem;
    margin-bottom: 3.5rem;
    margin-left: 2.875rem
}

.experiences_formation h4 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 0.375rem;
}

.experiences_formation p{
    margin-top: 1.5625rem;
    margin-bottom: 1.5625rem;
    font-weight: 500;
    font-size: 16px;
}

.experiences_formation .date {
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
    position: absolute;
    background-color: var(--primary-color);
    border: 3px solid var(--color-text);
    border-radius: 50rem;
    width:5rem;
    height:5rem;
    text-align:center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    left: -50px;
    top: 83px;
  
}

.experiences_formation .job{
    font-weight: 700;
    font-size: 16px;
}

.experiences_formation .lieu{
    font-weight: 700;
    font-size: 16px;
    text-align: right;
}
/* #endregion */

/* #region -------------------------------------------------------------------- COMPÉTENCES*/
.veille {
    background:url(SVG/Icones/veille.svg) no-repeat;
    background-position: left center;
    padding-left: 20px;
    text-align:center;
    font-weight:bold;
}
/* #endregion */

/* #region -------------------------------------------------------------------- PAGE PROJET */

.hero_vert{
    margin: 16px;
    border-radius: 1rem;
    background-color: var(--color-backgrounf-green);
}

section.gallery{
    display: flex;
    flex-direction: column;
    max-width: 1048px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
}

.gallery article{
    flex: 1; 
    height: auto;
    width: 100%;
    margin-bottom: 2rem;
}

.background{
    background-image: url("SVG/header-projects.svg");
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: auto 280% ;
    height: 100%;
    width: auto;
    padding-bottom: 5rem;

}

.gallery > h3:first-of-type {
    margin-top: 1rem;
}

.gallery article a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery > p:first-of-type {
    margin-bottom: 2rem;
}

article.section-tag{
    padding: 0;
}

section.section-fonctionnalité{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1048px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--color-background);
    padding: 24px;
    border-radius: 0;
    margin-bottom: 3.75rem;
}

section.section-fonctionnalité  .star li{
    color: var(--color-text);
}

section.section-fonctionnalité  h3{
    color: var(--color-text);
}

section h1 {
    margin-left: auto;
    margin-right: auto;
}

.second-section{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1048px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
    margin-bottom: 3.75rem;

}

.second-section img {
    width: 100%;
}

.header-section-fond{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 24px;
    margin-bottom: 3.75rem;
    margin: 0 auto;

}

.title-content{
    margin-bottom: 1rem;
}



/* #endregion */

/* #region -------------------------------------------------------------------- UN PROJET */

.section-puce{
    max-width: 1048px;
    margin: 0 auto;
    padding: 24px;
}

.section{
    max-width: 1048px;
    margin: 0 auto;
    padding: 24px;
}



.header_projet{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1048px;
    margin: 0 auto;
    padding: 24px;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.image-container{
   overflow: hidden;
}

img.cover{
    width: 180%;
    display: block;
    margin: auto;
}

.header_projet img{
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    background: var(--primary-color);
    border-radius: 2px 2px 0px 0px;
    border: 3px solid var(--color-text);
}

.header_projet h1 {
    text-align: center;
    margin-bottom: 0rem;
    margin-bottom: 1rem;
}

.header_projet h2 {
    text-align: center;
    margin-bottom: 0rem;
}

.header_projet h4 {
    text-align: center;
}


.section-fond > ul > li::before {
    content: none;
}

.section-fond > ul {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 24px;
}


.section-fond{
    background-color: var(--color-text);
    border-radius: 1rem;
    margin-bottom: 3.75rem;
    margin-left: auto;
    margin-right: auto;
}

.section-fond h3{
    color: var(--color-background);
}

.section-fond article {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-fond .project-infos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-fond .project-infos dt {
    width: 40%;
}

.section-fond p{
    color: var(--color-background);
}

.section-fond dt{
    color: var(--color-background);
}

.info-item{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding-bottom: 1rem;
}

.info-title{
    width: 100px;
}

.section-fonctionnalité{
    background-color: var(--color-background-highlighting);
    padding: 1rem;
    border-radius: 1rem;
    width: 100%;
}

.section-fonctionnalité h2{
    color: var(--primary-color);
}

.star{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--color-background);
}

.star ul li {
    display: flex;
    align-items: flex-start;
    gap: 1px;
}

.star li{
    color: var(--color-background);
}

.section .star {
    color: var(--color-text);
}

.tags{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}


.tags li {
    background-color: var(--primary-color);
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 5px;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
}

.section-tag{
    margin-top: 2rem;
}

.section-tag > ul > li::before {
  content: none;
}

.steps-list ul li::before{
    color: var(--color-text);
}

.steps-list h4{
    letter-spacing: 0.05rem;
}

.steps-list li img{
    margin-bottom: 1rem;

}

.steps-list article {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-puce{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3.75rem;
}

.section-puce .star li{
    color: var(--color-background-highlighting);
}

.main_project section.projects {
    margin-top: 0rem; 
}
/* #endregion */

/* #region -------------------------------------------------------------------- COULEUR PROJET */


/*VERT*/
.body_vert section.section-fond{
    background-color: var(--color-backgrounf-green);
}

.body_vert .section-fonctionnalité {
    background-color: #006030;
}

.body_vert .contact{
    background-color: var(--color-backgrounf-green); 
}

.body_vert footer{
    background-color: var(--color-backgrounf-green); 
}

.hero_vert #main-container a.primary_button {
    background-color: var(--primary-color);
    color: var(--color-backgrounf-green);
}

.hero_vert #main-container a.primary_button:hover{
    background-color: #006030;
    color: var(--color-background);
}

/*MAUVE CLAIR*/


.hero_mauve{
    margin: 16px;
    border-radius: 1rem;
    background-color: var(--color-background-mauve-claire);
}

.hero_mauve #main-container a.primary_button{
    color: var(--color-background);
    background-color: var(--color-text);
}

.hero_mauve #main-container a.primary_button:hover{
    color: var(--color-text);
    background-color: var(--color-background-button);
}

.hero_mauve  #main-container a{
    color: var(--color-background-highlighting);
}

.hero_mauve header .titles h3{
    color: var(--color-background);
}

.hero_mauve .secondary-header p{
    color: var(--color-text);
}

.hero_mauve header .titles h1 {
    color: var(--color-text);
}

.hero_mauve header .titles h2 {
    color: var(--color-text);
}


/* #endregion */

/* #region  ------------------------------------------------------------------- FOOTER */

footer {
    background-color: var(--color-text);
    padding-top: 4rem;
}

footer .hide_me{
    visibility: hidden;
}

.extern-links li:hover img {
    opacity: 0.7;
}

.intern-links li a:hover{
    color: var(--primary-color);
}

.intern-links li {
    font-family: 'Spicy_Rice';
    letter-spacing: 0.05rem;
    font-weight: 700;
    font-size: 16px;
}


ul.extern-links li::before{
    content: none;
}

ul.intern-links li::before{
    content: none;
}

.external-links img{
  width:40px;
  height:auto;
}

footer .extern-links {
    display: flex;
    justify-content: space-evenly;
    padding: 30px 0 40px 0;
}

footer .intern-links {
    display: flex;
    flex-direction: column;
    height: 150px;
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 30px;
}

footer p {
    border-top: 3px solid var();
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-background);
}

footer a {
    color: var(--color-background);
}

footer img {
    color: var(--color-background);
}
/* #endregion */

/* #region  ------------------------------------------------------------------- Page A propos */

.hero_clair {
    background-color: var(--color-background-button);
    border-radius: 1rem;
    margin: 16px;

}

.hero_clair #main-container a.primary_button{
    color: var(--color-background);
    background-color: var(--color-text);
}

.hero_clair #main-container a.primary_button:hover{
    color: var(--color-text);
    background-color: var(--color-background-mauve-claire);

}

.hero_clair  #main-container a{
    color: var(--color-background-highlighting);
}

.hero_clair header .titles h3{
    color: var(--color-background);
}

.hero_clair .secondary-header p{
    color: var(--color-text);
}

.hero_clair header .titles h1 {
    color: var(--color-text);
}

.hero_clair header .titles h2 {
    color: var(--color-text);
}

.about-me-container {
    display: flex;
    flex-direction: column;
}


section.texte {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1048px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    padding: 24px;
}

.competences {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1048px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
}

li.competence::before{
    content: none;
}

li.en_dehors::before{
    content: none;
}

figure.competence__icon{
    margin: auto;
    display: flex;
    justify-content: center;
}

ul.competences__list{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.competence {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 1rem;
    padding: 1rem;
    gap: 0.5rem;
}

h2.text-right{
    text-align: right;
}

ul.en_dehors_design_list{
    margin-top: 40px;
}

.en_dehors{
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

h3#en_dehors_design-title{
    text-align: center;
}

li.en_dehors h4{
    order: 1;
  }

  li.en_dehors figure{
    order: 2;
  }

  li.en_dehors p{
    order: 3;
  }

  .en_dehors_design_list h4{
    font-family: 'Spicy_Rice';
}

    section.en_dehors_design{
    max-width: 1048px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
  }

    .en_dehors_design_list figure {
        margin-left: auto;
        margin-right: auto ;
    }

    .en_dehors_design_list img {
        width: 100%;
    }

    div.container-text{
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    figure.competence__icon img{
        width: 100%;
    }



/* #endregion --------------- Page A propos */

/* #region  ------------------------------------------------------------------- RESPONSIVE 740px */
@media (min-width: 740px){
    .burger-container {
        display: none;
    }

    .secondary-header button{
        visibility: hidden;
    }

}
/* #endregion */

/* #region  ------------------------------------------------------------------- RESPONSIVE 768px */
@media (min-width: 768px) {
    
    /* #region STRUCTURE */

    

    img.cover{
    width: 120%;}


    .main_projet{margin-top: 26rem;}

    button{font-size: 20px;}

    h1 { 
        font-size: 60px;
        margin-top: 0px;
    }

     h2 { 
        font-size: 50px;
        margin-top: 0px;
    }

    h4 {
        font-size: 30px;
    }

    header .titles h3 {
        font-size: 30px;
        letter-spacing: 0.10rem;
        
    }

    h3{font-size: 30px}

    p{font-size: 22px;}

    button.primary_button {
    width: 16%;
    }

    .contact h3 {
    font-size: 30px;
    }
    /* #endregion */

    /* #region  BLOCKS */

    header .titles {font-size: 30px;}

    .name {
        font-size: 60px;
        margin-bottom: 2.3rem;
    }

    .secondary-header{
        align-items: center;
    }

    .secondary-header p{
        font-size: 25px;
    }

    .secondary-header .description {
        font-size: 18px;
    }

    .secondary-header img{
        width: 50%;

    }

    /* #endregion */

    /* #region PORTEFOLIO */
    .portfolio{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .portfolio p {font-size: 16px;}

    article h3{font-size: 16px;}

    article h4{font-size: 18px;}

    /* #endregion */

    /* #region ABOUT ME */

    .arrow {
        left: 5px; /* ajuste selon ton design */
        top: 26%;
    }

    .button-clique-ici {
        right: -2rem;
    }

    .MLB-picture {
        top: 0px;
        right: 15px;
    }

    .clique-ici{
        width: 50%;
    }

    .clique-ici h3{font-size: 20px; }

    .presentation {
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }

    .presentation p {
        width: 50%;
    }
    /* #endregion */

    /* #region  PROJETS */

    .header_projet{
        margin-bottom: 3rem;
        gap: 6rem;
    }


    .header_projet img{
        height: 25rem;
    }

    .title_sous-projet{
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .section{
        display: flex;
    }

    .section img{
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
        height: auto;
    }


    .info-title{
        font-size: 25px;
        width: 150px;
    }

    dd{
        font-size: 25px;
    }

    dt{
        font-size: 22px;
    }

    .tags li{
        font-size: 22px;
    }

    .star li {
        font-size: 22px;
    }

    section-fond p{
        font-size: 22px;
    }

    article h3{
        font-size: 30px;
    }

    .steps-list h4{
        font-size: 25px;
    }
    /* #endregion */

    /* #region  FOOTER */

    .header_footer{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        margin-top: 5rem;
        margin-bottom: 5rem;
    }

    footer .hide_me{
        visibility: visible;
    }
    
    footer .extern-links{
        gap: 2rem;
        align-items: center;
    }

    footer p {font-size: 16px;}
    /* #endregion */
}

/* #endregion */

/* #region  ------------------------------------------------------------------- RESPONSIVE 800px */
@media (min-width: 800px){



    


    section.texte{
        margin-bottom: 4rem;
    }
}
/* #endregion */

/* #region  ------------------------------------------------------------------- RESPONSIVE 1048px */
@media (min-width:1048px){
    /* Page à propos */

    ul.competences__list{
        display: grid;
    }

    .competences__list{
    grid-template-columns: repeat(6, 1fr);
  }

    .competence{
        grid-column: span 2;
    }

    .competence--featured{
        grid-column: span 2;
    }

    .competence--half{
        grid-column: span 3;
    }

    .hero {
    margin: 24px;
    }

    .hero_vert{
    margin: 24px;
    }

    .hero_clair {
        margin: 24px;
    }
    
    .hero_mauve{
        margin: 24px;
    }
}
/* #endregion */

/* #region  ------------------------------------------------------------------- RESPONSIVE 1150px */
@media (min-width: 1150px) {

    section.projects{
    max-width: 1048px;
    margin-left: auto;
    margin-right: auto;
}

    .title-content{
    width: 1048px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

    .MLB-picture-container { 
        overflow: hidden; 
        position: relative; 
        height: 150px; 
    }

    .arrow {
        left: 85px; /* ajuste selon ton design */
        top: 26%;
    }

    .button-clique-ici {
        right: -7rem;
    }

    .MLB-picture {
        top: 0px;
        right: 15px;
    }

    .secondary-header {
        display: flex;
        flex-direction: row;
        margin-left: 6vh;
        margin-right: auto;
        padding-left: 0px;
        padding-right: 0px;
    }

    .secondary-header img{
        width: 100%;

    }
    
    header p {
        font-size: 25px;
    }

    .secondary-header .description{
        font-size: 20px;
    }

    .primary_header .logo {
        height: 5rem;
        margin-top: 25px;
        margin-left: 25px;
    }

    /* PORTFOLIO */

    article h4{font-size: 24px;}

    /* PROJETS */

    .general-project{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .section-fond > ul{
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 colonnes */
        gap: 2rem;
        list-style: none;
        max-width: 1048px;
        margin: 0 auto;
    }


    .section-fond ul li:nth-child(3) {
    grid-column: 1 / -1;
    }

    .section-tag{
        max-width: 1048px;
        margin: 0 auto;
        padding-left: 0px;
        padding-right: 0px;
        padding: 24px;
    }


    .group-row{
        display: flex;
        flex-direction: row;
        justify-content: space-between;

    }

    ul.star{
        margin-top: auto;
        margin-bottom: auto;

    }

     .en_dehors{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: start;
    }

    .en_dehors h4,
    .en_dehors p{
        grid-column: 1;
    }

    .en_dehors figure{
        grid-column: 2;
        grid-row: 1 / span 2;
    }
    
    .en_dehors:nth-child(even) h4,
    .en_dehors:nth-child(even) p{
    grid-column: 2;
    }

    .en_dehors:nth-child(even) figure{
    grid-column: 1;
    }


    li.en_dehors h4, li.en_dehors figure , li.en_dehors p{
        order: 0;
    }

    .en_dehors_design_list h4{
    font-family: 'Spicy_Rice';
    align-self: end;
    }

    .en_dehors_design_list img {
        width: 150%;
    }

    .en_dehors:nth-child(odd) .en_dehors__icon img{
    transform: translateX(20%);
    }

    .en_dehors:nth-child(even) .en_dehors__icon img{
    transform: translateX(-50%);
    }  
    
    .header-section{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .header-section p {
        max-width: 500px;
    }

    .header-section-fond{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 1048px;

    }

    .header-section-fond p {
        max-width: 700px;
    }




}

/* #endregion */

/* #region -------------------------------------------------------------------- RESPONSIVE 1440px */
@media (min-width: 1440px) {


    .main_projet {margin-top: 30rem;}

    img.cover{
    width: 100%;}

    section.texte{
        margin-bottom: 6rem;
    }


    /* BLOCKS */
    .secondary-header p{
        font-size: 25px;
    }

    .secondary-header img{
        max-width: 500px;
    }



    /* PORTEFOLIO */
    .portfolio{gap: 2.4rem;} 

    footer {
        background-position: left top;
        background-size: auto 157%;
        height: 100%;
        width: auto;
        padding-top: 6rem;
    }

    /* PAGE PROJETS*/
    .background{
    background-image: url("SVG/header-projects.svg");
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: auto 260% ;
    height: 100%;
    width: auto;
    padding-bottom: 15rem;
}

}
/* #endregion */

/* #region -------------------------------------------------------------------- RESPONSIVE 1980px */
@media (min-width: 1980px) {



    .header_projet{
        padding-left: 0;
        padding-right: 0;
    }

    footer {
        background-position: left top;
        background-size: auto 200%;
        height: 100%;
        width: auto;
        padding-top: 7rem;
    }

}
/* #endregion */