body {
    background-color: #000020;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #FF0000;
}

a {
    color: #FF0000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Container style for layout */
.container {
    width: 90%;
    background-color: #222;
    border-radius: 10px;
    padding: 2px 20px 8px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    position: relative; /* Need this to position the h3 absolutely */
}

.container > h3:first-of-type {
    position: absolute;
    top: 2px;
    right: 20px;
}

.container img {
    border-radius: 16px;
    margin: 18px 0 12px 12px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* For screens wider than 600px (e.g., tablets, desktops) */
@media (min-width: 600px) {
    .container {
        width: 80%;
    }
}

/* For screens wider than 1024px (e.g., larger desktops) */
@media (min-width: 1024px) {
    .container {
        width: 60%;
    }
}

/* Navigation bar style */
nav {
    background: linear-gradient(to bottom, #ff8866, #cc0000);
    text-align: center;
}

nav div {
    display: flex; /* Use flexbox for horizontal layout */
    justify-content: left;
    list-style-type: none;
    margin: 0 0 0 10%;
    padding: 0;
}

nav div li {
    margin: 0;
    padding: 0;
}

nav div li a {
    color: #FFFFFF;
    text-decoration: none;
    display: block;
    padding: 8px 16px;
    border-left: 1px solid #FFFFFF;
    background: linear-gradient(to bottom, #ff8866, #cc0000);
}

nav div li:first-child a {
    border-left: none;
}

nav div li a:hover {
    background: linear-gradient(to bottom, #cc0000, #ff8866);
}

/* Tags */
.tagholder {
    margin: -12px 0 8px -4px;
}

.tag {
    display: inline-block;    
    padding: 5px 10px;
    border-radius: 15px;
    background-color: #e0e0e0;
    color: #333;
    margin: 5px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

/* Post List */
.postlist {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.postlist li {
    border-bottom: 1px dashed #000020;
    padding: 10px 0;
}

/* Remove the border for the last list item */
.postlist li:last-child {
    border-bottom: none;
}

.title-container { 
    display: flex;
    align-items: center;
}

.date-bubble {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #160000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.date-bubble .day {
    font-size: 18px;
    font-weight: bold;
}

.date-bubble .month {
    font-size: 12px;
}

/* Footer */
footer {
    background-color: #160000;
    color: #FFFFFF;
    width: 100%;
    padding: 10px 0 40px;
    margin: 0;
}

footer > div {
    margin: auto 10%;
}

/* Style for the site heading */
.site-heading {
    box-sizing: border-box;
    background-image: url('/imgs/HeaderBanner.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    text-align: center;
    height: 270px;    
    color: #FFFFFF;
}

/* Adjust for high DPI displays */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 192dpi) {
    .site-heading {
        height: 180px;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .site-heading {
        height: 135px;
    }
}

/* Adjust for mobile displays */ 
@media (max-width: 768px) {
    .site-heading {
        height: 150px; 
    }
}

@media (max-width: 540px) {
    .site-heading {
        height: 120px; 
    }
}

.site-heading a {
    color: #FFFFFF;
    text-decoration: none;
}

.site-heading a:hover {
    text-decoration: underline;
}

.site-heading h1 {
    font-size: 3em;
    margin: 0;
}

.site-heading .subheading {
    font-size: 1.5em;
    margin-top: 10px;
}
