/* Shared chrome for cosmicosmo.co blog posts.
   Used by every /blog/*.html post (single-column layout, no sidebars).
   Previously this whole block was copy-pasted inline into each post;
   consolidated here so all posts render identically and stay in sync. */

:root {
    --header-image: url('https://cosmicosmo.co/Cosmicosmo/blog.gif');
    --body-bg-image: url('https://cosmicosmo.co/Cosmicosmo/blog_bg.jpg');
    --topbar-image: url('https://cosmicosmo.neocities.org/Cosmicosmo/Brick_Top.gif');
    --content: #16bcfc;
}

@font-face {
    font-family: ComicSans;
    src: url('https://cosmicosmo.neocities.org/Cosmicosmo/COMIC.TTF');
}

@font-face {
    font-family: ComicSans;
    src: url('https://cosmicosmo.neocities.org/Cosmicosmo/comicz.ttf');
    font-weight: bold;
}

@font-face {
    font-family: ComicSans;
    src: url('https://cosmicosmo.neocities.org/Cosmicosmo/comici.ttf');
    font-style: italic;
}

@font-face {
    font-family: ComicSans;
    src: url('https://cosmicosmo.neocities.org/Cosmicosmo/comicz.ttf');
    font-style: italic;
    font-weight: bold;
}

body {
    font-family: 'ComicSans', sans-serif;
    margin: 0;
    background-color: #16bcfc;
    background-size: 65px;
    color: #16bcfc;
    background-image: var(--body-bg-image);
}

* {
    box-sizing: border-box;
}

#container {
    max-width: 900px;
    margin: 0 auto;
}

#container a {
    color: #ED64F5;
    font-weight: bold;
}

#header {
    width: 100%;
    background-color: transparent;
    height: 125px;
    background-image: var(--header-image);
    background-size: 100%;
}

#navbar {
    height: 40px;
    background-color: #047cac;
    background-size: 100%;
    width: 100%;
    background-image: var(--topbar-image);
    background-size: 10%;
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    padding-top: 10px;
}

#navbar li a {
    color: #ED64F5;
    font-weight: 800;
    text-decoration: none;
}

#navbar li a:hover {
    color: #49fc16;
    text-decoration: underline;
}

#flex {
    display: flex;
}

aside {
    background-color: #2596be;
    width: 200px;
    padding: 20px;
    font-size: smaller;
    background-image: var(--topbar-image);
    background-size: 50%;
}

main {
    background-color: #2596be;
    flex: 1;
    padding: 20px;
    order: 2;
    background-image: var(--topbar-image);
    background-size: 20%;
}

#leftSidebar {
    order: 1;
}

#rightSidebar {
    order: 3;
}

footer {
    background-color: #16bcfc;
    width: 100%;
    padding: 10px;
    text-align: center;
    background-image: var(--topbar-image);
    background-size: 10%;
}

h1,
h2,
h3 {
    color: #ED64F5;
}

h1 {
    font-size: 25px;
}

strong {
    color: #ED64F5;
}

.box {
    background-color: #16bcfc;
    background-image: var(--topbar-image);
    background-size: 100%;
    border: 3px solid #ED64F5;
    padding: 10px;
}

#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: #13092D;
}

@media only screen and (max-width: 800px) {
    #flex {
        flex-wrap: wrap;
    }

    aside {
        width: 100%;
    }

    main {
        order: 1;
    }

    #leftSidebar {
        order: 2;
    }

    #rightSidebar {
        order: 3;
    }

    #navbar ul {
        flex-wrap: wrap;
    }
}
