/* outfit-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/outfit-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* outfit-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/outfit-v15-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* outfit-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/outfit-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* outfit-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/outfit-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

 /* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* Global */ 

:root {
  --background-color: #EDEDFF;
  --secondary-color: #FFFFFF; 
  --third-color: #000000; 
  --fourth-color: #1A0097; 
  --fifth-color: #670E6B; 
  --font-family: "outfit";
}


body {
  background-color: var(--background-color);
  font-family: 'poppins';
}

.container{
  max-width: 120rem;
  margin: 0 auto;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

  @media (max-width:48em) /* 768px / 16 */ {
.container {
    /* Garder des small paddings pour le container afin que le contenu soit bien ajuster */
    padding-left: 1rem; 
    padding-right: 1rem;
}
  } 


/*HEADER*/

header {
  display: flex;
  justify-content: space-between;
  padding-top: 6.9rem;
  padding-bottom: 12rem;
  align-items: center;
}

@media (max-width:48em) /* 768px / 16 */  /* Ajuster le header (logo+nav) en flex column */ {
 header{
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid rgba(255, 255, 255, 1);
  width: 30rem;
 }  
}

.logo {
  border-radius: 30px;
}

.logo:hover {
  filter: drop-shadow(rgba(255, 255, 255, 1));
  transform: scale(1.1)
}

@media (max-width:48em) /* 768px / 16 */ /*  Réduire la taille du logo*/ {
 .logo{
  width: 5rem;
  height: 5rem;
 }  
}

ul li{
  font-size: 1.8rem;
  font-weight: 60rem;
  color: var(--third-color);
  text-decoration: none;
}

@media (max-width:48em) /* 768px / 16 */  /*Réduire la dimension/typo des boutons */ {
ul li{
font-size: 1.5rem;
 }  
}

ul.menu-list {
  display: flex;
  flex-direction: row;
  text-decoration: none;
  gap: 5rem;
  text-transform: uppercase;
  color: var(--third-color);
}


@media (max-width:48em) /* 768px / 16 */ /*  Ajuster le /nav menu en flex column*/ {
 ul.menu-list{
 flex-direction: column;
 justify-content: center;
 align-items: center;
 margin-top: 3rem;
 gap: 2rem;
 
 }  
}


li.menu-button1, li.menu-button2, li.menu-button3 {
  background-color: var(--secondary-color);
  font-weight: 600 ;
  border-radius: 8px;
  padding: 1rem 2.4rem;
  box-shadow: 5px 5px 5px -5px rgba(0, 0, 0, 1);
}


@media (max-width:48em) /* 768px / 16 */ /*  Ajuster le padding des boutons*/ {
 li.menu-button1, li.menu-button2, li.menu-button3{
  padding: 0.5rem 1rem;
 }  
}


li.menu-button1:hover, li.menu-button2:hover, li.menu-button3:hover{
  transform: scale(1.1);
}

.a-list {
  color: var(--third-color);
  text-decoration: none; 
}

.a-list:hover{
  color: var(--fifth-color);
}


a:hover .download {
  transform: scale(1.1);
  filter: invert(13%) sepia(64%) saturate(7464%) hue-rotate(282deg) brightness(84%) contrast(101%);     
}

@media (max-width:48em) /* 768px / 16 */ /* Ajuster la taille du h2 */ {
 .download {
  width: 3rem;
  height: 3rem;
 }  
}



/* MAIN */


.hero {
 text-align: center;
} 

.avatar {
  display: inline;
}

.avatar:hover {
transform: scale(1.1);
}

h1{
  text-transform: uppercase;
  color: var(--fourth-color);
  letter-spacing: 1.2rem;
  align-items: center;
  padding-bottom: 4.1rem;
  text-align: center;
}

@media (max-width:48em) /* 768px / 16 */ /* Ajuster la taille du h1 */ {
 h1{
  font-size: 2.2rem;
  padding-top: 4rem;
 }  
}

h2{
  color: var(--fourth-color);
  font-weight: 600;
  letter-spacing: 0.4rem;
  padding-top: 6rem;
  text-align: center;
}

@media (max-width:48em) /* 768px / 16 */ /* Ajuster la taille du h2 */ {
 h2 {
  font-size: 1.8rem;
  letter-spacing: 0.2rem; 
  padding-top: 2rem;
 }  
}

h3{
  font-family: "poppins";
  text-transform: uppercase;
  padding-bottom: 3.3rem;
}

@media (max-width:48em) /* 768px / 16 */ /* Ajuster la taille du h2 */ {
 h3 {
  font-size: 1.6rem;
 }  
}

.title-welcome {
  padding-top: 4.1rem; 
  font-weight: 600;
  text-align: center;
  font-size: 4rem;
}

p {
  font-weight: 500;
  padding-bottom: 2.5rem;
  text-align: left;
}

@media (max-width:48em) /* 768px / 16 */ /* Ajuster la taille du p */ {
 p {
  font-size: 1.5rem;
 }  
}



/* CARD COMPETENCE TECH/LANGAGES */

ul.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat (2, 1fr); 
  align-self: center;
  justify-self: center;
  background-color: var(--secondary-color);
  padding-top: 8rem; 
  padding-bottom: 8rem; 
  padding-left: 8rem; 
  padding-right: 8rem;
  margin-top: 8rem;
  border-radius: 8px;
  box-shadow:0 15px 30px -11px rgba(0, 0, 0, 1);
  gap: 2rem;
}

 @media (max-width:48em) /* 768px / 16 */ /* Ajuster la liste de compétence en colum*/ {
  ul.card-list {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    padding-top: 3rem ;
    padding-bottom: 3rem;
  }
 }


li.card-logo p {
  align-self: center;
  justify-self: center;
  margin-top: 1.3rem;
  font-family: 'poppins';
  text-transform: uppercase;
  font-size: 1.6rem;

}

 @media (max-width:48em) /* 768px / 16 */ /* Ajuster la taille du p (nom du langage)*/ {
  li.card-logo p {
  font-size: 1.4rem ;
  }
 }

.html {
  background-image: url(../img/HTML\ logo.svg);
  background-size: cover;
  width: 6rem;
  height: 6rem;
  display: block;
}

.css {
  background-image: url(../img/Css.svg);
  background-size: cover;
  width: 6rem;
  height: 6rem;
  display:block;
}

.Js {
  background-image: url(../img/JS\ logo.svg);
  background-size: cover;
  width: 6rem;
  height: 6rem;
  display: block;
}

.wordpress {
  background-image: url(../img/Wordpress.svg);
  background-size: cover;
  width: 6rem;
  height: 6rem;
  display: block;
}

.figma {
  background-image: url(../img/Figma.svg);
  background-size: cover;
  width: 6rem;
  height: 6rem;
  display: block;
}

.php {
  background-image: url(../img/Php.svg);
  background-size: cover;
  width: 6rem;
  height: 6rem;
  display: block;
}

 @media (max-width:48em) /* 768px / 16 */ /* Ajuster la taille des logo de languages*/ {
  .html, .css, .Js, .figma, .wordpress, .php {
  width: 5rem;
  height: 5rem; 
  }
 }


li.card-logo:nth-of-type(1),
.one{
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--secondary-color);
  
}

li.card-logo:nth-of-type(2),
.two{
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--secondary-color);
    
}

li.card-logo:nth-of-type(3),
.three{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--secondary-color);
    
}

li.card-logo:nth-of-type(4),
.four{
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--secondary-color);
    
}

li.card-logo:nth-of-type(5),
.five{
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--secondary-color); 
}

li.card-logo:nth-of-type(6),
.six{
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--secondary-color); 
}

.cv-container{
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

a.cv-link {
  text-decoration: none;
  font-family: "poppins";
  text-transform: uppercase;
  color: var(--secondary-color);
  background-color: var(--fifth-color);
  padding: 1rem 3rem;
  border-radius: 8px;
  margin-top: 4.1rem;
  box-shadow: 5px 5px 5px -5px rgba(0, 0, 0, 1);
  transition: 0.3s ease;
}

a.cv-link:hover {
  background-color: var(--secondary-color);
  color: var(--fifth-color);

}


/* CARDS PROJETS */

.hero-projet {
  display: flex;
  justify-content: space-around;
}

@media (max-width:48em) /* 768px / 16 */ /* Mettre les cards en colonne et centrer les élements */
{
  .hero-projet {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    gap: 3rem; 
  }   
}

.projets-list1, .projets-list2 {
  background-color: var(--secondary-color);
  padding-bottom: 3.6rem;
  text-align: center;
  padding-left: 4rem;
  padding-right: 4rem;
  padding-top: 3rem;
  border-radius: 8px;
  box-shadow: 5px 5px 5px -5px rgba(0, 0, 0, 1);
  margin-top: 4.1rem;
}

@media (max-width:48em) /* 768px / 16 */ /* Ajuster la taille (largeur) des cards et les margins pour que cela occupe une grande partie de l'écran */ {
 .projets-list1, .projets-list2 {
    width: 90%;
    margin-left: auto; 
    margin-right: auto; 
    margin-top: 2rem; 
    }   
}


.btn-details {
  display: flex;
  background-color: var(--fifth-color);
  align-items: center;
  width: 16rem;
  height: 4.7rem;
  justify-content: center;
  border-radius: 8px;
  margin-top: 4.1rem;
  box-shadow: 5px 5px 5px -5px rgba(0, 0, 0, 1);
  margin: 2rem auto 0;
  transition: 0.3s ease;
}

@media (max-width:48em) /* 768px / 16 */ /* Ajuster la taille des boutons "détails" */ {
 .btn-details {
  width: 12rem;
  height: 4rem;
    }   
}

.details {
  text-decoration: none;
  font-family: "poppins";
  text-transform: uppercase;
  color: var(--secondary-color)
}

@media (max-width:48em) /* 768px / 16 */ /* Ajuster la taille de la typo "détails" */ {
 .btn-details {
  font-size: 1.4rem;
    }   
}


.btn-details:hover {
  opacity: 0.5;
}


/* PAGES DES DIFFERENTS PROJETS */

/*  
a.projet1 {
  background-color: var(--fifth-color);
  font-family:'poppins';
  text-decoration: none;
  text-transform: uppercase;
  color: var(--secondary-color);
}*/

/* 
.projet-background-color {
  background-color: var(--secondary-color);
}*/


a.exitbtn {
  display: flex;
  flex-direction: row-reverse;
}

a.exitbtn img {
  transition: 0.3s ease;
}

a.exitbtn:hover img {
  opacity: 0.6;
  transform: scale(1.1);
}

.competences {
  text-align: center;
  margin-top: 4rem;
}
.multiligne-projet{
  white-space: pre-line;
  margin-left: 30rem;
}

@media (max-width:48em) /* 768px / 16 */  /* Ajuster la taille de la description du projet */  {  
.multiligne-projet {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1.4rem;
    }  
}

.projet1 {
  display: flex;
  justify-content: space-around;
}

@media (max-width:48em) /* 768px / 16 */  /* Ajuster la liste projet Desktop/mobile en flex column */  {  
.projet1 {
  flex-direction: column; 
}
}

.projet1-desktop, .projet1-mobile {
  background-color: #FFFFFF;
  padding-bottom: 3.6rem;
  padding-left: 4rem;
  padding-right: 4rem;
  padding-top: 3rem;
  border-radius: 8px;
  box-shadow: 5px 5px 5px -5px rgba(0, 0, 0, 1);
  margin-top: 4.1rem;
  margin-bottom: 2rem;
}

@media (max-width:48em) /* 768px / 16 */  /* Ajuster la liste projet Desktop/mobile en flex column */  {  
.projet1-desktop, .projet1-mobile {
  width: 90%;
  margin-left: auto; 
  margin-right: auto; 
  margin-top: 2rem; 
    }  
}

.projet-version {
  text-align: center;
  color: var(--fourth-color);
}

.btn-projets {
  display: flex;
  background-color: var(--fifth-color);
  align-items: center;
  width: 20rem;
  height: 4.7rem;
  justify-content: center;
  border-radius: 8px;
  margin-top: 4.1rem;
  box-shadow: 5px 5px 5px -5px rgba(0, 0, 0, 1);
  margin: 2rem auto 0;
  gap: 1rem;
}

@media (max-width:48em) /* 768px / 16 */  /* Ajuster les liens vers les projets sites */  {  
.btn-projets {
  width: 16rem;
  height: 4rem;
    }  
}


.btn-projets:hover {
  opacity: 0.5;
}

.projets {
  text-decoration: none;
  font-family: "poppins";
  text-transform: uppercase;
  text-decoration: none;
  color: var(--secondary-color)
}

@media (max-width:48em) /* 768px / 16 */  /* Ajuster la taille de la typo des projets sites*/  {  
.projets {
 font-size: 1.4rem;
    }  
}

/* Mentions légales */

.multiligne{
  white-space: pre-line;
  margin-left: 22rem;
}

@media (max-width:48em) /* 768px / 16 */  /* Enlever la margin left pour pouvoir ajuster le contenu dans la page */  {  
.multiligne {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  text-align: left;  
}
}


/*FOOTER*/

ul.social-media, ul.social-media-projet {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 6rem;
  padding-bottom: 5.5rem;
  padding-top: 22.4rem;
}

@media (max-width:48em) /* 768px / 16 */  /* Ajuster l'espace entre les icones et le padding top*/  {  
ul.social-media, ul.social-media-projet {
  padding-top: 12rem;
  gap: 3rem; 
}
}

.social-media img, .social-media-projet img {
  transition: filter 0.3s ease;
}


@media (max-width:48em) /* 768px / 16 */  /* Ajuster l'espace entre les icones et le padding top*/  {  
.social-media img, .social-media-projet img {
  width: 2.5rem; 
  height: 2.5rem; 
    }
}


.social-media a:hover img {
  filter: invert(10%) sepia(87%) saturate(5426%) hue-rotate(285deg) brightness(85%) contrast(105%);
}

.social-media-projet a:hover img {
   filter: invert(11%) sepia(79%) saturate(7451%) hue-rotate(251deg) brightness(83%) contrast(120%)} ;


