body {
    font-family: var(--font-sans);
    color: var(--textcol);
    background: var(--bodybg);
    margin: 0;
    letter-spacing: 1px;
}

h1 {
    position: relative;
    box-sizing: border-box;
    text-align: left;
    padding: 12px 0;
    margin: 8px 0;
    color: var(--textcol);
}

h2 {
    position: relative;
    box-sizing: border-box;
    text-align: left;
    padding: 8px 0;
    margin: 8px 0;
    color: var(--h2-color);
}

h3 {
    position: relative;
    box-sizing: border-box;
    text-align: left;
    font-weight: bold;
    font-size: 1.2em;
    border-bottom: 1px solid var(--shadow);
    padding: 8px 0;
    margin: 8px 0;
    color: var(--h3-color);
}

h4 {
    position: relative;
    text-align: left;
    font-weight: bold;
    font-size: 1.2em;
    margin: 2px 0 0.5em 0;
    color: var(--h4-color);
}

button {
    cursor: pointer;
    border: 1px outset var(--shadow);
    box-shadow: var(--fuzzy-shadow);
}

.info_container {
  box-sizing: border-box;
  display: grid;
  grid:
    'traffic home logout clock'
    'info info info info';
  grid-template-rows: auto 1fr;
  grid-template-columns: 400px 1fr 1fr auto;
  grid-gap: 24px;
  margin: 36px auto;
  width: 85%;
  min-width: 1200px;
  max-width: 1600px;
  height: 100vh;
  overflow: auto;
}
@media screen and (max-width: 1200px) {
  .info_container {
    display: grid;
    grid:
      'traffic'
      'info'
      'clock'
      'logout';
    grid-template-rows: auto auto 1fr auto;
    grid-template-columns: 1fr;
    grid-gap: 24px;
    margin: 0 auto;
    width: 85%;
    min-width: 600px;
    max-width: 1200px;
  }
}

.statusLight {
  grid-area: traffic;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-self: center;
  margin-top: 12px;
}
@media screen and (max-width: 1200px) {
  .statusLight {
    justify-content: center;
    align-self: center;
    gap: 16px;
  }
}

.lamp {
  width: 128px;
  height: 128px;
  border-radius: 64px;
  z-index: 1;
  background: #0d1a00;
  box-shadow: 0 0 8px #0d1a00 inset;
  border: none;
}

#red {
    background: var(--traffic-red-inactive);
}

#red.active {
    background: var(--traffic-red-active);
}

#yellow {
    background: var(--traffic-yellow-inactive);
}

#yellow.active {
    background: var(--traffic-yellow-active);
}

#green {
    background: var(--traffic-green-inactive);
}

#green.active {
    background: var(--traffic-green-active);
}

.clock {
    grid-area: clock;
}

.content {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.alert {
    grid-area: info;
    box-sizing: border-box;
    margin: 16px;
    padding: 16px;
    font-family: var(--font-sans);
    font-size: xx-large;
    text-align: center;
    color: var(--h2-color);
    border: 2px solid var(--h2-color);
    border-radius: 24px;
    box-shadow: 0 0 8px var(--h2-color);
}

.info_text {
    box-sizing: border-box;
    margin: 16px;
    padding: 16px;
    font-size: medium;
    text-align: left;
    color: var(--textcol);
    border: 2px solid var(--textcol);
    border-radius: 24px;
    box-shadow: var(--fuzzy-shadow);
}

h2.next_shifts, h2.urgent_shifts {
    text-align: center;
}

table.shiftinfo {
    border: none;
    border-collapse: collapse;
    width: 100%;
}

tr,
th,
td {
    border: none;
    border-collapse: collapse;
}

tr {
    border: 2px solid var(--bodybg);
}

td {
    width: auto;
    white-space: nowrap;
    padding: 4px 8px;
}

th {
    padding-bottom: 8px;
}

.time {
    text-align: right;
    font-family: var(--font-mono);
}

.fill {
    width: 100%;
    text-align: right;
}

a {
    text-decoration: none;
    color: var(--textcol);
}

@media screen and (min-width: 1200px) {
    a.shiftlink::before {
        content: 'Jetzt eintragen ';
    }
}

.medical,
.medical td a {
background: var(--hi-med);
color: var(--blackish);
}

.paramedic,
.paramedic td a {
background: var(--hi-med);
color: var(--whiteish);
}

.dispatch,
.dispatch td a {
background: var(--hi-yellow);
color: var(--blackish);
}

.technical,
.technical td a {
background: var(--hi-tec);
color: var(--whiteish);
}

.doctor,
.doctor td a {
background: var(--whiteish);
color: var(--blackish);
}

.sep {
padding-left: 4px;
padding-right: 2px;
}
