2021-04-04 15:47:52 +03:00

322 lines
5.3 KiB
SCSS

.places {
position: relative;
padding-bottom: 20px;
font-family: 'PT Sans', sans-serif;
.owl-carousel .owl-item img {
display: inline-block;
width: auto;
}
.owl-nav {
position: absolute;
right: 320px;
bottom: 5px;
display: flex !important;
justify-content: space-between;
width: 200px;
button {
bottom: 0;
width: 55px;
height: 55px;
outline: none;
span {
color: transparent;
}
&.owl-prev {
right: 95px;
background: url('../../img/icons/button-active-prev.svg');
}
&.owl-next {
right: -95px;
background: url('../../img/icons/button-active-next.svg');
}
}
}
h2 {
color: #1e212b;
font-weight: 600;
font-size: 40px;
line-height: normal;
letter-spacing: 0.5px;
text-align: center;
}
&-item {
position: relative;
width: 1100px;
height: auto;
margin-top: 80px;
margin-right: auto;
margin-left: auto;
border-radius: 20px;
&__layout {
position: absolute;
z-index: 2;
display: none;
width: 100%;
height: 570px;
border-radius: 20px;
background-color: #000000;
opacity: 0.55;
}
}
&-text {
position: relative;
z-index: 5;
display: inline-block;
max-width: 600px;
padding: 40px 80px;
border-radius: 20px;
background-color: #ffffff;
box-shadow: 0 0 15px 0 rgba(41, 48, 55, 0.5);
transform: translateX(11px);
h3 {
margin: 0 0 15px;
font-weight: 700;
font-size: 32px;
line-height: 1.22;
letter-spacing: 0.3px;
}
span {
margin-bottom: 15px;
font-size: 22px;
line-height: 1.45;
letter-spacing: 0.5px;
}
&__mainmenu {
list-style: none;
padding-inline-start: 0;
img {
width: 34px;
margin-right: 20px;
}
.icon-white {
display: none !important;
}
span {
font-weight: 600;
font-size: 24px;
letter-spacing: 0.3px;
}
li {
margin-top: 15px;
ul {
list-style-type: none;
padding-inline-start: 54px;
li {
margin-top: 5px;
font-size: 20px;
line-height: 1.4;
letter-spacing: 0.2px;
&::before {
content: '';
display: inline-block;
width: 16px;
height: 16px;
margin-right: 14px;
background: url('../../img/icons/check.svg') center no-repeat;
}
}
}
}
}
button {
width: 225px;
margin-top: 20px;
}
}
&-img {
position: absolute;
top: -43px;
right: -65px;
z-index: 2;
display: inline-block;
width: 777px;
height: 557px;
img {
border-radius: 20px;
}
p {
z-index: 90;
margin-top: 20px;
color: #363943;
font-size: 22px;
letter-spacing: 0.3px;
text-align: center;
}
}
&-slider {
margin-right: auto;
margin-left: auto;
}
}
@media screen and (max-width: 1200px) {
.places .owl-nav {
right: 75px;
}
}
@media screen and (max-width: 770px) {
.places {
color: #ffffff;
&-item {
width: 400px;
height: 450px;
&__layout {
display: block;
height: 450px;
}
}
.owl-nav {
display: none !important;
}
&-img {
display: none;
}
&-text {
z-index: 3;
padding: 20px;
background: transparent;
color: #ffffff;
font-size: 16px;
h3 {
font-size: 20px;
}
span {
font-size: 12px;
line-height: 1.38;
}
&__mainmenu {
li {
img {
display: none !important;
width: 30px !important;
margin-right: 10px;
}
ul {
li {
font-size: 16px;
line-height: 1.25;
&::before {
background: url('../../img/icons/checkW.svg') center no-repeat;
}
}
}
.icon-white {
display: inline-block !important;
}
}
}
button {
width: 100px;
font-size: 14px;
}
}
}
}
@media screen and (max-width: 576px) {
.places {
margin-top: 20px;
padding-top: 25px;
&::before, &::after {
display: none;
}
&-item {
width: 290px;
max-width: 100% !important;
height: 455px;
margin-top: 15px;
&__layout {
height: 100%;
}
}
&-text {
display: flex;
flex-direction: column;
align-items: baseline;
width: 100%;
height: 100%;
padding: 10px;
transform: none;
p {
max-width: 90%;
}
a {
align-self: center;
}
&__mainmenu {
li {
img {
width: 20px !important;
}
&.list-price {
font-size: 16px;
text-align: center;
}
ul {
padding-inline-start: 0;
li {
font-size: 14px;
}
}
}
}
}
}
}
@media screen and (min-width: 576px) {
.places-item {
height: auto;
padding-left: 5px;
background: none !important;
}
}