* {
	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, 600px);
	justify-content: center;
	grid-gap: 10px;
	margin-top: 100px;
}

.grid-item {
	width: 600px;
	height: 400px;
	background: #f5f5f7;
}

.grid .grid-item .img-grid {
	position: absolute;
	height: 250px ;
	width: 400px;
	object-fit: cover;
}


/** 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;
}

.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: 600px;
	height: 400px;
}




/** 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;
}


/** responsive **/

@media screen and (max-width: 900px) {

	/** Burger **/

	.navbar {
		padding: 0;
	}

	.navbar .burger {
		display: block;
		z-index: 2;
	}

		.navbar a {
		color: #f5f5f7;
	}

	.navbar a:hover {
		color: #f5f5f7;
	}


	.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;
	}

	.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 **/


}

@media screen and (max-width: 400px) {
	h1 {
		font-size: 60px;
	}


/** 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%;

}

}