@use 'sass:math'; @use '../helpers/functions' as *; @use '../mixins/marquee' as marquee; .partners-solution { padding-top: $spacer * 4; padding-bottom: $spacer * 2.5; background-color: $neutral-94; &__title { margin-bottom: $spacer * 1.5; font-size: $spacer * 2; line-height: pxToRem(38); color: $neutral-20; text-align: center; } &__description { margin: 0 auto $spacer * 5; font-size: pxToRem(20); line-height: pxToRem(30); color: $neutral-20; text-align: center; } &__content { position: relative; display: flex; flex-direction: column; gap: $spacer * 1.5; padding: $spacer * 5 0; } &__cards { @include marquee.base(80px, 264px, 8, 8, 12px, $neutral-94, false, 50s, none); &__item { display: flex; align-items: center; justify-content: center; padding: $spacer * 0.5 pxToRem(60); background-color: $neutral-98; border-radius: pxToRem(12); border: pxToRem(1) solid $neutral-90; img { width: $spacer * 7.5; max-width: none; } } } &__square-grid-overlay { display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: pxToRem(240); background-image: url('/img/square-grid-small.svg'); background-size: cover; background-repeat: no-repeat; background-position: center; } @include media-breakpoint-up(xl) { padding-top: $spacer * 5; padding-bottom: $spacer * 2.5; &__title { font-size: $spacer * 3; line-height: pxToRem(57); } &__description { max-width: pxToRem(730); } &__square-grid-overlay { background-size: contain; } } }