body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000;
    flex-direction: column;
    gap: 40px;
    background-image: url(moritzi.png);
    background-position: center;
    background-repeat: repeat;
    position: relative;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
#uhrzeit {
    font-size: 55px;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}
#datum {
    font-size: 2rem;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}
#uhrzeit span.small {
    font-weight: 300;
    font-size: 58%;
    margin-left: -0.25em;
}
#countdown {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}
#timer {
    font-size: 2rem;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
}
.a {
    background: #fff;
    color: #000;
    border-radius: 10px;
    height: 175px;
    width: 175px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.z {
    font-size: 100px;
    line-height: 100px;
    text-align: center;
}
.a div:first-child {
    line-height: 100%;
    text-align: center;
    font-size: 18px;
}
.a div:last-child {
    font-size: 110px;
    white-space: nowrap;
    text-align: center;
    line-height: 100%;
}
.sigma {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}
/* Preserve the original desktop layout while fitting the same cards on small screens. */
@media (max-width: 620px) {
  body { height: auto; min-height: 100svh; padding: 20px 8px; gap: 24px; }
  #timer { gap: 4px; margin-bottom: 32px; }
  .a { width: calc((100vw - 64px) / 3); height: clamp(106px, 25vw, 150px); }
  .a div:first-child { font-size: clamp(12px, 3vw, 18px); }
  .a div:last-child { font-size: clamp(42px, 14vw, 90px); }
  .z { font-size: 50px; line-height: 70px; }
  #datum { font-size: 1.25rem; }
  #uhrzeit { font-size: 48px; }
}
