/*
Theme name: GoldSrc
Theme author: Patrik Kärkkäinen
*/

body {
    background-color: #353d2e;
}

p {
    color: white;
    font-family: "Courier New", monospace;
    font-size: 1.05em;
    line-height: 1.1;
}

#site-container {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

#site-header {
    background: url('banner.webp');
    padding: 1px;
    text-align: center;
    border: solid 1px #808678;
    border-bottom: none;
}

#site-header h1 {
    background: linear-gradient(0deg, yellow, white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 3px black;
    font-size: 7em;
    font-weight: 700;
    font-family: "Papyrus", fantasy;
    margin-top: 0;
    margin-bottom: 0;
}

#top-navi {
    background-color: #4b5743;
    border: solid 1px #808678;
}

#top-navi ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

#top-navi ul li {
    position: relative;
}

#top-navi ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-family: "Courier New", monospace;
    font-size: 1.1em;
    display: block;
    padding: 10px 20px;
}

#top-navi ul li {
    border-right: solid 1px black;
    border-left: solid 1px #808678;
}

#top-navi .menu > li:first-child {
    border-left: none;
}

#top-navi .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    display: none;
}

#top-navi ul li:hover .sub-menu {
    display: block;
}

#top-navi .sub-menu li {
    border-top: solid 1px #808678;
    border-bottom: solid 1px black;
    background-color: #4b5743;
    text-align: left;
    display: block;
    width: 92%;
}

#top-navi ul li.current-menu-item > a,
#top-navi ul li.current-category-parent > a
#top-navi ul li.current-post-ancestor > a {
    background-color: #808678;
}

#content {
    display: flex;
}

#content main {
    width: 80%;
    padding-top: 20px;
    padding-right: 20px;
}

#content main article {
    background-color: #4b5743;
    border-top: solid 1px #808678;
    border-bottom: solid 1px black;
    border-left: solid 1px #808678;
    border-right: solid 1px black;
    padding: 10px;
    margin-bottom: 20px;
}

#content a {
    text-decoration: none;
    font-family: "Courier New", monospace;
    color: #c5b64f;
}

#content h1, #content h2, #content h3 {
    text-decoration: none;
    font-family: "Courier New", monospace;
    color: white;
}

#content main h2, #content main h3 {
    margin: 0;
}

#content main .date-category {
    margin-top: 0;
}

#content main .category-block {
    background-color: #4b5743;
    border-top: solid 1px #808678;
    border-bottom: solid 1px black;
    border-left: solid 1px #808678;
    border-right: solid 1px black;
    padding: 10px;
    margin-bottom: 20px;
}

#content main .category-block p {
    margin-top: 0;
}

#content main .category-title {
    color: white;
    margin: 0;
    border-bottom: solid 1px #808678;
}

#content input[type=text], #content input[type=email], #content textarea {
    color: white;
    font-family: "Courier New", monospace;
    font-size: 1.1em;
    background-color: #353d2e;
    border-top: solid 1px black;
    border-bottom: solid 1px #808678;
    border-left: solid 1px black;
    border-right: solid 1px #808678;
}

#content input[type=submit] {
    color: white;
    font-family: "Courier New", monospace;
    font-size: 1.1em;
    background-color: #4b5743;
    border-top: solid 1px #808678;
    border-bottom: solid 1px black;
    border-left: solid 1px #808678;
    border-right: solid 1px black;
}

#sidebar {
    width: 20%;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #4b5743;
    border-bottom: solid 1px black;
    border-left: solid 1px #808678;
    border-right: solid 1px black;
}

#content #sidebar h1, #content #sidebar h2 {
    text-decoration: none;
    font-size: 1.2em;
    font-family: "Courier New", monospace;
    color: white;
    margin: 0;
}

#content #sidebar a {
    text-decoration: none;
    font-family: "Courier New", monospace;
    color: #c5b64f;
}

#content #sidebar ul {
    margin: 0;
    margin-bottom: 10px;
}

#content #sidebar p {
    margin: 0;
    margin-bottom: 10px;
}

#site-footer {
    text-align: center;
    color: white;
    font-family: "Courier New", monospace;
    padding: 10px;
}
