* {
	box-sizing: border-box;
}

a {
	color: rgb(170, 170, 170);
	text-decoration: none;
}

p {
	color: rgb(170, 170, 170);
	margin: 0;
	mix-blend-mode: exclusion;
}

html {
	font-size: 15px;
}

@font-face {
  font-family:"WalterRegular";
  src: url('../font/Guimard.woff2');

}

html, body {
	margin: 0;
	background-color: lightgrey;
	font-family:"WalterRegular" ;
}

.cursor1 {
	position:fixed;
	width:50%;
	height:100%;
	top:0;
	left:0;
	cursor: url(../assets/cursor/cursor.png), auto;
	z-index: 998;
	pointer-events: none;
	mix-blend-mode: exclusion;
	
}

.cursor2 {
	position:fixed;
	width:50%;
	height:100%;
	top:0;
	right:0;
	cursor: url(../assets/cursor/cursor2.png), auto;
	z-index: 999;
	pointer-events: none;
	mix-blend-mode: exclusion;

}

html {
	
}

.menu {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: white;
	z-index: 1000;
}

.menu--transparent {
	background-color: transparent;
	border: none;
}

.menu__item {
	line-height: 1;
}

.menu__item + .menu__item {
	margin-left: 1em;
}

.menu__pages {
	display: flex;
}

.menu__about {
	cursor: pointer;
}

.menu__list {
	position: relative;
	height: 1em;
	width: 1em;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.menu__list span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: black;
}

.wrapper {
	padding-top: 2rem;
}

.wrapper--full-screen {
	padding: 0;
}

.wrapper--scroll-snap {
	overflow: auto;
	height: 100vh;
	scroll-snap-type: y mandatory;
}

/* HOME */

.grid {
	display: flex;
	flex-wrap: wrap;
	border-left: solid 3px lightgrey;
	border-bottom: solid 3px lightgrey;
}

.grid__item {
	width: 33.33%;
	height: 500px;
	border-right: solid 3px lightgrey;
	border-top: solid 3px lightgrey;
	background-color: white;
	position: relative;
	overflow: hidden;
}

.grid__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.1);
}

.grid__item:hover img {
	filter: blur(5px);
	transform: scale(1.1);
}

.grid__item:hover .grid__item-info {
	display: flex;
}

.grid__item-info {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
}

/* PROJECTS */

.projects__item {
	width: 100%;
	height: 100vh;
	scroll-snap-align: start;
}

.swiper-container,
.swiper-wrapper,
.swiper-slide {
	width: 100%;
	height: 100%;
}


.swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.projects__item {
	position: relative;
}

.projects__item .swiper-pagination-bullet-active {
	background: black;
}

.projects__item .swiper-pagination {
	bottom: 0 !important;
	width: auto !important;
	padding: 0.5rem;
	right: 0 !important;
	left: initial !important;
}

.toggle-project-description {
	user-select: none;
	cursor: pointer;
}

.project {
	position: relative;
}

.project--show-description .project__description {
	opacity: 1;
	pointer-events: initial;
}

.toggle-project-description:after {
	content: ' [Read]';
}

.toggle-project-description:hover:after {
	color: grey;
}

.project__description {
	position: absolute;
	bottom: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	z-index: 1000;
	padding: 0.5rem;
	width: 75%;
	transition: opacity 0.5s ease-in-out;
}

.project__description p {
	margin: 0;
}

.about {
	top: 0;
	left: 0;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: white;
	transform: translate(0, -100%);
	transition: transform 0.3s ease-in-out;
	display: flex;
	padding: 2rem 0.5rem;
	z-index: 999;
}

.about--open {
	transform: translate(0, 0);
}

.about__content {
	width: 80%;
	padding-right: 0.5rem;
}

.about__text {
	font-size: 3rem;
	line-height: 1;
	padding-bottom: 1rem;
}

.about__cv-item {
	border-top: solid 1px rgb(170, 170, 170);
	display: flex;
	padding-bottom: 1rem;
	padding-top: 1rem;
}

.about__cv-column {
	display: flex;
	flex-direction: column;
	color: grey;
}

.about__cv-column:nth-child(1),
.about__cv-column:nth-child(2) {
	width: 20%;
}

.about__cv-column:nth-child(3) {
	width: 60%;
}

.about__infos {
	width: 20%;
	display: flex;
	flex-direction: column; 
	color: rgb(170, 170, 170);

}

.swiper-pagination.swiper-pagination-bullets {
	mix-blend-mode: screen;
}

.swiper-pagination-bullet {
	background: rgb(128 128 128 / 1);
	opacity: 1;
}

.projects__item .swiper-pagination-bullet-active {
	background: white;
}

	/*color: white !important;
	mix-blend-mode: difference;
*/
.project__description {
}

.alert {
    display:none;
    position: fixed;
    width: 100%;
    height:100%;
    top:0;
    left:0;
    background-color: white;
    z-index: 1000;
 }

 .alert p {
 	position: absolute;
 	width: 100%;
 	text-align: center;
 	top: 50%;
 	transform: translateY(-50%);
 }
.video{
	position: absolute;
 	width: 100%;
 	text-align: center;
 	top: 50%;
 	transform: translateY(-50%);
 }

@media screen and (max-width: 700px) {
  .alert {
    display:block;
  }
}

