body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #36393f;
    color: #dcddde;
    height: 100vh;
    display: flex;
    flex-direction: column;
  //  overflow: hidden;
}

#menuBar {
    background-color: #173840;
    padding: 10px;
    display: flex;
    justify-content: flex-end; /* Sorgt für rechtsbündige Anordnung */
    align-items: center;
    border-bottom: 1px solid #1b444f;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

#menuBar button {
    background-color: #255966;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 10px; /* Abstand zwischen Buttons */
}

#menuBar button:hover {
    background-color: #2a6b7b;
}

#editorContainer {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 50px; /* Offset for menu bar */
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    background-color: #1c364d;
    color: #fff;
    transition: right 0.3s ease;
    padding: 10px;
    z-index: 5555;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.menu-toggle-open {
    //font-size: 20px;
    padding: 10px;
    background-color: #5865f2;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    text-align: center;
}

.menu-toggle-open:hover {
    background-color: #4752c4;
}

/* Seitenleiste */
.sidebar {
    position: fixed;
    top: 0;
    right: -400px; /* Startposition außerhalb des Bildschirms auf der rechten Seite */
    width: 370px;
    height: 100%;
    background-color: #1c364d;
    color: #fff;
    transition: right 0.3s ease;
    padding-top: 20px;
    z-index: 1000;
}

/* Sichtbare Seitenleiste */
.sidebar.active {
    right: 0; /* Seitenleiste sichtbar auf der rechten Seite */
}

/* Menülinks */
.sidebar a {
    display: block;
    color: #fff;
    padding: 15px;
    text-decoration: none;
    font-size: 18px;

}

.submenu-link {
    background: #1b4162;
}

/* Hover-Effekt */
.sidebar a:hover {
    background-color: #162d42;
}

/* Untermenü */
.submenu {
    display: none;
    background-color: #444;
}

/* Untermenü anzeigen */
.submenu.active {
    display: block;
}

/* Untermenü-Links */
.submenu a {
    font-size: 16px;
    padding-left: 30px;
}

.top-row {
    margin-top: -35px;
}

.CodeMirror {
    height: 100%;
    width: 100%;
}

#controls {
    background-color: #2f3136;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #202225;
}

#errorOutput {
    font-weight: bold;
    margin-right: auto;
    position: fixed;
    bottom: 0;
    z-index: 5555;
    text-align: center;
    width: 100%;
    background-color: #173840;
    padding: 5px;
}
#errorOutputx {
    background-color: #202020;
    padding: 5px;
    text-align: center;
}
.CodeMirror.cm-s-material {
    margin-top: 10px;
    margin-bottom: 20px;
}

.footer-right {
    display: inline;
}
.footer-center {
    display: inline;
}
.sidemenu-footer {
    color: #aaa;
    text-decoration: none;
    float: right;
    padding-left: 5px;
    padding-right: 23px;
    margin-bottom: 5px;
    position: fixed;
    bottom: 0;
    display: inline-flex;
}
.submenu-footerlink {
    font-size: 12px !important;
}


.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}
.dropdown-button:hover {
    background-color: #45a049;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.submenu {
    position: relative;
}
.submenu-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.submenu:hover .submenu-content {
    display: block;
}

.main-menu {
    z-index: 2000;
    margin-top: 10px;
    margin-left: 15px;
    width: 400px;
    position: fixed;
}

.option {
    display: flex;
    background-color: #255966;
    padding: 3px;
}

.category-button {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: ruby-base;
    background-color: #255966;
    cursor: pointer;
    margin-left: 5px;
    border: 0;
}
.category-button:hover {
    background-color: #2a6b7b;
}

.dropdown-button-in {
    background-color: #33959f;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border: 0;
}
.dropdown-button-in:hover {
    background-color: #496097;
}

/*
asdasd
 */

#menu-container {
    display: flex;
}

#cookieBanner {
    z-index: 9999;
    top: 0;
    position: fixed;
    width: 100%;
    text-align: center;
    background-color: #5b0505;
    padding: 15px;

}
#acceptCookies {
    background-color: #478e33;
    border: 0;
    padding: 5px;
    color: #fff;
}
#rejectCookies {
    background-color: #8e3333;
    border: 0;
    padding: 5px;
    color: #fff;
}
#optionsContainer {
    background-color: #255966 !important;
    position: fixed!important;
}
#optionsContainerElement:hover {
    background-color: #18404a;
}
#optionsContainer2 {
    background-color: #255966 !important;
    position: fixed!important;
}
#optionsContainerElement2:hover {
    background-color: #18404a;
}