 *{ 
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden; /* Verhindert Scrollbalken */
    background-color: red;
}

/*👉.menu-bar {
    width: 100vw; ➡ Volle Breite des Viewports ⬅
    height: 40px; ➡ Feste Höhe von 50px ⬅
    background-color: #333; ➡ Dunkle Farbe für das Menü (kann angepasst werden) ⬅
    font-size: 20px;
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}👈*/

/* Allgemeines Layout der Menü-Bar */
.menu-bar {
    background-color: #333;
    /* font-family: Arial, sans-serif; */
    font-size: 1.1rem;
    user-select: none;
    padding: 0;
    margin: 0;
}

/* Hauptmenü-Liste (horizontale Ausrichtung) */
.menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

/* Menü-Item (Hauptpunkt) */
.menu-item {
    position: relative;
    padding: 0.5rem 1rem 0.5rem 1rem;
    cursor: pointer;
    color: #fff;
}

/* Hover-Effekt auf Hauptpunkt */
.menu-item:hover {
    background-color: #444;
}

/* Submenu-Grundlayout */
.submenu {
    position: absolute;
    display: none; /* Unsichtbar, bis man hovert */
    background-color: #444;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 220px; /* mehr Platz für Shortcut */
    top: 100%;
    left: 0;
    z-index: 999;
}

/* Submenu-Items: Flexlayout für Shortcut-Ausrichtung */
.submenu li {
    display: flex;
    justify-content: space-between;  /* Text links, Shortcut rechts */
    align-items: center;
    padding: 0.8rem 1rem;
    color: #fff;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover-Effekt auf Submenu-Items */
.submenu li:hover {
    background-color: #555;
}

/* Shortcut-Stil */
.submenu li .shortcut {
    color: #ccc;
    font-size: 0.85rem;
    margin-left: 1rem;  /* kleiner Abstand zum Menütext */
}

/* Anzeigelogik: Submenu anzeigen, wenn man über das Hauptmenü hovert */
/*👉.menu-item:hover .submenu {
    display: block;
}👈*/

/* Optional: Übergangseffekte (z.B. weiches Ein-/Ausblenden) */
.submenu {
    transition: all 0.3s ease;
}

.submenu.show{
    display: block;
}

/* Canvas-Container, damit das Canvas darunter liegt */
.canvas-container {
    /* margin: 1rem; */
    position: relative;
    background-color: #222; /* optionaler, dunkler Hintergrund */
    height: calc(100vh - 70px); /* Beispiel: Vollhöhe abzüglich Menü-Leiste */
}

/* Canvas selbst: Fülle Container */
#einsteinCanvas {
    width: 100%;
    height: 100%;
    display: block;
}



.canvas-container {
    /* padding: 20px; */
    /* height: calc(100vh - 50px); */
    height: 100vh;
    box-sizing: border-box;
    /* border: 5px solid green; */
}


canvas {
    display: block;
    width: 100%; /* Die Darstellungsbreite über CSS */
    height: 100%; /* Die Darstellungsgröße */
    background-color: white;
    box-sizing: border-box;
}


