/*
@font-face {
	font-family: 'Roboto Slab 800'; 
	src: url(/lib/fonts/roboto_slab/RobotoSlab-600.ttf); 
}
*/

.block_slider {
	position: relative;
}

.block_slide_3 {
	position: absolute;
	z-index: 100;
	width: 100%;
	height: 100%;
	/*
	background-position: cover;
    object-fit: cover;
	*/
	/* mask-image: url(/blocks/slider/frontend/3/bg_mask_1.svg); */

	background-position: center !important;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: transparent;
	mask-position: 100%;
}


/* --- SLIDES --- */
.block_slide_3:first-child {
	z-index: 101;
}

.block_slide_3_img {
	width: 100%;
    display: block;
    height: 100% !important;
}

.block_slide_3_cnt {
	/* font-family: 'Open Sans', sans-serif; */
	position: absolute;
	z-index: 105;
	display: flex;
	justify-content: flex-start;
    align-items: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	text-align: center;
}

.block_slide_3_cnt_card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	overflow: hidden;
	margin-left: 2%;
	width: 30%;
	height: 50%;
	padding: 20px;
	box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 10px 80px 10px 80px;
	backdrop-filter: blur(20px);
	animation-name: block_slide_3_effect_opacity;
	animation-delay: 1s;
	animation-duration: 0.3s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
}


/* --- ТОЧКИ --- */
.block_slide_3_dots_container {
	position: absolute;
	z-index: 110;	
	top: 10px;
	left: 10px;
}

.block_slide_3_dot, .block_slide_3_dot_active {
	float: left;
	width: 20px;
	height: 20px;
	margin-left: 5px;
	border-radius: 50%;
	background-color: RGBA(0, 0, 0, 0.62);
	cursor: pointer;
}

.block_slide_3_dot_active {
	background-color: RGBA(255, 0, 0, 0.62);
}


/* --- ЭЛЕМЕНТЫ НАВИГАЦИИ --- */
.block_slide_3_nav_prev {
    position: absolute;
    top: calc(50% - 20px);
    left: 10px;
    z-index: 110;
    cursor: pointer;
}

.block_slide_3_nav_next {
    position: absolute;
    top: calc(50% - 20px);
    right: 10px;
    z-index: 110;
    cursor: pointer;
}


/* --- ТЕКСТ НА СЛАЙДЕ --- */
.block_slide_3_text_1 {	
	opacity: 0;
	margin-bottom: 20px;
	/* font-family: 'Roboto Slab 800', serif; */
	font-family: 'Roboto', sans-serif;
	font-weight: 800;
	letter-spacing: 1px;
	line-height: 1.1;
	/* text-shadow: 1px 1px 3px rgba(0,0,0,0.3); */
	animation-name: block_slide_3_effect_opacity;
	animation-delay: 1.3s;	
	animation-duration: 1s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
}

.block_slide_3_text_2 {
	opacity: 0;
    max-width: 1600px;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	letter-spacing: 2px;
	text-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	animation-name: block_slide_3_effect_opacity;
	animation-delay: 1.6s;	
	animation-duration: 1s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
}


/* --- КНОПКИ НА СЛАЙДЕ --- */
.block_slide_3_buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.block_slide_3_button_1,
.block_slide_3_button_2 {
	opacity: 0;
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	font-weight: 600;
	border: 3px solid;
	animation-name: block_slide_3_effect_opacity;
	animation-delay: 1.9s;	
	animation-duration: 1s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
	transition: 0.3s;
}

.block_slide_3_button_1:hover,
.block_slide_3_button_2:hover {
	text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
	transform: scale(1.05);
}


/* --- МАСКИ --- */
.block_slide_3.mask_1 {
	mask: url(/blocks/slider/frontend/3/mask_nature_1.png);
	mask-size: 2300% 100%;
	animation: mask-play 1s steps(22) forwards;
}

.block_slide_3.mask_2 {
	mask: url(/blocks/slider/frontend/3/mask_nature_2.png);
	mask-size: 7100% 100%;
	animation: mask-play-reverse 1s steps(70) forwards;
}

.block_slide_3.mask_3 {
	mask: url(/blocks/slider/frontend/3/mask_building_1.png);
	mask-size: 7500% 100%;
	animation: mask-play-reverse 1s steps(74) forwards;
}

.block_slide_3.mask_4 {
	mask: url(/blocks/slider/frontend/3/mask_building_2.png);
	mask-size: 8400% 100%;
	animation: mask-play-reverse 1s steps(83) forwards;
}

.block_slide_3.mask_5 {
	mask: url(/blocks/slider/frontend/3/mask_urban_1.png);
	mask-size: 3000% 100%;
	animation: mask-play-reverse 1s steps(29) forwards;
}

.block_slide_3.mask_6 {
	mask: url(/blocks/slider/frontend/3/mask_urban_2.png);
	mask-size: 7400% 100%;
	animation: mask-play-reverse 1s steps(73) forwards;
}


/* ======= АНИМАЦИИ ======= */
/* Анимация подожки и элементов на ней */
@keyframes block_slide_3_effect_opacity {
    0% {
		opacity: 0;
	}
    100% {
		opacity: 1;	
	}
}

/* Анимация маски */
@keyframes mask-play {
	from {
		mask-position: 0% 0;
	}
	to {
		mask-position: 100% 0;
	}
}

/* Анимация маски */
@keyframes mask-play-reverse {
	from {
		mask-position: 100% 0;
	}
	to {
		mask-position: 0% 0;
	}
}


/* ======= MOBILE ======= */
@media screen and (max-width: 480px) {
	.block_slide_3_dot,
	.block_slide_3_dot_active {
		width: 10px;
		height: 10px;
	}

	.block_slide_3_cnt_card {
		padding: 20px !important;
	}

	.block_slide_3_text_1 {
		font-size: 3.5vw !important;
		margin-bottom: 0px;
	}

	.block_slide_3_text_2 {
		display: none;
	}
	
	.block_slide_3_buttons {
		display: none;
	}
}