
@import "menu.css";
@import "forms.css";
@import "dbg.css";

:root {
    --main-white: #f0f0f0;
    --main-red: #be3144;
    --main-blue: #45567d;
    --main-gray: #4d4d4d;
    
    --main-background: lightpink;
    --main-background: white;
    
    --main-background-vmenu: #ffffff;
    --main-background-border-right: #eee;
    --main-menu-text: rgb(56, 56, 56);
    --main-menu-text-passive: #ddd;

    --main-nav-vert: 190px;

    /*--main-accent: #e6962C;*/
    --main-accent: #0C3868;

    --cl-blue-1 : #0C3868; /* dunkel */
    --cl-blue-2 : #0E4A80;
    --cl-blue-3 : #14639E;
    --cl-blue-4 : #009FCA;
    --cl-blue-5 : #5DAEDB; /* hell */

    --cl-gray-1 : #444; /* dunkel */
    --cl-gray-2 : #666;
    --cl-gray-3 : #9a9a9a;
    --cl-gray-4 : #cdcdcd;
    --cl-gray-45 : #dedede;
    --cl-gray-5 : #f0f0f0; /* hell */
    --cl-gray-55 : #f8f8f8;
    --cl-gray-6 : #ffffff;

    --cl-green : #91C60E;
    --cl-orange : #e6962C;
    --cl-red : #CE0037;
    --cl-yellow : #FFC600;
    --cl-darkgreen: #006747;
    --cl-violett: #5F259F;
    --cl-himbeer: #A20067;

    --cl-green-2: #C5D984;
    --cl-orange-2: #FCC577;
    --cl-darkgreen-2: #67A492;
    --cl-red-2: #F08590;
    --cl-yellow-2 : #FFE882;
    --cl-violett-2: #9577b4;
    --cl-himbeer-2: #CC7AA3;

    --cl-yellow-3 : #FFFCDF;

    --button-textcolor-passiv: #9a9a9a;
}

@font-face {
    font-family: "Roboto";
    /*src: url("../fonts/Roboto-Regular-webfont.woff") format("woff");*/
    src: url("../fonts/RobotoFlex-VariableFont_GRAD,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-stretch: 1% 800%; /* Required by Chrome */
}

@font-face {
    font-family: 'Material Symbols Rounded';
    font-style: normal;
    font-weight: 100 700;
    src: url("../fonts/MaterialSymbolsRounded.woff2") format('woff2');
}

@font-face {
    font-family: 'PlaypenSans';
    font-style: normal;
    src: url("../fonts/PlaypenSans-VariableFont_wght.ttf") format('truetype');
}

@font-face {
    font-family: 'ShantellSans';
    font-style: normal;
    src: url("../fonts/ShantellSans-VariableFont_BNCE,INFM,SPAC,wght.ttf") format('truetype');
}

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -moz-font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;
}

.material-symbols-rounded {
    font-variation-settings:
        'FILL' 0,
        'wght' 200,
        'GRAD' 0,
        'opsz' 24
}

html,body {
    border: 0px solid red;
    box-sizing: border-box;
    color: black;
    font-family: "Roboto", "Arial", sans-serif;
    font-weight: 300;
    font-size: 16px;
    font-kerning: normal;
    font-stretch: normal;
    padding: 0px;
    margin: 0px;
    min-height: 100vh;
}

img {
    display: block;
}

a {
    text-decoration: none;
}


.maindiv {
    background-color: var(--main-background);
    /*background-image: url('/img/bg_tile.webp');  Pfad zum Hintergrundbild */
    background-repeat: repeat; /* Wiederholt das Bild in beide Richtungen */    
    border: 0px solid blue;
    box-sizing: border-box;
    width: auto;
    min-height: 100vh;
    margin: 0px;
    margin-left: var(--main-nav-vert);
    padding: 0rem;
    padding-left: 0rem;
    padding-top: 0rem;
    display:flow-root;
}

ul.head {
    list-style-type: none;
    overflow: hidden;
    margin: 0px;
    padding: 0px 10px;
    font-size: 18px;
    text-align: left;
    /*background-image: linear-gradient(to bottom, var(--cl-gray-5), var(--cl-gray-6), var(--cl-gray-5));*/
    /*border-bottom: 1px solid var(--cl-gray-2);*/
    border-bottom: 2px solid var(--main-accent);
    height: 32px;
    line-height: 32px;
    color: black;
    display: block;
}

ul.head li {
    float: left;
    padding: 0px;
    margin: 0px;
    vertical-align: middle;
}

ul.head li.right {
    float: right;
}
 
.flexdiv{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: space-evenly;
    padding: 0px;
    margin: 0px;
    /*background: var(--cl-gray-4);*/
    width: 100%;
}

.textdiv {
    color:blue;
    background: white;
    width:100%;
    margin: 8px;
    padding: 5px;
    border: 1px solid gray;
    border-radius: 10px;
}

.material-symbols-rounded {
    margin-right: 8px;
    margin-left: 10px;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}




.condensed {
    font-stretch: condensed;
}

.expanded {
    font-stretch: ultra-expanded;
}



/*.table_div {
    border: 1px solid var(--cl-gray-5);
    padding: 5px !important;
    margin: 10px !important;
    width: 100%;
    box-shadow: 3px 3px 5px silver;
    border-radius: 12px;
    z-index: 100;
    background: white;
}*/

.table_div {
  width: 100%;
  border: 0px;
  padding: 5px !important;
  margin: 0px !important;
  background: white;  
}

#log_table {
    border-radius: 8px;
}

.window_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparenter, grauer Hintergrund */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Hohe Z-Index, damit es über allem liegt */
}

/* Das zentrierte Modal-Fenster */
.window_modal {
    background-color: white; /* Weißer Hintergrund für das Modal */
    border: 2px solid darkblue;
    margin: 0px;
    padding: 0px; /* Etwas Platz um den Inhalt herum */
    border-radius: 8px; /* Abgerundete Ecken */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Ein wenig Schatten für den 3D-Effekt */
    z-index: 1001; /* Höherer Z-Index als das Overlay */
}

.window_modal_top {
    background-color: white;
    text-align: right;
    border-radius: 6px 6px 0px 0px;
    height: 24px;
    padding: 5px 10px 0px 0px;
    margin-bottom: -15px;
}

.window_modal_top a {
    z-index: 1010;
}

.window_hidden {
    display : none;
}


@media (max-width: 800px) {
    .vnav {
        display: none;
    }
    .hnav {
        display: flex;
    }
    .maindiv {
        margin-left: 0px;
        min-height: 100vh;
        padding-top: 45px;
        padding-left: 0rem;
    }
    .nav_logo {
        padding: 5px;
        height: 30px;
    }
    .nav_logo img {
        height: 30px;
    }

}