:root {
  --ligreen: #cae88b; /* #d3ff78; */
  --grey: #839698;
  --grey-light: #c4cfd1;
  --background: #f8f8f8;
  --text: #333333;
  --error-red: #c93728;
  --error-red-light: #e3b1ac;
  --small-size: 9pt;
  --small-header-size: 10pt;
  --task-table-size: 11pt;
  --basic-size: 12pt;
  --header-size: 14pt;
}

* {
  /* box-sizing: border-box; */
}

h1 a {
    color: var(--text);
    text-decoration: none;
}

html {
    margin: 0;
    width: 100%;
    height: 100%;
    font-size: 12pt;
}

body {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    margin: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.page-header {
    background-color: var(--grey-light);
    width: 100%;
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    flex: 0 1 auto;
    gap: 1em;
}

.title {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
}

.page-header a {
    font-size: 1.2em;
}

.page-header span {
    font-size: 1.2em;
    font-weight: 500;
}

.content {
    font-size: var(--basic-size);
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    flex-grow: 1;
    min-height: 0;
}

.page-footer {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-content: center;
    flex-wrap: wrap;
    background: var(--grey-light);
}

h1, h2, h3, h4 {
    margin-block-start: 0.5em;
}

h1 {
    font-size: 16pt;
}

h2 {
    font-size: var(--header-size);
    margin-block-end: 0.1em;
}

h3 {
    font-size: var(--basic-size);
    margin-block-end: 0.2em;
}

h4 {
    font-weight: 500;
    margin-block-end: 0.2em;
}

.submit {
    background-color: tomato;
    color: white;
    border: 2px solid black;
    margin: 2em;
    padding: 2em;
    float: right;
}

.save {
    float: right;
}

.post-form textarea, .post-form input {
    width: 100%;
}

.editable-line {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
}

.filter-state {
    display: none;
}

p {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

form ul.errorlist {
    list-style-type: none;
    text-align: justify;
    border: 2px solid var(--grey);
    border-radius: 8px;
    padding: 0.3em;
}

span.bold {
    font-weight: bold;
}

@media (max-width: 700px) {
    .slogan {
        display: none;
    }

    .logo {
        margin: 0.5em; width: 100px;
    }

    .page-header {
        padding: 0.5em 2% 0.5em 2%;
    }

    .page-footer {
        padding: 0.2em 2% 0.2em 2%;
    }

    .content {
        padding: 0em 2% 0em 2%;
    }
}

@media (min-width: 701px) {
    .logo {
        margin: 2em; width: 175px;
    }

    .page-header {
        padding: 0.5em 4% 0.5em 4%;
    }

    .page-footer {
        padding: 0.2em 4% 0.2em 4%;
    }

    .content {
        padding: 0em 4% 0 4%;
    }
}