:root {
    --text-on-white: #131313;
    --internationalorange-aerospace: #FF4F00;
    --internationalorange-goldengate: #C0362C;
    --internationalorange-engineering: #BA160C;
    --new-awesome-red: #CD0000;
    --lava: #D50016;
    --new-awesome-green: #00CD00;
    --delete-red: #DC3545;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    color: White;
    background-color: Black;
    font-family: sans-serif;
}

a:link, a:visited {
    color: inherit;
    border: none;
    outline: none;
    text-decoration: none;
}

a:hover {
    color: Cyan;
    border-bottom: solid 1px Cyan;
}

textarea {
    width: 100%;
    height: 100%;
    resize: none;
    font-size: 2.5em;
    padding: 0.25em;
    border: none;
    outline: none;
    color: White;
    background-color: var(--text-on-white);
}

#container {
    position: absolute;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;

    width: 99%;
    height: 100%;
}

#header {
    flex: 0 10;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;

    font-size: 1.5em;
    padding: 0.25em;
    letter-spacing: -0.05em;

    background-color: Black;
}

#site_icon {
    margin-right: 0.25em;
    cursor: help;
}

#about {
    font-size: x-large;
}

#about_header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#about_header > div:nth-child(3) {
    cursor: pointer;
}

#delete, #download, #saved, #countdown {
    margin-left: 0.5em;
}

#delete {
    color: var(--lava);
    cursor: pointer;
}

#delete_confirmation {
    display: flex;
    flex-direction: column;
    color: var(--lava);
    font-size: 1em;
}

#delete_confirmation > div {
    margin: 0.25em 0;
}

#download {
    /*
    color: #278CBB;
    */
    color: DodgerBlue;
    cursor: pointer;
}

#saved {
    color: Lime;
    font-size: 0.75em;
    opacity: 0.0;
}

#countdown {
    opacity: 0.5;
    font-size: 0.5em;
    letter-spacing: -0.2em;
    transform: scaleY(1.1);
}

#content {
    flex: 10 1;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

#footer {
    flex: 0 10;

    width: 100.95%;

    background-color: var(--text-on-white);
}

#copyright {
    font-size: 0.75em;
    border-top: dotted 1px #FFFFFF66;
    padding: 0.25em;
}

.action_button {
    border: solid 2px White;
    border-radius: 0.25em;
    font-size: 0.75em;
    padding: 0.25em 0.5em;
}

.action_button > svg {
    vertical-align: middle;
}

.box {
    width: fit-content;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: bold;
    border: ridge 2px White;
    padding: 1em 2em;
    border-radius: 0.25em;
    background-color: Black;
    color: Cyan;
    box-shadow: 0.5em 0.5em 1em #00000066;
}

.hidden_element {
    animation: fade-out 500ms;
    opacity: 0.0;
    z-index: -1;
}

.visible_element {
    animation: fade-in 500ms;
    opacity: 1.0;
    z-index: 999;
}

.small_text {
    color: White;
    font-size: 0.7em;
    text-align: left;
}

.small_text > blockquote {
    margin: 1em 0;
    font-family: monospace;
    font-style: oblique;
}

.gt50 {
    color: Lime;
}

.gt25lt50 {
    color: Yellow;
}

.lt25 {
    color: OrangeRed;
}

.colorpulse {
    animation: colorpulse 1500ms;
}

@keyframes colorpulse {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 0.0;
    }
}

@keyframes fade-in {
    from {
        opacity: 0.0;
    }
    to {
        opacity: 1.0;
    }
}

@keyframes fade-out {
    from {
        opacity: 1.0;
    }
    to {
        opacity: 0.0;
    }
}

