@font-face {
    font-family: 'Sivtsev';
    src: url("Sivtsev-Eye-Chart.otf") format("opentype"), url("Sivtsev-Eye-Chart.ttf") format('truetype');
}

body {
    --base-scale: 12cm;
    opacity: 0;
    padding-bottom: 400px;
}

body.ready {
    opacity: 1;
}

.settings-container {
    max-width: 1000px;
    margin: 0 auto 78px;
    text-align: center;
}

.settings-container .settings {
    height: 0px;
    transition: height .2s;
    overflow: hidden;
    text-align: left;
}

.settings-container .settings.visible {
    height: 140px;
}

.settings-container .settings-field {
    display: flex;
}

.settings-container .settings label {
    display: block;
    height: 24px;
    padding: 9px 12px;
    font-size: 18px;
}

.settings-container .actions {
    display: flex;
    justify-content: space-between;
}

.number-input {
    width: 70px;
    padding: 8px 12px;
    border: none;
    text-align: left;
    font-size: 18px;
    height: 42px;
}

.number-input:focus, .number-input:active {
    border: 0;
    outline: 0;
}

button {
    background-color: transparent;
    transition: background-color .2s;
    border: none;
    border-bottom: 1px solid #444;
    color: #444;
    padding: 8px 12px;
    cursor: pointer;
}

button:active {
    background-color: #eee;
}

.row {
    max-width: 1032px;
    padding: 0 16px;
    margin: 0 auto 52px;
    display: flex;
    justify-content: space-between;
    font-family: Sivtsev;
}

.row:nth-child(1) {
    font-size: calc(var(--base-scale) * 0.50);
    line-height: calc(var(--base-scale) * 0.50);
}

.row:nth-child(2) {
    font-size: calc(var(--base-scale) * 0.25);
    line-height: calc(var(--base-scale) * 0.25);
}

.row:nth-child(3) {
    font-size: calc(var(--base-scale) * 0.1667);
    line-height: calc(var(--base-scale) * 0.1667);
}

.row:nth-child(4) {
    font-size: calc(var(--base-scale) * 0.125);
    line-height: calc(var(--base-scale) * 0.125);
}

.row:nth-child(5) {
    font-size: calc(var(--base-scale) * 0.1);
    line-height: calc(var(--base-scale) * 0.1);
}

.row:nth-child(6) {
    font-size: calc(var(--base-scale) * 0.0833);
    line-height: calc(var(--base-scale) * 0.0833);
}

.row:nth-child(7) {
    font-size: calc(var(--base-scale) * 0.0714);
    line-height: calc(var(--base-scale) * 0.0714);
}

.row:nth-child(8) {
    font-size: calc(var(--base-scale) * 0.0625);
    line-height: calc(var(--base-scale) * 0.0625);
}

.row:nth-child(9) {
    font-size: calc(var(--base-scale) * 0.0555);
    line-height: calc(var(--base-scale) * 0.0555);
}

.row:nth-child(10) {
    font-size: calc(var(--base-scale) * 0.05);
    line-height: calc(var(--base-scale) * 0.05);
}

.row:nth-child(11) {
    font-size: calc(var(--base-scale) * 0.0333);
    line-height: calc(var(--base-scale) * 0.0333);
}

.row:nth-child(12) {
    font-size: calc(var(--base-scale) * 0.025);
    line-height: calc(var(--base-scale) * 0.025);
}
