diff --git a/styles.css b/styles.css index ae8d225..c13d422 100644 --- a/styles.css +++ b/styles.css @@ -18,9 +18,13 @@ body { } .centered-content { - position: relative; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); text-align: center; color: #ffffff; + width: 100%; } h1 {