* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
}

body.logged-in {
    background-color: #e6f7e6;
}

/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #005bbb;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    align-items: center;
    z-index: 1000;
}

.header-field {
    text-align: center;
    color: white;
    font-size: 13px;
}

/* Status */

.status-online {
    background-color: #28a745;
}

.status-offline {
    background-color: #dc3545;
}

/* Rollenfarben */

.role-yellow {
    background-color: #ffc107;
    color: black;
}

.role-green {
    background-color: #28a745;
    color: white;
}

.role-blue {
    background-color: #005bbb;
    color: white;
}

/* ================= FOOTER ================= */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #005bbb;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    align-items: center;
}

/* ================= CONTENT ================= */

.container {
    width: 95%;
    max-width: 700px;
    margin: 70px auto 90px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.container p {
    text-align: justify;
    hyphens: auto;
}

/* ================= BUTTONS ================= */

.button {
    display: block;
    width: 90%;
    margin: 20px auto 0 auto;
    padding: 14px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
}

.button-blue {
    border: 3px solid #005bbb;
    color: #005bbb;
    background: white;
}

.button-red {
    border: 3px solid #dc3545;
    background: #dc3545;
    color: white;
}

/* Zweispaltige Buttonreihe */

.button-row {
    width: 90%;
    margin: 20px auto 0 auto;
    display: flex;
    gap: 10px;
}

.button-half {
    flex: 1;
}
