@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;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

:root {
    --accent: crimson;
    --bg: #0f0f12;
    --done: #37eb94;
    --undone: #ff1b91;
}

body {
    background-color: var(--bg);
    height: 100vh;
    overflow: hidden;
}

::selection {
    background: none;
}

#tabs,
#links,
#todo,
#todo .add,
#todo::after,
#todo .addTodo,
#panels .links,
.items item::before,
.items item::after,
#tabs ul li:last-child,
#panels, #panels ul,
#tabs .widgets,
#header {
    position: absolute;
}

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

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

#todo .items h1 {
    font-weight: 100;
    font-size: 24pt;
    color: rgba(255, 255, 255, .1);
    text-align: center;
    margin: 0 0 1.5em 0;
}

#todo .add {
    top: 30px;
    left: -25px;
    outline: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    height: 50px;
    width: 50px;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .15), 0 0 0 11px rgba(255, 255, 255, .05);
    transition: transform .2s, box-shadow .2s ease-in-out;
}

#todo .add.active {
    transform: rotateZ(45deg);
}

#todo .add:hover {
    box-shadow: none;
    transform: scale(1.15);
}

#todo .add.active:hover {
    transform: scale(1.15) rotateZ(45deg);
}

.items {
    background: var(--bg);
    padding: 1em;
    box-sizing: border-box;
    cursor: pointer;
}

.items item[done] { --state: var(--done); }
.items item[undone] { --state: var(--undone); }

.items item {
    position: relative;
    width: 100%;
    padding: 1em 0 .5em 1em;
    max-height: 100px;
    border-radius: 2px;
    background: #18181d;
    box-shadow: inset 0 2px 0 var(--state),
    0 1px 0 0 rgba(0, 0, 0, .5),
    0 4px 0 0 #18181d,
    0 5px 0 rgba(0, 0, 0, .5),
    0 8px 0 0 #18181d;
    transition: all .3s;
    animation: slide .4s ease;
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translate(0);
    }
}

.items item.remove {
    margin: -100% 0 0 0 !important;
    opacity: 0;
}

.items item p:not(.added-at) {
    color: #e8e8e8;
    font: 400 14px 'Roboto', sans-serif;
    max-width: 250px;
    word-wrap: break-word;

    -webkit-user-select: initial;
}

.items item:not(:last-child) {
    margin: 0 0 1em 0;
}

.items item::before {
    content: '';
    display: block;
    background: var(--bg);
    border-radius: 50%;
    margin: auto;
    top: 0;
    bottom: 0;
    left: -22px;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 3px var(--state);
    z-index: 5;
    cursor: pointer;
    transition: transform .3s, background .3s;
}

.items item[done]::before {
    content: '\E876';
    color: var(--state);
    font-family: 'Material Icons';
    text-align: center;
    font-size: 11px;
}

.items item::after {
    content: '';
    display: block;
    left: -16px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 50px;
    width: 1px;
    background: var(--state);
    transition: all .5s;
    opacity: .5;
}

.items item:hover::before {
    transform: scale(1.4);
}

.items item:hover::after {
    height: 0;
}

.items item:hover span {
    color: var(--state) !important;
}

.items item .added-at {
    font-size: 11px;
    letter-spacing: .5px;
    color: #929292;
    font-weight: 400;
}

.items item .added-at span {
    color: #fff;
    font-weight: 700 !important;
    transition: color .2s;
}

.items item rows {
    height: 100%;
}

.items item .close {
    right: 20px;
    margin: .3em 0 0 0;
    width: 9px;
    height: 9px;
    background: url("../img/close.png") center no-repeat;
    outline: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
    transition: all .3s;
}

.items item:hover .close {
    opacity: .5;
}

.items item .close:hover {
    opacity: 1;
    transform: scale(1.2);
}

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

#links .nav {
    color: #fff;
}

#todo .addTodo {
    width: 100%;
    height: 100px;
    top: -110px;
    background: var(--bg);
    transition: top .5s;
    z-index: 1;
}

#todo .addTodo input[type="text"] {
    background: 0;
    outline: 0;
    border: 0;
    box-shadow: inset 0 -1px 0 #fff;
    padding: .5em 0;
    width: 70%;
    color: #fff;
    font: 400 15px 'Roboto', sans-serif;
}

#todo .addTodo.active {
    top: 0;
}

#todo .addTodo input:focus {
    box-shadow: inset 0 -2px 0 #fff;
}


#tabs {
    bottom: 0;
    width: 90%;
    height: 32px;
    background: #18181d;
    margin: 2.5em auto;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .25);
    overflow: hidden;
}

#tabs ul {
    counter-reset: tabs;
    margin: 0 0 0 1.5em;
    height: 100%;
    position: relative;
}

#tabs ul li:not(:last-child)::after {
    content: counter(tabs, upper-roman);
    counter-increment: tabs;
    display: block;
}

#tabs ul li:not(:last-child) {
    width: 35px;
    text-align: center;
    font: 400 13px 'Roboto', serif;
    color: #bbb;
    padding: 6px 0;
    transition: all .1s;
}

#tabs ul li:last-child {
    --flavour: var(--accent);
    width: 35px;
    height: 3px;
    background: var(--flavour);
    bottom: 0;
    transition: all .1s;
}

#tabs ul li[active]:not(:last-child) {
    font-weight: 700;
    color: #fff;
    font-size: 16px;
    padding: 6px 0;
}

#tabs ul li[active]:nth-child(2) ~ li:last-child { margin-left: calc(35px * 1) }
#tabs ul li[active]:nth-child(3) ~ li:last-child { margin-left: calc(35px * 2) }
#tabs ul li[active]:nth-child(4) ~ li:last-child { margin-left: calc(35px * 3) }

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

#panels.active {
    display: block;
}

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

#panels ul:nth-child(2),
#tabs ul li[active]:nth-child(2) ~ li:last-child {
    --flavour: #16a2a2;
}

#panels ul:nth-child(3),
#tabs ul li[active]:nth-child(3) ~ li:last-child {
    --flavour: #5b52e4;
}

#panels ul:nth-child(4),
#tabs ul li[active]:nth-child(4) ~ li:last-child {
    --flavour: #009341;
}

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

#panels ul .panel-window {
    float: left;
    width: 30%;
    height: 100%;
}

#panels ul .panel-window .main-image {
    width: 100%;
    height: 100%;
    z-index: 1000;
    position: relative;
}

#panels ul .panel-window .bg-image {
    width: 100%;
    height: 110%;
    position: absolute;
    filter: blur(4px);
    margin-left: -10px;
    margin-top: -10px;
}

#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:nth-child(4) .panel-window .bg-image { background: url("../img/bg-4.gif") repeat center left fixed; }
#panels ul:nth-child(4) .panel-window .main-image {background: url("../img/bg-4.gif") center center no-repeat; }

#panels ul.secret {background: url("https://66.media.tumblr.com/a324cbc05e558028dde21a4d1aeb5afe/tumblr_pe9uetwWjv1xyj0l5o1_250.gif") repeat center left fixed;}

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

#panels ul .default-button {
    height: 20px;
    width: 20px;
    float: right;
    z-index: 1000;
    position: relative;
    margin: 20px;
    border-radius: 50%;
    border: solid 3px var(--flavour);
    cursor: pointer;
}

#panels ul .default-button:hover { opacity: 0.7; }

#panels ul .default-button.active {
    background: var(--flavour);
}

#tabs .widgets {
    right: 0;
    margin: auto;
    height: 100%;
    padding: 0 2em;
    color: #fff;
    font-size: 12px;
    background: #1d1d21;
}

#tabs > cols {
    position: relative;
}

#tabs .time {
    font-weight: 700;
    margin-right: 1em;
}

#tabs .time span {
    font-weight: 400;
    color: grey;
}

#tabs .weather {
    box-shadow: inset 1px 0 rgba(255, 255, 255, .1);
}

#tabs .weather p[temperature] {
    margin: 0 1em 0 1em;
    color: grey;
}

#tabs i {
    font-size: 21px !important;
}

#tabs i[sunny] { color: #fd6697; }

#tabs i[cloudy] { color: #88d8d8; }

#panels .links {
    right: 0;
    width: 70%;
    height: 100%;
    background: #18181d;
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    box-sizing: border-box;
}

#panels .home .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;
    display: inline-flex;
    vertical-align: middle;
    white-space:nowrap;
    text-transform: capitalize;
}

#panels .home .links a i {
    font-size: 22px;
}

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

#panels .home .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(title);
    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 rgba(255, 255, 255, 1);
    left: calc(15% - 42.5px);
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, .4);
    color: #fff;
    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: overlay;
    z-index: 1000;
}

#panels .home .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 .home .links li h1 {
    color: #383838;
    font-size: 22px;
    margin-bottom: .5em;
    font-weight: 700;
    letter-spacing: 1px;
}

#panels .link-panel li {
    padding: .5em;
    /* display: inline; */
}

#panels .link-panel li a {
    color: grey;
    font: 700 16px 'Roboto', sans-serif;
    text-decoration: none;
    letter-spacing: 1px;
}

#panels .link-panel li a:hover {
    color: #fff;
}

#panels .link-panel li a:hover::before{
    opacity: 1;
}

#panels .link-panel li a::before {
    content: '> ';
    font-weight: 400;
    opacity: 0;
    transition: opacity ease 0.2s;
    color: var(--flavour);
}

.weather .edit {
    width: 100%;
    height: 100%;
    background: #1f1f1f;
    text-transform: uppercase;
    font: 600 11px 'Roboto', sans-serif;
    letter-spacing: 1px;
    color: #fff;
    border: 0;
    margin: 40px 0 0 0;
    cursor: pointer;
    transition: all .2s;
}

.widgets:hover .edit {
    margin: 0;
}

.weather-config {
    width: 100%;
    height: 100%;
    background: #1f1f1f;
    margin: -100% 0 0 0;
    transition: all .2s;
    z-index: 2;
}

.weather-config input[name="color"] {
    width: 100%;
    padding: .6em;
    border: 0;
    background: 0;
    box-shadow: inset 0 -2px #fff;
    font: 500 12px 'Roboto', sans-serif;
    color: #fff;
}

.weather-config.show {
    margin: 0;
}

#search {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    top: -100%;
    transition: all .5s ease-in-out;
}

#search.active {
    top: 0;
    opacity: 1;
    visibility: visible;
}

#search div {
    position: relative;
    width: 80%;
}

#search input {
    border: 0;
    outline: 0;
    width: 100%;
    box-shadow: inset 0 -2px #737373;
    padding: .5em 0;
    background: none;
    font: 500 22px 'Roboto', sans-serif;
    letter-spacing: 1px;
    color: #fff;
}

#search input:focus {
    box-shadow: inset 0 -2px #fff;
}

#search input::selection {
    background: #000;
    color: #fff;
}

#search .close {
    background: 0;
    border: 0;
    outline: 0;
    color: #fff;
    position: absolute;
    right: 0;
    cursor: pointer;
    top: 15px;
}

#search .close:hover {
    filter: opacity(.5);
}

.search-engines {
    list-style: none;
    color: #7d7d7d;
    display: block;
    display: flex;
    top: 50px;
    left: 0;
    margin: 1em 0 0 0;
}

.search-engines li p {
    cursor: default;
    transition: all .2s;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
}

.search-engines li {
    margin: 0 1em 0 0;
}

.search-engines li.active {
    color: #fff;
    font-weight: 700;
}


#quote {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 10px 30px;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    width: calc(100% - 350px);
    animation: fadein 1s;
}

#code {
    padding: 10px;
    width: 100px;
    z-index: 1000;
    position: absolute;
    opacity: 0.9;
}

#code a {
    color: white;
    cursor: pointer;
}

#code i {
    font-size: 48px;
}

#code a:hover {
    text-shadow: 0 0 0.1em #FFFFFF;
}

#login-overlay {
    display: flex;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

#enter {
    font-size: 2em;
    font-weight: bold;
    padding: 0.5em;
    border-radius: 5px;
    cursor: pointer;
    font-family: sans-serif;
}

#enter:hover {
    opacity: 0.8;
}