html {
    --primary-font-size: 18px;
    --secondary-font-size: 16px;

    --base-color: #eff1f5;
    --mantle-color: #e6e9ef;
    --crust-color: #dce0e8;
    --surface2-color: #acb0be;
    --surface1-color: #bcc0cc;
    --surface0-color: #ccd0da;
    --text-color: #22243b;

    --green-color: #40a02b;
    --lavender-color: #7287fd;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--mantle-color);
    color: var(--text-color);
    font-family: sans-serif;
    font-size: var(--secondary-font-size);
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 56px;
    padding: 0px 16px;
    margin: 0;

    background-color: var(--base-color);
    border-bottom: 2px solid var(--surface2-color);

    color: var(--text-color);
    font-family: sans-serif;
    font-size: var(--primary-font-size);
}


main {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 12px 16px;
}

button {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

textarea {
    resize: none;
}

.header_separator {
    border-left: 1px solid var(--surface2-color);
    margin: 0 8px;
    height: 50%;
}


.dropdown_content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);
}


.dropdown_item {
    width: 100%;
    display: block;
    padding: 8px 16px;
    text-align: left;

    border: none;
    background-color: var(--base-color);
}

.dropdown_item:hover {
    background-color: var(--surface0-color);
}

.dropdown_hover {
    display: inline-block;
    position: static;
    box-sizing: content-box;
    height: 100%;
    cursor: pointer;
    font-size: var(--secondary-font-size);
}

.dropdown_hover > *:first-child {
    display: inline-block;
    height: 100%;
    border: none;
    padding: 0px 8px;
    background-color: var(--base-color);
}

.dropdown_hover:hover > *:first-child {
    background-color: var(--surface0-color);
    border-bottom: 2px solid var(--green-color);
}

.dropdown_hover:hover .dropdown_content {
    display: block;
}

#page_title {
    margin: 0 4px;
}

#editor {
    border: 2px solid var(--surface2-color);
    border-radius: 2px;
    background-color: #ffffef;
}


#editor:focus {
    outline: none;
    border: 2px solid var(--lavender-color);
}

#webTAS_column {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#webTAS_embed {
    width: 100%;
    flex: 1;
    border: 2px solid var(--surface2-color);
    border-radius: 2px;
}
