@charset "UTF-8";

* {
    margin:  0;
    border:  0;
    padding: 0;
    outline: 0;

    list-style:      none;
    text-decoration: none;
    text-rendering:  optimizeLegibility;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-font-smoothing: subpixel-antialiased;
    -moz-font-smoothing: subpixel-antialiased;
    -ms-font-smoothing: subpixel-antialiased;
    -o-font-smoothing: subpixel-antialiased;

    -webkit-user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

*:not(:defined) {
    display: none;
}

:root {
    --accent: crimson;
    --bg: #0f0f12;
}

body {
    background-color: var(--bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='charlie-brown' fill='%23585858' fill-opacity='0.05'%3E%3Cpath d='M9.8 12L0 2.2V.8l10 10 10-10v1.4L10.2 12h-.4zm-4 0L0 6.2V4.8L7.2 12H5.8zm8.4 0L20 6.2V4.8L12.8 12h1.4zM9.8 0l.2.2.2-.2h-.4zm-4 0L10 4.2 14.2 0h-1.4L10 2.8 7.2 0H5.8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    height: 100vh;
    overflow: hidden;
}

::selection {
    background: none;
}

#panels, #panels ul,
#links,
#panels .links {
    position: absolute;
}

#links {
    left: 0;
    width: calc(100% - 350px);
    height: 100%;
}

#links .nav {
    color: #fff;
}

#panels {
    overflow: hidden;
    border-radius: 5px 0 0 5px;
    width: 90%;
    max-width: 1200px;
    height: 450px;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    background: #18181d;
}

#panels ul {
    --panelbg: transparent;
    --flavour: var(--accent);
    width: 100%;
    height: 100%;
    right: 100%;
    background: #fff url("../img/bg-1.gif") repeat left;
    transition: all .6s;
    animation: scroll 25s ease-in-out infinite;
}

@keyframes scroll {
    50% {
        background-position-x: -240px;
    }
}

#panels ul:nth-child(2) {
    --flavour: #16a2a2;
}

#panels ul:nth-child(3) {
    --flavour: #5b52e4;
}

#panels ul .links {
    box-shadow: inset -1px 0 var(--flavour);
}

#panels ul:nth-child(2) { background: #fff url("../img/bg-2.gif") repeat center left fixed; }
#panels ul:nth-child(3) { background: #fff url("../img/bg-3.gif") repeat center left fixed; }

#panels ul[active] {
    right: 0;
    z-index: 1;
}

#panels .links {
    right: 0;
    width: 70%;
    height: 100%;
    background: #18181d;
    padding: 5%;
    flex-wrap: wrap;
}

#panels > ul:first-child .links a {
    color: #bfbfbf;
    text-decoration: none;
    font: 700 18px 'Roboto', sans-serif;
    transition: all .2s;
    display: inline-block;
    padding: .4em .7em;
    background: rgba(0, 0, 0, .35);
    box-shadow: 0 3px rgba(0, 0, 0, 0.25), 0 5px 10px rgba(0, 0, 0, .5);
    border-radius: 2px;
    margin-bottom: .7em;
}

#panels > ul:first-child .links a:not(:last-child) { margin-right: .3em }

#panels > ul:first-child .links a:hover {
    transform: scale(1.2);
    box-shadow: 0 0 rgba(0, 0, 0, 0.25), 0 0 0 rgba(0, 0, 0, .5), 0 -4px 5px rgba(0, 0, 0, .1);
    color: #fff;
}

#panels ul::after {
content: attr(class);
    position: absolute;
    display: flex;
    text-transform: uppercase;
    overflow-wrap: break-word;
    width: 25px;
    height: 250px;
    padding: 1em;
    margin: auto;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 50%);
    left: calc(15% - 42.5px);
    bottom: 0;
    top: 0;
    background: linear-gradient(to top, #000000, rgb(191 191 191 / 40%));
    color: rgb(255 255 255 / 65%);
    letter-spacing: 1px;
    font: 100 30px 'Nunito', sans-serif;
    text-align: center;
    flex-wrap: wrap;
    word-break: break-all;
    align-items: center;
    mix-blend-mode: screen;
    backdrop-filter: blur(3px);
}

#panels > ul:first-child .links li:not(:last-child) {
    box-shadow: 0 1px 0 rgba(255, 255, 255, .07);
    padding: 0 0 .5em 0;
    margin-bottom: 1.5em;
}

#panels > ul:first-child .links li h1 {
    color: #383838;
    font-size: 22px;
    margin-bottom: .5em;
    font-weight: 700;
    letter-spacing: 1px;
}

#panels > ul:not(:first-child) li {
    padding: .5em;
}

#panels > ul:not(:first-child) li a {
    color: grey;
    font: 700 16px 'Roboto', sans-serif;
    text-decoration: none;
    letter-spacing: 1px;
}

#panels > ul:not(:first-child) li a:hover {
    color: #fff;
}

#panels > ul:not(:first-child) li a:hover::before {
    display: inline;
}

#panels > ul:not(:first-child) li a::before {
    content: '> ';
    font-weight: 400;
    display: none;
}

status-bar {
    position: absolute;
    bottom: 0;
    top: 550px;
    width: 90%;
    max-width: 1200px;
    height: 32px;
    background: #18181d;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .25);
}

todo-list {
    position: absolute;
}

todo-list {
    right: 0;
    width: 350px;
    height: 100%;
}

todo-list::after {
    position: absolute;
    content: '';
    display: block;
    left: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, .1);
    z-index: 4;
}
