.section{
width: 85%;
padding: 0 7.5%;
margin: 0;
}
.swiper-container{
overflow: hidden;
}
.swiper-pagination .swiper-pagination-bullet{
background: white;
}
#intro{
margin-top: 80px;
height: calc(100% - 80px);
background-size:cover;
background-image: url(https://www.compraevendiauto.it/assets/images/background/intro.jpg);
background-position:center;
background-repeat:no-repeat;
}
#intro #filter{
width: 300px;
padding: 25px;
box-shadow: 4px 4px 10px 2px rgba(0,0,0,.05);
background: white;
top: 50%;
transform: translateY(-50%);
}
#intro #offerts{
position: absolute;
width: calc(90% - 350px);
height: 75%;
top: 50%;
right: 2.5%;
transform: translateY(-50%);
}
#intro #offerts .swiper-pagination-bullet{
background: white;
}
#intro #offerts .offert{
width: 100%;
height: 100%;
}
#intro #offerts .offert img{
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
height: 100%;

}
#vendi{
width: 80%;
background: white;
padding: 2.5%;
margin: 5% 7.5%;
}
#vendi .title{
width: 100%;
text-align: center;
}
#vendi .icons{
width: 100%;
margin-top: 2%;
}
#vendi .icons .icon{
width: 25.333%;
margin: 4%;
}
#vendi .icons .icon img{
position: relative;
float: left;
width: 80%;
margin: 5% 10%;
}
#vendi .icons .icon .text{
width: 100%;
text-align: center;
}
#vendi .icons .icon .text h2{
font-weight: 400;
}
#last-car .title{
width: 100%;
text-align: center;
}
#cars{
width: 100%;
}
#cars .car{
width: calc(26%);
margin: 3% 0;
margin-right: 3%;
box-shadow: 4px 4px 10px 2px rgba(0,0,0,.05);
color: black;
overflow: hidden;
}
#cars .car .offert{
position: absolute;
width: 50px;
left: 0;
top: 0;
padding: 10px;
background: var(--brand-color);
font-weight: 500;
z-index: 2;
}
#cars .car .images{
width: 100%;
padding-top: 66.666%;
margin-bottom: 5%;
}
#cars .car .images .swiper-wrapper{
position: absolute;
top: 0;
width: 100%;
height: 100%;
}
#cars .car .images .bg-img{
width: 100%;
height: 100%;
}
#cars .car .txt{
width: 65%;
margin-left: 5%;
color: black;
}
#cars .car .title{
width: 100%;
font-size: 16px;
line-height: 17px;
text-align: left;
}
#cars .car .title h2{
font-weight: 400;
}
#cars .car .subtitle{
width: 100%;
font-size: 14px;
line-height: 18px;
}
#cars .car .subtitle h3{
font-weight: 300;
}
#cars .car .price{
width: 25%;
font-size: 17px;
line-height: 35px;
text-align: right;
font-weight: 400;
}
#cars .car .data{
width: 90%;
margin: 3% 5%;
}
#cars .car .data .text{
font-size: 14px;
line-height: 20px;
font-weight: 300;
width: 50%;
}
#finanzia{
padding: 0;
margin: 2.5% 7.5%;
}
#finanzia .title{
width: 95%;
padding: 2.5%;
text-align: center;
}
#finanzia .richiedi{
width: 100%;
background: white;
}
#finanzia .richiedi .bg-img{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#finanzia .richiedi .partner{
width: 25%;
padding: 2.5%;
margin-left: 70%;
}
#finanzia .richiedi .partner .title{
width: 100%;
text-align: center;
font-size: 25px;
line-height: 25px;
}
#finanzia .richiedi .partner .title h2{
font-weight: 500;
}
#finanzia .richiedi .partner .btn{
width: 90%;
margin: 5%;
background: white;
border-radius: 5px;
}
#finanzia .richiedi .partner .btn img{
width: 90%;
padding: 5%;
}
@media (max-width: 768px) {
#intro{
margin-top: 80px;
height: auto;
}
#intro #filter{
width: 90%;
padding: 5%;
top: 0%;
left: 50%;
transform: translateX(-50%);
margin: 15% 0;
}
#intro #offerts{
display: none;
}
#vendi{
width: 70%;
padding: 7.5%;
margin: 7.5%;
}
#vendi .title h1{
font-size: 25px;
line-height: 25px;
}
#vendi .icons{
width: 100%;
margin-top: 2%;
}
#vendi .icons .icon{
width: 90%;
margin: 5%;
}
#vendi .icons .icon .text{
font-size: 17px;
line-height: 17px;
}
#last-car .title h1{
font-size: 25px;
line-height: 25px;
}
#cars .car{
width: calc(80%);
margin: 5% 0;
margin-right: 10%;
}
#finanzia .title h1{
font-size: 25px;
line-height: 25px;
}
#finanzia .richiedi .partner{
width: 90%;
padding: 5%;
margin-left: 0%;
}
}