
[data-theme="light"] {
    --color-bg: #f4f4f4;
    --color-fg: #000000;
    --navbar-bg: rgba(51, 51, 51, 0.95);
    --navlink-color: #ffffff;
    --card-bg: #ffffff;
    --card-fg: #000000;
    --date-color: #666666;
    --link-underline-color: #000000;
    --quote-bg: #ededed;
    --quote-text: #333333;
    --home-alert-bg: #fff3cd;
}

[data-theme="dark"] {
    --color-bg: #404040;
    --color-fg: #ffffff;
    --navbar-bg: rgba(115, 115, 115, 0.95);
    --navlink-color: #ffffff;
    --card-bg: #333333;
    --card-fg: #ffffff;
    --date-color: #bfbfbf;
    --link-underline-color: gold;
    --quote-bg: #595959;
    --quote-text: #eeeeee;
    --home-alert-bg: #4a3802;
}

body {
    background-color: var(--color-bg);
    color: var(--color-fg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-heading {
    font-size: 72px;
    font-weight: bold;
    text-align: center;
}

.fire-text {
    background: -webkit-linear-gradient(gold, orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-content {
    margin: 0 2rem 1rem 2rem;
}

.navbar-custom {
    background-color: var(--navbar-bg);
}

.navbar-custom .nav-link, .navbar-custom .nav-link:hover, .navbar-toggler-icon {
    color: var(--navlink-color);
}

.navbar-custom .nav-link.fire-text {
    font-weight: bold;
}

#data-theme-toggle {
    color: var(--color-fg);
}

.footer-custom {
    margin-top: auto;
    background-color: var(--navbar-bg);
    color: var(--navlink-color);
    padding: 0.75rem 0;
    text-align: center;
}

.card-container {
    display: flex;
    flex-direction: row;
}

.card {
    border-radius: 10px;
    border: none;
}

.card-non-image {
    border-radius: 0 10px 10px 0;
    background-color: var(--card-bg);
    color: var(--card-fg);
}

.card-title-text {
    height: 10rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.small-card-body {
    border-radius: 0 0 10px 10px;
    background-color: var(--card-bg);
    color: var(--card-fg);
}

.side-card-img {
    height: 100%;
    object-fit: cover;
    border-radius: 10px 0px 0px 10px;
}

.top-img-container {
    height: 15rem;
    overflow: hidden;
}

.card-img-top {
    border-radius: 10px 10px 0px 0px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.date {
    color: var(--date-color);
}

h3 a, h5 a, p a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--link-underline-color);
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

h3 a:hover, h3 a:focus, h5 a:hover, h5 a:focus, p a:hover, p a:focus {
    text-decoration: none;
    color: #333333;
    background-color: gold;
}

.category-alert a {
    text-decoration: underline;
    color: inherit;
}

.category-alert {
    color: black;
    background: gold;
    border: none;
}

.home-alert {
    border: 1px solid gold;
    color: var(--link-underline-color);
    background: var(--home-alert-bg);
}

.index-category {
    text-decoration: none;
    color: inherit;
    font-size: large;
}

.category-badge {
    margin: 0 0.5rem 0.5rem 0;
}

.wave {
    animation-name: wave-animation;  /* Refers to the name of your @keyframes element below */
    animation-duration: 2.5s;        /* Change to speed up or slow down */
    animation-iteration-count: infinite;  /* Never stop waving :) */
    transform-origin: 70% 70%;       /* Pivot around the bottom-left palm */
    display: inline-block;
}

.narrow-content {
    margin: 0 20vw;
}

.narrow-content p {
    font-size: 18px;
    line-height: 1.5;
}

.narrow-content p img {
    width: 80%;
    margin-left: 10%;
}

.post-display-picture {
    margin-bottom: 2rem;
}

blockquote{
    font-size: 1.4em;
    margin:50px auto;
    font-style:italic;
    color: var(--quote-text);
    padding:1.2em 30px 1.2em 75px;
    border-left:8px solid gold ;
    line-height:1.6;
    position: relative;
    background:var(--quote-bg);
}

blockquote::before{
    font-family:Arial;
    content: "\201C";
    color: gold;
    font-size:4em;
    position: absolute;
    left: 10px;
    top:-10px;
}

blockquote::after{
    content: '';
}

blockquote span{
    display:block;
    color: var(--quote-text);
    font-style: normal;
    font-weight: bold;
    margin-top:1em;
}

.about-pic {
    border-radius: 10%;
    margin-bottom: 1rem;
}

iframe {
    width: 80%;
    height: 20rem;
}

.iframe-container {
    width: 100;
    display: flex;
    justify-content: center;
}

@keyframes wave-animation {
    0% { transform: rotate( 0.0deg) }
    10% { transform: rotate(14.0deg) }  /* The following five values can be played with to make the waving more or less extreme */
    20% { transform: rotate(-8.0deg) }
    30% { transform: rotate(14.0deg) }
    40% { transform: rotate(-4.0deg) }
    50% { transform: rotate(10.0deg) }
    60% { transform: rotate( 0.0deg) }  /* Reset for the last half to pause */
    100% { transform: rotate( 0.0deg) }
}

@media (max-width: 768px) {
    .side-card-img {
        object-fit: cover;
        border-radius: 10px 10px 0px 0px;
    }

    .card-non-image {
        border-radius: 0 0 10px 10px;
    }

    .main-content {
        margin: 0.5rem;
    }

    .narrow-content {
        margin: 0;
    }

    .narrow-content p {
        font-size: 16px;
    }

    blockquote {
        font-size: 1em;
    }
}