<from class="form">
<div class="form__email">
<label for="">E-mail</label>
<input type="email" required name="email" placeholder="E-mail">
</div>
</from>
.main-slider {
overflow: hidden;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
line-height: 1;
font-size: 0;
margin: 0;
}
.main-slider__media {
width: 502px;
height: 280px;
margin: 0;
}
.main-slider__play {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 32px;
height: 41px;
background-image: url("../../img/icons/play.svg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
z-index: 50;
}
.slider-container {
overflow-x: hidden;
width: 100%;
padding: 100px 0;
margin-top: 50px;
}
.slider-container .swiper-slide {
position: relative;
border-radius: 8px;
min-height: 550px;
width: 890px;
transition: transform 0.3s;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: flex-end;
overflow: hidden;
}
.slider-container .swiper-slide::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 60%;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.0001) 50%, rgba(0, 0, 0, 0.461617) 100%);
border-radius: 8px;
opacity: 0;
transition: opacity 0.3s;
}
.slider-container .swiper-slide-active {
transform: scaleX(1.16) scaleY(1.2);
transition: transform 0.3s;
}
.slider-container .swiper-slide-active::after {
opacity: 1;
transition: opacity 0.3s;
}
.slider-title {
font-weight: 700;
font-size: 28px;
color: var(--white-color);
position: relative;
z-index: 5;
padding-left: 35px;
padding-bottom: 30px;
transition: transform 0.3s;
transform: translateY(200px);
}
.swiper-slide-active .slider-title {
transition: transform 0.5s;
transform: translateY(0);
}
.video-slider__play {
position: absolute;
width: 112px;
height: 112px;
top: 39px;
left: 48px;
background-image: url(../../img/icons/Video\ Icon.svg);
background-position: center;
background-repeat: no-repeat;
z-index: 50;
}
.swiper-slide video {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}