.gallery-one,
.gallery-one__bottom,
.gallery-one__img,
.gallery-one__img-box,
.gallery-one__top,
.gallery-one__top-left,
.gallery-one__top-text,
.gallery-three__img,
.gallery-two__tab-box {
	position: relative;
	display: block
}

.gallery-one__img:before,
.gallery-three__img:before {
	content: "";
	bottom: -2px;
	right: 0;
	visibility: hidden;
	left: 0;
	background-color: var(--crank-black)
}

.gallery-one__icon a,
.gallery-three__icon a {
	height: 80px;
	font-size: 25px;
	opacity: 0;
	color: var(--crank-white)
}

.gallery-one__icon a:hover,
.gallery-three__icon a:hover {
	color: var(--crank-black);
	background-color: var(--crank-white)
}

.gallery-four__content,
.gallery-one__img:before,
.gallery-three__img:before,
.gallery-two {
	background-color: var(--crank-black)
}

.gallery-four__arrow a,
.gallery-four__title-box h3 a,
.gallery-four__title-box p,
.gallery-one__icon a,
.gallery-three__icon a,
.gallery-two .section-title__title,
.gallery-two__tab-box .gallery-two-tab-buttons .p-tab-btn.active-btn span,
.gallery-two__tab-box .gallery-two-tab-buttons .p-tab-btn:hover span {
	color: var(--crank-white)
}

.gallery-one {
	padding: 120px 0 0;
	z-index: 1
}

.gallery-one__top {
	margin-bottom: 59px
}

.gallery-one__top .section-title {
	margin-bottom: 0
}

.gallery-one__top-text {
	margin-top: 83px
}

.gallery-four__img-box,
.gallery-one__single {
	position: relative;
	display: block;
	margin-bottom: 30px
}

.gallery-one__img-box {
	overflow: hidden
}

.gallery-one__img:before {
	position: absolute;
	top: 0;
	border-radius: 20px;
	opacity: 0;
	-webkit-transform-origin: top center;
	transform-origin: top center;
	-webkit-transform: scaleY(0) translateZ(100px);
	transform: scaleY(0) translateZ(100px);
	-webkit-transition: opacity .5s, visibility .5s, -webkit-transform .7s;
	transition: opacity .5s, visibility .5s, transform .7s, -webkit-transform .7s;
	z-index: 2
}

.gallery-one__single:hover .gallery-one__img:before {
	opacity: .9;
	visibility: visible;
	-webkit-transform: scaleY(1) translateZ(0);
	transform: scaleY(1) translateZ(0)
}

.gallery-one__img,
.gallery-three__img {
	overflow: hidden;
	border-radius: 20px;
	z-index: 1
}

.gallery-one__img img,
.gallery-two__img img {
	width: 100%;
	border-radius: 20px
}

.gallery-one__icon,
.gallery-three__icon {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	z-index: 2
}

.gallery-one__icon a {
	width: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--crank-base);
	-webkit-transform: scale(0);
	transform: scale(0);
	-webkit-transition: .5s;
	transition: .5s;
	z-index: 2
}

.gallery-one__single:hover .gallery-one__icon a {
	-webkit-transform: scale(1);
	transform: scale(1);
	transition-delay: 0.5s;
	opacity: 1
}

.gallery-two {
	position: relative;
	display: block;
	padding: 120px 0;
	z-index: 1
}

.gallery-two__tab-box .gallery-two-tab-buttons {
	position: absolute;
	display: flex;
	align-items: center;
	top: -100px;
	right: 0
}

.gallery-two__tab-box .gallery-two-tab-buttons .p-tab-btn {
	position: relative;
	display: block;
	cursor: pointer;
	background-color: var(--crank-gray);
	padding: 8px 15px 7px;
	border-radius: 20px;
	overflow: hidden;
	z-index: 1
}

.gallery-two__tab-box .gallery-two-tab-buttons .p-tab-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--crank-base);
	background-position: center top;
	transition: .5s ease-in-out .1s;
	transform-origin: top;
	transform-style: preserve-3d;
	transform: scaleY(0);
	z-index: -1
}

.gallery-two__tab-box .gallery-two-tab-buttons .p-tab-btn.active-btn::before,
.gallery-two__tab-box .gallery-two-tab-buttons .p-tab-btn:hover::before {
	transform: scaleY(1)
}

.gallery-two__tab-box .gallery-two-tab-buttons .p-tab-btn+.p-tab-btn {
	margin-left: 30px
}

.gallery-two__tab-box .gallery-two-tab-buttons .p-tab-btn span {
	position: relative;
	display: inline-block;
	font-size: 18px;
	font-weight: 600;
	color: var(--crank-white);
	font-family: var(--crank-font-two);
	-webkit-transition: .5s;
	transition: .5s
}

.gallery-four__bottom,
.gallery-four__left,
.gallery-four__single,
.gallery-four__title-box,
.gallery-four__top,
.gallery-three__wrap,
.gallery-two__carousel,
.gallery-two__img,
.gallery-two__inner,
.gallery-two__single,
.gallery-two__tab-box .p-tabs-content {
	position: relative;
	display: block
}

.gallery-two__tab-box .p-tab {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: auto;
	opacity: 0;
	visibility: hidden;
	-webkit-transform: translateY(10px);
	-ms-transform: translateY(10px);
	transform: translateY(10px);
	-webkit-transition: .6s;
	-moz-transition: .6s;
	-ms-transition: .6s;
	-o-transition: .6s;
	transition: .6s
}

.gallery-two__tab-box .p-tab.active-tab {
	position: relative;
	visibility: visible;
	opacity: 1;
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	z-index: 5
}

.gallery-two__carousel .owl-stage-outer {
	position: relative;
	overflow: visible;
	-webkit-transform: translate3d(0, 0, 0)
}

.gallery-two__carousel.owl-carousel .owl-dots {
	position: relative;
	text-align: center;
	margin: 80px 0 0 !important;
	display: flex;
	align-items: center;
	justify-content: center
}

.gallery-two__carousel.owl-carousel .owl-dots .owl-dot+.owl-dot {
	margin-left: 16px
}

.gallery-two__carousel.owl-carousel .owl-dots .owl-dot {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 10px;
	border-radius: 5px;
	background-color: rgba(244, 244, 244, .1);
	margin: 0;
	padding: 0;
	transition: .1s linear 0.1s
}

.gallery-two__carousel.owl-carousel .owl-dot.active {
	background-color: var(--crank-base);
	width: 145px
}

.gallery-two__carousel.owl-carousel .owl-dot:focus {
	outline: 0
}

.gallery-two__carousel.owl-carousel .owl-dots .owl-dot span {
	display: none
}

.gallery-three {
	position: relative;
	display: block;
	padding: 120px 0;
	z-index: 1
}

.gallery-three__list {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	flex-wrap: nowrap;
	width: fit-content
}

.gallery-three__list li {
	position: relative;
	display: block;
	float: left;
	margin-right: 30px
}

.gallery-three__img:before {
	position: absolute;
	top: 0;
	border-radius: 20px;
	opacity: 0;
	-webkit-transform-origin: top center;
	transform-origin: top center;
	-webkit-transform: scaleY(0) translateZ(100px);
	transform: scaleY(0) translateZ(100px);
	-webkit-transition: opacity .5s, visibility .5s, -webkit-transform .7s;
	transition: opacity .5s, visibility .5s, transform .7s, -webkit-transform .7s;
	z-index: 2
}

.gallery-three__list li:hover .gallery-three__img:before {
	opacity: .9;
	visibility: visible;
	-webkit-transform: scaleY(1) translateZ(0);
	transform: scaleY(1) translateZ(0)
}

.gallery-three__img img {
	width: 100%;
	border-radius: 20px
}

.gallery-three__icon a {
	width: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--crank-base);
	-webkit-transform: scale(0);
	transform: scale(0);
	-webkit-transition: .5s;
	transition: .5s;
	z-index: 2
}

.gallery-three__list li:hover .gallery-three__icon a {
	-webkit-transform: scale(1);
	transform: scale(1);
	transition-delay: 0.5s;
	opacity: 1
}

.gallery-three__list--two {
	margin-top: 30px
}

.gallery-four {
	position: relative;
	display: block;
	padding: 90px 0;
	z-index: 1
}

.gallery-four__right {
	position: relative;
	display: block;
	margin-left: 126px;
	margin-top: 81px
}

.gallery-four__img {
	position: relative;
	display: block;
	overflow: hidden
}

.gallery-four__img:before {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	content: '';
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, .4);
	border-radius: 50%;
	-webkit-transform: translateY(-90%, -90%);
	transform: translateY(-90%, -90%);
	opacity: 0;
	z-index: 1
}

.gallery-four__img-box:hover .gallery-four__img:before {
	-webkit-animation: .95s circle;
	animation: .95s circle
}

.gallery-four__img img {
	width: 100%;
	border-radius: 20px
}

.gallery-four__content {
	position: absolute;
	left: 40px;
	bottom: 40px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	gap: 60px;
	padding: 18px 40px 20px;
	background-position: center bottom;
	transition: .5s ease-in-out .1s;
	transform-origin: bottom;
	transform-style: preserve-3d;
	transform: scaleY(0);
	z-index: 2
}

.gallery-four__img-box:hover .gallery-four__content {
	transform: scaleY(1)
}

.gallery-four__title-box h3 {
	font-size: 24px;
	font-weight: 600;
	line-height: 34px;
	margin-bottom: 8px
}

.gallery-four__title-box h3 a:hover {
	color: var(--crank-base)
}

.gallery-four__arrow {
	position: relative;
	display: inline-block
}

.gallery-four__arrow a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	font-size: 20px;
	transform: rotate(-45deg);
	border: 1px solid var(--crank-white);
	border-radius: 50%
}

.gallery-four__arrow a:hover {
	background-color: var(--crank-white);
	color: var(--crank-base)
}