:root {
    --primary-background: #fffee0;
    --secondary-background: #fffcd0;
    --tertiary-background: #FFD449;
    --header-background: #F9A620;
    --font-color: #2b1300;
    --link-color: #104911;
    --highlight-color: #55917F;
    --background-url: url(/images/gingham-orange2.png);
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary-background: #1B2021;
        --secondary-background: #222;
        --tertiary-background: #555;
        --font-color: #eee;
        --link-color: #F9A620;
        --highlight-color: #F3D34A;
        --background-url: url('/images/gingham-grey.png');
    }
}

@font-face {
    font-family: 'Ubuntu Mono';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/UbuntuMono-Regular.ttf);
}

@font-face {
    font-family: 'Gloria Hallelujah';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/GloriaHallelujah-Regular.ttf);
}

body {
    margin: 0;
    font-family: 'Ubuntu Mono', monospace;
    background-image: var(--background-url);
    color: var(--font-color);
}

.container {
    border: 1px dashed;
    border-radius: 10px 10px;
    font-size: 1.1em;
}

header {
    text-align: center;
    background-color: var(--secondary-background);
    border-radius: 10px 10px 0 0;
    border-bottom: 1px dashed;
    font-family: 'Gloria Hallelujah', sans-serif;
}

header h1 {
    font-size: 3em;
    margin: 10px;
}

nav a {
    padding: 7px 0;
}

nav a:hover {
    background-color: var(--tertiary-background);
    color: var(--primary-background)
}

.container>aside {
    text-align: center;
    padding: 10px 0;
    background-color: var(--secondary-background);
    border-right: 1px dashed;
}

main {
    padding: 0 13px;
    background-color: var(--primary-background);
}

footer {
    border-top: 1px dashed;
    text-align: center;
    background-color: var(--secondary-background);
    border-radius: 0 0 10px 10px;
}

.webrings {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

.blog-container p,
.site-button-container p {
    font-size: 0.9rem;
}

.blog-container {
    width: 90%;
    margin: auto;
}

.date-tag {
    background-color: var(--link-color);
    color: var(--secondary-background);
    font-size: small;
    padding: 2px 10px;
    border-radius: 25px;
    font-family: "Open Sans", sans-serif;
    display: inline-block;
    margin: 5px 0;
}

.background-flower {
    width: 450px;
    float: right;
    opacity: 25%;
}

a {
    color: var(--link-color);
}

hr {
    width: 50%;
    margin: 0;
}

.blog-img {
    width: 50%;
}

/* Mobile/smallscreen styling */
@media only screen and (max-width:750px) {
    header h1 {
        font-size: 2em;
    }

    header,
    footer {
        border-radius: 0;
    }
}