#Projects {
	width: 100%;
	display: flex;
	align-items: center;
	padding: 30px 0;
}
.container {
	width: 80%;
	max-width: 1200px;
	margin: 0 auto;
}
.items-links {
	width: 80%;
	margin: 40px auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
}
.item-link {
	border: 2px solid rgb(247, 50, 40);
	padding: 10px 30px;
	font-size: 18px;
	font-weight: 500;
	color: rgb(247, 50, 40);
	cursor: pointer;
	border-radius: 30px;
	transition: 0.4s ease;
}
.item-link:hover {
	background: rgb(247, 50, 40);
	border: 2px solid white;
	color: #fff;
}
.menu-active {
	background: rgb(247, 50, 40);
	border: 2px solid white;
	color: #fff;
}
.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.project-img {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 0 4px rgba(175, 175, 175, 0.4);
	animation: SclAnimation 0.4s ease;
	position: relative;
	cursor: pointer;
}
.project-img video {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
}
@keyframes SclAnimation {
	0% {
		transform: scale(0);
	}
	100% {
		transform: scale(1);
	}
}
.project-img:hover .overlay {
	top: 0;
}
.project-img:hover .overlay-img {
	top: 0;
}
.overlay {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 100%;
	left: 0;
	background: linear-gradient(transparent, #007bff);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 10px;
	transition: 0.4s ease;
}
.overlay h4 {
	font-size: 20px;
	color: #fff;
}
.overlay p {
	font-size: 14px;
	color: #fff;
	text-align: center;
	width: 90%;
}
.overlay-img {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 100%;
	left: 0;
	background: linear-gradient(transparent, #007bff);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 10px;
	transition: 0.4s ease;
}
.overlay-img h4 {
	font-size: 20px;
	color: #fff;
}
.overlay-img p {
	font-size: 14px;
	color: #fff;
	text-align: center;
	width: 90%;
}
.action-aria {
	display: flex;
	align-items: center;
	gap: 10px;
}
.btn {
	display: inline-block;
	width: fit-content;
	padding: 10px 20px;
	background: #fff;
	border-radius: 12px;
	text-decoration: none;
	color: #007bff;
	font-size: 16px;
	font-weight: 500;
	border: 1px solid transparent;
	transition: 0.4s ease;
}
.btn-light {
	background: transparent;
	border-color: #fff;
	color: #fff;
}
.btn:hover {
	background: transparent;
	border-color: #fff;
	color: #fff;
}
.btn-light:hover {
	background: #fff;
	color: #007bff;
}
.project-img:hover img {
	transform: scale(1.1);
}
img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: 0.4s ease;
}

/*...........modal....................*/

.container .popup-video {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 900;
	background: rgba(0, 0, 0, 0.8);
	height: 100%;
	width: 100%;
	display: none;
}

.container .popup-video video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 750px;
	border-radius: 5px;
	border: 3px solid #fff;
	object-fit: cover;
}

.container .popup-video span {
	position: absolute;
	top: 5rem;
	right: 10rem;
	font-size: 4rem;
	color: rgb(247, 50, 40);
	font-weight: bolder;
	z-index: 900;
	cursor: pointer;
}

.container .popup-img {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 900;
	background: rgba(0, 0, 0, 0.8);
	height: 100%;
	width: 100%;
	display: none;
}
.container .popup-img img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 750px;
	height: auto;
	border-radius: 5px;
	border: 3px solid #fff;
	object-fit: cover;
}

.container .popup-img span {
	position: absolute;
	top: 5rem;
	right: 10rem;
	font-size: 4rem;
	color: rgb(247, 50, 40);
	font-weight: bolder;
	z-index: 900;
	cursor: pointer;
}
/* .................End Projects Section.................... */

/* .................Start Projects Section Media Scrin.................... */
@media (max-width: 1024px) {
	.container {
		width: 90%;
	}
	.items-links {
		width: 90%;
	}
}
@media (max-width: 991px) {
	.items-links {
		width: 100%;
	}
	.gallery {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 600px) {
	.container {
		width: 100%;
	}
	.items-links {
		width: 100%;
		margin: 40px auto;
		display: flex;
		align-items: center;
		justify-content: space-evenly;
		gap: 0;
	}
	.item-link {
		padding: 10px 10px;
		font-size: 0.4rem;
		font-weight: 500;
		cursor: pointer;
		border-radius: 15px;
		transition: 0.4s ease;
		min-width: 80px;
		text-align: center;
	}
	.gallery {
		display: flex;
		flex-direction: column;
		gap: 30px;
		justify-content: center;
	}
	.project-img {
		height: max-content;
		margin: 0 30px;
	}

	.container .popup-video video {
		width: 90%;
	}
	.container .popup-img img {
		width: 90%;
		height: auto;
	}
	.container .popup-video span {
		width: 100%;
		text-align: center;
		top: 20%;
		right: 0;
	}
	.container .popup-img span {
		width: 100%;
		text-align: center;
		top: 20%;
		right: 0;
	}
}
/* .................End Projects Section Media Scrin.................... */
