html 
{
	scroll-behavior: smooth;
	font-display: swap;
}

body
{
	margin: 0;
}

@font-face
{
	font-family:'Titre';
	src: url('fonts/LilitaOne-Regular.ttf');
}


/*HEADER + NAV */

header
{
	width: 100%;
	display: flex;
	justify-content: center;
}

nav
{
	display: flex;
		justify-content: space-around;
	    align-items: center;
	    border-bottom: steelblue solid 5px;
	    border-radius: 5px;
	    padding: 25px;
	    width: 90%;
}

.skills p
{
    font-family: sans-serif;
    text-align: center;
    font-size: 18px;
    margin-bottom: 2em;
}

nav a
{
	text-decoration: none;
	font-size: 24px;
	font-family: 'Titre',sans-serif;
	color: steelblue;

}

nav a:hover
{
	transform: scale(1.1);
}

.txt_moi h1
{
	font-family: 'Titre',sans-serif;
	letter-spacing: 3px;
	color: #294d6a;
}


.Logo_Nav
{
	width: 20%;
	padding: 2%;
}

/* MOI */

.moi
{
	display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 75px 0;
    margin: 15px 0;
}

.txt_moi
{
	font-family: sans-serif;
}

nav h2
{
	font-size: 1,3em;
	color: #294d6a;
	font-family: 'Titre',sans-serif;
}
.txt_moi p
{
	font-size: 1.2em;
	line-height: 35px;
}
.txt_moi b
{
	font-size: 1.3em;
	color: steelblue;
}

.cv
{
	display: flex;
	align-items: center;
}

.cv a
{
	font-family: 'Titre',sans-serif;
	letter-spacing: 2px;
	text-decoration: none;
	color: white ;
	padding: 20px;
	margin-left: 15px;
	background-color: #294d6a ;
	border-radius: 25px;
}

.cv a:hover
{
	transform: scale(1.1);
}

.RS
{
	display: flex;
	flex-direction: column;
}

.RS a
{
	padding: 10px;
}

.RS a:hover
{
	transform: scale(1.1);
}

/*MY SKILLS*/

.skills
{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #101827;
}

.skills h2
{
	font-family: 'Titre',sans-serif;
	letter-spacing: 3px;
	color: #FFF ;
	margin-bottom: 20px;
	margin-top: 40px;
}

.skills p 
{
	color: white;
}

/*SWIPPER*/

.swiper {
  width: 90%;
  padding: 40px 0;
  margin: 40px auto;
  height: 310px;
}

.swiper-slide 
{
  background: #f3f3f3;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  font-size: 1.2em;
  display: flex;
  margin: 0 10px;
}

.swiper-slide img
{
	width: 20%;
}

.swiper-slide p
{
	color: black;
}

.swiper-pagination
{
	position: static;
	padding: 10px 0;
}

/*------------------------*/

h3
{
	font-family: sans-serif;
}

/*SKILL BAR*/

ul
{
	width: 200px;
	list-style: none;
}

/*PROJECT*/

.projects
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	height: 100%;
  width: 100%;
}

.Lien_projet
{
	position: absolute;
	color: white;
}

.colo
{
	color: black;
}

#Ancre_2
{
	font-family: 'Titre',sans-serif;
	color: #294d6a ;
	display: 	flex;
	justify-content: center	;
	margin: 30px;
}

.soustitre p 
{
	  font-family: sans-serif;
    text-align: center;
    font-size: 18px;
    margin-bottom: 2em;
}

/*GRID*/

.grid1 { grid-area: 1 / 1 / 3 / 2; background-color: #262626;}
.grid2 { grid-area: 2 / 3 / 3 / 5; background-color: #6b4c2d;}
.grid3 { grid-area: 1 / 4 / 2 / 5; background-color: #262626;}
.grid4 { grid-area: 1 / 3 / 2 / 4; }
.grid5 { grid-area: 1 / 2 / 2 / 3; background-color: #cc3131;}
.grid6 { grid-area: 2 / 2 / 3 / 3; }

.GRILLE 
{
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.GRILLE img 
{
	width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
}

.GRILLE a
{
	opacity: 0;
	font-family: 'Titre',sans-serif;
	font-size: 3EM;
	text-decoration: none;
	transition: opacity 0.3s ease;
	width: inherit;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid1 a
{
	background-color: rgba(38 ,38 ,38 , 0.7);
}
.grid2 a
{
	background-color: rgba(107, 76, 45, 0.7);
}
.grid3 a
{
	background-color: rgba(38 ,38 ,38 , 0.7);
}
.grid4 a
{
	background-color: rgba(255 ,255 ,255 , 0.7);
}
.grid5 a
{
	background-color: rgba(204, 49, 49, 0.8);
}
.grid6 a
{
	background-color: rgba(255 ,255 ,255 , 0.7);
}

.GRILLE:hover a 
{
	opacity: 1;
}

/*Lighbox*/

.thumbnail:hover
{
	opacity: 0.7;
}


  body.no-scroll {
    overflow: hidden;
  }
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
  }
  .zoom-controls {
    margin-bottom: 10px;
  }
  .zoom-wrapper {
    width: 90vw;
    height: 90vh;
    overflow: auto;
    background: #111;
    border-radius: 8px;
    cursor: grab;
  }
  .zoom-wrapper.dragging {
    cursor: grabbing;
  }
  .zoom-inner {
  position: relative;
  width: max-content; /* largeur naturelle */
  height: max-content; /* hauteur naturelle */

  /* CENTRAGE quand image petite : */
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100%;
  min-height: 100%;
}

.zoom-inner img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  user-select: none;
  pointer-events: none;
  transition: width 0.3s ease, height 0.3s ease;
}
/*--------------------*/

.txt_projet
{
	font-family: sans-serif;
	font-size: 24px;

}
.txt_projet a
{
	color: white;
	text-decoration: none;
	background-color: #2E579E;
	padding: 10px;
	border-radius: 15px;
}

.txt_projet:hover
{
	transform: scale(1.1);
}

/*FOOTER*/

.FOOT
{
	background-color: #101827;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: white;
	font-family: sans-serif;
}

.FOOT h2 
{
	font-family: 'Titre',sans-serif;
	letter-spacing: 3px;
}

.tel
{
	display: flex;
	font-size:1.2em;
	align-items: center;
}

.FOOT img 
{
	margin-right: 20px;
}

.mail 
{
	display: flex;
	align-items: center;
	font-size:1.2em;
}



.contact
{
	display: flex;
	width: 60%;
	justify-content: space-around;
	margin-bottom: 20px;
}

/*-------------------------PHONE-----------------------*/


@media screen and (max-width: 1000px)
{

.logiciel
{
	flex-direction: column;
	align-items: center;
}

.moi 
{
	flex-direction: column;
	margin: 0 30px;
}

.Logo_Nav
{
	width: 40%;
}

.GRILLE a 
{
	font-size: 2EM;
}

.RS 
{
	margin-top: 30px;
	flex-direction: row;
}

.contact
{
	flex-direction: column;
}

.mail 
{
	justify-content: center;
}
.tel 
{
	justify-content: center;
}

.swiper-slide
{
	border-radius: 0;
	padding: 0;
	display: flex !important;
	      align-items: center;
        justify-content: center;
        flex-direction: column;
        flex-wrap: wrap;
  margin: 0 auto;
}

}

@media screen and (max-width: 700px)
{


.projects
{
	display: grid;
	grid-template-columns: repeat(2, 50%);
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	height: auto;
}

.grid1 { grid-area: 1 / 1 / 3 / 3; }
.grid2 { grid-area: 3 / 1 / 4 / 3; }
.grid3 { grid-area: 4 / 1 / 5 / 2; }
.grid4 { grid-area: 4 / 2 / 5 / 3; }
.grid5 { grid-area: 5 / 1 / 6 / 2; }
.grid6 { grid-area: 5 / 2 / 6 / 3; }

.grid1 img 
{
	width: inherit;
}
nav 
{
	flex-direction: column;
}

nav a 
{
	margin: 10px 0;
}

h1
{
	font-size: 32px;
}

}

@media screen and (max-width: 500px)
{
.Logo_Nav
{
	width: 60%;
}

.projects
{
	display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 0.5fr repeat(4, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
}

.grid1 { grid-area: 1 / 1 / 2 / 2; }
.grid2 { grid-area: 2 / 1 / 3 / 2; }
.grid3 { grid-area: 3 / 1 / 4 / 2; }
.grid4 { grid-area: 4 / 1 / 5 / 2; }
.grid5 { grid-area: 5 / 1 / 6 / 2; }
.grid6 { grid-area: 6 / 1 / 7 / 2; }
}

