.container {
    width: 1000px;
    height: 780px;
    margin: auto;
    background-image: url(images/dither-bg.PNG);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 10%;
    display: grid;
    grid-gap: 20px;
    grid-template:
        "sidebar header"
        "sidebar main"
        "footer footer"
        / 1fr 640px;
}

header {
    grid-area: header;
    height: 370px;
    margin: 10px;
    background-image: url(images/header.PNG);
    background-size: contain;
    background-repeat: no-repeat;
}

h1,
h2,
h3,
h4 {
    font-family: "Silkscreen", sans-serif;
    font-weight: 400;
    margin: 0;
    color: #16537e;
}

h3{
    background-color: #dfebed
}

.navi {
    position: absolute;
    top: 18rem;
    font-family: "Spectral", serif;
    font-size: 90%;
}

a{
    color:#3898b7;
}

a:hover{
    text-decoration: none;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul li {
    float: left;
}

ul li a {
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    color: #16537e;
}

ul li a:hover {
    text-decoration: underline;
    color: #ffafaf;
}

aside {
    grid-area: sidebar;
}

.box{
    width: 200px;
    height: 100px;
    margin: 30px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px dotted black;
    font-family: "Medodica";
}

.log{
    width: 200px;
    height: 70px;
    margin: 10px 0;
    overflow: auto;
}

.transparent-box{
    position: absolute;
    left: 390px;
    width: 150px;
    height: 100px;
    margin: 0;
    padding: 10px;
    font-family: "Medodica";
}

.statusbox{
    position: absolute;
    top: 19.5rem;
    left: 48rem;
    width: 300px;
    margin: 30px;
    padding: 12px;
    border: 1px dotted black;
    font-family: "Medodica";
    font-size: 14px;
}

main {
    grid-area: main;
    width: 550px;
    margin: 5px;
    padding: 20px;
    background-color: white;
    border: 1px dotted black;
    overflow: auto;
    font-family: "Medodica";
}

main #mainbox img{
    display: inline-block;
}

footer {
    grid-area: footer;
    text-align: center;
    font-family: "Spectral", serif;
    font-size: 12px;
    color: #595959;
}

/* custom scrollbar */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #f7f7f7;
}

::-webkit-scrollbar-thumb {
    background: #d0e0e3;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e2ecee;
}