@import url('https://fonts.cdnfonts.com/css/minecraftia');

p {
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 1rem;
}
:root {
    --news-header-bg: #093460;
}
* {
    margin:0;
    padding:0;
}
body {
    color:#112233;
    background:#FFFFFF;
    font:16px 'Source Sans Pro', Verdana, sans-serif;

    background: var(--bg, url("./bg/2023-08-17_17.49.27.webp")) no-repeat top center;
    background-size: cover;
    background-attachment: fixed;
}

.container {
    max-width: 784px;
    margin: auto;
    padding-left: 4px;
    padding-right: 4px;
}

/* Consider: */
.splash-text {
    font-family: 'minecraftia', monospace;
    color: #FFFF00;
    font-weight: 600;
    position: absolute;
    bottom: 30%;
    right: 10%;
    font-size: 1rem;
    transform-origin: center;
    transform: translate(30%,0) rotate(-20deg) scale(1);
    text-shadow: 0.25rem 0.25rem 0 #3F3F00;
    font-smooth: never;
    animation: splash 0.5s infinite;
    white-space: nowrap;
    animation-timing-function: linear;
}

@media (prefers-reduced-motion) {
    .splash-text {
        animation: splash 5s infinite;   
    }
}

img { 
    max-width: 100%;
}

.article {
    background-color: white;

    margin-bottom: 16px;
}

.article__header {
    background-color: var(--news-header-bg);
    color: white;
    padding: 10px;
}

.article__body {
    padding: 16px;
    /* padding-left: 12px; */
    /* padding-right: 12px; */
}

.article__footer {
    padding: 8px;
    font-size: 14px;
    line-height: 32px;
}


a:link			{
    color:#174C6C;
    text-decoration:none;
}

a:visited		{
    color:#174C6C;
    text-decoration:none;
}

a:hover			{
    color:#99AABB;
    text-decoration:none;
}


a.navbar{
font-family: 'Source Sans Pro', Verdana, sans-serif;
font-size: 13pt;
font-style: normal;
font-variant: normal;
font-weight: bold;
}

a.navbar:link{
color:0E2E42;
}
a.navbar:visited{
color:0E2E42;
}
a.navbar:hover			{
    opacity:0.4;
    text-decoration:none;
}

@keyframes splash {
    0% {
        /* font-size: 24px; */
        transform: translate(30%,0) rotate(-20deg) scale(1);
    }
    50% {
        /* font-size: 26px; */
        transform: translate(30%,0) rotate(-20deg) scale(1.1);
    }
    100% {
        /* font-size: 24px; */
        transform: translate(30%,0) rotate(-20deg) scale(1);
    }
}

.bg-contrib {
    position: fixed;
    bottom: 3px;
    left: 3px;
    display:inline;
    color: white;
    padding: 3px;
    background-color: rgba(55, 55, 55, 0.5);
}

.article__body ul { padding: revert; }

@media screen and (max-width: 600px) {
    .splash-text {
        font-size: 0.7rem;
        right: 15%;
    }
    .bg-contrib {
        position: unset;
    }
    .nav-split-mobile {
        display:block;
    }
}

#search-container {
    margin: auto;
    width: 900px;
    max-width: 100%;
    max-height: 100%;
}

@media screen and (max-width: 600px) {
    #search-container {
        margin: initial;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

.article__footer__author-img {
    width: 32px;
}