html {
    height: 100%;
}

body {
    padding: 1em;
    box-sizing: border-box;
    margin: auto;
    height: 100%;
    font-family: sans-serif;
    font-size: calc((4vmin + 4vmax)/2);
    background-color: #222;
    color: #f8f9fa;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-content: center;
    height: 100%;
    width: 100%;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-head {
    align-self: stretch;
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 1em;
    margin-left: auto;
    margin-right: auto;
    left: 1em;
    right: 1em;
    max-width: 960px;
}

.flex-head > a {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.flex-container>.flex-center {
    align-self: center;
    max-width: 960px;
    flex: 1;
}

.flex-container>.flex-bottom {
    align-self: center;
}

.flex-container>.flex-bottom>.roomy {
    margin-left: 0.2em;
    margin-right: 0.2em;
}

.text-center {
    text-align: center;
}

.small {
    font-size: 50%;
}

.jumbo {
    font-size: 200%;
    line-height: 100%;
    font-weight: 700;
}

@media not all and (min-resolution:.001dpcm) {
    .jumbo {
        -webkit-font-smoothing: subpixel-antialiased;
        -webkit-text-stroke: 0.1vmin #f8f9fa;
    }
}

.text-insta {
    font-size: 125%;
    line-height: 100%;
}

.arrow {
    text-decoration: none;
    vertical-align: middle;
}

p {
    margin-top: 1em;
}

a:link,
a:visited {
    color: #f8f9fa;
}

a {
    color: #f8f9fa;
}

a:hover {
    color: #69f;
}

h3 {
    margin: 0;
}

.error {
    color: #ff6e6e;
    font-size: 60%;
}

label {
    font-size: 60%;
    display: block;
    margin-top: 1em;
}

label small {
    color: #c8ccd1;
}

input {
    background-color: #222;
    color: #f8f9fa;
}

input[type=text],
input[type=email] {
    border: dashed #c8ccd1 1px;
    font: inherit;
}

input[type=submit] {
    background-color: #222;
    border: solid 1px #c8ccd1;
    font: inherit;
    margin-top: 1em;
}

input[type=submit]:hover {
    background-color: #43464a;
}

form {
    margin: 1em;
}

form div {
    display: flex;
    flex-direction: column;
}

.plaque {
    position: absolute;
    left: 1em;
    top: 0;
    margin: 0.2em;
}

author {
    color: #c8ccd1;
}

author a:link, a:visited {
    color: #f8f9fa;
}

author a {
    color: #f8f9fa;
}

author a:hover {
    color: #69f;
}

#toolbox {
    background-color: #363636;
    position: absolute;
    bottom: 0px;
    right: 0;
    left: 0;
    top: auto;
    height: 30%;
    visibility: hidden;
    opacity: 0;
    border-top: solid black 1mm;
    transition: visibility 0s, opacity 0.5s linear;
    display: flex;
    flex-direction: column;
    font-size: 6vh;
}

#toolbox:target {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s, visibility 0s linear;
}

#toolbox div {
    flex: 1;
    border: none;
    height: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#font-picker {
    width: fit-content;
    display: flex;
    padding: 0.1em;
}

.font-picker-cell img {
    display: flex;
    width: 7vh;
    height: 6vh;
    filter:invert(1);
}

.font-picker-cell img:hover {
    background-color: #b2b2b2;
}


#toolbox-close {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0.2em;
}

#toolbox-close a {
    display: flex;
}

#toolbox-close img {
    width: 3vh;
    height: 3vh;
}
