Newer
Older
.hy-cta-liftup-image-text {
display: flex;
@include breakpoint($medium) {
flex-direction: row;
margin-bottom: 96px;
margin-left: 36px;
margin-right: 72px;
}
&--right-image {
flex-direction: column-reverse;
@include breakpoint($medium) {
flex-direction: row;
margin-left: 72px;
margin-right: 36px;
}
&__image-container {
display: flex;
justify-content: stretch;
min-height: 10rem;
position: relative;
width: 100%;
@include breakpoint($medium) {
width: 50%;
}
@include breakpoint($medium) {
margin-right: 103px;
}
@include breakpoint($medium) {
margin-left: 103px;
}
}
}
&__text-container {
background: var(--grayscale-white);
display: flex;
flex-direction: column;
justify-content: center;
&__title {
color: var(--brand-main-nearly-black);
font-size: 22px;
letter-spacing: -0.69px;
line-height: 28px;
margin-top: 32px;
@include breakpoint($medium) {
font-size: 26px;
letter-spacing: -0.82px;
line-height: 32px;
margin-top: 0;
}
}
&__description {
color: var(--grayscale-dark);
font-family: "Open Sans";
line-height: 20px;
margin: 20px 0;
@include breakpoint($medium) {
font-size: 16px;
letter-spacing: 0;
line-height: 24px;
margin: 24px 0;
}