diff --git a/index.html b/index.html index 0cacc6f..2c05cd5 100644 --- a/index.html +++ b/index.html @@ -524,29 +524,68 @@ nav ul li a { color: #333; font-weight: bold; } -.section { - padding: 80px 0; + + + + + +.recommendation-section { background-color: rgba(255, 255, 255, 0.8); - margin-bottom: 20px; + padding: 20px 0; } .recommendation-banner { text-align: center; - padding: 10px; - background-color: rgba(255, 255, 255, 0.8); - margin-bottom: 20px; -} - -.recommendation-banner h2 { - margin-bottom: 10px; } .sponsor-logos { display: flex; justify-content: center; align-items: center; + flex-wrap: wrap; } +.ad-row { + display: flex; + justify-content: center; + margin-bottom: 10px; +} + +.ad-item { + margin: 0 10px; +} + +.ad-item img { + max-height: 40px; + width: auto; +} + +@media (max-width: 768px) { + #welcome-title { + font-size: 28px; + } + + #welcome-subtitle { + font-size: 18px; + } + + .ad-item img { + max-height: 30px; + } +} + +.section { + padding: 80px 0; + background-color: rgba(255, 255, 255, 0.8); + margin-bottom: 20px; +} + +.recommendation-banner h2 { + margin-bottom: 10px; + color: #333; /* Hinzugefügt, um sicherzustellen, dass der Text sichtbar ist */ +} + + .sponsor-logos a { margin: 0 10px; } @@ -556,6 +595,15 @@ nav ul li a { width: auto; } +.banner-container { + position: absolute; + bottom: 20px; /* Anpassen Sie diesen Wert, um die vertikale Position zu ändern */ + left: 0; + right: 0; + z-index: 20; +} + + #qrcode { display: flex; justify-content: center; @@ -707,26 +755,108 @@ footer { } - #welcome-message { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - text-align: center; - font-size: 24px; - font-weight: bold; - color: #ffffff; /* Weiße Schriftfarbe, passen Sie diese nach Bedarf an */ - text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Optionaler Schatteneffekt für bessere Lesbarkeit */ - z-index: 1000; /* Stellt sicher, dass der Text über anderen Elementen angezeigt wird */ + + + +.title-section { + position: absolute; + top: 10%; + left: 50%; + transform: translate(-50%, -50%); + text-align: center; + width: 100%; + z-index: 1220; +} + +.container { + max-width: 80%; + margin: 0 auto; +} + + +#welcome-title { + font-size: 36px; + font-weight: bold; + color: #ffffff; + text-shadow: 2px 2px 4px rgba(0,0,0,0.7); + margin-bottom: 20px; +} + +#welcome-subtitle { + font-size: 24px; + color: #ffffff; + text-shadow: 1px 1px 2px rgba(0,0,0,0.7); +} + + +.banner-container { + position: absolute; + bottom: 20px; + left: 0; + right: 0; + z-index: 20; +} + +.recommendation-banner { + text-align: center; + padding: 10px; + background-color: rgba(255, 255, 255, 0.8); + margin-bottom: 20px; +} + +.recommendation-banner h2 { + margin-bottom: 10px; + color: #333; +} + +.sponsor-logos { + display: flex; + justify-content: center; + align-items: center; + flex-wrap: wrap; +} + +.ad-row { + display: flex; + justify-content: center; + margin-bottom: 10px; +} + +.ad-item { + margin: 0 10px; +} + +.ad-item img { + max-height: 40px; + width: auto; +} + +@media (max-width: 768px) { + .title-section { + position: static; + transform: none; + margin-top: 20px; } - /* Optional: Responsive Design für kleinere Bildschirme */ - @media (max-width: 768px) { - #welcome-message { - font-size: 18px; - } + .banner-container { + position: static; + margin-top: 20px; } - + + #welcome-title { + font-size: 28px; + } + + #welcome-subtitle { + font-size: 18px; + } + + .ad-item img { + max-height: 30px; + } +} + + @@ -835,6 +965,37 @@ footer { .download-btn:hover { background-color: #45a049; } +.main-content { + position: relative; + min-height: 100vh; +} + +.title-section { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + text-align: center; + width: 100%; + z-index: 10; +} + +.banner-container { + position: absolute; + bottom: 20px; + left: 0; + right: 0; + z-index: 20; +} + +.recommendation-banner { + text-align: center; + padding: 10px; + background-color: rgba(255, 255, 255, 0.8); + margin-bottom: 20px; +} + +/* Rest des CSS bleibt unverändert */ @@ -891,56 +1052,53 @@ footer { - -
' . $ad['name'] . '
- -