121 lines
1.7 KiB
CSS
121 lines
1.7 KiB
CSS
.wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0px 0;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
}
|
|
|
|
.left {
|
|
flex: 1;
|
|
padding-left: 0px;
|
|
}
|
|
|
|
.right {
|
|
flex: 1;
|
|
position: relative;
|
|
|
|
width: 60%;
|
|
height: 100%;
|
|
max-height: 600px;
|
|
}
|
|
|
|
.title{
|
|
margin: 0 0 12px;
|
|
color: var(--lightblue);
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
line-height: 1.2;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.subtitle{
|
|
margin: 0 0 28px;
|
|
color: #111111;
|
|
font-size: clamp(30px, 4vw, 46px);
|
|
font-weight: 800;
|
|
letter-spacing: 0;
|
|
line-height: 1.16;
|
|
}
|
|
|
|
.carousel {
|
|
width: 100%;
|
|
height: 100%; /* Добавьте высоту 100% */
|
|
}
|
|
|
|
.slide {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
object-position: center bottom;
|
|
display: block;
|
|
}
|
|
|
|
.label {
|
|
position: absolute;
|
|
bottom: 20px;
|
|
left: 40px;
|
|
color: white;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.arrows {
|
|
position: absolute;
|
|
right: 30px;
|
|
bottom: 30px;
|
|
display: flex;
|
|
gap: 16px;
|
|
}
|
|
|
|
.arrow {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: white;
|
|
border: 1px solid #ccc;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.wrapper {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.left {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.right {
|
|
margin-top: 30px;
|
|
height: 300px; /* Меньшая высота для мобильных */
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 665px){
|
|
.title {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.arrow {
|
|
font-size: 18px;
|
|
}
|
|
}
|