/*
@font-face {
    font-family: 'ZX';
    src: url('../fonts/ZX_Spectrum-7_Bold.woff2') format('woff2'),
        url('../fonts/ZX_Spectrum-7_Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ZX';
    src: url('../fonts/ZXSpectrum-7.woff2') format('woff2'),
        url('../fonts/ZXSpectrum-7.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
*/
@font-face {
    font-family: 'ZX';
    src: url('../fonts/zx-es.woff2') format('woff2'),
        url('../fonts/zx-es.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'ZX';
    font-size: 1em;
    padding: 0;
    margin: 0;
}

.r {
    text-align: right;
}

.w {
    padding: .5em;
}

.b {
    background: #ff0;
}

.d {
    font-size: 2em;
    line-height: 1em;
}

.header {
    background-color: #000;
    background-image: url('zx.png');
    background-position: right;
    background-repeat: no-repeat;
    color: #fff;
    padding: .5em;
}

table {
    border: 0;
    border-collapse: collapse;
}

td {
    margin: 0;
    padding: 0;
    font-size: 1em;
}

.spaced {
    border-bottom: 2px solid #fff;
}

button {
    border: 0;
    background: #ccc;
    font-family: 'ZX';
}

.full {
    display: block;
    width: 100%;
    line-height: 2em;
    text-align: center;
    font-size: 2em;
}

table button {
    height: 2em;
    width: 2em;
    display: block;
    line-height: 2em;
    text-align: center;
    padding: 0;
}

.stop {
    background: #0F0;
    color: #000;
}

.play {
    background: #F00;
    color: #fff;
}

input {
    width: 100%;
    font-family: 'ZX';
    border: 0;
    padding: .5em 0;
    font-size: 1em;
}


.tabs {
    margin: .5em;
}

.tabs .contents {
    background: #ccc;
}

.hide {
    display: none;
}

.tabs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.tabs ul li {
    display: inline-block;
    width: 50%;
}

.tabs ul li a {
    padding: .5em;
    display: block;
}

a {
    text-decoration: none;
    color: #000;
}

a:active {
    background: #000;
    color: #fff;
}

a.selected {
    background: #ccc;
}