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

67 lines
1.0 KiB
SCSS

.animate {
padding: 60px 40px 49px;
opacity: 0;
background-color: var(--color-black2);
border-radius: 30px;
color: white;
margin-bottom: 160px;
@media (min-width: 1720px) {
padding-top: 100px;
padding-bottom: 89px;
margin-bottom: 180px;
}
@media (max-width: 1304.98px) {
margin-bottom: 141px;
}
&.left {
transform: translateX(-180px);
}
&.right {
transform: translateX(180px);
.title {
@media (min-width: 1720px) {
max-width: 80%;
}
}
}
&__link {
color: var(--color-orange);
text-decoration: underline !important;
}
.title {
margin-bottom: 25px;
max-width: 87%;
/*width: 90%;*/
@media (min-width: 1720px) {
margin-bottom: 40px;
}
@media (max-width: 1304.98px) {
max-width: 99%;
}
}
.subtitle {
width: 47%;
margin: 0 auto 23px;
@media (min-width: 1720px) {
line-height: 26px;
letter-spacing: 0.1px;
margin-bottom: 40px;
}
@media (max-width: 1304.98px) {
width: 54%;
}
}
}