@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i|Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&subset=cyrillic,cyrillic-ext,devanagari,greek,greek-ext,latin-ext,vietnamese');


@font-face {
	font-family: termina;
	src: url(TerminaTest-Regular.otf);
}

@font-face {
	font-family: terminabold;
	src: url(TerminaTest-Bold.otf);
}




@font-face {
	font-family: visoki;
	src: url(Deutschlander-O5we.ttf);
}


body{
	width: 100%;
  height: 100vh;
  background: #000;
	overflow: hidden;
	height: 200vh;
	overflow: scroll;
}



/* #Slider
================================================== */

.hoverslider{
	position: relative;
	width: 100%;
	display: block;
	overflow: hidden;
	height: 80vh;
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	margin-top: 50vh;
}

.section{
	position: relative;
	width: 100%;
	display: block;
	overflow: hidden;
	height: 100vh;
	background-color: #0a0901;
	display: flex;
	transition: opacity 0.3s;
}




.hovertitle{
	font-size: 12rem;
	z-index: 999;
	position: absolute;
	left: 10%;
	bottom: 13rem;
	font-family: visoki;
	text-transform: uppercase
	;
	color: gold;
}

.hovertitlever {
	position: absolute;
	z-index: 999;
	color: white;
	font-family: visoki;
	width: 50vh;
	text-transform: uppercase;
	bottom: 12rem;
	left: 50%;
	font-size: 9rem;
	transform: translateX(-50%) rotate(270deg) ;
	background: linear-gradient(to right, gold, gold 50%, white 50%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 200% 100%;
	background-position: 100%;
	transition:  background-position 600ms ease-out ;
	
}


.section:hover .hovertitlever {
	background-position: 0 100%;
	
}

/* Case Study Showcase
================================================== */

.case-study-wrapper {
	position: absolute;
	bottom: 10%;
	left: 10%;
	z-index: 10;
	width: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}
.case-study-wrapper .case-study-name a {
	position: relative;
	list-style: none;
	margin: 0;
	display: block;
	text-align: left;
	padding: 0;
	font-size: 1.3rem;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	font-family: 'termina', sans-serif;
	font-weight: 500;
	line-height: 1.3;
	color: #8e8d9a;
	opacity: 0.6;
	text-decoration: none;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear; 
}	
.case-study-wrapper .case-study-name a:hover {
	text-decoration: none;
}	
.case-study-wrapper .case-study-name.active a {
	opacity: 1;
	color: #fff;
}	

.case-study-wrapper .case-study-name a {
    display: inline-block;
	
}

.case-study-wrapper .case-study-name a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: gold;
    transition: width 0.5s ease-in-out;
}

.case-study-wrapper .case-study-name.active a::before {
    width: 100%;
}

  
.case-study-images {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin:0;
	z-index:2;
	transition: 0.3s;
	
}	





.case-study-images li {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
	list-style:none;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear; 
	opacity: 0.3;
}	

.section:hover .case-study-images li {
	opacity: 1;
}


.case-study-images li .img-hero-background{
	position: absolute;
	width: 100%;
	height: 110%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position:center center;
	background-repeat:no-repeat;
	top: 0;
	left: 0;
	overflow: hidden;
	list-style:none;
	opacity: 0;
	-webkit-transform: translateY(-30px); 
	transform: translateY(-30px) ;
	-webkit-transition: all 300ms linear;
	transition: all 200ms linear; 
	scale: 1.1;

}

.section:hover .case-study-images li .img-hero-background{
	
	scale: 1;

}


.case-study-images li.show .img-hero-background {
	opacity: 1;
	-webkit-transform: translateY(0);
	transform: translateY(0) ;
} 


.case-study-images li .case-study-title{
	position: absolute;
	bottom: 30px;
	left: 30px;
	display: block;
	opacity: 0;
	color: #fff;
	z-index: 19;
	letter-spacing: 1px;
	font-size: 14px;
	font-family: 'termina', sans-serif;
	-webkit-writing-mode: vertical-lr;
	writing-mode: vertical-lr;
	font-weight: 400;
	line-height: 16px;
	color: #fff; 
	font-style: italic;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear; 
}
.case-study-images li.show .case-study-title {
	opacity: 1;
	-webkit-transform: translateX(0);
	transform: translateX(0);
} 

.case-study-images li .hero-number{
	position: absolute;
	bottom: 40px;
	left: 50%;
	width: 40px;
	margin-left: -70px;
	display: block;
	letter-spacing: 2px;
	text-align: center;
	list-style:none;
	opacity: 0;
	font-size: 13px;
	font-family: 'termina', sans-serif;
	font-weight: 300;
	line-height: 1;
	color: #fff;
	z-index: 6;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear; 
} 
.case-study-images li .hero-number-fixed{
	position: absolute;
	bottom: 40px;
	left: 50%;
	margin-left: 30px;
	width: 40px;
	text-align: center;
	display: block;
	letter-spacing: 2px;
	list-style:none;
	font-size: 13px;
	font-family: 'termina', sans-serif;
	font-weight: 300;
	line-height: 1;
	color: #fff;
	z-index: 6;
}
.case-study-images li .hero-number-fixed:before{
	position: absolute;
	content: '';
	top: 50%;
	left: -60px;
	width: 60px;
	height: 1px;
	z-index: 1;
	background-color: rgba(255,255,255,.4);
}
.case-study-images li.show .hero-number {
	opacity: 1;
	-webkit-transform: translateY(0);
	transform: translateY(0);
} 

.dark-over-hero{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index:9;
	background-image: linear-gradient(to top, rgba(0, 0, 0, 0.597) , rgba(0, 0, 0, 0));
}



/* Slider 1 */
.slider1 .case-study-images li:nth-child(1) .img-hero-background {
    background-image: url("https://academy-cdn.wedio.com/2021/04/jakob-owens-kr-iNWyLuq4-unsplash-min.jpg");
}

.slider1 .case-study-images li:nth-child(2) .img-hero-background {
    background-image: url("http://www.ivang-design.com/svg-load/2.jpg");
}

.slider1 .case-study-images li:nth-child(3) .img-hero-background {
    background-image: url("http://www.ivang-design.com/svg-load/3.jpg");
}

.slider1 .case-study-images li:nth-child(4) .img-hero-background {
    background-image: url("http://www.ivang-design.com/svg-load/4.jpg");
}

/* Slider 2 */
.slider2 .case-study-images li:nth-child(1) .img-hero-background {
    background-image: url("https://images.unsplash.com/photo-1619279044032-bc88d3844157?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1yZWxhdGVkfDJ8fHxlbnwwfHx8fA%3D%3D&w=1000&q=80");
}

.slider2 .case-study-images li:nth-child(2) .img-hero-background {
    background-image: url("https://path.to.your.image/2.jpg");
}


.slider2 .case-study-images li:nth-child(3) .img-hero-background {
    background-image: url("https://path.to.your.image/2.jpg");
}



.slider2 .case-study-images li:nth-child(4) .img-hero-background {
    background-image: url("https://path.to.your.image/2.jpg");
}


.slider3 .case-study-images li:nth-child(1) .img-hero-background {
    background-image: url("https://store-guides2.djicdn.com/guides/wp-content/uploads/2017/09/PHANTOM-4-pRO-OBSIDIAN1-1024x592.jpg");
}

.slider3 .case-study-images li:nth-child(2) .img-hero-background {
    background-image: url("https://www.1nput.net/wp-content/uploads/2012/12/I2-Fly-16V-2-1-of-1.jpg");
}

.slider3 .case-study-images li:nth-child(3) .img-hero-background {
    background-image: url("https://images.unsplash.com/photo-1621409450112-c7413e42507b?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8ZGppJTIwbWF2aWMlMjAyJTIwcHJvfGVufDB8fDB8fA%3D%3D&w=1000&q=80");
}

.slider3 .case-study-images li:nth-child(4) .img-hero-background {
    background-image: url("https://cdn.shopify.com/s/files/1/1901/8767/articles/dji-mavic-air-2-review-Pat-Kay-Blog-09015_1920x.jpg?v=1608345520");
}

/* and so on for other sliders and their images */


.section {
    transition: width 0.5s ; /* add this line to animate the width change */
}


.section.clicked {
    width: 600%;
}




@media (max-width: 991px) { 
	.case-study-images li .hero-number-back{
		font-size: 26vw;
	} 
}

@media (max-width: 767px) {	
	.case-study-wrapper .case-study-name a {
		font-size: 20px;
		letter-spacing: 1px;
	}
	.case-study-images li .hero-number-back{
		font-size: 32vw;
	} 

	.hoverslider{
		flex-direction: column;
	}

	.hoverslider {
		height: 80vh;
	}

	.hovertitlever {
		transform: rotate(0deg);
		bottom: 0.5rem;
		font-size: 2.5rem;
		left: 2rem;
		font-family: terminabold;
	}

	.hovertitle {
		bottom: 10rem;
		font-size: 8rem;
	}

	.section {
		transition: height 0.5s;
	}

	.section.clicked {
		width: 100% !important;
		height: 500%;
		transition: 1s;
	}

	.case-study-images li {
		opacity: 1;
	}

	.case-study-wrapper .case-study-name a  {
		font-size: 1rem;
	}
	
}


