@use '../helpers/functions' as *; .subscribe { display: flex; flex-direction: column; padding-top: $spacer * 3; background: url('/img/stars-pattern.png') $neutral-10; min-height: calc(100vh - 64px); &-body { flex-grow: 1; position: relative; overflow: hidden; &__overlay { display: none; position: absolute; right: 0; left: 0; bottom: -20px; width: 100%; height: pxToRem(200); background-image: url('/img/blurred/blurred-light-12.svg'); background-position: center; background-size: cover; z-index: 1; } &__image { display: none; } &__image-mobile { display: block; width: 100%; max-width: pxToRem(540); margin: 0 auto; } } &-block { position: relative; width: 100%; max-width: pxToRem(540); margin: 0 auto $spacer * 2.5; padding: $spacer * 2 $spacer * 1.5; background: linear-gradient($neutral-20, #0e1424); border-radius: $spacer * 0.5; overflow: hidden; &__title { margin-bottom: $spacer * 1.5; font-size: $spacer * 2; line-height: pxToRem(38); color: $neutral-98; } &__description { margin-bottom: $spacer * 2; color: $neutral-80; } // let's keep this in case we switch to static form in the future &__form { label { margin-bottom: pxToRem(6); font-size: pxToRem(14); line-height: pxToRem(21); color: $neutral-98; } button { width: 100%; margin-top: $spacer * 1.5; } } &:before { content: ''; position: absolute; top: 0; right: 0; display: block; width: pxToRem(210); height: pxToRem(210); background-image: url('/img/blurred/blurred-light-15.svg'); background-repeat: no-repeat; background-position: top; background-size: cover; } &__hs-form { .hs-form { flex-direction: column; .hs_email { & > label { display: block; margin-bottom: pxToRem(6); font-size: pxToRem(14); line-height: pxToRem(21); color: $neutral-98; } } .button { width: 100%; margin-top: $spacer * 1.5; } .hs_error_rollup { top: 0; } } } .submitted-message { text-align: center; } } &-header { display: flex; flex-wrap: wrap; gap: $spacer * 1.5 $spacer * 3; justify-content: center; padding: $spacer * 2.5 0; background-color: $neutral-10; &__rights { width: 100%; margin-bottom: 0; font-size: pxToRem(14); line-height: pxToRem(21); font-weight: 400; text-align: center; color: $neutral-70; } &__link { flex-shrink: 0; font-size: pxToRem(14); line-height: pxToRem(21); font-weight: 400; color: $neutral-70; } } @include media-breakpoint-up(xl) { min-height: calc(100vh - 100px); &-body { position: relative; padding: pxToRem(96) 0 pxToRem(157); &__overlay { display: block; } &__image { display: block; position: absolute; bottom: 0; left: $spacer * 2.5; width: pxToRem(630); } &__image-mobile { display: none; } } &-block { margin-bottom: 0; margin-right: 0; padding: $spacer * 3 $spacer * 3.5; } &-header { padding: pxToRem(30) pxToRem(165); flex-wrap: nowrap; &__rights { text-align: left; } } } }