1
0

172 lines
2.7 KiB
CSS

@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: 7vw;
position: fixed;
background-color: rgb(77, 0, 0);
z-index: 0;
}
.Background-Leiste {
top: 0px;
left: 0px;
width: 100%;
height: 7vw;
object-fit: cover;
background-color: transparent;
}
.header-container {
top: 3vw;
position: relative;
width: 100%;
}
.container {
position: fixed;
right: 32px;
left: 10px;
top: 0px;
font-family: Orbitron;
font-size: 24px;
display: flex;
align-items: center;
justify-content: space-between;
}
.menu-link-home {
color: white;
text-decoration: none;
margin-left: 0px;
font-size: 6vw;
}
.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);
}
.mobile-menu-icon {
display: none; /* Standardmäßig ausblenden */
cursor: pointer;
position: fixed;
top: 0.5vw;
right: 20px;
}
.hamburger-icon {
width: 30px;
height: 3px;
background-color: white;
margin: 6px 0;
}
.menu-links {
display: flex;
align-items: center;
justify-content: flex-end; /* Rechts ausrichten */
}
.menu-links.show {
display: flex;
}
.menu {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #333; /* Hintergrundfarbe des Menüs */
z-index: 1000;
}
.menu-link-mobile {
color: white;
padding: 20px;
text-align: center;
text-decoration: none;
display: block;
font-size: 250%;
margin: 20px; /* Abstand zwischen den Links hinzufügen */
}
.mobile-menu {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: transparent;
z-index: 1000;
}
.Inhalt {
height: 100%;
width: 100%;
top: 10vw;
left: 0px;
}
@media screen and (max-width: 937px) {
.mobile-menu-icon {
display: block; /* Bei kleinen Bildschirmen anzeigen */
}
.hamburger-icon {
display: block;
}
.menu-links {
display: none;
flex-direction: column;
position: absolute;
top: 80px;
right: 0; /* Rechts ausrichten */
background-color: #333;
width: 100%;
justify-content: flex-start; /* Links oben ausrichten */
}
.menu-links.show {
display: flex;
}
.mobile-menu.show {
display: block;
background-color: rgb(104, 0, 0);
}
}