* {
    box-sizing: border-box;
}

body { margin: 0; }

.app {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100svh;
}

header {
    background: #111;
    color: #fff;
    padding: 0.75rem 1rem;
    font-family: monospace;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

main {
    background: #f0ede8;
    padding: .5rem;
    container-type: size;
    display: grid;
    place-content: center;
}

footer {
    padding: .5rem;
    background: #111;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

footer > button {
    flex-grow: 1;
    flex-basis: 3rem;
    border-radius: 4px;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    font-family: monospace;
    font-size: 1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 0.5rem;
    transition: background 0.15s, border-color 0.15s;
}

footer > button:hover,
footer > button.active {
    background: #fff;
    color: #111;
    border-color: #fff;
}

svg {
    height: 250cqmin;
    width: 250cqmin;
    aspect-ratio: 1;
}

/* Letter stays fixed */
#Letter path,
#Letter polyline {
    fill: #111;
}

/* Tail — rotation applied via SVG transform attribute in JS */
.tail {
    will-change: transform;
}

/* Tail rotates via SVG transform attribute set by JS — no CSS transform needed */
.tail path,
.tail polyline {
    fill: #111;
}

 html,
    body {
      margin: 0;
      width: 100%;
      height: 100%;
      font-family: sans-serif;
    }



/*.  Dies ist die Gestaltung des #permissionLayers Da könnt ihr die Farbe, opacity ändern, damit sie zu eurer App passt*/
    #permissionLayer {
      position: fixed;
      inset: 0;
      background: white;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: .9;
    }

    /*.  Den button könntet ihr ebenfalls anpassent*/

    button {
      font-size: 24px;
      padding: 20px 40px;
    }