@font-face {
    font-family: 'pc9800';
    src: url(./fonts/pc-9800.ttf);
}
@font-face {
    font-family: 'angelic';
    src: url(./fonts/Angelarium+Alphabet.otf);
}

body {
    background-color: black;
    color: white;
    font-size: 1em;
    image-rendering: pixelated;
    overflow-x: hidden;
    margin: 0;
    margin-top: 10px;
    font-family: 'pc9800';
}

footer {
    text-align: center;
    color: #FF1D00;
    margin-top: 100px;
    margin-bottom: 100px;
}

h3 {
    color: #FF1D00;
    margin: 0;
}
h4 {
    color: #FF1D00;
    margin: 0;
}
a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
a:hover {
    text-decoration: underline;
}

.banner {
    text-align: justify;
    width: 100%;
    overflow: hidden;
    font-size: 4em;
    line-height: .2em;
    margin-bottom: .1em;
}

.container {
    width: 50%;
    margin: 0 auto;
    
    .postdate {
        float: right;
    }

    .box {
        border: 2px solid #FF1D00;
        border-radius: 4px;
        padding: .5em 1em;
        margin: .1em 0;
        background-color: black;
        background-blend-mode: difference;
        
        .bannerimg {
            text-align: center;
            margin: 0;

            img { width: 100%; }
        }
    }
}
@media (max-width: 1600px) {
    .container {
        width: 65%;
    }
}
@media (max-width: 1280px) {
    .container {
        width: 95%;
    }
}

.navbox {
    padding: 10px 0;
    margin-bottom: 1em;
    width: 100%;
    background-color: #FF1D00;
    color: black;
    text-align: center;

    a { color: black; }

    .rss { 
        height: 1em;
        transform: translateY(25%);
        filter: brightness(.5) grayscale(2) contrast(999);
    }
}

.blogGrid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1em;

    .blogItem {
        flex: 1;
        display: inline-block;

        border: 2px solid #FF1D00;
        padding: .5em 1em;
        background-color: black;

        img {
            width:250px;
            border: 1px solid #FF1D00;
            display: block;
            margin: auto;
        }
        h3 {
            display: block;
            margin-bottom: .3em;
        }
        span {
            float: right;
            margin-top: .3em;
        }
    }
    .blogItem:hover {
        cursor: pointer;
        text-decoration: underline;
    }
}

.codeSnippet {
    font-family: 'Courier New', Courier, monospace;
    background-color: rgb(21, 41, 41);
    font-size: 10pt;
    border: white dashed 1px;
    border-radius: 5px;
    padding: 10px;
}