main.home-page {
padding: 50px 0 110px 0;
} .promo__slider {
display: block;
}
.promo__item {
position: relative;
text-decoration: none;
cursor: pointer;
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
overflow: hidden;
transition: all .2s linear;
aspect-ratio: 450 / 308;
}
.promo__img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.promo__slide:first-child .promo__item {
aspect-ratio: 766 / 640;
}
.promo__tag,
.promo__item--bottom {
position: relative;
z-index: 1;
}
.promo__item:hover {
transform: scale(0.98);
}
.promo__tag {
font-family: var(--second-family);
font-weight: 400;
font-size: 18px;
color: var(--belyy);
padding: 5px;
background: var(--blue);
align-self: flex-end;
}
.promo__slide:first-child .promo__tag {
font-family: var(--font-family);
font-weight: 500;
font-size: 24px;
color: var(--belyy);
padding: 10px;
}
.promo__item--bottom {
margin-top: auto;
margin-bottom: 26px;
margin-left: 29px;
}
.promo__slide:first-child .promo__item--bottom {
margin-bottom: 55px;
margin-left: 60px;
}
.promo-title {
font-family: var(--second-family);
font-weight: 700;
font-size: 46px;
text-transform: uppercase;
color: var(--belyy);
}
.promo-service-title {
font-family: var(--second-family);
font-weight: 400;
font-size: 18px;
color: var(--blue-light);
}
.promo__slide:first-child .promo-title {
font-family: var(--second-family);
font-weight: 700;
font-size: 80px;
text-transform: uppercase;
color: var(--belyy);
}
.promo__slide:first-child .promo-service-title {
font-family: var(--second-family);
font-weight: 400;
font-size: 30px;
color: var(--blue-light);
}
@media screen and (min-width: 1024px) { .promo__slider {
overflow: visible !important;
} .promo__wrapper {
display: grid !important;
grid-template-columns: minmax(0, 766px) 1fr;
grid-template-rows: repeat(2, 1fr);
gap: 24px; transform: none !important;
} .promo__slide {
width: auto !important;
height: auto;
min-width: 0;
}
.promo__slide:nth-child(1) {
grid-column: 1/2;
grid-row: 1/3;
min-height: 640px;
}
.promo__slide:nth-child(2) {
grid-column: 2/3;
grid-row: 1/2;
}
.promo__slide:nth-child(3) {
grid-column: 2/3;
grid-row: 2/3;
}
.promo__slider-pagination {
display: none !important;
}
}
@media screen and (max-width: 1279px) and (min-width: 1024px) {
.promo__wrapper {
grid-template-columns: 1fr 1fr 1fr;
}
.promo__slide:nth-child(1) {
grid-column: 1/3;
}
.promo__slide:nth-child(2),
.promo__slide:nth-child(3) {
grid-column: 3/4;
}
} .about {
margin-top: 110px;
padding: 60px 0 80px 0;
background: var(--blue-dark);
}
.about .container {
display: flex;
flex-direction: column;
gap: 40px;
}
.about__title {
font-family: var(--second-family);
font-weight: 700;
font-size: 36px;
text-transform: uppercase;
color: var(--belyy);
}
.about__content {
display: flex;
gap: 24px;
justify-content: space-between;
}
.about__left,
.about__right {
display: flex;
flex-direction: column;
gap: 24px;
flex: 1;
}
.about__right--image,
.about__left--image {
background-position: top left;
background-size: cover;
background-repeat: no-repeat;
}
.about__left--image {
min-height: 500px;
}
.about__right--image {
min-height: 414px;
order: 2;
}
.about__left--text,
.about__right--text {
background: var(--grey);
padding: 40px;
font-family: var(--font-family);
font-weight: 500;
font-size: 20px;
line-height: 150%;
color: var(--light-grey);
}
.about__right--text {
padding: 40px 60px;
}
.about__left--text {
line-height: 155%;
} .video {
padding-top: 80px;
}
.video .container {
display: flex;
flex-direction: column;
gap: 40px;
}
.video__slider {
width: 100%;
}
.video__top {
display: flex;
justify-content: space-between;
}
.video__title {
font-family: var(--second-family);
font-weight: 700;
font-size: 36px;
text-transform: uppercase;
color: var(--tekst-zagolovkm);
}
.video__link {
display: flex;
align-items: center;
gap: 8px;
font-family: var(--font-family);
font-weight: 500;
font-size: 18px;
color: var(--tekst-zagolovkm);
text-decoration: none;
cursor: pointer;
transition: color .3s linear;
}
.video__link svg {
transition: stroke .3s linear;
stroke: #2B2C40;
}
.video__link:hover {
color: var(--knopka---akcentnyy);
}
.video__link:hover svg {
stroke: var(--knopka---akcentnyy);
}
.video__slider {
width: 100%;
}
.video__slide--card {
max-width: 610px;
display: flex;
flex-direction: column;
}
.video__slide--video {
width: 100%;
height: 343px;
object-fit: contain;
background-color: var(--blue-dark);
}
.video__slide--title {
font-family: var(--font-family);
font-weight: 500;
font-size: 20px;
line-height: 150%;
color: var(--text-medium);
}
.video__btn {
color: var(--knopka---akcentnyy) !important;
transform: translateY(-50%);
transition: all .3s linear;
}
.video__btn:hover {
scale: 0.80;
} .ad {
padding-top: 110px;
}
.ad__slider {
padding-bottom: 32px !important;
width: 100%;
}
.ad__slide--baner {
min-height: 248px;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
text-decoration: none;
cursor: pointer;
gap: 10px;
}
.ad__tag {
position: absolute;
top: 0;
right: 0;
padding: 6px;
font-family: var(--font-family);
font-weight: 500;
font-size: 20px;
line-height: 150%;
color: var(--belyy);
}
.ad__title {
font-family: var(--second-family);
font-weight: 700;
font-size: 36px;
text-align: center;
text-transform: uppercase;
}
.ad__desc {
font-family: var(--font-family);
font-weight: 500;
font-size: 20px;
line-height: 150%;
text-align: center;
}
.ad__slider-pagination.swiper-pagination-bullets {
bottom: var(--swiper-pagination-bottom, -4px) !important;
}
.ad__slider-pagination .swiper-pagination-bullet {
width: 12px !important;
height: 12px !important;
bottom: var(--swiper-pagination-bottom, -4px) !important;
}
.ad__slider-pagination .swiper-pagination-bullet-active {
background-color: var(--blue) !important;
} .map {
padding-top: 110px;
}
.map .container {
display: flex;
flex-direction: column;
gap: 40px;
}
.map__title {
font-family: var(--second-family);
font-weight: 700;
font-size: 36px;
text-transform: uppercase;
color: var(--tekst-zagolovkm);
}
.map__content {
display: flex;
gap: 24px;
justify-content: space-between;
}
.map__block {
max-width: 766px;
width: 100%;
}
.ymap-block__map {
width: 100%;
min-height: 300px;
overflow: hidden;
}
.ymap-pin svg {
display: block;
transform: translate(-50%, -100%);
width: 36px;
height: 36px;
}
.ymap-pin path {
fill: #d54b3e;
}
.ymap-pin {
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}
.promo__slider-pagination.swiper-pagination-bullets {
bottom: var(--swiper-pagination-bottom, 8px) !important;
}
.promo__slider-pagination .swiper-pagination-bullet {
width: 12px !important;
height: 12px !important;
}
.promo__slider-pagination .swiper-pagination-bullet-active {
background-color: var(--blue) !important;
}
@media screen and (max-width: 1279px) {
main.home-page {
padding: 50px 0 110px;
}
.promo,
.servicesSlider,
.autopartSlider,
.about .container {
padding: 0 40px;
}
.promo__wrapper {
grid-template-columns: 1fr 1fr 1fr;
}
.promo__slide:nth-child(1) {
grid-column: 1/3;
}
.promo__slide:nth-child(2),
.promo__slide:nth-child(3) {
grid-column: 3/4;
}
.about__right--text {
padding: 40px 35px;
}
.video {
padding: 80px 40px 0 40px;
}
.video__slide--video {
height: 100%;
}
.ad {
padding: 110px 40px 0 40px;
}
:where(figure) {
margin: 0 !important;
}
.map {
padding: 110px 40px 0 40px;
}
.map__content {
gap: 20px;
}
.map__block {
max-width: 55%;
}
}
@media screen and (max-width: 1200px) {
.about__right--text {
padding: 25px 35px;
}
}
@media screen and (max-width: 1150px) {
.about__right--text {
padding: 40px 35px;
}
}
@media screen and (max-width: 1050px) {
.about__right--text {
padding: 40px 38px;
}
}
@media screen and (max-width: 1023px) {
.promo__slider {
display: block !important;
padding-bottom: 40px !important;
}
.promo__slide:first-child .promo-title {
font-size: 46px;
}
.promo__slide:first-child .promo-service-title,
.promo__slide:first-child .promo__tag {
font-size: 18px;
}
.promo__slide:first-child .promo__tag {
padding: 5px;
}
.promo__item:first-child .promo__item--bottom {
margin-bottom: 40px;
margin-left: 40px;
}
.promo__slide:first-child .promo__item {
aspect-ratio: 450 / 308;
}
.about {
margin-top: 60px;
padding: 60px 0;
}
.about .container {
gap: 30px;
}
.about__content {
flex-direction: column;
gap: 40px;
}
.about__right--image,
.about__left--image {
background-position: center center;
}
.about__left,
.about__right {
gap: 40px;
}
.about__left--text,
.about__right--text {
padding: 30px;
}
.about__right--text {
order: 2;
}
.about__right--image {
min-height: 500px;
order: 1;
}
.about__content {
max-height: none;
}
.map__content {
flex-direction: column;
}
.map__block {
max-width: 100%;
}
.contact-panel {
width: 100%;
max-width: none;
}
}
@media screen and (max-width: 959px) {
.video__slider {
overflow: visible;
padding-right: 40px;
}
.video__slide {
width: 608px !important;
}
.ad__slide--baner {
padding: 60px 98px 20px 98px;
}
}
@media screen and (max-width: 767px) {
.promo,
.servicesSlider,
.autopartSlider,
.about .container {
padding: 0 15px;
}
.about__left--text,
.about__right--text {
background: none;
padding: 0;
}
.about__content {
gap: 60px;
}
.video {
padding: 60px 15px 0 15px;
}
.video__top {
flex-direction: column;
gap: 12px;
}
.video .container {
gap: 30px;
}
.ad {
padding: 60px 15px 0 15px;
}
.ad__slide--baner {
padding: 150px 20px 150px 20px;
gap: 20px;
}
.map {
padding: 60px 15px 0 15px;
}
.map .container {
gap: 30px;
}
.map {
padding: 60px 0 0 0;
}
.map__content {
gap: 60px;
}
.map__block,
.map__title {
padding: 0 15px;
}
.ymap-block__map {
height: 490px !important;
}
.contact-panel {
padding: 40px 15px;
}
main.home-page {
padding: 50px 0 0 0;
}
}
@media screen and (max-width: 639px) {
.video__slide {
width: 100% !important;
}
.video__slider {
overflow: hidden;
padding-right: 0;
}
.ad__title,
.ad__desc {
text-align: start;
}
.ad__slide--baner {
padding: 100px 20px 100px 20px;
gap: 20px;
}
}
@media screen and (max-width: 550px) { .promo__item:first-child .promo-title {
font-size: 50px;
}
.promo__item:first-child .promo-service-title {
font-size: 20px;
}
.promo__item:first-child .promo__item--bottom {
margin-bottom: 20px;
margin-left: 20px;
}
.promo__item:first-child .promo__tag {
font-size: 18px;
}
.about__right--image {
background-position: 25% center;
}
.about {
padding: 40px 0 60px 0;
}
}
@media screen and (max-width: 474px) {
.promo__item:first-child .promo__tag {
font-size: 16px;
}
.promo__item:first-child .promo-title {
font-size: 46px;
}
.promo__item:first-child .promo-service-title {
font-size: 18px;
}
.video__slide--title {
font-size: 16px;
}
}
@media screen and (max-width: 374px) {
.promo__item:first-child .promo__tag {
font-size: 12px;
}
.promo__item:first-child .promo-title {
font-size: 35px;
}
.promo__item:first-child .promo-service-title {
font-size: 14px;
}
}