@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');



html, body{
	font-size:18px;
	color: #dfdfdf;
	background-color: #9cc8f3; 
	scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  width: 100%;
  overflow-x: hidden; /* Empêche le défilement horizontal */
}


.container {
  max-width: 100% !important;
  z-index: 3;
}



@font-face {
  font-family: Lato;
  src: url(../Lato.ttf);
}

a {
  color: #fff;
}


section{
	padding-top: 3rem;
	padding-bottom: 3rem;
}

/* Section 1 (fixée en haut) */
.section-1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60vh;
  align-content: center;
  z-index: 1;
  background-color: #9cc8f3;
}

/* Section 2 (avec marge supérieure égale à la hauteur de .section-1) */
.section-2 {
    position: relative;
    margin-top: calc(35% - -70px);
    z-index: 3;
    padding: 1vh 3vh 10vh 3vh !important;
    background-color: #549ef9;
}

.separator-cc {
  position: absolute;
  width: 110%;
  height: 46vh;
  top: 0%;
  left: -5%;
  background: rgb(84 158 249);
  transform: rotate(-5deg);
  transform-origin: top left;
  overflow: hidden;
  box-shadow: 0px -20px 30px rgb(84 158 249 / 40%);
}

/* Sections 3 et 4 */
.section-3 {
    background-color: #9cc8f3;
    z-index: 2;
    position: relative;
}

.section-4 {
    background-color: #9cc8f3;
    padding: 0.2rem;
    z-index: 2;
}


.separator-c {
  position: absolute;
  width: 110%;
  height: 46vh;
  bottom: -5%;
  background: rgb(84 158 249);
  transform: rotate(5deg);
  transform-origin: top left;
  overflow: hidden;
  box-shadow: 0px 20px 30px rgb(84 158 249 / 40%);
}


@keyframes blink {
  0%, 100% {
      border-right-color: transparent;
  }
  50% {
      border-right-color: #549ef9;
  }
}

.typing {
  border-right: 2px solid #549ef9;
  white-space: nowrap;
  overflow: hidden;
  animation: blink 0.7s steps(1) infinite;
}


.centertop {
  padding-top: 17px;
}
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto; /* Ou une hauteur fixe si nécessaire */
    z-index: 2;
}

a.nav-item {
	color: #ffffff;
}

a.nav-item:hover {
	color: #2561aa;
}

.discord {
	color: #fff;
	width: 16px;
	filter: invert(100%);
	padding-top: 5px;
	background-image: url('assets/img/discord.svg');
}

.discord:hover {
	color: #fff;
	width: 16px;
	filter: #00d1b2;
	padding-top: 5px;
}

.avatar{
	height:230px;
	border-radius: 50%;
}

.intro-description{
	padding-top: 1rem;
}

.social-container img{
	max-width:100%;
	max-height:175px;
	margin-bottom:15px;
}

.project-figure {
	margin: 0 auto 1rem auto;
	max-height: 256px;
	max-width: 256px;
}

.project-text {
	text-align: justify;
}

p.project-description {
  font-size: 0.89rem;
  padding: 2vh;
  height: 17vh;
  align-content: center;
}



/* Container de la ligne */
.row {
  display: flex; /* Flexbox pour créer des colonnes */
  width: 100%; /* Occupe toute la largeur de la section */
}

.left-column {
  flex: 7;
  padding: 0 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

/* Colonne droite */
.right-column {
  flex: 4; /* Prend 4 parts de l'espace total (30%) */
  display: flex;
  align-items: center; /* Centre le contenu verticalement */
  justify-content: center; /* Centre l'image horizontalement */
}

/* Image dans la colonne droite */
.profile-image {
  max-width: 100%;
  height: auto;
  z-index: 3;
}

/* Pour rendre la disposition responsive */
@media (max-width: 768px) {
  .row {
      flex-direction: column; /* Empile les colonnes verticalement sur les écrans plus petits */
  }
  .left-column, .right-column {
      padding-right: 0; /* Supprime le padding sur les écrans petits */
      padding-left: 0 !important;
  }
  .profile-image {
      width: 70%; /* Réduit la taille de l'image sur les écrans plus petits */
  }
  .section-2 {
    margin-top: 80vh;
  }
  span#portfolio {
    display: block;
    height: 2rem;
  }
  .s-pagewrap {
    top: initial !important;
    bottom: 0;
}
}


.box {
	background-color: transparent;
	border: 2px solid rgba(7, 59, 79, 0.5);
}

.title {
	color: #fff;
	text-align: left;
	margin-bottom: 2rem;
	margin-top: 5rem;
}

.subtitle {
	color: white;
	text-align: left;
	margin-bottom: 2rem;
	margin-top: 5rem;
	font-size: 15px !important;
}

i.fas.fa-quote-left {
  transform: translate(0, -5px);
  color: #549ef9;
}

.bigicon  {
  font-size: 10vh;
  color: white;
}

.void-background {
	background-color: transparent; 
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
  grid-gap: 2rem; /* Espacement entre les boîtes */
  margin-top: 2rem;
  grid-auto-flow: dense; /* Permet à de nouvelles boîtes de remplir les espaces disponibles */
}

/* Style de chaque catégorie */
.category-box {
  background: #ffffff10; /* Boîte légère pour démarquer chaque catégorie */
  padding: 1.5rem;
  border-radius: 8px;
}

.category-title {
  text-align: center;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #fff;
}

/* Grille interne de chaque catégorie */
.category-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* 3 colonnes maximum, ajustées automatiquement */
  grid-gap: 1rem; /* Espacement entre les icônes à l'intérieur de chaque boîte */
  justify-items: center;
  align-items: center;
}

.skill-item .bigicon {
  font-size: 4rem; /* Taille des icônes */
  transition: transform 0.3s ease;
}

.skill-item .bigicon:hover {
  transform: scale(1.1); /* Effet de zoom au survol */
}

/* Responsive Design */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr; /* 1 colonne pour les petits écrans */
  }
  .category-content {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes à l'intérieur des boîtes pour les petits écrans */
  }
}



.crochet-left {
	color: grey;
	font-size: 19px;
	text-align: inline;
}

.crochet-right {
	color: grey;
	font-size: 19px;
	text-align: right;
}

@media screen and (max-width: 768px) {
	.nav-menu {
		background-color: #9cc8f3;
	}

	.nav-toggle:hover {
		background-color: transparent;
	}

	.nav-toggle span {
		background-color: #dfdfdf;
	}

	.nav-toggle span:hover {
		background-color: #fff;
	}
  .parallax-section {
    top: -15vh !important;

}

}

@media (min-width: 768px) {
  .project:hover {
    transform: scale(1.05); /* Zoom léger de 5% */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Ombre supplémentaire lors du zoom */
    color: #fff;
    cursor: pointer;
  }
  
}

.project-footer {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 2vh 2vh 2vh;
  align-items: flex-end;
  align-content: flex-end;
} 

p.project-footer-date {
  background: white;
  border-radius: 2vh;
  padding: 1px 6px;
  color: #84baf6;
  font-size: 0.7rem;
  align-self: center;
}

p.project-footer-languages {
  display: flex;
  font-size: 1.2rem;
}

.parallax-section {
  position: relative;
  top: -45vh;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

@media (min-width: 768px) {
  .parallax-section {
      /* Ajoutez un effet parallax simple basé sur le défilement */
      transform: translateY(-20vh);
  }
}


.wrapper-skills{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.wrapper-skills .card-skills{
  background: #fff;
  width: calc(33% - 20px);
  height: 300px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
}
.wrapper-skills .card-skills .circle-skills{
  position: relative;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  cursor: default;
}
.card-skills .circle-skills .box-skills,
.card-skills .circle-skills .box-skills span{
  position: absolute;
  top: 50%;
  left: 50%;
}
.card-skills .circle-skills .box-skills{
  height: 100%;
  width: 100%;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  transition: all 0.2s;
}
.card-skills .circle-skills:hover .box-skills{
  transform: translate(-50%, -50%) scale(0.91);
}
.card-skills .circle-skills .box-skills span,
.wrapper-skills .card-skills .text{
  background: -webkit-linear-gradient(left, #9cc8f3, #1f6e8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.circle-skills .box-skills span{
  font-size: 38px;
  font-family: sans-serif;
  font-weight: 600;
  transform: translate(-45%, -45%);
  transition: all 0.1s;
}
.card-skills .circle-skills:hover .box-skills span{
  transform: translate(-45%, -45%) scale(1.09);
}
.card-skills .text-skills{
  font-size: 20px;
  font-weight: 600;
}


/* --------------------------------------------------------------------
 * ## Circles Styles
 * -------------------------------------------------------------------- */
.s-pagewrap {
    z-index: 1;
    position: absolute;
    width: 100%;
    display: block;
    height: 30vh;
    top: 0;
    left: 0;
}
 .s-pagewrap .circles,
 .s-pagewrap .circles span {
     position: absolute;
 }
 
.s-pagewrap .circles {
    --circle-width: 62vh;
    --color-1: #ffffff;
    width: var(--circle-width);
    height: var(--circle-width);
    right: -31vh;
    top: 0;
}
 
 .s-pagewrap .circles span {
     display: block;
     border: 1px solid var(--color-1);
     border-radius: 50%;
     opacity: 0.1;
     transform: translate(-50%, -50%);
     left: 50%;
     top: 50%;
 }
 
 .s-pagewrap .circles span:nth-child(1) {
     height: 100%;
     width: 100%;
 }
 
 .s-pagewrap .circles span:nth-child(2) {
     height: 80%;
     width: 80%;
 }
 
 .s-pagewrap .circles span:nth-child(3) {
     height: 60%;
     width: 60%;
 }
 
 .s-pagewrap .circles span:nth-child(4) {
     height: 40%;
     width: 40%;
 }
 
 .s-pagewrap .circles span:nth-child(5) {
     height: 20%;
     width: 20%;
 }
 
 /* -------------------------------------------------------------------
  * Responsive for circles position
  * ------------------------------------------------------------------- */
 @media screen and (max-width: 800px) {
     .s-pagewrap .circles {
         top: calc(var(--header-height, 60px) + 5vh);
     }
 }
 

@media(max-width: 768px){
  .wrapper-skills{
    max-width: 718px;
  }
  .presentation {
    margin: 6% 0% 0 0% !important;
}
  .wrapper-skills .card-skills{
    width: 100%;
    margin: 10px;
  }
}

@media(max-width: 753px){
  .wrapper-skills{
    max-width: 600px;
  }
  .presentation {
    margin: 6% 0% 0 0% !important;
}
  .wrapper-skills .card-skills{
    width: calc(50% - 20px);
    margin-bottom: 20px;
  }
}
@media(max-width: 505px){
  .wrapper-skills{
    max-width: 450px;
  }
.presentation {
    margin: 6% 0% 0 0% !important;
}
  .wrapper-skills .card-skills{
    width: 100%;
  }
}

@media(max-width: 550px){
  .wrapper-skills{
    max-width: 500px;
  }
  .presentation {
    margin: 6% 0% 0 0% !important;
}
  .wrapper-skills .card-skills{
    width: 100%;
  }
}

@media(max-width: 414px){
  .wrapper-skills{
    max-width: 370px;
  }
  .presentation {
    margin: 6% 0% 0 0% !important;
}
  .wrapper-skills .card-skills{
    width: 100%;
    margin: 10px;
  }
}

@media(max-width: 375px){
  .wrapper-skills{
    max-width: 325px;
  }
  .presentation {
    margin: 6% 0% 0 0% !important;
}
  .wrapper-skills .card-skills{
    width: 100%;
  }
}

@media(max-width: 360px){
  .wrapper-skills{
    max-width: 310px;
  }
  .presentation {
    margin: 6% 0% 0 0% !important;
}
  .wrapper-skills .card-skills{
    width: 100%;
    margin: 10px;
  }
}

@media(max-width: 280px){
  .wrapper-skills{
    max-width: 220px;
  }
  .presentation {
    margin: 6% 0% 0 0% !important;
}
  .wrapper-skills .card-skills{
    width: 100%;
    margin: 10px;
  }
}


/* Projects section */

.projects-section {
  text-align: center;
  padding: 10rem 2rem;
  background: var(--main-blue);
}

.projects-section-header {
  max-width: 640px;
  margin: 0 auto 6rem auto;
  border-bottom: 0.2rem solid var(--main-white);
}

@media (max-width: 28.75em) {
  .projects-section-header {
    font-size: 4rem;
  }
}

/* "Automagic" image grid using no media queries */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 3rem;
}

@media (max-width: 30.625em) {
  .projects-section {
    padding: 6rem 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project {
  border-radius: 1vh;
  background: #60a4fa63;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition douce */
  height: fit-content;
}




.code {
  color: #2764b2;
  transition: color 0.3s ease-out;
}

.project:hover .code {
  color: #fff;
}

.project-image {
  height: 27vh;
  width: 100%;
  object-fit: cover;
  border-radius: 1vh 1vh 0 0;
}

.project-content {
  height: fit-content;
}

.project-title {
  font-size: 1rem;
  padding: 0vh 2vh;
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 2px;
}

.btn-show-all {
  font-size: 2rem;
  background: var(--main-gray);
  transition: background 0.3s ease-out;
}

.btn-show-all:hover {
  background: var(--main-red);
}

.btn-show-all:hover > i {
  transform: translateX(2px);
}

.btn-show-all > i {
  margin-left: 10px;
  transform: translateX(0);
  transition: transform 0.3s ease-out;
}



.footerr {
	text-align: justify;
	margin: 5px 0 10px 0;
}

.footer-left {
	float: left;
}

.footer-right {
	float: right;
}


/*Preloader*/

.holder {
  position: fixed;
  left: 0%;
  top: 0%;
  right: 0%;
  bottom: 0%;
  width: 100%;
  height: 100%;
  background-color: #549ef9;
  z-index: 999999;
}

.preloader {
  position: absolute;
  width: 10%;
  height: 0%;
  padding-bottom: 10%;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}
.preloader div {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  overflow: hidden;
  animation: animatePreloader 1s infinite linear;
  transform-origin: 50% 100%;
}
.preloader div:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  border: 3px solid #f1f1f1;
  border-radius: 50%;
  box-sizing: border-box;
}
.preloader div:nth-child(2) {
  width: 60%;
  height: 60%;
  top: 20%;
  animation: animatePreloader 0.5s infinite linear;
}
@keyframes animatePreloader {
  0% {
    transform: translateX(-50%) translateY(-50%) rotateZ(0deg);
  }
  100% {
    transform: translateX(-50%) translateY(-50%) rotateZ(360deg);
  }
}




/* Styles the thumbnail */

a.lightbox img {
height: 150px;
border: 3px solid white;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
margin: 94px 20px 20px 20px;
}

/* Styles the lightbox, removes it from sight and adds the fade-in transition */

.lightbox-target {
position: fixed;
top: -100%;
width: 100%;
background: rgba(0,0,0,.7);
width: 100%;
opacity: 0;
-webkit-transition: opacity .5s ease-in-out;
-moz-transition: opacity .5s ease-in-out;
-o-transition: opacity .5s ease-in-out;
transition: opacity .5s ease-in-out;
overflow: hidden;
}

/* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */

.lightbox-target img {
margin: auto;
position: absolute;
top: 0;
left:0;
right:0;
bottom: 0;
max-height: 0%;
max-width: 0%;
border: 3px solid white;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
box-sizing: border-box;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

/* Styles the close link, adds the slide down transition */

a.lightbox-close {
display: block;
width:50px;
height:50px;
box-sizing: border-box;
background: white;
color: black;
text-decoration: none;
position: absolute;
top: -80px;
right: 0;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

a.lightbox-next {
display: block;
width:50px;
height:50px;
box-sizing: border-box;
background: white;
color: black;
text-decoration: none;
position: absolute;
top: -80px;
right: 0;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

a.lightbox-prev {
display: block;
width:50px;
height:50px;
box-sizing: border-box;
background: white;
color: black;
text-decoration: none;
position: absolute;
top: -80px;
left: 0;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:before {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(45deg);
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
transform:rotate(45deg);
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:after {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
transform:rotate(-45deg);
}



a.lightbox-next:after {
content: "";
display: block;
height: 25px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:4px;
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
transform:rotate(-45deg);
}



a.lightbox-next:before {
content: "";
display: block;
height: 25px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:21px;
-webkit-transform:rotate(45deg);
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
transform:rotate(45deg);
}


a.lightbox-prev:after {
content: "";
display: block;
height: 25px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top: 5px;
-webkit-transform:rotate(45deg);
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
transform:rotate(45deg);
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-prev:before {
content: "";
display: block;
height: 25px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top: 22px;
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
transform:rotate(-45deg);
}

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */

.lightbox-target:target {
opacity: 1;
top: 0;
z-index: 99999;
bottom: 0;
}

.lightbox-target:target img {
max-height: 100%;
max-width: 100%;
}

.lightbox-target:target a.lightbox-close {
top: 0px;
}

.lightbox-target:target a.lightbox-next {
top: 50%;
}

.lightbox-target:target a.lightbox-prev {
top: 50%;
}



.toutvoir {
  display: inline;
}

.soon {
    display: inline;
    color: #40627d;
    font-size: 11px;
    padding-top: 10px;
}


.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
  width: fit-content;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}
