

.stories{
	font-family: "sf-pro", sans-serif;
}

.stories *{
	font-family: "sf-pro", sans-serif;
}


.story.no-media{
	background: rgb(32,139,157);
	background: linear-gradient(7deg, rgba(32,139,157,1) 0%, rgba(208,242,137,1) 100%);
}
.stories .container .story{
	aspect-ratio: 9 / 16;	
	position: relative;
	border-radius: 20px;
	display: inline-block;
	height: var(--slide-height);	
	overflow: hidden;
}

.stories .container .story.show-background:after{
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 79%, rgba(0,0,0,0.4) 100%);
	z-index: 1;
	height: var(--slide-height);	
}

.stories .container .story .data{
	position: absolute;
	padding: 0px 30px;
	bottom: 15px;
	width: 100%;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 30px;
	transform: translateY(50px);
	transition: 600ms cubic-bezier(.28,.39,.04,1.01);
}

.stories .container .story:hover > .data{
	transform: translateY(0);
	transition: 600ms cubic-bezier(.28,.39,.04,1.01);
}

.stories .container .story .data .data-icon{
	width: 30px;
	height: 30px;
	text-align: center;
	margin: 0 auto;
}

.stories .container .story p.title{
	color: white;
	font-size: 35px;
	line-height: 1;
	margin: 0px;
	font-weight: bold;
}

.stories .container .story .background{
	position: absolute;
	z-index: 1;
	top: 50%;
	left:50%;
	transform: translate(-50%,-50%);
	object-fit: cover;
	height: 100%;
	width: 100%;
	border-radius: 20px;
}

.stories .container .story .icon{
	position: absolute;
	z-index: 2;
	bottom: 10px;
	right: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;	
	border: 1px solid rgba(255,255,255,0.3);
	padding: 5px;
	border-radius: 50%;
	width: 25px;
	height: 25px;
	backdrop-filter: blur(15px);
	background-color: rgba(0,0,0,0.3);
}

.stories .container .story .icon span{
	font-size: 20px;
	line-height: 1;
	transform: rotate(-45deg);
	padding-bottom: 2px;
	padding-left: 2px;
}

.storyes-modal{
	display: none;
	opacity: 0;
	background-color: rgba(0,0,0,0.1);
	overflow-y: scroll;
}

.storyes-modal.show{
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-height: 100vh;
	height: 100%;
	z-index: 99999999999;
	opacity: 1;
	margin: 0 auto;
	background-color: rgba(0,0,0,0.9);
/*	backdrop-filter: blur(15px);*/
}

.storyes-modal .viewport{
	max-width: 600px;
	margin: 0 auto;
	transition: translateY(30px);
	border-radius: 15px;
}

.storyes-modal.show .viewport{
	max-height: 100vh;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	animation: opacityInWithPop 150ms ease;
	animation-fill-mode: forwards;
	transform: translateX(0px) scale(0.95);
}

@keyframes opacityInWithPop{
	from{
		opacity: 0;
		transform: translateY(30px) scale(0.92);
	}
	to{
		opacity: 1;
		transform: translateY(0px) scale(0.95);
	}
}


.storyes-modal .pack{
	position: relative;

	overflow: hidden;
	visibility: hidden;
	height: 0px;
	width: 0px;
	opacity: 0;
	transform: scale(0.98);
}

.storyes-modal .pack.show{
	width: 100%;
	height: 100dvh;

	visibility: visible;
	height: 100%;
	max-height: 100vh;
	animation: opacityIn 150ms ease;
	animation-fill-mode: forwards;
	animation-delay: 50ms;
}
@keyframes opacityIn{
	from{
		opacity: 0;
		transform: scale(0.98);
		
	}
	to{
		opacity: 1;
		transform: scale(1);
	}
}
.storyes-modal .progress-bars{
	display: flex;
	position: absolute;
	gap: 10px;
	width: 100%;
	top: 10px;
	left: 0;
	z-index: 100;
	padding: 0px 15px;
}

.storyes-modal .progress-bars .bar-container{
	flex: 1;
	background-color: rgba(255,255,255,0.3);
	border-radius: 50px;
	overflow: hidden;
}

.storyes-modal .progress-bars .bar.viewed{
	width: 100%!important;
}

.storyes-modal .progress-bars .bar{
	background-color: rgba(255,255,255,0.6);	
	height: 3px;
	flex: 1;
}

body:has(.storyes-modal.show){
	overflow-y: hidden;
}
.storyes-modal .storyes{
	height: 100%;
	width: 100%;
}




.storyes-modal .storyes .story a.play-video{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 3;
	border-radius: 50%;
	background-color: rgba(0,0,0,0.5);
	height: 100px;
	width: 100px;
	line-height: 1;
	display: none;
	justify-content: center;
	align-items: center;
	backdrop-filter: blur(15px);
	opacity: 0;
	transition: opacity 150ms ease;
}

.storyes-modal .storyes .story a.play-video.show{
	display: flex;
	opacity: 1;
}

.storyes-modal .storyes .story a.play-video img{
	height: 90px;
	width: 90px;
}

.storyes-modal .storyes .story{
	position: relative;	
	background-color: black;
	border-radius:15px;
	overflow: hidden;
	visibility: hidden;
	height: 0px;
	width: 0px;
	
	opacity: 0;

	animation: popOutWithOpacity 150ms ease;
	animation-fill-mode: forwards;

}

.storyes-modal .storyes .story.show{
	height: 100%;
	width: 100%;
	visibility: visible;	
	
	opacity: 0;
	animation: popInWithOpacity 150ms ease;
	animation-fill-mode: forwards;
	animation-delay: 150ms;
}

@keyframes popInWithOpacity{
	from{
		
		opacity: 0;
	} 
	to{
		
		opacity: 1;
	}
}

@keyframes popOutWithOpacity{
	from{
		
		opacity: 1;
	} 
	to{
		
		opacity: 0;	
	}
}

/*here*/

.storyes-modal .storyes .story:after{
	content: '';
	position: absolute;
	left: -1px;
	right: -1px;
	bottom: -5px;
	top: -1px;
	z-index: 1;
	height: 101%;
	width: 101%;	
/*	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 79%, rgba(0,0,0,0.7) 100%);	*/
	border-radius: 15px;
}

.storyes-modal .storyes .story img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.storyes-modal .storyes .story video{
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-color: #8b7671;
	overflow: hidden;
}

.storyes-modal .storyes .story .btn{
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);		
	font-size: 16px;
	background-color: white;
	z-index: 3;
	text-align: center;
	text-decoration: none;
	color: black;
	padding: 10px 30px;
	border-radius: 10px;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 1;
}

.storyes-modal .prev{
	
	
	left: 0;
	width: 30%;
	
	
}

.storyes-modal .next{
	
	
	right: 0;
	width: 30%;
	
	
}

.storyes-modal .pack .close a{
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.3);
	backdrop-filter: blur(10px);
	background-color: rgba(0,0,0,0.3);
}

.storyes-modal .pack .close a:focus,
.storyes-modal .pack .close a:active,
.storyes-modal .pack .close a:hover{
	border: 1px solid rgba(255,255,255,0.8);
	background-color: rgba(255,255,255,0.3);
	transition: 150ms ease;
}

.storyes-modal .pack .close{
	position: absolute;
	z-index: 999999;
	top: 25px;
	right: 15px;
	
	cursor: pointer;
}

.storyes-modal .pack .close a img{
width: 25px;
	height: 25px;
}

.storyes-modal .data{
	position: absolute;
	bottom: 60px;
	left: 15px;
	z-index: 2;
	color: white;
	padding: 0px 15px;
	width: 100%;
}

.storyes-modal .data p.title{
	font-size: 36px;
	max-width: 80%;
	color: white;
	line-height: 1.4;
	width: 100%;
}

.stories{	
	position: relative;
	z-index: 2;
}

.stories .embla__buttons{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	z-index: 3;
	display: flex;
	justify-content: space-between;
	
	
}

.embla__button{

	opacity: 0;
	transform: scale(0);
	transition: 150ms ease;
}

.embla__button:not([disabled="disabled"]){
	opacity: 1;
	transform: scale(1);
	transition: 300ms ease;
}

.storyes-modal .story-nav{
	position: absolute;
	display: flex;
	align-items: center;
	z-index: 1;
	height: 60%;
	top: 50%;
	transform: translateY(-50%);
	padding: 0px 15px;
}

.storyes-modal .story-nav.next {
	justify-content: flex-end;
}


.story-nav .arrows{
	background-color: rgba(0,0,0,0.3);
	border-radius: 50%;
	padding: 10px;
	border: 1px solid rgba(255,255,255,0.3);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	cursor: pointer;
	transition: 300ms ease;
}

.story-nav .arrows svg{
	width: 100%;
	height: 100%;
}

.story-nav .arrows svg path{
	fill: white;
}

.story-nav .arrows.left{
	padding-right: 14px;
}

.story-nav .arrows.right{
	padding-left: 14px;
}

.story-nav .arrows:hover{
	border-color: rgba(255,255,255,0.6);
	background-color: rgba(0,0,0,0.6);
	transition: 150ms ease;
}

@media screen and (max-width: 768px){
	.stories .container .story p.title{
		font-size: 20px;
		line-height: 1.4;
	}
	.stories .container .story .data{
		padding: 0px 25px;
	}
}

