@font-face {
    font-family: Inter-Variable;
    src: url(../fonts/Inter/Inter-Variable.ttf) format('ttf');
    font-weight: regular;
}
@font-face {
    font-family: Inter-Italic;
    src: url(../fonts/Inter/Inter-Italic.ttf) format('ttf');
}

*{
	margin: 0;
	padding: 0;
	font-family: Inter, sans-serif;
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	height: 100vh;
	width: 100%;
	font-family: Inter, sans-serif;
	font-size: 21px;
	overflow: hidden;
	position: relative;
}

a{
	color:black;
	text-decoration: none;
	font-weight: normal;
	font-family: Inter, sans-serif;
}

img {
width: 100%;
height: auto;
}

video {
	position: fixed;
	left: 0;
	top: 0;
	height: 100vh;
	width: 100%;
	object-fit: cover;
	z-index: -1;
}

.header{
	position: fixed;
	align-items: center;
	top: 0;
	left: 0;
	width: 100%;
	padding: 30px 33px 33px 33px;
	display: flex;
	justify-content: space-between;
	font-variant-emoji: text;
	z-index: 1010;
}
.header .navbar {
	margin-right: -40px;
}
.logo{
	color: white;
	font-size: 26px;
	text-decoration: none;
	font-variant-emoji: text;
	position: relative;
	display: inline-block;
	gap: 1px;
	display: inline-flex;
	align-items: center;
}
.logo-name {
	position: relative;
	display: inline-block;
}
/* Soulignement par défaut visible */
.logo-name::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 100%;
	height: 1.5px;
	background-color: white;
	opacity: 1;
}
/* Cibler les caractères ◊ sur la page d'accueil */
.logo > span {
	display: inline-block;
	transition: transform 0.2s;
}
/* Animation au survol : rotation à 45° pour les ◊ */
.logo:hover > span:first-child,
.logo:hover > span:last-child {
	transform: rotate(25deg);
}

/* Stabilisation du navbar avec Grid et largeurs fixes - MÊMES VALEURS QUE STYLES.CSS */
.navbar {
	display: grid;
	grid-template-columns: 185px 225px 125px auto;
	gap: 28px;
	align-items: center;
}

.navbar a{
	color: white;
	font-size: 26px;
	text-decoration: none;
	margin-left: 0;
	border-bottom: none;
	transition: 0.5s;
	font-variant-emoji: text;
	position: relative;
	width: 100%;
	text-align: center;
	justify-self: center;
}

.navbar a:hover{
	border-bottom: none;
	color: white;
}
.navbar a span{
	border-bottom: 2px solid transparent;
}
.navbar a:hover span{
	border-bottom: 1.5px solid white;
}
.menu-button {
	justify-self: end;
}

/*Pour le menu responsive*/
.sidebar{
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	width: 100%;
	z-index: 999;
	background-color: rgba(255, 255, 255, 0.35);
	backdrop-filter: blur(10px);
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.sidebar.active{
	opacity: 1;
}
.sidebar a{
	position: relative;
	color: white;
	font-size: 24px;
	text-decoration: none;
	margin: 23px 0;
	font-variant-emoji: text;
	transition: 0.5s;
	text-align: center;
}
.sidebar a:hover{
	border-bottom: none;
	color: white;
}
.sidebar a span{
	border-bottom: 1.5px solid transparent;
}
.sidebar a:hover span{
	border-bottom: 1.5px solid white;
}

.menu-button {
	display: none;
	width: 30px;
	height: 24px;
	position: relative;
	z-index: 1001;
}
.menu-button span {
	display: block;
	position: absolute;
	height: 2.5px;
	width: 100%;
	background: white;
	left: 0;
	transition: all 0.3s;
	pointer-events: none;
}
.menu-button span:nth-child(1) {
	top: 0px;
}
.menu-button span:nth-child(2) {
	bottom: 0px;
}
/* Animation vers la croix */
.menu-button.active span:nth-child(1) {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
	background: white;
}
.menu-button.active span:nth-child(2) {
	bottom: 50%;
	transform: translateY(50%) rotate(-45deg);
	background: white;
}

/*Pour les liens sociaux*/
.socials {
	position: fixed;
	bottom: 23px;
	left: 33px;
	display: flex;
	flex-direction: column;
	z-index: 1020;
	gap: 0.5px;
}
.socials a{
	text-decoration: none;
	color: white;
	font-size: 19px;
	border-bottom: 1.5px solid transparent;
	width: fit-content;
	position: relative;
	display: inline-block;
}
.socials a em {
	vertical-align: -4px;
	display: inline-block;
	transition: all 0.5s ease;
	width: 0;
	opacity: 0;
	overflow: hidden;
	font-style: normal;
}
.socials a:hover em {
	width: 1em;
	opacity: 1;
	margin-right: 0.3em;
}
.socials a:hover{
	border-bottom: 1.5px solid transparent;
	color: white;
}
.socials a span{
	border-bottom: 1.5px solid transparent;
}
.socials a:hover span{
	border-bottom: 1.5px solid white;
}

/*Avis de copyright*/
.copyright p{
	position: fixed;
	bottom: 26px;
	right: 0;
	color: white;
	font-size: 11px;
	padding: 0px 33px;
	text-align: right;
	z-index: 1020;
}

.text_right{
	text-align: right;
}

.container_project{
	gap: 15px;
	display: grid;
	grid-template-columns: 1fr;
}

/* Cadre noir flou en dégradé */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    box-shadow: inset 0 0 40px 6px rgba(0, 0, 0, 1);
}

/*Pour la couleur de sélection des textes*/
::selection {
    color: lightgrey;
    -webkit-text-fill-color: lightgrey;
}
::-moz-selection {
    color: lightgrey;
    -webkit-text-fill-color: lightgrey;
}
::-webkit-selection {
    color: lightgrey;
    -webkit-text-fill-color: lightgrey;
}

/*Pour le responsive design*/
@media(max-width: 1000px){
	.hideOnMobile{
		display: none;
	}
	.menu-button{
		display: block;
	}
	.menu-button svg{
		vertical-align: middle;
	}
	/* Revenir à flex sur mobile */
	.navbar {
		display: flex;
		gap: 0;
	}
	.navbar a {
		margin-left: 33px;
	}
	.container_project{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
	}
}
@media(max-width: 500px){
	.copyright{
		display: none;
	}
}