diff --git a/style.css b/style.css index fe38ff7..81424c3 100644 --- a/style.css +++ b/style.css @@ -11,6 +11,40 @@ body { text-align: center; } +/* Regular styles for screens wider than 768px (desktop) */ +body { + background-color: #f0f0f0; + font-size: 16px; +} + +.header { + background-color: #333; + color: #fff; + padding: 20px; +} + +.container { + width: 80%; + margin: 0 auto; +} + +/* Media query for screens up to 768px wide (mobile) */ +@media (max-width: 768px) { + body { + background-color: #e0e0e0; + font-size: 14px; + } + + .header { + background-color: #666; + padding: 10px; + } + + .container { + width: 90%; + } +} + /* Style the header */ h1 { background-color: #4CAF50;