.swiper {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(213,222,232,1.00);
    color: rgba(14,14,15,1.00);
    letter-spacing: -0.03rem;
    background-image: url(../kuvat/makelan_emblem.png)!important;
    background-position: center bottom;
    background-blend-mode: multiply;

}


.swiper-slide {
text-align: center;
font-size: 1rem;
display: flex;
justify-content: center;
align-items: center;
}

.swiper-slide img {
width: 100%;
height: 100%;
object-fit: cover;
margin-bottom: 50%;
}
.swiper-text {
display: block;
clear: both;
width: 100%;
height: 100%;
position: absolute;
margin-top: 110%;
}

.swiper-text h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
text-transform: none;
letter-spacing: -0.03rem;
}

.swiper-text h2, .h2 {
color: rgba(34,82,153,1.00);
font-weight: 800;
font-size: 1.5rem;
}
.swiper-text h3, .h3 {
color: rgba(22,53,98,1.00);
font-weight: 700;
font-size: 1.2rem;
}
.swiper-text h4, .h4 {
font-weight: 400;
font-size: 1rem;  
color: rgba(22,53,98,1.00);
}
.swiper-text a  {
background-color: rgba(30,67,123,1.00);
color: rgba(255,255,255,1.00);
margin-top: 0.1rem;
font-weight: normal;
padding: 0.7rem;
}      

@media (min-width: 577px) {

.swiper-slide img {
margin-bottom: 40%;
}
.swiper-text {
margin-top: 115%;
}


}
@media (min-width: 768px) {

.swiper-slide img {
width: 50%;
margin-right: 50%;
margin-bottom: 0%;
}
.swiper-text {
    width: 50%;
    margin-top: 3%;
    margin-left: 50%;
    padding: 1%;
}
}

@media (min-width: 922px) {

.swiper-text h2, .h2 {
    font-size: 2.2rem;
}
.swiper-text h3, .h3 { 
font-size: 1.8rem;
    }.swiper-text h3, .h3 { 
font-size: 1.4rem;
    }}


@media (min-width: 1200px) {

.swiper-slide img {
width: 60%;
margin-right: 40%;
margin-bottom: 0%;
}
.swiper-text {
    width: 40%;
    margin-top: 0%;
    margin-left: 60%;
    padding-top: 7%;
    margin-right: 0%;
}
}     

@media (min-width: 1400px) {

.swiper-slide img {
width: 65%;
margin-right: 35%;
margin-bottom: 0%;
}
.swiper-text {
width: 35%;
margin-top: 0%;
margin-left: 65%;
padding-top: 10%;
}

.swiper-text h2, .h2 { 
font-weight: 600;
font-size: 3rem;
}
.swiper-text h3, .h3 { 
font-weight: 600;
font-size: 2.7rem;
}
.swiper-text h4, .h4 { 
font-weight: 600;
font-size: 2.4rem;
}
.swiper-text p, .p { 
font-weight: 400;
font-size: 1.4rem;
}
    
    .swiper-text a  {
margin-top: 1rem;
font-size: 1.2rem;
padding: 1rem;
} 

}     

.autoplay-progress {
position: absolute;
right: 16px;
bottom: 16px;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
color: var(--swiper-theme-color);
}

.autoplay-progress svg {
--progress: 0;
position: absolute;
left: 0;
top: 0px;
width: 100%;
height: 100%;
stroke-width: 4px;
stroke: var(--swiper-theme-color);
fill: none;
stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
stroke-dasharray: 125.6;
transform: rotate(-90deg);
}
.swiper-button-next,  .swiper-button-prev {
display: none;
}  
@media (min-width: 768px){
.swiper-button-next,  .swiper-button-prev {
color: rgba(0,0,0,0.40);
display: inline-block;
}
}
