diff --git a/src/LandingPage/BottomCall.scss b/src/LandingPage/BottomCall.scss index ef052de..51d645a 100644 --- a/src/LandingPage/BottomCall.scss +++ b/src/LandingPage/BottomCall.scss @@ -1,47 +1,58 @@ .btmcall { + display: flex; + flex-direction: row; + align-items: center; + align-content: left; background: #f7f7f7; width: 100%; - height: 236px; position: relative; - overflow: hidden; -} - -.btmcall-text { - color: var(--background, #090541); - text-align: left; - font-family: var(--title-font-family); - font-size: var(--title-font-size, 64px); - font-weight: var(--title-font-weight, 400); - position: absolute; - left: calc(50% - 675px); - top: 64px; - width: 874px; + padding: 86px 0 86px 32px; } .btmcall-buttons { display: flex; flex-direction: row; + flex-wrap: wrap; + height: 100%; + max-width: 50%; gap: 24px; align-items: center; - justify-content: flex-end; - position: absolute; - right: 80px; - top: 80px; + justify-content: center; + position: relative; + padding: 0 32px 0 32px; +} + +@media (max-width: 640px) { + .btmcall { + flex-direction: column; + } + + .btmcall-buttons { + max-width: 100%; + padding-top: 32px + } +} + +.btmcall-text { + color: var(--background); + text-align: left; + font-family: var(--bottom-call-font-family); + font-size: var(--bottom-call-font-size-large); + line-height: 72px; + padding-right: 32px; + position: relative; } .btmcall-button1 { - background: var(--cpalettemedium); + background: var(--background); border-radius: 8px; padding: 20px 32px 20px 32px; display: flex; flex-direction: row; - gap: 8px; align-items: center; justify-content: flex-start; flex-shrink: 0; position: relative; - box-shadow: var(--button-shadow-box-shadow, - 0px 1px 2px 0px rgba(0, 0, 0, 0.05)); } .btmcall-button2 { @@ -50,21 +61,17 @@ padding: 20px 32px 20px 32px; display: flex; flex-direction: row; - gap: 8px; align-items: center; justify-content: flex-start; flex-shrink: 0; position: relative; - box-shadow: var(--button-shadow-box-shadow, - 0px 1px 2px 0px rgba(0, 0, 0, 0.05)); } .btmcall-get-involved { color: var(--cpalettecomplimentary, #ffffff); text-align: left; - font-family: var(--body-font-family, "Assistant", sans-serif); - font-size: var(--body-font-size, 24px); - font-weight: var(--body-font-weight, 400); + font-family: "Assistant", sans-serif; + font-size: 24px; position: relative; display: flex; align-items: center; @@ -72,13 +79,18 @@ } .btmcall-contact-us { - color: var(--background, #090541); + color: var(--background); text-align: left; - font-family: var(--body-font-family, "Assistant", sans-serif); - font-size: var(--body-font-size, 24px); - font-weight: var(--body-font-weight, 400); + font-family: "Assistant", sans-serif; + font-size: 24px; position: relative; display: flex; align-items: center; justify-content: flex-start; } + +@media (max-width: 380px) { + .btmcall-text { + font-size: var(--bottom-call-font-size-small); + } +} diff --git a/src/LandingPage/BottomCall.svelte b/src/LandingPage/BottomCall.svelte index 86aed22..c8bd779 100644 --- a/src/LandingPage/BottomCall.svelte +++ b/src/LandingPage/BottomCall.svelte @@ -3,6 +3,7 @@

+ 
+