body { background-color: #DFF0F2; color: black; font-size: 15px; margin: 0; padding: 0; min-height: 100vh; display: flex; flex-direction: column; width: 100vw; max-width: 100vw; overflow-x: hidden; } #wrapper { flex: 1 0 auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; margin-bottom: 20px; width: 100vw; max-width: 100vw; } a { color: black; text-decoration: none; } #navigation { display: flex; justify-content: center; position: sticky; top: 0; z-index: 1000; background: #BAC8D4; width: 100vw; } .link-container { display: grid; width: 80%; grid-template-columns: 20% 20% 56% 4%; background-color: #BAC8D4; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; } .links { display: flex; align-items: center; font-size: 25px; } #logo { height: 60px; width: 170px; background-image: url("../images/bibArts.png"); background-position: center; background-size: contain; } #footer { position: relative; bottom: 0; left: 0; width: 100vw; height: 180px; background-color: #BAC8D4; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; z-index: 999; padding: 10px 0; } .container-zahlungsmittel { grid-column: 5; justify-content: right; } .header-zahlungsarten { padding-right: 15px; text-align: right; } .inhalt { flex: 1 1 auto; display: flex; justify-content: center; align-items: center; width: 100vw; min-height: 0; min-width: 0; margin: 0; padding: 0 2vw; box-sizing: border-box; } .zahlungsmittel-img { height: 41px; width: 284px; background-image: url("../images/Zahlungsmittel.png"); background-position: center; background-size: contain; justify-self: right; } .line { width: 97%; height: 1px; background-color: grey; justify-self: center; grid-column-start: 1; grid-column-end: 6; } .container-rest { grid-column-start: 1; grid-column-end: 6; padding-left: 50px; } .link-impressum { padding-left: 30px; } .text-bib { grid-column: 5; justify-self: right; padding-right: 30px; } .container-welcome-inhalt { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 900px; min-height: 200px; border-radius: 10px; background: white; box-shadow: 0 2px 16px rgba(0,0,0,0.08); justify-items: center; align-items: center; box-sizing: border-box; padding: 10px 0; } .beispiel-austellung1-img, .beispiel-austellung2-img { height: 200px; width: 90vw; max-width: 320px; background-position: center; background-size: contain; border-radius: 10px; } .login-container { position: absolute; top: 200px; background-color: #BAC8D4; width: 900px; height: 450px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; } .tickets-container { position: absolute; top: 200px; background-color: #BAC8D4; width: 900px; height: 450px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; } @media (max-width: 600px) { body { font-size: 14px; width: 100vw; max-width: 100vw; overflow-x: hidden; } #wrapper { width: 100vw; max-width: 100vw; } #navigation { width: 100vw; min-width: 0; padding: 0; display: flex; justify-content: center; align-items: center; } .link-container { width: 100vw; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; row-gap: 8px; border-radius: 0; padding: 0 4px; } .links { font-size: 18px; justify-content: center; align-items: center; padding: 6px 0; text-align: center; width: 100%; } #logo { width: 120px; height: 40px; margin: 0 auto 8px auto; display: flex; justify-content: center; align-items: center; } .container-welcome-inhalt { grid-template-columns: 1fr; width: 100vw; max-width: 100vw; min-height: 0; padding: 8px 0; } .beispiel-austellung1-img, .beispiel-austellung2-img { width: 90vw; max-width: 98vw; height: 120px; margin-bottom: 10px; } .inhalt { width: 100vw; min-width: 0; max-width: 100vw; padding: 0 2vw; box-sizing: border-box; flex-direction: column; align-items: stretch; } #footer { width: 100vw; height: auto; min-height: 120px; padding: 10px 0 10px 0; font-size: 13px; } .container-zahlungsmittel { width: 100vw; text-align: center; padding: 0; } .header-zahlungsarten { font-size: 1.1em; padding-right: 0; text-align: center; } .zahlungsmittel-img { width: 90vw; max-width: 200px; height: 30px; margin: 0 auto; } .line { width: 95vw; } .link-impressum, .link-datenschutz, .link-nutzungsbedingungen { display: block; padding: 2px 0; text-align: center; } .text-bib { display: block; text-align: center; padding: 0; } .desktop-only { display: none !important; } .mobile-only { display: block !important; } .login-container { position: static; width: 95vw; max-width: 400px; height: auto; margin: 24px auto; padding: 16px 8px; box-sizing: border-box; } .tickets-container { position: static; width: 95vw; max-width: 400px; height: auto; margin: 24px auto; padding: 16px 8px; box-sizing: border-box; } .login-container h1 { font-size: 1.5em; text-align: center; } .tickets-container h1 { font-size: 1.5em; text-align: center; } .login-container form, .login-container label, .login-container input { width: 100%; max-width: 100%; box-sizing: border-box; } .login-container button, .login-container a { width: 100%; max-width: 100%; margin-top: 8px; text-align: center; box-sizing: border-box; } #nav-toggle-btn { display: block; background: none; border: none; font-size: 2em; cursor: pointer; margin: 0 auto 8px auto; transition: transform 0.2s; } .nav-links { display: none; flex-direction: column; align-items: center; width: 100%; transition: max-height 0.3s ease; overflow: hidden; } .nav-links.open { display: flex; } #nav-toggle-btn.open { transform: rotate(180deg); } } @media (min-width: 601px) { .mobile-only { display: none !important; } .desktop-only { display: block !important; } #nav-toggle-btn { display: none; } .nav-links { display: flex !important; flex-direction: row; align-items: center; width: auto; gap: 32px; } .nav-links .links { margin: 0 12px; } }