diff --git a/styles.css b/styles.css index 272ef55..faed400 100644 --- a/styles.css +++ b/styles.css @@ -3,63 +3,125 @@ margin: 0; padding: 0; } + body, html { width: 100%; - overflow-x: hidden; + height: 100%; font-family: Arial, sans-serif; line-height: 1.6; color: #333; background-color: #f4f4f4; } + +body { + display: flex; + flex-direction: column; + min-height: 100vh; +} + header { background-color: #8B0000; color: white; - text-align: center; padding: 1rem; width: 100%; } -.logo svg { - max-width: 100px; - height: auto; + +.header-content { + max-width: 1200px; + margin: 0 auto; + display: flex; + flex-direction: column; + align-items: center; } + +.logo-title { + display: flex; + align-items: center; + margin-bottom: 1rem; +} + +.logo-title svg { + width: 60px; + height: 60px; + margin-right: 1rem; +} + h1 { - font-size: 1.8em; - margin: 0.5rem 0; + font-size: 1.5em; + margin: 0; } -ul { - background-color: #f2f2f2; - padding: 20px 20px 20px 40px; + +.header-nav { + width: 100%; +} + +.header-nav h2 { + font-size: 1.2em; + margin-bottom: 0.5rem; + text-align: center; +} + +.header-nav ul { + list-style-type: none; + padding: 0; + display: flex; + justify-content: center; + flex-wrap: wrap; +} + +.header-nav li { + margin: 0.5rem; +} + +.header-nav a { + color: white; + text-decoration: none; + padding: 0.5rem 1rem; border-radius: 5px; + background-color: rgba(255, 255, 255, 0.1); + transition: background-color 0.3s; } + +.header-nav a:hover { + background-color: rgba(255, 255, 255, 0.2); +} + main { - width: 100%; - max-width: 800px; + flex: 1; + padding: 2rem; + max-width: 1200px; margin: 0 auto; - padding: 1rem; + width: 100%; } + section { background-color: white; - margin-bottom: 1rem; - padding: 1rem; + margin-bottom: 2rem; + padding: 2rem; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } + h2 { color: #8B0000; border-bottom: 2px solid #8B0000; padding-bottom: 0.5rem; margin-bottom: 1rem; } + h3 { color: #8B0000; margin-bottom: 0.5rem; } + ul { padding-left: 1.5rem; } + li { margin-bottom: 0.5rem; } + footer { background-color: #333; color: white; @@ -67,17 +129,28 @@ footer { padding: 1rem; width: 100%; } -@media (max-width: 600px) { - h1 { - font-size: 1.5em; + +@media (max-width: 800px) { + .logo-title { + flex-direction: column; + text-align: center; + } + + .logo-title svg { + margin-right: 0; + margin-bottom: 1rem; } - h2 { - font-size: 1.3em; + + h1 { + font-size: 1.2em; } - h3 { - font-size: 1.1em; + + .header-nav ul { + flex-direction: column; + align-items: center; } - .logo svg { - max-width: 80px; + + .header-nav li { + margin: 0.25rem 0; } }