body {
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    text-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    font-family: 'zx-spectrum', monospace;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100svh;
    cursor: crosshair;
}

@font-face {
    font-family: "zx-spectrum";
    src: url(zx-spectrum.ttf) format("truetype");
  }

.container {
    max-width: 100svw;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100svh;
    position: relative;
}

.controls {
    margin: 1svw 0;
    display: flex;
    justify-content: center;
    gap: 1svw;
}

.btn {
    padding: 10px 10px;
    font-family: 'zx-spectrum', monospace;
    font-size: 16px;
    background-color: #333;
    color: #fff;
    border: 2px solid #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #555;
    border-color: #888;
}

.btn:active {
    background-color: #111;
}

.btn.paused {
    background-color: #d00;
    border-color: #f00;
}

.btn.playing {
    background-color: #0d0;
    border-color: #0f0;
}

.block-info {
    margin: 0px 0;
    padding: 0px;
    /* border: 2px solid #333;
    background-color: #111; */
}

.block-number {
    font-size: 32px;
    margin: 0px 0;
    color: #cccccc;
    white-space: pre-line;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block-hash {
    font-size: 32px;
    margin: 0px 0;
    color: #cccccc;
    word-break: break-all;
    white-space: pre-line;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Make SVG elements responsive and centered */
.block-number svg, .block-hash svg {
    max-width: 100%;
    max-width: min(100vw, 100vh);
    height: auto;
    margin: 0 auto;
    overflow: visible;
}

.block-info {
    font-size: clamp(12px, 2svw, 18px) !important;
    white-space: nowrap;
    font-family: "zx-spectrum", monospace;
    margin: 0px 0;
    padding: 0px;
    border: 0px;
    display: block;
    text-align: left;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.block-info-container {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 90vh;
    overflow: visible;
    padding: 10px;
}




.bottom-info {
    position: fixed;
    bottom: 3svh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    white-space: nowrap;
}

.timestamp {
    font-size: 14px;
    color: #dddddd;
    white-space: pre-line;
    padding: 5px 10px;
    position: static;
    margin: 0;
}

.status-btn {
    font-size: 14px;
    color: #888;
    padding: 5px 10px;
    position: static;
    margin: 0;
    background-color: #333;
    border: 2px solid #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'zx-spectrum', monospace;
}

.status-btn:hover {
    background-color: #444;
    border-color: #777;
}

.status-btn.paused {
    color: #f00;
    border-color: #f00;
}

.status-btn.playing {
    color: #0f0;
    border-color: #0f0;
}

