* {
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', sans-serif;
	margin: 0;
	padding: 0;
	background-color: #1d1d1d;
	color: #fff;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

header {
	padding: 20px 0;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

h1 {
	margin: 5;
	font-size: 1.5rem;
	font-weight: 700;
	text-align: left;
	letter-spacing: 2px;
	color: #FFFFFF;
	font-family: 'Montserrat', sans-serif;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

nav ul li {
	display: inline-block;
	margin-right: 20px;
}

nav ul li a {
	color: #fff;
	text-decoration: none;
	font-size: 1.2rem;
	font-weight: 200;
	transition: opacity 0.3s ease;
}

nav ul li a:hover {
	opacity: 0.5;
    color : #79408D ;
}

main {
	padding: 10px 0;
	text-align: center;
}

h2 {
	font-size: 2.5rem;
	font-weight: 550;
	margin-bottom: 30px;
	letter-spacing: 2px;
	color: #79408D;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 40px;
}

.grid a {
	display: block;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	border-radius: 10px;
}

.grid a img {
	max-width: 100%;
	transition: transform 0.3s ease;
	border-radius: 10px;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	color: #fff;
	padding: 20px;
	text-align: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: 10px;
}

.overlay h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: #fff;
}

.overlay p {
	font-size: 1.2rem;
	margin-bottom: 0;
	color: #fff;
}

.grid a:hover img {
	transform: scale(1.1);
}

.grid a:hover .overlay {
	opacity: 1;
}



footer {
	background-color: #333;
	color: #fff;
	padding: 20px;
	text-align: center;
	font-size: .8rem;
	font-weight: 300;
}



video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: -1;
}

.grid a img {
  border: 3px solid #1B1B1BF4;
}

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