/* Stylowanie slidera */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* body {
    font-family: Arial, sans-serif;
} */
.slider-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
}
.main-slider {
	z-index: 99;
	display: flex;
	transition: transform 0.5s ease-in-out;
}
.main-slider span.filter{
	z-index: 1;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
}
.main-slider .slide:nth-child(even) .slide-content-wrapp{
    right: 10%;
    left: auto;
}
@media screen and (min-width: 1024px){
    .main-slider .slide-2{
        flex-direction: row-reverse;
    }
}
.slide {
	position: relative;
	height: calc(100vh - 89px);
    min-width: 100%;
	overflow: hidden;
}
.slide figure{
	margin: 0;
	height: calc(100vh - 89px);
}
@media screen and (min-width: 768px){
	.slide,
	.slide figure{
		max-height: 768px;
	}
}
.slide figure img { /* do sprawdzenia */
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-content{
	z-index: 11;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
    padding: 0 16%;
	justify-content: flex-start;
	align-items: center;
    margin: auto;
}
@media screen and (min-width: 1600px){
    .slide-content{
        max-width: 1800px;
    }
}
.slide-content .slide-content-wrapp{
    
}
.slide-content .slide-content-wrapp:last-child{
    display: none;
}
@media screen and (min-width: 1024px){
    .slide-content .slide-content-wrapp:last-child{
        display: block;
    }
}
.slide-content h3,
.slide-content p{
	color: #fff;
}
.slide-content a{
    font-size: 1.6rem;
	color: #fff;
}
.slide-content h3{
	font-size: 1.8rem;
	text-transform: uppercase;
}

@media screen and (min-width: 640px){
	.slide-content h3{
		font-size: 2rem;
	}
}
@media screen and (min-width: 900px){
	.slide-content h3{
		font-size: 2.4rem;
	}
}
@media screen and (min-width: 1200px){
	.slide-content h3{
		font-size: 3rem;
	}
}
.slide-content-wrapp{
        /* position: absolute;
        top: 50%;
        left: 10%;
        right: 10%;
        transform: translateY(-50%); */
        z-index: 99;
}
@media screen and (min-width: 1024px){
     .slide-content-wrapp{
        flex: 1 1 50%;
            /* max-width: 480px;
            top: 50%;
            left: 0;
            right: 0; */
    }
    
    /* .slide:nth-child(odd) .slide-content .slide-content-wrapp:first-child{
        left: 10%;
    }
    .slide:nth-child(odd) .slide-content .slide-content-wrapp:last-child{
        right: 10%;
    }

    .slide:nth-child(even) .slide-content .slide-content-wrapp:first-child{
        right: 10%;
    }
    .slide:nth-child(even) .slide-content .slide-content-wrapp:last-child{
        left: 0;
    } */
}

.slide-content-wrapp figure.slide-accent{
	height: inherit;
}
.slide-content-wrapp figure.slide-accent img{
	max-height: 14px;
	width: auto;
}
.slide-content-wrapp .slide-text a{
	display: inline-flex;
	padding: 1.2rem 1.6rem;
	border-radius: 3px;
    /* border: 1px solid #313131; */
	-webkit-transition: background-color 0.2s ease-out;
	-moz-transition: background-color 0.2s ease-out;
	-ms-transition: background-color 0.2s ease-out;
	-o-transition: background-color 0.2s ease-out;
	transition: background-color 0.2s ease-out;
    background-color: #707070;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
}
.slide-content-wrapp .slide-text a:hover{
    /* border: 1px solid #fd2121; */
	background-color: #fd2121;
    text-decoration: none;
    color: #fff;
}

/* kształty */
.rectangle{
	position: absolute;
	top: -160px;
	left: -100px;
	/*max-width: 1050px;*/
	width: 1100px;
	/*max-height: 495px;
	width: 100%;*/
	/*height: 100%;*/
	height: 495px;
	clip-path: inset(35px 60px 65px 0px round 0 200px 200px 0);
	rotate: 40deg;
	animation: akcent 1s ease;
	background-color: #fff;
}
@keyframes akcent{
	0%{
		transform: translate(-100%, 0%);
	}
	100%{
		transform: translate(0%, 0%);
	}	
}
body .slider-container .slider1-prev, 
body .slider-container .slider1-next {
    z-index: 99;
    position: absolute;
    width: 36px;
    /* height: 36px; */
    top: 50%;
    padding: 10px;
    border: 1px solid #707070;
    transform: translateY(-50%);
    -webkit-transition: background-color 0.2s ease-out;
	-moz-transition: background-color 0.2s ease-out;
	-ms-transition: background-color 0.2s ease-out;
	-o-transition: background-color 0.2s ease-out;
	transition: background-color 0.2s ease-out;
    background-color: #707070;
    text-decoration: none;
    color: #fff;
}
body .slider-container .slider1-prev:hover,
body .slider-container .slider1-next:hover{
    cursor: pointer;
    border: 1px solid #fd2121;
    background-color: #fd2121;
    text-decoration: none;
    color: #fff;
}
.slider1-prev {
    left: 10px;
}
.slider1-next {
    right: 10px;
}