@import "./variables.css";
@import "./fonts.css";
@import "./forms.css";
@import "./tables.css";
@import "./elements.css";
@import "./buttons.css";


html, body {
    padding:0;
    margin:0;
    height:100%;
}

body {
    font-family: 'Inter', sans-serif;

}

header {
    height: var(--header-height);
    background-color: var(--primary-bg-color);
    padding: 0 20px;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    align-items: center; /* vertikal zentrieren */
    z-index: 1000;
}

.header-title {
    font-weight: bold;
    color: #fff;
    font-size: 1.2rem;
    margin: 0; /* ganz wichtig: kein Margin-Shift */
}

main {
    background-color: #f0f2f5;
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    padding-bottom: calc(var(--footer-height)*3);
}

footer {
    bottom:0;
    left:0;
    right:0;
    padding: 20px;
    position: fixed;
    background-color: #3e3e3e;
    color: white;
    height: var(--footer-height);
}

footer a {
    color: white;
    text-decoration: underline;
}

.layout {
    display: flex;
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

nav {
    width: var(--nav-width);
    background-color: #f2f2f2;
    padding: 20px;
    box-shadow: inset -1px 0 0 #ddd;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav li {
    margin: 10px 0;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: block;
    padding: 10px 20px;
}

nav a:hover {
    background-color: #d1d1d1;
}

