@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: "Poppins", sans-serif;
	color: #fff;
	background-color: #000000;
}


/*------------ header start --------------*/
h1 {
	font-size: 4rem;
}

.navbar-expand .navbar-nav .nav-link {
	padding-inline: 3rem;
	color: #fff;
	border: 2px solid #fff;
	font-family: "Bebas Neue", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.5rem;
	text-transform: uppercase;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover {
	color: #fff;
	background-color: #777777;
}

@media screen and (width < 1400px) {
	h1 {
		font-size: 3rem;
	}

	.navbar-expand .navbar-nav .nav-link {
		font-size: 1.2rem;
		padding-inline: 2rem;
	}
}

@media screen and (width < 992px) {
	h1 {
		font-size: 2rem;
	}

	.navbar-expand .navbar-nav .nav-link {
		font-size: 1rem;
		padding-inline: 1.5rem;
	}
}

@media screen and (width < 768px) {
	h1 {
		font-size: 1.5rem;
	}

	.navbar-expand .navbar-nav .nav-link {
		font-size: .9rem;
		padding-inline: .8rem;
	}
}

@media screen and (width < 500px) {
	h1 {
		font-size: 1.4rem;
	}

	.navbar-expand .navbar-nav .nav-link {
		font-size: .84rem;
		padding-inline: .45rem;
	}
}

@media screen and (width < 400px) {
	.navbar-expand .navbar-nav .nav-link {
		font-size: .79rem;
		padding-inline: .3rem;
	}
}
/*----------- header end ------------------*/


/*----------- Gallery Grid start ----------------*/
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 300px;
	place-items: start;
	gap: 2rem;
}

.gallery-grid .gallery-item {
	height: 100%;
	width: auto;
}

.gallery-grid .gallery-item > img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* object-position: left; */
	cursor: pointer;
	transition: .2s ease-in-out scale;
}

.gallery-grid .gallery-item > img:hover {
	scale: 1.02;
}

.gallery-grid .gallery-item:nth-of-type(odd) {
	place-self: end;
}

@media screen and (width < 992px) {
	.gallery-grid {
		grid-auto-rows: 200px;
		gap: 1rem;
	}
}

@media screen and (width < 768px) {
	.gallery-grid {
		grid-auto-rows: 150px;
		gap: .8rem;
	}
}

@media screen and (width < 500px) {
	.gallery-grid {
		grid-auto-rows: 100px;
		gap: .6rem;
	}
}
/*----------- Gallery Grid end ------------------*/

/*----------- Gallery Item Large Start ------------------*/
.gallery-item-large {
	position: fixed;
	top: 50%;
	left: 50%;
	transform-origin: center;
	transform: translate(-140%, -50%) scale(0);
	height: 100vh;
	width: 100vw;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out, background-color 0.6s 1s ease-in-out;
}

.gallery-item-large.show {
	visibility: visible;
	opacity: 1;
	background-color: #000000b3;
	animation: 1.6s ease-in-out forwards;
}

.gallery-grid .gallery-item:nth-of-type(odd) .gallery-item-large.show {
	animation-name: enlargeLeft;
}

.gallery-grid .gallery-item:nth-of-type(even) .gallery-item-large.show {
	animation-name: enlargeRight;
}

.gallery-item-large.hide {
	animation: shrink 1.6s ease-in-out forwards;
}

.gallery-item-large img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@keyframes enlargeLeft {
	0% {
		transform: translate(-140%, -50%) scale(0);
	}

	75% {
		transform: translate(-50%, -50%) scale(1.1);
	}

	100% {
		transform: translate(-50%, -50%) scale(1);
	}
}

@keyframes enlargeRight {
	0% {
		transform: translate(30%, -50%) scale(0);
	}

	75% {
		transform: translate(-50%, -50%) scale(1.1);
	}

	100% {
		transform: translate(-50%, -50%) scale(1);
	}
}

@keyframes shrink {
	0% {
		transform: translate(-50%, -50%) scale(1);
	}

	75% {
		transform: translate(-50%, -50%) scale(1.1);
	}

	100% {
		transform: translate(-140%, -50%) scale(0);
	}
}

.gallery-item-large .close-btn {
	position: absolute;
	top: 2rem;
	right: 2rem;
	visibility: hidden;
	opacity: 0;
	width: 30px;
	height: 30px;
	cursor: pointer;
	transition: 0.5s ease 2s visibility, 0.5s ease 2s opacity, 0.5s ease tranform;
	transition-property: visibility, opacity, transform;
}

.gallery-item-large .close-btn:hover {
	transform: rotate(-90deg);
}

.gallery-item-large.show .close-btn {
	visibility: visible;
	opacity: 1;
}

.gallery-item-large .close-btn span {
	position: absolute;
	top: .8rem;
	width: 100%;
	height: 3px;
	background-color: #fff;
	border-radius: 2px;
	transition: 0.3s ease;
}

.gallery-item-large .close-btn span:first-child {
	transform: rotate(45deg);
}

.gallery-item-large .close-btn span:last-child {
	transform: rotate(-45deg);
}


/*----------- Gallery Item Large End ------------------*/

/*----------- Pagination start ------------------*/
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	color: grey;
}

.pagination .page-item .page-link {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	color: grey;
	background: none;
	border: none;
	width: 2.5rem;
	font-size: 1.3rem;
}

.pagination .page-item.active .page-link {
	color: white;
	border-bottom: 3px solid;
}

.pagination .page-item .page-link:hover {
	color: white;
}

.pagination .page-arrow {
	font-size: 30px;
	background-color: #0E0E0E;
	color: white;
	border-radius: 50%;
	cursor: pointer;
}

.pagination .page-arrow.disabled {
	cursor: not-allowed;
}

@media screen and (width < 992px) {
	.pagination .page-item .page-link {
		font-size: 1rem;
	}

	.pagination .page-arrow {
		font-size: 25px;
	}
}

@media screen and (width < 768px) {
	.pagination .page-item .page-link {
		font-size: .85rem;
	}
}

@media screen and (width < 500px) {
	.pagination {
		gap: .5rem;
	}

	.pagination .page-item .page-link {
		width: 2.2rem;
		font-size: .7rem;
	}

	.pagination .page-item.active .page-link {
		border-bottom: 2px solid;
	}

	.pagination .page-arrow {
		font-size: 22px;
	}
}
/*----------- Pagination end ------------------*/