:root {
  --blue: #20303a; /* #2c79f5; */
  --main: #d1b6ff;
  --main-light: #eadeff;
  --main-ultralight: #eadeff88;
  --ligreen: #cae88b; /* #d3ff78; */
  --yellow: #fff5b0;
  --grey: #949494;
  --grey-light: #e4e4e4;
  --error-red: #c93728;
  --error-red-light: #e3b1ac;
  --buttons: #d1b6ff;
  --buttons-light: #eadeff;
  --button-text: #000000;
  --small-size: 9pt;
  --small-header-size: 10pt;
  --basic-size: 12pt;
  --header-size: 14pt;
}

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

h1 a {
    color: #000000;
    text-decoration: none;
}

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

body {
    font-family: 'Exo 2', sans-serif;
    margin: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.page-header {
    background-color: var(--main);
    width: 100%;
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: #000000;
    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(--main); /* #969696; */ /* #65b6e6; */ /* #20303a; */
}

h1, h2, h3, h4 {
    font-family: 'Exo 2', sans-serif;
    margin-block-start: 0.5em;
}

th {
    font-family: 'Exo 2', sans-serif;
}

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;
}

.date {
    color: #828282;
}

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

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

.right {
    text-align: right;
    margin:auto;
}

.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(--main);
    border-radius: 8px;
    padding: 0.3em;
}

span.bold {
    font-weight: bold;
}

@media (max-width: 700px) {
    .logo {
        margin: 0.5em; max-width: 100px; max-height: 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; max-width: 175px; max-height: 175px;
    }

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

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

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