.slider{
	width: 100%;
	height: 98.5vh;
	position: relative;
	z-index: -1;
	overflow: hidden;
}
.slider:after{
	position: absolute;
	width: 110vw;
	height: 5vw;
	transform: translateX(-50%) translateY(50%) rotate(2.5deg);
	left: 50%;
	bottom:0;
	content: "";
	background: #fff;
	z-index: 24;
}
.slider .inner{
	height: 100%;
	padding: 120px 40px 18vh;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	position: relative;
	z-index: 20;

}
.slider h2{
	background: rgba(0,0,0,0.3);
	color:#fff;
	text-align: center;
	display: inline-block;
	padding: 12px 30px 15px;
	border-radius: 15px;
	font-size: 3em;
	line-height:1.1em;
	font-weight: 700;
}
.slider-cover{
	position: absolute;
	z-index: 1;
	background: rgba(0,0,0,0.2);
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}
@media screen and (max-width: 1070px){
	.slider{
		height: 75vh;
	}

}
@media screen and (max-width:600px){
	.slider h2{
		font-size: 2.53em;
	}
}
@media screen and (max-width:400px){
	.slider h2{
		font-size: 2em;
	}
}