@font-face { font-family: "Roboto"; src: url("/fonts/Roboto/Roboto-Regular.ttf"); } @font-face { font-family: "Orbitron"; src: url("/fonts/Orbitron/Orbitron-Black.ttf"); } body { margin: 0; font-family: "Orbitron"; background-color: white; z-index: 0; } .Leiste { top: 0px; left: 0px; width: 100%; height: 5vw; position: fixed; background-color: rgb(77, 0, 0); z-index: 1; } .header-container { top: 3vw; position: relative; width: 100%; } .header-image { top: 100px; width: 100%; height: 100%; object-fit: cover; z-index: 1; } .container { z-index: 5; position: fixed; right: 32px; left: 10px; top: 0px; font-family: Orbitron; font-size: 25px; display: flex; align-items: center; justify-content: space-between; } .menu-link-home { color: white; text-decoration: none; margin-left: 0px; font-size: 4vw; } .menu-link { font-size: 1.5vw; color: white; text-decoration: none; margin-left: 16px; } .menu-link:hover { text-decoration: underline; } .headline { text-align: center; color: rgb(0, 0, 0); font-size: 4vw; text-shadow: 5px 5px 3px rgba(5, 0, 0, 0.26); } /* Stile für die Kontakt-Icons */ .contact-icons { position: fixed; top:6vw; left: 2%; display: flex; flex-direction: column; align-items: center; } .contact-icon { width: 4vw; /* Neue Breite */ height: 3vw; /* Neue Höhe */ margin: 10px 0vw; } .mobile-menu-icon { display: none; cursor: pointer; position: fixed; top: 1vw; right: 10px; width: 30px; height: 24px; flex-direction: column; justify-content: space-between; } .hamburger-icon { width: 100%; height: 3px; background-color: white; } .menu-links { display: flex; align-items: center; justify-content: flex-end; } .menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #333; z-index: 1000; } .menu-link-mobile { color: white; padding: 20px; text-align: center; text-decoration: none; display: block; font-size: 250%; margin: 20px; } .mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: transparent; z-index: 1000; } .mobile-menu.show { display: block; background-color: rgb(104, 0, 0); } .KategorieLink { width: 300px; } .errornothingmobile { display: none; /* Standardmäßig versteckt */ position: relative; /* Positioniert relativ zum umgebenden Container */ margin-top: 20px; /* Abstand zum oberen Rand des Containers */ color: black; /* Schwarze Schriftfarbe */ text-align: center; /* Textzentrierung */ } .errornothingpc { position: fixed; /* Absolut relativ zum Container */ top: 4vw; /* Anpassen je nach Bedarf */ left: 50%; transform: translateX(-50%); /* Horizontale Zentrierung */ color: white; /* Schriftfarbe */ z-index: 1; /* Höherer Z-Index, um über dem Bild zu bleiben */ text-align: center; /* Textzentrierung */ font-size: 300%; } .error404img { top: 100px; width: 100%; height: 100%; object-fit: cover; z-index: 1; } @media screen and (max-width: 937px) { .ElementListe { display: flex; flex-wrap: wrap; justify-content: center; /* Zentriert die Elemente */ gap: 10px; /* Fügt einen gleichmäßigen Abstand zwischen den Elementen hinzu */ padding: 10px; /* Fügt einen Abstand zu den Rändern des Containers hinzu */ } .KategorieLink { width: 45vw; height: auto; max-width: 50vw; /* Maximale Breite des Bildes */ object-fit: cover; /* Bildfüllung */ margin-bottom: 10px; /* Abstand zwischen den Bildern */ } .mobile-menu-icon { display: flex; } .errornothingpc { display: none; } .errornothingmobile { display: block; /* Zeigt das Element auf mobilen Geräten */ } .menu-links { display: none; } .contact-icons { position: static; top: auto; left: auto; flex-direction: row; justify-content: center; width: 100%; margin-top: 10px; } .header-container { display: flex; flex-direction: column; align-items: center; } .contact-icon { width: 5vw; height: 4.2vw; margin: 0 10px; } .email-icon { filter: invert(100%); } } .ElementListe { display: block; }