* {
	margin: 0;
	padding: 0;
	text-decoration: none;
	list-style: none;
}

body {
	background-color: #f5f5f7;
}


/** Menu **/


.navbar {
	padding: 50px;
	justify-content: space-between;
	background-color: #f5f5f7;
}

.navbar a {
	color: #262628;
	font-family: "Poppins", sans-serif;
	font-size: 20px;
	position: relative;
}

.navbar a:hover {
	color: #262628;
}

.navbar a::before {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0%;
	height: 3px;
	background-color: #262628;
	transition: all .5s;
}

.navbar a:hover::before{
	width: 100%;
}

.navbar .nav-links ul{
	display: flex;
	justify-content: center;
	

}

.navbar .nav-links ul li{
	margin: 0 30px;

}

.navbar .burger {
	display: none;
	position: absolute;
	width: 50px;
	top: 50px;
	right: 50px;
}

h1 {
	color: #262628;
	font-family: "Bebas Neue", sans-serif;
	font-size: 130px;
	text-align: center;
	margin-top: 150px;
}

/** Grid **/

.grid {
	max-width: 1300px;
	width: 90%;
	height: auto;
	margin: 30px auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, 400px);
	justify-content: center;
	grid-gap: 10px;
	margin-top: 100px;
}

.grid-item {
	width: 400px;
	height: 250px;
	background: #f5f5f7;
}

.grid .grid-item .img-grid {
	position: absolute;
	height: 250px ;
	width: 400px;
	object-fit: cover;
	cursor: pointer;
}


/** Overlay **/ 
.img-overlay {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 400px;
	height: 250px;
	background: rgba(38, 38, 40, 1);
	color: white;
	opacity: 0;
	transition: opacity 0.25s;
	z-index: 2;
}

.img-overlay>* {
	transform: translateY(20px);
	transition: transform 0.25s;
}

.img-overlay:hover {
	opacity: 0.85;
}

.img-overlay:hover>* {
	transform: translateY(0);
}

.grid-titre {
	font-family: 'Gothic A1', sans-serif;
	font-size: 25px;
	text-align: left;
	text-decoration: none;
	color: white;
}


.video-fin {
	width: 400px;
	height: 250px;
}

/** End Grid **/

.end {
	padding-top: 50px;
	width: 100%;
	height: 50px;
}

.end-txt {
	font-size: 15px;
	font-family: 'Fira Sans', sans-serif;
	color: white;
	padding-left: 5px;
	text-align: center;
}

/* Popup */

.grid-image {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 5px solid #fff;
	border-radius: 5px;
	width: 900px;
	object-fit: cover;
}

.sp-im {
	width: 750px;
	height: 100vh;
}

.popup-image {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.9);
	height: 100%;
	width: 100%;
	z-index: 100;
	display: none;
}

span {
	position: absolute;
	top: 10%;
	right: 19%;
	font-size: 40px;
	font-weight: bolder;
	color: #000;
	background-color: #fff;
	border-radius: 50%;
	border: none;
	padding-left: 10px;
	padding-right: 10px;
	cursor: pointer;
	z-index: 100;
}

span:hover {
	background-color: #000;
	color: #fff;
	transition: 0.5s all;
}

/* End Popup */

/** responsive **/

@media screen and (max-width: 900px) {

	/** Burger **/

	.navbar {
		padding: 0;
	}

	.navbar .burger {
		display: block;
		z-index: 2;
	}

	.nav-links {
		position: absolute;
		background-color: rgba(38, 38, 40, 0.5);
		backdrop-filter: blur(7px);
		width: 100%;
		height: 100vh;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-left: -100%;
		transition: all 0.5s ease;
		z-index: 2;
	}

		.navbar a {
		color: #f5f5f7;
	}

	.navbar a:hover {
		color: #f5f5f7;
	}


	.nav-links.mobile-menu {
		margin-left: 0;
	}

	.nav-links ul{
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.navbar .nav-links ul{
		right: 37%;

	}

	.navbar .nav-links ul li {
		margin: 25px 0;
	}

	.navbar a {
		font-size: 30px;
	}

	/** end Burger **/


	/* Popup */

.grid-image {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 5px solid #fff;
	border-radius: 5px;
	width: 600px;
	object-fit: cover;
}

span {
	top: 28%;
	right: 8%;
}


/* End Popup */
}

@media screen and (max-width: 400px) {
	h1 {
		font-size: 50px;
	}


/** Grid **/

.grid {
	max-width: 1300px;
	width: 90%;
	height: auto;
	margin: 30px auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, 250px);
	justify-content: center;
	grid-gap: 10px;
	margin-top: 100px;
}

.grid-item {
	width: 250px;
	height: 150px;
}

.grid .grid-item .img-grid {
	height: 150px;
	width: 250px;
	object-fit: cover;
}

.video-fin {
	width: 250px;
	height: 150px;
}

/** Overlay **/ 
.img-overlay {
	width: 250px;
	height: 150px;
}

.navbar a {
	font-size: 20px;
}

.navbar .nav-links ul{
	right: 30%;

}

	/* Popup */

.grid-image {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 5px solid #fff;
	border-radius: 5px;
	width: 200px;
	object-fit: cover;
}

span {
	top: 41%;
	right: 12%;
}


/* End Popup */

}