.swiper {
width: 100%;
height: 100%;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
position: relative; }
.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
} .swiper-slide::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
z-index: 1;
pointer-events: none;
} .swiper-pagination {
display: none;
} .hero-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 10;
text-align: center;
color: white;
opacity: 0;
transition: opacity 1s ease-in-out;
width: 80%;
max-width: 900px;
pointer-events: none; }
.hero-text.visible {
opacity: 1;
}
.hero-text h2 {
font-size: 7rem; line-height: 1.2;
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
margin-bottom: 2rem;
color: white;
font-weight: 300;
}
.hero-text .btns {
pointer-events: auto; } .claimer {
position: absolute;
bottom: 50px;
left: 50px;
z-index: 10;
color: white;
text-align: left;
pointer-events: none;
}
.claimer #claimer-text {
font-size: 1.2rem;
font-weight: bold;
margin-bottom: 0.5rem;
text-transform: uppercase;
letter-spacing: 1px;
}
.claimer #claimer-subtext {
font-size: 0.9rem;
font-weight: 300;
opacity: 0.8;
} .autoplay-progress {
position: absolute;
right: 30px;
bottom: 15px;
z-index: 10;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
color: white;
opacity: 0.4;
}
.autoplay-progress svg {
--progress: 0;
position: absolute;
left: 0;
top: 0px;
z-index: 10;
width: 100%;
height: 100%;
stroke-width: 4px;
stroke: white;
fill: none;
stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
stroke-dasharray: 125.6;
transform: rotate(-90deg);
}
.mySwiper {
--swiper-navigation-color: #fff;
--swiper-navigation-size: 34px;
}
.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
z-index: 20;
width: 44px;
height: 44px;
background: rgba(0, 0, 0, 0.25);
border-radius: 999px;
pointer-events: auto;
}
.mySwiper .swiper-button-next::after,
.mySwiper .swiper-button-prev::after {
font-size: 34px;
} @media (max-width: 768px) {
.hero-text h2 {
font-size: 2.5rem;
}
.claimer {
left: 20px;
bottom: 80px; }
}