/* Petrushka – base */

:root {
    --forest: #003200;
    --lime: #329600;
    --paper: #eee;
    --black: #000;
    --header: 104px;
    --footer: 42px;
    --controls: 68px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--forest);
    color: var(--paper);
    font-family: Arial,Helvetica,sans-serif;
}

input {
    font: inherit;
}

select {
    font: inherit;
}

textarea {
    font: inherit;
}

a {
    color: inherit;
    text-underline-offset: 4px;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font: inherit;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

button:disabled {
    opacity: .3;
    cursor: default;
}

:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 5px;
}

button:focus-visible {
    outline-color: var(--lime);
}

[hidden] {
    display: none!important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    padding: 12px;
    background: var(--paper);
    color: black;
    z-index: 100;
}

@media(max-width:650px) {
    :root {
        --header: 110px;
    }
}
