* {
    box-sizing: border-box;
}

@font-face {
    font-family: YanoneKaffeesatz;
    src: url(./YanoneKaffeesatz-VariableFont_wght.ttf);
}

@font-face {
    font-family: Ubuntu;
    src: url(./Ubuntu-Regular.ttf);
}

@font-face {
    font-family: Vollkorn;
    src: url(./Vollkorn-VariableFont_wght.ttf);
}

@font-face {
    font-family: Vollkorn-Italic;
    src: url(./Vollkorn-Italic-VariableFont_wght.ttf);
}

@font-face {
    font-family: FiraCode;
    src: url(./FiraCode-Medium.ttf);
}

body,
html {
    margin: 0;
    padding: 0;
    background-color: #202040;
}

hr {
    border: 2px solid #000000;
}

code {
    font-family: FiraCode;
    background-color: #1e1e2e;
    padding: 2px;
    border-radius: 4px;
    font-size: 16px;
}

.hljs {
    display: block;
}

pre {
    font-family: FiraCode;
    background-color: #1e1e2e;
    padding: 2px;
    border-radius: 4px;
    overflow: auto;
    font-size: 16px;
}

a {
    color: #ffff00;
    transition-duration: 0.3s;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}

#container-blog {
    overflow: hidden;
}

#container {
    background-color: #000000;
    background-image: url("./raccat_bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    /*    animation-name: gentlemovement;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;*/

}

@media (prefers-color-scheme: dark) {
    #container {
        background-image: url("./raccat_bg_dark.webp");

    }
}

#overlay {
    position: static;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    background-attachment: fixed;
}

.footer {
    font-family: Ubuntu;
    font-size: 16px;
    color: #ffffff7f;
    text-align: center;
    padding: 8px;
}

.minty {
    background-image: url("./florasmooch2.png");
}

#navigator {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr 3fr;
    bottom: 0%;
    font-family: YanoneKaffeesatz;
    background-color: #00000000;
    color: #fff;
    margin: 0px auto;
    padding: 24px;
    width: 100vw;
    background-image: linear-gradient(#00000000, #00000040, #000000df);
    text-align: center;
}
#navigator img {
    display: inline;
}

#sidebar {
    position: fixed;
    display: flex;
    height: calc(100vh - 64px);
    margin: 32px;
    width: 20vw;
    background-color: #0000004f;
    /*background-image: linear-gradient(to left, #00000000, #00000040, #000000DF);*/
    flex-direction: column;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
    font-size: min(4vw, 48px);
    font-family: YanoneKaffeesatz;
    text-shadow: 3px 3px 6px #000000ff;
}

#content {
    position: relative;
    top: 0;
    left: 20vw;
    margin: 0px;
    padding: 36px;
    color: #c0cae4;
    width: calc(80vw - 40px);
    font-size: 20px;
    line-height: 1.6;
}

.content-item {
    width: 75%;
    max-width: 1000px;
    margin: 16px auto;
    padding: 16px 64px;
    background-color: #0000004f;
    border-radius: 0px;
    background-attachment: fixed;
    background-position: center;
    backdrop-filter: blur(16px);
    font-family: Vollkorn;
    color: #c0cae4;
    font-size: 20px;
    line-height: 1.6;
}

.content-item strong {
    color: #9cb1e4;
    font-weight: 750;
}

.content-item em {
    font-family: Vollkorn-Italic;
    color: #9cb1e4;
    font-style: normal;
}

.content-item a {
    color: #ffdc69;
    transition-duration: 0.3s;
}

.content-item a:hover {
    color: #ffffff;
}

.content-item h1 {
    font-family: Vollkorn;
    font-size: 48px;
    text-shadow: 3px 3px 6px #000;
    font-weight: 650;
    margin: 16px 0;
    color: #7d9ae4;
}
.content-item h2 {
    font-family: Vollkorn;
    font-size: 40px;
    text-shadow: 3px 3px 6px #000;
    font-weight: 600;
    margin: 16px 0;
    color: #8ba4e4;
}
.content-item h3 {
    font-family: Vollkorn;
    font-size: 32px;
    text-shadow: 3px 3px 6px #000;
    font-weight: 550;
    margin: 16px 0;
    color: #94aae4;
}
.content-item h4 {
    font-family: Vollkorn;
    font-size: 28px;
    text-shadow: 3px 3px 6px #000;
    font-weight: 500;
    margin: 16px 0;
    color: #9cb1e4;
}
.content-item h5 {
    font-family: Vollkorn;
    font-size: 24px;
    text-shadow: 3px 3px 6px #000;
    font-weight: 450;
    margin: 16px 0;
    color: #a5b7e4;
}
.content-item h6 {
    font-family: Vollkorn;
    font-size: 20px;
    text-shadow: 3px 3px 6px #000;
    font-weight: 400;
    margin: 16px 0;
    color: #aabae4;
}

.content-item li:target {
    background-color: #ffdc6920;
    border-radius: 4px;
}

*:hover > .heading-permalink {
    opacity: 1;
    transform: scale(100%) translate(-130%, 0);
}

.heading-permalink {
    display: block;
    position: absolute;
    transform: scale(95%) translate(-110%, 0);
    opacity: 0;
    height: inherit;
    margin: auto 0;
}

.content-item img,
.content-item video {
    max-width: 100%;
    display: block;
    margin: 8px auto;
}

.content-item thead tr {
    background-color: #27274e;
}
.content-item tbody tr:nth-child(odd) {
    background-color: #202040;
}
.content-item tbody tr:nth-child(even) {
    background-color: #17172e;
}
.content-item td,
.content-item th {
    padding: 4px 8px;
}

.content-item .thumbnail {
    display: block;
    width: 50%;
    max-width: 500px;
}

blockquote {
    /*background-color: #4b86ab3f;*/
    background-image: linear-gradient(
        to right,
        #4b86ab3f,
        #4b86ab1f,
        #4b86ab0f,
        #4b86ab00
    );
    padding: 2px 2px 2px 8px;
    margin: 8px;
    border-radius: 0px;
    border: solid #4b86ab;
    border-width: 0px 0 0 2px;
}

#raccatlogo {
    max-width: 25vw;
    margin: auto auto;
}

#outerzone {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    color: #fff;
}

#linkzone {
    display: flex;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
    margin: 8px;
    font-size: 3vw;
    text-shadow: 3px 3px 6px #000000ff;
}

#linkzone a,
#sidebar a {
    display: block;
    color: #fff;
    text-decoration: none;
    transition-duration: 0.3s;
}
#linkzone a:hover,
#sidebar a:hover {
    color: #ff0;
    text-decoration: none;
}

#kettglow {
    position: relative;
    width: calc(100% + 64px);
    transform: translateX(-32px);
}

.message {
    font-family: Ubuntu;
    font-weight: light;
    padding: 16px;
}

.message a {
    color: #ff0;
    transition-duration: 0.3s;
    text-decoration: none;
}
.message a:hover {
    color: #fff;
}

label {
    display: block;
}

input[type=submit], input[type=text], textarea {
    background-color: #0d0d1b;
    color: #9cb1e4;
    display: block;
    border: none;
    width: 100%;
    resize: none;
    transition-duration: 0.3s;
    padding: 8px;
    font-family: Vollkorn;
    font-size: 18px;
}

input[type=submit]:hover {
    background-color: #1d1d2b;
}

@keyframes gentlemovement {
    0% {
        background-position: calc(50% + 0px), 0;
    }
    25% {
        background-position: calc(50% + 16px), 0;
    }
    50% {
        background-position: calc(50% + 0px), 0;
    }
    75% {
        background-position: calc(50% - 16px), 0;
    }
    100% {
        background-position: calc(50% - 0px), 0;
    }
}

@media screen and (max-width: 1000px) {
    #navigator {
        position: static;
        display: flex;
        flex-direction: column;
        background-image: linear-gradient(#00000040, #00000080, #000000ff);
        min-height: 100vh;
    }
    #linkzone {
        display: block;
        font-size: 48px;
    }
    #linkzone a {
        padding: 8px;
    }
    #raccatlogo {
        max-width: 65vw;
    }

    #sidebar {
        flex-direction: row;
        position: fixed;
        width: 100vw;
        margin: 0;
        height: 64px;
        /*background-image: linear-gradient(to top, #00000000, #00000080, #000000FF);*/
        z-index: 100;
    }
    #content {
        display: block;
        width: 100%;
        margin: 0 auto;
        top: 0;
        left: 0;
        padding: 64px 0px;
    }
    .content-item {
        width: 90%;
        padding: 16px 32px;
    }
    #overlay {
        /*background-image: linear-gradient(#00000040, #00000080, #000000FF);*/
    }
    .content-item {
        margin: 8px auto;
    }
    .footer {
        display: none;
    }
}
