@font-face {
    font-family: unifont;
    src: url(../assets/fonts/unifont.otf);
    font-weight: normal;
}

html {
    height: 100%;
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: #458588;
    font-family: unifont, monospace;
    font-size: 18px;
}

body {
    min-height: 100vh;
    width: 100%;
    display: grid;
    grid-template-rows: min-content min-content 1fr min-content;
}

.content {
    box-shadow: 11px 14px 0px #282828;
    background-color: #a89984;
    width: 430px;
    align-self: center;
    justify-self: center;
    position: relative;
    margin: 50px 0px;
}

.inner {
    border: 1px solid #282828;
    margin: 15px 7px;
    padding: 15px 10px;
    color: #282828;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.inner .inlinea {
    color: #cc241d;
}

.heading {
    position: absolute;
    top: 5px;
    width: 150px;
    left: 50%;
    margin-left: -75px;
    background-color: #a89984;
    color: #cc241d;
    text-align: center;
    border-left: 1px solid #282828;
    border-right: 1px solid #282828;
}

.menu {
    width: 200px;
    margin: 0px auto;
}

.menu a {
    display: block;
    color: #282828;
    text-decoration: none;
    padding: 1px 0px 1px 3px;
}

.menu a:hover {
    background-color: #cc241d;
    color: #a89984;
}

.menu a.active,
.okmenu a.active {
    background-color: #cc241d;
    color: #a89984;
}

.toprow {
    color: #e1e1e1;
    display: flex;
    width: 100%;
    height: 28px;
    background-color: #282828;
    padding: 5px;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: space-around;
}

.toprow span {
    padding: 0px 10px;
    text-align: center;
}

.announce {
    background-color: #91aeb2;
    /* padding: 5px; */
    text-align: center;
    font-weight: bold;
    overflow: hidden;
    width: 100vw;
    box-sizing: border-box;
}

.announce a {
    color: #2b227b;
    line-break: anywhere;
}

.bottom {
    color: #e1e1e1;
    width: 100%;
    box-sizing: border-box;
    padding: 3px;
    background-color: #282828;
}

.bottom a {
    color: #cc241d;
}

.left {
    text-align: left;
    float: left;
}

.right {
    text-align: right;
    float: right;
}

.formarea {
    margin-top: 20px;
}

input,
select {
    background-color: #282828;
    outline: none;
    color: #c4c4c4;
    font-family: unifont, sans-serif;
    font-size: 18px;
    margin: 10px;
    height: 25px;
    width: 145px;
    border: none;
    box-shadow: inset 5px 5px 0px black;
    box-sizing: content-box;
    padding: 2px 12px;
}

.okmenu {
    text-align: center;
    margin-top: 20px;
}

.okmenu a {
    color: #282828;
    text-decoration: none;
    margin: 0px 40px;
}

.okmenu a:hover {
    background-color: #cc241d;
    color: #a89984;
}

.captchaholder {
    text-align: center;
    margin: 20px 0px;
}

.challengeholder {
    width: 100px;
    height: 60px;
    margin: 30px auto 10px auto;
}

.captcha {
    background-color: #282828;
    margin: 0px 100px 60px 0px;
}

.error {
    color: #cc241d;
    font-weight: bold;
}

.title {
    margin-top: 20px;
    font-weight: bold;
}

.indent1 {
    margin-left: 20px;
}

.indent2 {
    margin-left: 40px;
}

.content.toswindow {
    width: 700px;
}

.toswindow .heading {
    width: 170px;
    margin-left: -85px;
}

.toswindow .okmenu {
    margin-top: 40px;
}

.table {
    display: table;
    width: 90%;
    margin: 0 auto;
}

.table .td {
    display: table-cell;
    width: 50%;
}

.table .tr {
    display: table-row;
    height: 30px;
}

@media only screen and (max-width: 600px) {
    .content {
        width: 80%;
    }

    .left {
        float: none;
        text-align: center;
        margin-bottom: 20px;
    }

    .right {
        float: none;
        text-align: center;
    }

    .content.toswindow {
        width: 80%;
    }

    .toprow span {
        position: absolute;
        opacity: 0;
        transition: opacity 0.5s linear;
    }
}