diff --git a/sass/style.scss b/sass/style.scss index be89381..cad976e 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -17,6 +17,7 @@ body { flex-direction: column; align-items: center; line-height: 1.8; + overflow-x: hidden; } nav ul { @@ -49,7 +50,7 @@ header { justify-content: space-around; padding: 4em 0; max-width: 100em; - width: 100vw; + width: 100%; img { max-height: 7em; @@ -67,6 +68,7 @@ header { main { text-align: center; margin-bottom: 5em; + max-width: 40em; h1, h2 { margin-top: 2em; @@ -125,7 +127,7 @@ footer { justify-content: center; padding: 1em; margin-top: auto; - width: 100vw; + width: 100%; p { border-left: 1px solid #fff;