body, html {
	all: unset;
	font-size: 1.1em;
	font-family: 'Noto Sans JP', sans-serif;
	background-image: url(../Images/BCG.jpg);
	background-size: cover;       /* couvre tout le conteneur */
	background-position: center;  /* centre l’image */
	background-repeat: no-repeat;
}
html::-webkit-scrollbar {			/* suppr la bare de scroll du bas */
    display: none;
}
body img {
	max-width: 100%;
	border-radius: 20px;
	margin: 0;
}
* {
	line-height: 1.5;
	text-decoration: none;
	transition: all 0.8s ease-in-out;
	transition: box-shadow 0.3s ease;
}
figure {
	margin: 0;
    margin-bottom: 0.5em;
}
figcaption {
	font-size: 0.8em;
	text-align: center;
	width: 100%;
}
.logos img {			/*Pour toute la page*/
	margin-left: 10px;
	width : 35px;
}
.logos {
	display: flex;
	align-items: center;
	justify-content: space-around;
	margin: 0;
}
figcaption .logos {
	justify-content: center
}
h1, h2 {
    text-align: center;
    margin: 0;
}
h4 {
	margin-block-start: 0;
	color: #919191;
	text-align: center;
}
p {
	text-align: justify;
	font-size: 20px;
	width: 100%;
}
.start {						/* BCG + header Navigation */
	/*background-color: #9E1E27;*/
}

							/* CSS Navigation */

nav {
	padding: 0 3%;
	display: flex;
	height: 9vh;
}
nav #current {
	outline: 1.5px solid white;
}
nav a {
	color: white;
}
nav .profile {
	display: flex;
	align-items: center;
}
nav .profile img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}
nav .profile h1 {
	padding: 10px;
	margin: 2% 0;
}
nav .hamburger-menu {
	background-color: #e9ecef;
	display: none;
	padding: 5px;
	margin: 10px 1%;
	max-height: 20px;
	cursor: pointer;
}
nav .hamburger-menu .bar {
	background-color: black;
	width: 15px;
	height: 3px;
	margin: 2px 0;
	transition: 0.4s;
}
.nav-ham {
    display: flex;
	flex-grow: 1;
    align-items: center;
}
nav .logos {
	flex-grow: 1;
}
nav ul {
	margin-left: auto;
	padding: 0;
	margin-block-start: 0;
    margin-block-end: 0;
	display: flex;
	right: 0;
	list-style-type: none;
}
nav ul li {
	display: inline-block;
	vertical-align: middle;
	padding: 10px;
	margin: 10px 30px;
}
nav ul li:hover, nav h1:hover, .projects-section .projects a:hover {
	outline: 1.5px solid white;
	box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.3);
}
nav .hamburger-menu:hover, footer .badges:hover{ /*a inclure juste au dessus non ?*/
	box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.3);
}

						/* CSS header */
header {
	color: white;
    padding: 2vh 2vh 6vh;
	max-height: 88vh;
	text-align: center;
}						
.head {
	text-align: justify;
	padding: 2vh 0;
    display: flex;
}
header ul {
	text-align: center;
	list-style: none;
	padding-inline-start: unset;
}
.head.index {			/*a suppr ? a vérifier*/
	padding-top: 10vh;
	min-height: calc((100vh - 60px - 125px - 10vh - 10vh));
	margin-left: 47%;
	margin-right: 3%;
}
.head .text, head .image-video {
	margin: 0 1%;
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
}
.head .image-video {
	flex: 1;
    display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1vh;
    min-height: 40vh;
}
.head .image-video img, .head .image-video iframe{
	max-width: 48%;
	width: 100%;max-width: none;
    max-height: none;
	object-fit: cover;
}
.head .index-image-video {
	max-width: auto;
	margin: auto;

}
.head h1, .head h2, .head .logos {		/*a vérifier*/
    text-align: center;
    width: 100%;
    margin: 0;
}
.contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  text-align: center;
  width: 100%;
}
.contact-item a img{
	width: 35px;
}
.contacts .info {
}
.contacts .label {
  font-weight: bold;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;           /* espace entre texte et icône */
  color: inherit;        /* reprend la couleur du parent */
}
.contact-link:hover {
	font-style: italic;
  text-decoration: underline;
}

						/* CSS Page Content*/
.pages-content {
	background-color: white;				/*BCG Page Content*/
	display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
	margin: 0 12%;
    padding: 2% 5px 5px;
	border-radius: 50px 50px 0 0;
}
.pages-content .project {
	flex: 0 0 56%;
	margin: auto 0;
}
.pages-content .image {
	flex: 0 0 36%;
}
.pages-content .image img {
	height: 100%;      /* prend toute la hauteur du parent */
	width: 100%;		/*idem pour la largeur*/
	object-fit: cover; /* remplit en coupant si l’aspect ratio diffère */
}
.pair-X, .pair-Y {
	width: 100%;
	display: flex;
	margin: 5vh 0%;
	padding: 5vh 3%;
	border: 1px solid #ddd;
	box-shadow: 0 6px 16px gray;
	justify-content: space-around;
}
.pair-X {
	margin-right: 20%;
	border-radius: 20% 20% / 35% 35%;
	border-top-left-radius: 20px;
}
.pair-Y {
	margin-left: 20%;
	border-radius: 20% 20% / 35% 35%;
    border-top-right-radius: 20px;
}
.inline-list {
  text-align: justify;
  padding: 0;
  margin: 0;
}
.inline-list li {
  display: inline;
}
.inline-list li + li::before {	/*Style des dot séparateur de li, prend les li après le 1er, et applique avant chaque li seulement*/
  content: "·";
  font-size: 1.5em;
  font-weight: bold;
  vertical-align: middle;
  color: black;
}
					
					/* css CV and flip */
.CV {
	width : 100%;
}
.CV img {
	width : 100%;
	box-shadow: 15px 15px 50px 5px black;
}
.cv-container {
  perspective: 5000px; 	/* Profondeur de la perspective */
  width: 70%;
  justify-content: center;
  margin: 1% 15% 5%;		/*Pour aligner au centre*/
}
.cv-card {	/* Carte qui tourne */
  transform-style: preserve-3d;
  transition: transform 0.6s, left 0.6s, right 0.6s; /* transition: transform 1.5s; */
  position: relative;
}
.cv-container:hover .cv-card {
  transform: rotateY(180deg);
}	
.cv-card .cv-fr, .cv-card .cv-ang {
  backface-visibility: hidden; /* Cache l'autre CV pendant la rotation */
}
.cv-card .cv-fr {
  transform: rotateY(180deg);
  position: absolute;
}

											/* CSS Projets */
.projects-section {
	background-color: white;				/*BCG Project Section*/
	border-radius: 50px 50px 0 0;
	margin: 0 3vh;
}
.projects-section .projects {
	color: black;
	text-align: center;
	padding: 1%;
    padding-bottom: 2%;
	margin: 0 1%;
	display: flex;
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;	/* Défilement tactil fluide */
	scrollbar-width: none;				/* Pour Firefox */
}
.projects-section .projects a {
	background-color: #9E1E27;
	text-shadow: 2px 2px 1px #000;
	display: flex;
	justify-content: space-around;
    flex-direction: column;
	flex: 0 0 auto;
	width: 403px;
	height: 227px;
	padding: 5px;
    border-radius: 44% 10% / 35% 13%;
}
 .projects a:-webkit-any-link {				/* lien html des projets */
    color: black;
    text-decoration: none;
}
.projects-section h1 {
	padding : 3% 5% 2%;
	text-align: left;
	font-size: 3vw;
}
.projects-section .projects .titre {
	margin-block-start: 0;
	margin-block-end: 0.5em;
	color: white;
    margin: 0 10%;
}
.projects-section .projects .description {
	margin-block: 0;
	color: white;
}
.projects-section .projects .dates {
	color: #919191;
	font-weight: bold;
	margin-block: 0;
    padding-left: 50%;
}

						/*BCG de chaque section projet*/
#BrickBreacker { background-image: url(../Images/BrickBreacker/.png);}
#BomBeez { background-image: url(../Images/BomBeez/BomBeez2.png);}
#RiftFall { background-image: url(../Images/RiftFall/RiftFall1.png);}
#FrogyFrog { background-image: url(../Images/FrogyFrog/.png);}
#Recomposed { background-image: url(../Images/Recomposed/.png);}
#Roguesignation_Ladder { background-image: url(../Images/Roguesignation_Ladder/.png);}
#Across_the_Time { background-image: url(../Images/Across_the_Time/.png);}
#Phishing_Hotline { background-image: url(../Images/Phishing_Hotline/PH0.png);}
.project-x {
	background-size: cover;       /* couvre tout le conteneur */
	background-position: center;  /* centre l’image */
	background-repeat: no-repeat;
}
						/* CSS Footer */
footer {
	margin-top: 1%;
	padding: 5vh 1vh 3vh 1vh;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	background-color: #000;
	color: white;
	box-sizing: border-box;
}
footer.index {
	margin-top: 0;
}
footer .badges {
    text-align : center;
}
footer .colonne p {
	font-size: 12px;
	color: #ccc;
}
footer .colonne p:hover, footer a:hover {
	color: #fff;
	cursor: pointer;
}
footer a {
	color: #ccc;
	display: block;
	padding: 1%;
}
footer h3 {
	margin-block-start: 0;
	margin-block-end: 5px;
}
@media screen and (max-width: 1300px) {
	.pair-X {
		margin: 5vh 3%;
		border-radius: 20px 20% / 20px 30%;
	}
	.pair-Y {
		margin: 5vh 3%;
		border-radius: 20% 20px / 35% 20px;
	}
	.pages-content {
		margin: 0 8%;
	}
}
@media screen and (max-width: 915px) {
	nav ul li a:-webkit-any-link {	/* lien html de la navigation */
		color: white;
		text-decoration: none;
	}
	h4 {
		color: #ddd;
	}
								/* Hamburger-menu css */
	.nav-ham {
		all: unset;
        width: 150px;
		position: fixed;
		top: 50px;
		right: 0;
		background-color: #333;
		color: white;
		padding: 0.5%;
		border: 0.5px solid black;
		border-radius: 10px;
		transform: translateX(100%);
		transition: transform 0.8s ease;
	}
	.nav-ham.show {
		transform: translateX(0%);
	}
	nav {
		justify-content: space-between;
	}
	nav ul {
		display: flex;
		position: static;
		flex-direction: column;
		text-align: center;
		padding-left: 0%;
		background-color: #333;
		color: white;
	}
	nav ul li {
		margin: 0;
		border: solid black;
		border-width: 1px 0;
	}
	nav .logos, nav.index .logos {
		display: flex;
		justify-content: space-around;
	}
	nav .logos img {
		margin: 0;
		padding: 10%;
	}
	
							/*Hamburger display and transition*/
	nav .hamburger-menu {
		display: inline-block;
	}
	nav .hamburger-menu.open .bar:nth-child(1) {
		transform: rotate(45deg) translate(4px, 3px);
	}
	nav .hamburger-menu.open .bar:nth-child(2) {
		opacity: 0;
	}
	nav .hamburger-menu.open .bar:nth-child(3) {
		transform: rotate(-45deg) translate(4px, -3px);
	}
							
							/* Header css */
	header {
		padding: 1vh;
		max-height: fit-content;
	}
	.head {
		flex-direction: column;
		max-height: fit-content;
	}
	.head .text, .head .project{		/*a simplifier ?*/
		margin-left: 15%;
		margin-right: 15%;
	}
	.head .image img{
		width: 100%;
	}
							/* page-content css */
	.inline-list li + li::before {
		color: #ddd;
	}
	
	.pages-content {
		background-color: transparent;
		color: white;
		margin: 0;
		border: 0px;
	}
	.pages-content head {
		margin-top: 10%;
		max-width: 100%;
	}
	.projects-section {
		color: wheat;
		margin: 0%;
		background-color: transparent;
	}
	.projects-section h1 {
		font-size: 2em;
	}
	.projects-section .projects a {
		width: 96%;
		max-width: 403px;
	}
	.projects-section .projects {
		margin-right: 0;
		max-width: 100%;
	}
	.pair-X, .pair-Y {
		margin-left: 0;
		margin-right: 0;
		flex-direction: column;
		border-radius: 20px;
	}
	footer .badges {
		display: none;
	}
}