@font-face{
	font-family: "minipax";
		src:	url("../fonts/minipax/Minipax.ttf"),
				url("../fonts/minipax/Minipax.woff"),
				url("../fonts/minipax/Minipax.woff2");
}
@font-face{
	font-family: "junicode";
		src:	url("../fonts/junicode/Junicode-regular.otf"),
				url("../fonts/junicode/Junicode-regular.ttf"),
				url("../fonts/junicode/Junicode-regular.woff"),
				url("../fonts/junicode/Junicode-regular.woff2");
}
*{
	margin:0;
	padding:0;
	box-sizing: border-box;
	font-family: "junicode";
	font-weight:normal;
}
html{
	font-size:62.5%; /* 1 rem = 16 px   > avec ça, 1rem = 10px */
}
em, strong{
	font-weight:normal;
	font-style:normal;
}
body{
	background-color:white;
	transition-duration:1s;
	visibility: hidden;
	opacity: 0;
}
.overlay{
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0);
	z-index: 100;
	transition: backgroundColor, .7s;
}
.overlay.on{
	background-color: rgba(255, 255, 255, .4);
	transition: backgroundColor, .7s;
	display: flex;
}
.overlay .liste-projets{
	display: none;
}

.overlay.on .liste-projets{
	display: flex;
	width: 100%;
	margin: auto;
	font-size: clamp(2.2rem, 3.5vw, 3.5rem);
	color: black;
	height: 70vh;
	flex-direction: column;
	justify-content: space-around;
	text-align: center;
}
.overlay.on .liste-projets div a{
	text-decoration: none;
	color: rgb(0, 0, 0);
}
.overlay.on .liste-projets div a:hover{
	color: rgba(0, 0, 0, .5);
	cursor: pointer;
}
h1, li{
	font-size: clamp(1.3rem, 2.5vw, 2.3rem);
}
h1:hover{
	cursor: pointer;
	color: rgba(247, 247, 247, 0.732);
	transition: color .1;
}
nav{
	position: fixed;
	bottom: 5vh;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
}
ul{
	display: flex;
	gap: 6vw;
}
li{
	color: white;
	/* text-shadow: 1px 1px 1px #00000046; */
	list-style: none;
	white-space: nowrap;
}
/* li:hover{
	color: rgba(247, 247, 247, 0.732);
	transition: color .1s;
	cursor: pointer;
} */
li > a {
	text-decoration: none;
	color: white;
}
li > a:hover{
	color: rgba(247, 247, 247, 0.732);
	transition: color .1;
	cursor: pointer;
}
main{
	width: 100%;
}
.projet{
	position: relative;
	padding: 0;
	height: 100vh;
	width: 100%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
 

.refuges{
background-image: url("../images/nav/nav-big/2_refuges.jpeg");
}
.eau{
	background-image: url("../images/nav/nav-big/eau-qui-dort.jpg");
}
.amour{
	background-image: url("../images/nav/nav-big/4_damour.jpeg");
}
.anima{
	background-image: url("../images/nav/nav-big/1_anima.jpeg");
}
.ply{
	background-image: url("../images/nav/nav-big/3_ply.jpeg");
}
.feu{
	background-image: url("../images/nav/nav-big/6_partdufeu.jpeg");
}
.visage{
	background-image: url("../images/nav/nav-big/7_jenhabitaispas.jpeg");
}
.loups{
	background-image: url("../images/nav/nav-big/5_saintsloups.jpeg");
}
.paysages{
	background-image: url("../images/nav/nav-big/8_paysagesorientes.jpg");
}
.goodyear{
	background-image: url("../images/nav/nav-big/9_goodyear.jpeg");
}

@media screen and (max-width: 1800px){
	.refuges{
	background-image: url("../images/nav/nav-medium/2_refuges.jpeg");
	}
	.eau{
		background-image: url("../images/nav/nav-medium/eau-qui-dort.jpg");
	}
	.amour{
		background-image: url("../images/nav/nav-medium/4_damour.jpeg");
	}
	.anima{
		background-image: url("../images/nav/nav-medium/1_anima.jpeg");
	}
	.ply{
		background-image: url("../images/nav/nav-medium/3_ply.jpeg");
	}
	.feu{
		background-image: url("../images/nav/nav-medium/6_partdufeu.jpeg");
	}
	.visage{
		background-image: url("../images/nav/nav-medium/7_jenhabitaispas.jpeg");
	}
	.loups{
		background-image: url("../images/nav/nav-medium/5_saintsloups.jpeg");
	}
	.paysages{
		background-image: url("../images/nav/nav-medium/8_paysagesorientes.jpg");
	}
	.goodyear{
		background-image: url("../images/nav/nav-medium/9_goodyear.jpeg");
	}
}
@media screen and (max-width: 800px){
	.refuges{
	background-image: url("../images/nav/nav-small/2_refuges.jpeg");
	}
	.eau{
		background-image: url("../images/nav/nav-small/eau-qui-dort.jpg");
	}
	.amour{
		background-image: url("../images/nav/nav-small/4_damour.jpeg");
	}
	.anima{
		background-image: url("../images/nav/nav-small/1_anima.jpeg");
	}
	.ply{
		background-image: url("../images/nav/nav-small/3_ply.jpeg");
	}
	.feu{
		background-image: url("../images/nav/nav-small/6_partdufeu.jpeg");
	}
	.visage{
		background-image: url("../images/nav/nav-small/7_jenhabitaispas.jpeg");
	}
	.loups{
		background-image: url("../images/nav/nav-small/5_saintsloups.jpeg");
	}
	.paysages{
		background-image: url("../images/nav/nav-small/8_paysagesorientes.jpg");
	}
	.goodyear{
		background-image: url("../images/nav/nav-small/9_goodyear.jpeg");
	}
}

img{
	display: block;
    width: auto;
    height: 100vh;
    object-fit: cover;
	margin: auto;
}
h2{
	font-size: clamp(2.5rem, 4vw, 4rem);
	position: absolute;
	top: 70%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: rgba(253, 249, 249, 0.8);
	/* text-shadow: 1px 1px 1px #000000af; */
	transition: opacity .3s;
	padding: 2rem;
	text-align: center;
	z-index: 100;
}
h2.off{
	display: none;
}
h2:hover{
	transition: opacity .3s;
	color: rgba(253, 249, 249, 0.8);
	opacity: 1 !important;
	/* text-shadow: 1px 1px 1px #000000af; */
}
h2 > a{
	text-decoration: none;
	color: rgba(253, 249, 249, 0.688);
	transition: color .3s;
}
h2 > a:hover{
	cursor: pointer;
	text-decoration: none;
	color: rgb(253, 249, 249);
	opacity: 1 !important;
	transition: color .3s;
}
h2 > a:visited{
	text-decoration: none;
	color: rgb(253, 249, 249);
} 
.temps-container{
	position: fixed;
	right: 4vw;
	top: 4vw;
	height: 100vh;
	margin-left: 3vw;
	display: flex;
	font-size: clamp(1.1rem, 2.5vw, 2.5rem);
	z-index: 100;
	user-select: none;
}

.temps[data-temps = "passe"]{
	color:#194a5a;
	/* text-shadow: 1px 1px 1px #00000046; */
	transition-duration:.3s;
}
.temps[data-temps = "present"]{
	color:#903b2a;
	/* text-shadow: 1px 1px 1px #00000046; */
	transition-duration:.3s;
}
.temps[data-temps = "futur"]{
	color:#c19c55;
	/* text-shadow: 1px 1px 1px #00000046; */
	transition-duration:.3s;
}
.blank{
	height: 0vh;
	background-color: white;
}



/* RESPONSIVE */
/* SCREEN-WIDTH */
/* @media screen and (max-width: 1200px){
	#visage{
		left:3%;
		top:7%;
	}
	#feu{
		left:36%;
		bottom:4%;
	}
	#loups{
		right:26%;
		top:4%;
	}
	#paysages{
		right:2%;
		bottom:2%;
	}
	#goodyear{
		left:6%;
		bottom:7%;
	}
	#premices{
		left:25%;
		bottom:18%;
	}
	#ply{
		right:5%;
		bottom:8%;
	}
	#havres{
		right:13%;
	}
}
@media screen and (max-width: 1060px){
	#premices{
		left:16%;
		bottom:16%;
	}
	#ply{
		right:5%;
		bottom:8%;
	}
	#havres{
		right:10%;
	}
}
@media screen and (max-width: 960px){
	html{
		font-size:62%;
	}
	#cotes, #telecharger{
		top:78%;
	}
	#eau{
		left:12%;
	}
	.horizontale-open{
		width:45vw;
	}
}

@media screen and (max-width: 760px){
	#amour{
		left:3%;
		top:14%;
	}
	#premices{
		left:13%;
		bottom:15%;
	}
	#ply{
		right:2%;
		bottom:8%;
	}
	#eau{
		left:10%;
	}
	#havres{
		right:7%;
		top:10%;
	}
	.horizontale-open{
		width:50vw;
	}
} */
/* à partir de 660 on sépare nav landscape et nav portrait */
/* @media screen and (max-width: 660px){
	#projets{
		margin-right:3%;
	}
	.horizontale-open{
		opacity:0.8;
	}
	.verticale-open{
		opacity:0.8;
	}
	.opacity-bouton{
		opacity:1;
	}
	#citations{
		font-size:1.4rem;
	}
	footer{
		display:none;
	}
}
@media screen and (max-width: 610px){
	html{
		font-size:59%;
	}
	#telecharger,#cotes{
		font-size:1.6rem;
	}
}
@media screen and (max-width:510px){
	#citations{
		font-size:1.3rem;
	}
}
@media screen and (max-width: 430px){
	.cotes, .telecharger{
		margin-left:35px;
	}
}
@media screen and (max-width: 300px){
	html{
		font-size:56%;
	}
}
@media screen and (max-width: 270px){
	html{
		font-size:53%;
	}
} */

/* SCREEN HEIGHT */

/* @media screen and (max-height: 560px){
	#citations{
		height:90vh;
	}
} */
