/* grabbed from comic-sans-ms from font cdn */
@font-face{font-family:comic sans ms;font-style:normal;font-weight:400;src:local('Comic Sans MS'),url(https://fonts.cdnfonts.com/s/109598/6680-fontps.woff) format('woff')}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fff; /* Ensuring the body background is white */
    color: #333;
    font-family: 'Comic Sans MS', 'Comic Sans';
    text-align: center;
}

.wrapper {
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    text-align: left;
    width: 100%;
    background: #fff; /* White background for content */
}

header {
    background-color: #FFD700;
}

header .wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}

header .banner-wrapper {
    text-align: center;
    background-color: #222222;
}

.banner-text {
    font-size: 3em;
    color: #FFD700;
    font-weight: bold;
    z-index: 1;
    text-transform: uppercase;
    font-family: 'Comic Sans MS', 'Comic Sans';
}

div.fill-screen {
    display: grid;
    height: 100%;
    background: #fff; /* Ensure fill screens are also white */
}

div.fill-screen-banner {
    display: grid;
    width: 100%;
    height: 100%;
    position: relative;
    background: #fff; /* Ensure banners do not have black backgrounds */
}

img.make-it-fit {
    max-width: 100%;
    max-height: 100vh;
    margin: auto;
}

img.top-banner {
    width: 100%;
    height: 311px;
    object-fit: cover;
}

header a {
    text-decoration: none;
}

header .custom-name {
    font-size: 1.5em;
    color: #C0C0C0;
    font-weight: bold;
}

.custom-header {
    color: #FFD700;
}

nav {
    margin-top: 20px;
}

nav li {
    display: inline-block;
}

h1 {
    margin-bottom: 20px;
    font-size: 2.5em;
    color: #FF4C4C;
    font-family: 'Comic Sans MS', 'Comic Sans';
}

h2 {
    margin: 20px 0;
    color: #FFD700;
    font-family: 'Comic Sans MS', 'Comic Sans';
}

p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.6em;
    color: #333;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF4C4C;
}

.date-text {
    color: #FF4C4C;
    font-style: italic;
}

.site-content {
    color: #333;
    background-color: #fff; /* Ensure all content sections are white */
}

.description {
    margin-bottom: 40px;
    font-style: italic;
}

.item-list > li {
    display: block;
    padding: 20px;
    border-radius: 12px;
    background-color: #FFD700;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #333; /* Ensure text is dark by default */
}

.item-list > li:hover {
    background-color: #FFD700; /* Keep the background color the same */
}

.item-list h1,
.item-list p {
    transition: color 0.3s ease; /* Smooth transition for text color */
    color: #fff; /* Default text color */
}

.item-list > li:hover h1,
.item-list > li:hover p {
    color: #fff; /* Text turns white on hover */
}
.tag-list {
    margin-bottom: 15px;
}

.tag-list li,
.tag {
    display: inline-block;
    background-color: #FF4C4C;
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    margin-right: 8px;
}

.tag-list a,
.tag a {
    text-decoration: none;
    color: #fff;
}

.item-page .tag-list {
    display: inline-block;
}

.content {
    color: #333;
    background-color: #fff; /* White background for content blocks */
    margin-bottom: 40px;
}

.browse-all {
    display: block;
    margin-bottom: 30px;
    font-size: 1.2em;
    color: #FF4C4C;
}

.all-tags li {
    font-size: 1.4em;
    margin-right: 10px;
    padding: 6px 10px;
    background-color: #FFD700;
    color: #333;
    border-radius: 8px;
}

footer {
    color: #666;
    font-size: 0.9em;
    background-color: #fff; /* White footer background */
}

footer a {
    color: #666;
    text-decoration: none;
}

.section-header {
    margin: 10px;
    color: #fff;
    font-family: 'Comic Sans MS', 'Comic Sans';
}

.section-header-selected {
    margin: 10px;
    color: #FFD700;
    font-family: 'Comic Sans MS', 'Comic Sans';
}

body,
header .site-name {
    color: #333;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #fff; /* Ensures background remains light */
    }

    body,
    header .site-name {
        color: #000;
    }

    .item-list > li {
        background-color: #333;
    }

    header {
        background-color: #FFD700;
    }
}

/**
 * Splash syntax highlighting
 */

.inline {
    background-color: #eee;
    border-radius: 3px;
    font-family: courier, monospace;
    padding: 0 3px;
}

pre {
    margin-bottom: 1.5em;
    background-color: #1a1a1a;
    padding: 16px 0;
    border-radius: 16px;
}

pre code {
    font-family: monospace;
    display: block;
    padding: 0 20px;
    color: #a9bcbc;
    line-height: 1.4em;
    font-size: 0.95em;
    overflow-x: auto;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
}

pre code .keyword {
    color: #e73289;
}

pre code .type {
    color: #8281ca;
}

pre code .call {
    color: #348fe5;
}

pre code .property {
    color: #21ab9d;
}

pre code .number {
    color: #db6f57;
}

pre code .string {
    color: #fa641e;
}

pre code .comment {
    color: #6b8a94;
}

pre code .dotAccess {
    color: #92b300;
}

pre code .preprocessing {
    color: #b68a00;
}
