Files
tripwithbonus/styles/moover/presentation.scss
2024-11-20 22:00:18 +03:00

158 lines
2.9 KiB
SCSS

.presentation {
margin: 12px -65px 140px;
@media (min-width: 1720px) {
margin-left: 0;
margin-right: 0;
margin-bottom: 160px;
}
@media (max-width: 1304.98px) {
margin-bottom: 120px;
margin-bottom: 138px;
}
@media (max-width: 991.98px) {
margin-bottom: 105px;
}
&__top {
position: relative;
min-height: 270px;
margin: 0 auto 116px;
padding: 29px 0 40px;
background-image: url(/static/img/png/Box9.png),
url(/static/img/png/Box10.png),
url(/static/img/png/Box11.png),
url(/static/img/png/Box12.png);
background-position: top -4px left 46px,
top -30px right -14px,
bottom 73px left 278px,
bottom 71px right 276px;
background-repeat: no-repeat,
no-repeat,
no-repeat,
no-repeat;
background-size: 17.5%, 21.8%, 8.5%, 8.8%;
@media (min-width: 1720px) {
background-size: 18.5%, 22%, 9%, 10.1%;
background-position: top -47px left 58px,
top -31px right 20px,
bottom 8px left 347px,
bottom -5px right 352px;
padding-top: 95px;
margin-bottom: 176px;
}
@media (max-width: 1304.98px) {
background-size: 16%, 20%, 9.5%, 10.1%;
background-position: top -2.8% left 6.5%,
top -19% right 3.5%,
bottom 32% left 23%,
bottom 29% right 22.6%;
margin-bottom: 96px;
}
@media (max-width: 991.98px) {
background-size: 14.5%, 17%, 8.3%, 9.1%;
background-position: top 9% left 7%,
top 5% right 6%,
bottom 51% left 14.8%,
bottom 47.5% right 13.8%;
padding-top: 31px;
margin-bottom: 76px;
}
}
&__bottom {
.subtitle {
@media (max-width: 991.98px) {
max-width: 40%;
margin: 0 auto 30px;
}
}
}
&__title {
margin-bottom: 23px;
@media (max-width: 991.98px) {
max-width: 75%;
margin: 0 auto 19px;
}
}
&__subtitle {
margin-bottom: 41px;
font-weight: 600;
@media (max-width: 991.98px) {
max-width: 55%;
margin: 0 auto 40px;
font-size: 16px;
}
}
&__btn {
margin-bottom: 40px;
@media (max-width: 991.98px) {
padding-left: 82px;
padding-right: 82px;
}
}
&__next {
font-weight: 500;
line-height: 22px;
padding-right: 5px;
}
&__arrows {
padding-top: 2px;
animation: jump 2s ease-in-out infinite;
}
&__cards {
max-width: 1300px;
margin: 0 auto;
@media (min-width: 1720px) {
max-width: initial;
margin-left: -10px;
margin-right: -10px;
}
@media (max-width: 1304.98px) {
max-width: 1140px;
}
}
&__bottom .presentation__title {
margin-bottom: 13px;
}
}
@keyframes jump {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-5px);
}
60% {
transform: translateY(20px);
}
70% {
transform: translateY(0px);
}
80% {
transform: translateY(20px);
}
100% {
transform: translateY(0px);
}
}