diff --git a/styles.css b/styles.css index 8d87a57..8ed951a 100644 --- a/styles.css +++ b/styles.css @@ -128,11 +128,9 @@ button { .hero__headline-wrap { font-size: clamp(0.8rem, 1.4vw, 1rem); position: relative; - width: fit-content; - max-width: 100%; + max-width: 32em; min-height: 26em; padding-top: 6em; - margin-inline: auto; } .section-title { @@ -144,7 +142,6 @@ button { } .section-title--hero { - display: inline-block; position: relative; z-index: 2; max-width: none; @@ -745,8 +742,7 @@ button { font-size: clamp(0.58rem, 2.6vw, 0.82rem); min-height: 18em; padding-top: 3.4em; - width: fit-content; - max-width: 100%; + max-width: none; } .section-title--hero {