@font-face {
	font-family: "Druk Wide";
	src: url('DrukWide-Medium.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
	font-family: "Aller";
	src: url('Aller_Bd.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
	font-family: "Aller";
	src: url('Aller_Lt.ttf') format('truetype');
  font-weight: light;
  font-style: normal;
}
@font-face {
	font-family: "Inter UI";
	src: url('Inter-Bold.woff') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
	font-family: "Inter UI";
	src: url('Inter-Regular.woff') format('truetype');
  font-weight: regular;
  font-style: normal;
}

body{
  background-color: #F2F2F2;
}
a, p, span{
  font-family: PT Sans;
}
a{
  text-decoration: none;
  color:#000;
}
/** elements fixed **/
.menu h1{
  position: fixed;
  top: 30px;
  left: 30px;
  font-family: Druk Wide;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
	z-index: 4;
}
.scroll{
  transform-origin: top right;
  transform: rotate(90deg);
  position: fixed;
  right: 30px;
  top: calc(100vh - 30px);
  display: flex;
  z-index: 4;
}
.scroll img{
  padding: 2px;
  padding-left: 15px;
}
.list-social{
  display: flex;
  transform-origin: 0% 0%;
  transform: rotate(-90deg);
  position: fixed;
  top: calc(100vh - 30px);
  left: 30px;
  z-index: 4;
}
.list-social li{
  display: inline-block;
  padding-right: 35px;
}
.menu > a{
  position: fixed;
  right: 30px;
  top: 30px;
  z-index: 4;
}
/**cursor**/
.cursor {
	width: 1vw;
	height: 1vw;
	border-radius: 50%;
	background-color: #000000;
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 400;
	opacity: 1;
	transition: width .2s ease-out, height .2s ease-out, opacity .2s ease-out;
}
.cursor.hover{
	width: 3vw;
	height: 3vw;
	opacity: 0.2;
}
.cursor.hidden{
	width: 0vw;
	height: 0vw;
}
/**about**/
.about{
	display: flex;
	flex-direction: column;
	grid-column-start: 6;
  grid-column-end: 11;
}
.about h2{
	margin-top: 0px;
	margin-bottom: 50px;
	color: #000000;
	transform: translateY(0%);
}
.about p{
	font-family: PT Sans;
	font-size: 16px;
	line-height: 140%;
	padding-top: 20px;
	color: #000000;
}
/** projects **/
main{
  display: grid;
  grid-template-columns: auto 16px 120px 120px 120px 120px 120px 120px 120px 120px 16px auto;
  grid-column-gap: 20px;
  grid-row-gap: 200px;
  margin-top: 200px;
  margin-bottom: 200px;
  position: relative;
}
h2{
  font-family: Druk Wide;
  font-size: 72px;
}
/** img projects **/
main img{
  width: 100%;
}
main .img-lien1{
  grid-row-start: 1;
  grid-column-start: 3;
  grid-column-end: 8;
}
main .img-lien2{
  grid-row-start: 2;
  grid-column-start: 5;
  grid-column-end: 9;
}
main .img-lien3{
  grid-row-start: 3;
  grid-column-start: 7;
  grid-column-end: 11;
}
main .img-lien4{
  grid-row-start: 4;
  grid-column-start: 4;
  grid-column-end: 9;
}
main .img-lien5{
  grid-row-start: 5;
  grid-column-start: 3;
  grid-column-end: 7;
}

/** h2 projects **/
main .h2-lien1{
  grid-row-start: 1;
  grid-column-start: 6;
	z-index: 3;
	pointer-events: none;
}
main .h2-lien2{
  grid-row-start: 2;
  grid-column-start: 7;
	z-index: 3;
	pointer-events: none;
}
main .h2-lien3{
  grid-row-start: 3;
  grid-column-start: 6;
	z-index: 3;
	pointer-events: none;
}
main .h2-lien4{
  grid-row-start: 4;
  grid-column-start: 7;
	z-index: 3;
	pointer-events: none;
}
main .h2-lien5{
  grid-row-start: 5;
  grid-column-start: 5;
	z-index: 3;
	pointer-events: none;
}

/** line + text **/
main .type-p{
  display: flex;
  width: 150px;
  align-items: center;
  transform: rotate(-90deg);
  height: 16px;
  transform-origin: 0 0;
  align-self: end;
  transform-origin: 8px 8px;
  transition: 0.6s cubic-bezier(.165,.84,.44,1);
  position: relative;
}
main .p1{
  grid-row-start: 1;
  grid-column-start: 8;
}
main .p2{
  grid-row-start: 2;
  grid-column-start: 9;
}
main .p3{
  grid-row-start: 3;
  grid-column-start: 11;
}
main .p4{
  grid-row-start: 4;
  grid-column-start: 9;
}
main .p5{
  grid-row-start: 5;
  grid-column-start: 7;
}
.line{
    width: 0px;
    height: 1px;
    margin-right: 10px;
    margin-top: 2px;
    border-width: 1px;
    border-top-style: solid;
    border-top-color: #000;
}
/**projects**/
.projects img{
	cursor: inherit;
}
h3{
	font-family: PT Sans;
	font-size: 18px;
}
.attr .line{
	margin-top: 7px;
}
.descri-txt{
	font-size: 14px;
	line-height: 170%;
	grid-row-start: 1;
  grid-column-start: 4;
  grid-column-end: 9;
  margin-top: 170px;
}
.descri-titles{
	grid-row-start: 1;
  grid-column-start: 10;
  grid-column-end: 11;
  margin-top: 170px;
	font-size: 14px;
	line-height: 24px;
}
.descri-titles5, .descri-txt5{
	margin-top: 240px;
}
.titles-d{
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: bold;
}
.titles-d2{
	padding-top: 30px;
}
.retour{
	position: fixed;
  top: 30px;
  left: 30px;
  transition: 0.2s cubic-bezier(.165,.84,.44,1);
  width: fit-content;
}
.retour img{
	transform: rotate(180deg);
	padding-left: 20px;
	margin-left: 0px;
	transition: 0.2s cubic-bezier(.165,.84,.44,1);
}
.retour:hover img{
	padding-left: 30px;
	margin-left: -10px;
}
.projects h1{
	font-family: Druk Wide;
  font-size: 72px;
	margin-bottom: 26px;
}
main .attr{
	display: flex;
}
main .description{
  grid-row-start: 1;
  grid-column-start: 4;
	grid-column-end: 11;
}
video{
	padding-bottom: 100px;
	width: 100%;
}
/**Typographie**/
h4{
	grid-column-start: 3;
	font-family: PT Sans;
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.typo{
	grid-row-start: 2;
	grid-column-start: 5;
	grid-column-end: 7;
	display: flex;
	flex-direction: column;
	margin-top: 100px;
}
.carac{
	grid-row-start: 2;
	grid-column-start: 7;
	display: flex;
	margin-top: 100px;
	font-size: 18px;
	letter-spacing: 2px;
	line-height: 145%;
}
/** typo project1**/
h4:first-of-type{
	grid-row-start: 2;
}
.typo-proj1 span:first-of-type{
	font-family: Aller;
	font-weight: bold;
	font-size: 48px;
}
.typo-proj1 span:nth-of-type(2){
	font-family: Aller;
	font-weight: light;
	font-size: 18px;
	padding-top: 8px;
}
.carac-proj1{
	font-family: Aller;
	font-weight: bold;
}
.typo-proj2 span:first-of-type{
	font-family: Roboto;
	font-weight: 900;
	font-size: 48px;
}
.typo-proj2 span:nth-of-type(2){
	font-family: Roboto;
	font-weight: 300;
	font-size: 18px;
	padding-top: 8px;
}
.typo-proj2{
	margin-top: 260px;
}
.carac-proj2{
	font-family: Roboto;
	font-weight: 900;
	margin-top: 260px;
}
/** typo project2**/
.typo-proj1-2 span:first-of-type{
	font-family: Oswald;
	font-weight: bold;
	font-size: 48px;
}
.typo-proj1-2 span:nth-of-type(2){
	font-family: Oswald;
	font-weight: bold;
	font-size: 18px;
	padding-top: 8px;
}
.carac-proj1-2{
	font-family: Oswald;
	font-weight: bold;
}
.typo-proj2-2 span:first-of-type{
	font-family: Inter UI;
	font-weight: 900;
	font-size: 48px;
}
.typo-proj2-2 span:nth-of-type(2){
	font-family: Inter UI;
	font-weight: 300;
	font-size: 18px;
	padding-top: 8px;
}
.typo-proj2-2{
	margin-top: 260px;
}
.carac-proj2-2{
	font-family: Inter UI;
	font-weight: 300;
	margin-top: 260px;
}
/** typo project3**/
.typo-proj1-3 span:first-of-type{
	font-family: Merriweather;
	font-weight: regular;
	font-size: 38px;
}
.typo-proj1-3 span:nth-of-type(2){
	font-family: Merriweather;
	font-weight: regular;
	font-size: 16px;
	padding-top: 8px;
}
.carac-proj1-3{
	font-family: Merriweather;
	font-weight: regular;
}
.typo-proj2-3 span:first-of-type{
	font-family: Source Sans Pro;
	font-weight: 600;
	font-size: 48px;
}
.typo-proj2-3 span:nth-of-type(2){
	font-family: Source Sans Pro;
	font-weight: 300;
	font-size: 18px;
	padding-top: 8px;
}
.typo-proj2-3{
	margin-top: 260px;
}
.carac-proj2-3{
	font-family: Source Sans Pro;
	font-weight: 400;
	margin-top: 260px;
}
/** typo project4**/
.typo-proj1-4 span:first-of-type{
	font-family: Cabin;
	font-weight: 700;
	font-size: 48px;
}
.typo-proj1-4 span:nth-of-type(2){
	font-family: Cabin;
	font-weight: 400;
	font-size: 18px;
	padding-top: 8px;
}
.carac-proj1-4{
	font-family: Cabin;
	font-weight: 400;
}
/** typo project5**/
.typo-proj1-5 span:first-of-type{
	font-family: Playfair;
	font-weight: 700;
	font-size: 36px;
}
.typo-proj1-5 span:nth-of-type(2){
	font-family: Playfair;
	font-weight: 400;
	font-size: 18px;
	padding-top: 8px;
}
.carac-proj1-5{
	font-family: Playfair;
	font-weight: 400;
}
.typo-proj2-5 span:first-of-type{
	font-family: Open Sans;
	font-weight: 700;
	font-size: 48px;
}
.typo-proj2-5 span:nth-of-type(2){
	font-family: Open Sans;
	font-weight: 400;
	font-size: 18px;
	padding-top: 8px;
}
.typo-proj2-5{
	margin-top: 260px;
}
.carac-proj2-5{
	font-family: Open Sans;
	font-weight: 400;
	margin-top: 260px;
}
/**couleurs**/
h4:nth-of-type(2){
	grid-row-start: 3;
}
.colors{
	margin-top: 100px;
	grid-row-start: 3;
	grid-column-start: 4;
	grid-column-end: 10;
	display: grid;
	 grid-template-columns: 260px 260px 260px;
	 grid-column-gap: 20px;
	 grid-row-gap: 20px;
}
.colors div{
	height: 150px;
	background-color: #000;
}
/*couleurs project1**/
.colors1 div:first-of-type{
	background-color: #0A164F;
}
.colors1 div:nth-of-type(2){
	background-color: #6ED2E1;
}
.colors1 div:nth-of-type(3){
	background-color: #7ED06B;
}
.colors1 div:nth-of-type(4){
	background-color: #FF7183;
}
.colors1 div:nth-of-type(5){
	background-color: #FF8F68;
}
.colors1 div:nth-of-type(6){
	background-color: #FECE5C;
}
/*couleurs project2**/
.colors2 div:first-of-type{
	background-color: #FF0000;
}
.colors2 div:nth-of-type(2){
	background-color: #0000FF;
}
.colors2 div:nth-of-type(3){
	background-color: #151515;
}
.colors2 div:nth-of-type(4){
	background-color: #777777;
}
/*couleurs project3**/
.colors3 div:first-of-type{
	background-color: #1C4468;
}
.colors3 div:nth-of-type(2){
	background-color: #636363;
}
.colors3 div:nth-of-type(3){
	background-color: #E9EDF0;
}
/*couleurs project4**/
.colors4 div:first-of-type{
	background-color: #22E3B7;
}
.colors4 div:nth-of-type(2){
	background-color: #18004A;
}
.colors4 div:nth-of-type(3){
	background-color: #407eda;
}
.colors4 div:nth-of-type(4){
	background-color: #da40af;
}
.colors4 div:nth-of-type(5){
	background-color: #ff2a4e;
}
.colors4 div:nth-of-type(6){
	background-color: #f27068;
}
.colors4 div:nth-of-type(7){
	background-color: #fdd515;
}
/*couleurs project5**/
.colors5 div:first-of-type{
	background-color: #931449;
}
.colors5 div:nth-of-type(2){
	background-color: #f49e6b;
}
.colors5 div:nth-of-type(3){
	background-color: #7f7f7f;
}
/**projet final**/
h4:nth-of-type(3){
	grid-row-start: 4;
}
.img-projectf{
	margin-top: 100px;
	grid-column-start: 3;
	grid-column-end: 12;
	grid-row-start: 4;
	display: flex;
	flex-direction: column;
}
.img-projectf img{
	padding-bottom: 100px;
}
.imgs-m{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.img-projectf .img-m{
	width: 48%;
}
.img-projectf .img-t{
	width: 40%;
}
.img-projectf .img-2t{
	width: 56%;
}
.img-t img:first-of-type{
	padding-bottom: 40px;
}
/**next project**/
.next-project{
	grid-row-start: 5;
  grid-column-start: 6;
	grid-column-end: 9;
	display: flex;
	z-index:3;
	width: fit-content;

}
.next-project img{
	padding-left: 20px;
	transition: 0.2s cubic-bezier(.165,.84,.44,1);;

}
.next-project:hover img{
	padding-left: 30px;
}
/**responsive**/
@media screen and (max-width: 1200px) {
	h2{
		font-size: 64px;
	}
	main{
	  grid-template-columns: auto 16px 80px 80px 80px 80px 80px 80px 80px 80px 16px auto;
	  grid-column-gap: 16px;
	  grid-row-gap: 100px;
	  margin-top: 150px;
	  margin-bottom: 150px;
	}
	main .description{
		grid-column-start: 3;
	}
	.descri-txt {
		grid-column-start: 3;
	}
	.descri-titles{
		grid-column-start: 9;
		padding-left: 20px;
	}
	main h2 {
    	margin-top: 40px;
	}
	main .h2-lien2 {
		margin-top: 70px;
	}
	.line {
    	width: 15px;
	}
	.typo {
    	grid-column-start: 3;
	}
	.colors{
		grid-column-start: 3;
		grid-column-end: 11;
		grid-template-columns: 240px 240px 240px;
		grid-column-gap: 16px;
		grid-row-gap: 16px;
	}
	.container-anim-loop{
		display: none;
	}
}
@media screen and (max-width: 948px) {
	h2{
		font-size: 38px;
	}
	main{
		grid-template-columns: auto 42px auto 30px 20px 42px auto;
		grid-column-gap: 18px;
		grid-row-gap: 100px;
		margin-top: 100px;
		margin-bottom: 100px;
	}
	main h2, main .h2-lien2{
		margin-top: 0px;
	}
	main .h2-lien1, main .h2-lien2, main .h2-lien3, main .h2-lien4, main .h2-lien5{
		transform: rotate(180deg);
		grid-column-start: 4;
		writing-mode:vertical-rl;
	}
	main .img-lien1, main .img-lien2, main .img-lien3, main .img-lien4, main .img-lien5{
		grid-column-start: 3;
		grid-column-end: 4;
	}
	main .type-p {
		grid-column-start: 5;
	}
	main img{
		min-height: 535px;
    	object-fit: cover;
	}
	/** projects **/
	main.projects{
		grid-template-columns: auto 16px 60px 60px 60px 60px 60px 60px 60px 60px 16px auto;
		grid-column-gap: 16px;
		grid-row-gap: 100px;
		margin-top: 150px;
		margin-bottom: 150px;
	}
	.colors{
		grid-template-columns: 197px 197px 197px;
	}
	.carac {
		font-size: 15px;
		letter-spacing: 1px;
	}
	.projects img{
		    min-height: auto;
			object-fit: contain;
	}
	/**about**/
	.about{
		grid-column-start: 3;
    	grid-column-end: 5;
	}
}
@media screen and (max-width: 694px) {
	main.projects{
		grid-template-columns: auto 16px 40px 40px 40px 40px 40px 40px 40px 40px 16px auto;
		grid-column-gap: 16px;
		grid-row-gap: 100px;
		margin-top: 150px;
		margin-bottom: 150px;
	}
	main .description {
		grid-column-start: 3;
		grid-column-end: 11;
	}
	.descri-titles {
		grid-column-start: 3;
		grid-column-end: 11;
	}
	.descri-txt {
		font-size: 14px;
		line-height: 170%;
		grid-row-start: 2;
		grid-column-end: 11;
		margin-top: 0px;
	}
	h4:first-of-type {
		grid-row-start: 3;
	}
	.typo {
		grid-row-start: 3;
	}
	.carac {
		grid-row-start: 3;
		grid-column-start: 6;
	}
	.colors {
		grid-row-start: 4;
		grid-template-columns: 145px 145px 145px;
	}
	h4:nth-of-type(2) {
		grid-row-start: 4;
	}
	h4:nth-of-type(3) {
		grid-row-start: 5;
	}
	.img-projectf {
		grid-row-start: 5;
	}
	.next-project {
		grid-row-start: 6;
		grid-column-start: 5;
    	grid-column-end: 10;
	}
	.imgs-m{
		flex-direction: column;
	}
	.img-projectf .img-m {
		width: 100%;
	}
	.projects h1{
		font-size: 62px;
	}
	.img-projectf .img-2t {
		width: 100%;
	}
	.img-projectf .img-t {
		width: 100%;
	}
	.typo-proj2-2 span:first-of-type {
		font-size: 42px;
	}
	.typo-proj1-3 span:first-of-type {
		font-size: 23px;
	}
}
@media screen and (max-width: 550px) {
	main{
		display: flex;
		flex-direction: column;
		margin: 100px 16px;
		grid-row-gap: 20px;
	}
	h2{
		font-size: 32px;
	}
	main .h2-lien1, main .h2-lien2, main .h2-lien3, main .h2-lien4, main .h2-lien5{
		transform: rotate(0deg);
		writing-mode: horizontal-tb;
	}
	main .type-p{
		align-self: start;
		transform: rotate(0deg);
	}
	.scroll{
		display: none;
	}
	.list-social{
		display: none;
	}
	.menu h1 {
		width: 79vw;
		left: 16px;
	}
	.menu>a{
		right: 16px;
	}
	/**projects **/
	main.projects{
		margin: 100px 30px;
		grid-row-gap: 50px;
	}
	.descri-titles, .typo, .carac, .colors, .img-projectf{
		margin-top: 0px;
	}
	.colors{
		grid-template-columns: 33% 33% 33%;
		grid-column-gap: 10px;
    	grid-row-gap: 10px;
	}
	.colors div {
		height: 76px;
	}
	.projects h1 {
		font-size: 38px;
	}
	/**about**/
	.about{
		margin: 0 30px;
	}
}

/**animation css **/
@media screen and (min-width: 1200px) {
	h2.isVisible{
		transform: translateY(0%);
		transition: transform 0.7s cubic-bezier(.165,.84,.44,1);
	}
	h2{
		transform: translateY(100%);

	}
	.container{
		overflow: hidden;
		width: fit-content;
		margin-top: 100px;

	}
	.line.isVisible{
		width: 50px;
		transition: 0.6s cubic-bezier(.165,.84,.44,1);
	}
	main .img-home{
		overflow: hidden;
		transition: 0.6s cubic-bezier(.165,.84,.44,1);
		z-index: 2;
	}
	main .img-home:hover{
		transform: scale(0.95);
		transition: 0.6s cubic-bezier(.165,.84,.44,1);
	}
	main .type-p.hoverEffect{
		transform-origin: -6px 8px;
		transition: 0.6s cubic-bezier(.165,.84,.44,1);
	}
	main{
		overflow: hidden;
	}
	main .container-anim-loop{
		width: 100vw; 
		max-width: 100%;
		overflow: hidden;
		position: absolute;
		height: 72px;
		margin-top: 20px;
	}
	main .text-outline{
		font-family: Druk Wide;
    	font-size: 72px;
		color:#F2F2F2;
		-webkit-text-stroke: 1px #000000;
		animation: carousel 6s linear infinite;
		width: 100%;
	}
	@keyframes carousel{
		0% { transform: translateX(0%) translateY(-6px); }
		100%{ transform: translateX(100%) translateY(-6px); }
	}
	main .text-outline-container{
		position: absolute;
		width: fit-content;
		z-index: 1;
		display: flex;
		left: -100vw;
		transform: translateY(72px);
		transition: 0.6s cubic-bezier(.165,.84,.44,1);
	}
	main .text-outline-container.hoverEffect{
		transform: translateY(0px);
		transition: 0.6s cubic-bezier(.165,.84,.44,1);
	}
	.container-anim-loop.first-container-loop{
		grid-row-start: 1;
	}
	.container-anim-loop.second-container-loop{
		grid-row-start: 2;
	}
	.container-anim-loop.third-container-loop{
		grid-row-start: 3;
	}
	.container-anim-loop.fourth-container-loop{
		grid-row-start: 4;
	}
	.container-anim-loop.fifth-container-loop{
		grid-row-start: 5;
	}
}
/** animation onload **/
.animation-onload{
	width: 100vw;
	height: 100%;
	position: fixed;
	background-color: #000000;
	top: 0;
	left: 0;
	z-index: 999;
	pointer-events: none;
	border-radius: 0;
	transition: transform 0.5s cubic-bezier(.165,.84,.44,1);
	transform: translateY(100%);
}
.animation-onload.is-active{
	transform: translateY(0%);
	pointer-events: all;
}