* {
    box-sizing: border-box;
}

body:not(#main-body), #forside {
    background-color: #f5e8c8;
    /* color:#4e3629; */
    color: black;
}

html {
    scrollbar-color: #b22222 #f4e4b9;
}

#main-body {
    margin:0;
    background-color: #fcf3de;
}

h1, h2, h3, h4, h5 {
    color:#b22222;
}

h2 {
    margin:0;
    padding-top:6px;
    padding-left:0px;
    padding-right:0px;
    padding-bottom:4px;
}

h1 {
    margin-bottom: 4px;
}

p {
    margin-top: 2px;
}

#outer-box{
    display:flex;
    flex-direction: column;
    align-items: stretch;
    height:100vh;
    overflow:hidden;
    background-color:#8b0000;
    width:80%;
    margin-left:auto;
    margin-right:auto;
}

#logo {
    color:black;
    text-decoration:none;
}

#site-header{
    text-align:center;
    margin-top:8px;
    margin-bottom:8px;
}

#menu {
    background-color: #8b0000;
    width:100%;
    height:8vh;
    display:flex;
    justify-content:space-evenly;
    align-items: center;
    align-content:center;
    text-align:center;
}

.menu-item {
    width:100%;
    height:100%;
    background-color: #556b2f;
}

.menu-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.menu-item.active {
    border-bottom: 6px solid #3e531a;
    padding-top:6px;
}

.menu-item:hover {
    background-color:#6b8e23;
    transition: 0.3s;
}

#main-contents{
    flex-grow: 100;
    width:100%;
    background-color:#eee;
}

.main-content{
    display: none;
}

section {
    height:100%;
}

iframe {
    width:100%;
    height:100%;
    border:0;
}

header {
    flex-grow: 0;
}

footer {
    flex-grow: 0;
    text-align: center;
    background-color:#f4e4b9;
}

footer > p {
    margin:2px;
}
footer > p:first-child {
    margin-top:8px;
}
footer > p:last-child {
    margin-bottom:8px;
}

#forside {
    padding:4px;
}

a {
    color:black;
}

@media all and (max-width: 600px) {
    #outer-box {
        width:100%;
    }
}

@media print {
    body {
        background-color: white;
    }
}