:root {
    --primary-dark: rgb(37, 37, 37);
    --text-dark: white;
    --border-color: black;
}

* {
    background-color: var(--primary-dark);
    color: var(--text-dark);
    margin: 0;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    text-align: center;
    width: 80vw;
    margin-left: 20vw;
}

#title {
    margin-left: 10px;
    margin-right: 100px;
    margin-bottom: 50px;
    border-radius: 20px;
    padding: 50px;
    border-style: solid;
    border-width: 1px;
    left: 40vw;
    border-color: var(--border-color);
    box-shadow: 0 1px 5px var(--border-color);
}

#viewing {
    text-align: center !important;
    border-radius: 20px;
    border-top: 2px solid;
    border-color: var(--border-color);
    max-width: 20vw;
    align-self: center;
}

#viewing::after, #fetched::after {
    display: block;
    content: ' ';
    height: 4px;
    width: 40vw;
    opacity: 0.5;
    background: var(--border-color);
    margin-top: 4px;
    margin-left: 6px;
    margin-bottom: 20px;
}

mark {
    background-color: rgba(255, 255, 0, 0.178);
}

#content {
    text-align: left;
    padding-left: 20px;
}

#fetched {
    margin-left: 20px;
}

#quickbar {
    position: absolute;
    text-align: left;
    border-style: solid;
    border-color: var(--border-color);
    max-width: 20vw;
    min-height: 100vh;
    top: 0vh;
    left: 0vw;
    z-index: 2;
    padding: 20px;
}

.txt {
    background: var(--text-dark);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

li::marker {
    background-color: aqua;
    padding: 10px;
    color: aquamarine;
    border-style: solid;
    border-width: 4px;
}

.nebulamode {
    --primary-dark: black;
    --text-dark: linear-gradient(90deg, #20002c, #cbb4d4, #1cb5e0, #000046);
    --border-color: linear-gradient(90deg, #20002c, #cbb4d4, #1cb5e0, #000046);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    font-weight: bold;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Arial", sans-serif;
    animation: gradientborder 15s ease-in-out, gradient 15s ease-in-out;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 90%;
}

td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #dddddd;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {background-position: 0% 50%;}
}

@keyframes gradientborder {
    0% {
        border-color: purple;
    }
    50% {
        border-color: cyan;
    }
    100% {border-color: rgb(255, 136, 0)}
}

@media screen and (max-width: 900px) {
    #quickbar {
        position: inherit;
        text-align: left;
        border-style: solid;
        border-color: var(--border-color);
        max-width: 100vw;
        min-height: 1vh;
        margin-bottom: 80px;
        top: 0vh;
        left: 0vw;
        z-index: 2;
        padding: 20px;
    }
    body {
        text-align: center;
        width: 100vw;
        margin-left: 0vw;
    }
    #viewing {
        text-align: center !important;
        border-radius: 20px;
        border-top: 2px solid;
        border-color: var(--border-color);
        max-width: 80vw;
        align-self: center;
    }
    #viewing::after, #fetched::after {
        display: block;
        content: ' ';
        height: 4px;
        width: 80vw;
        opacity: 0.5;
        background: var(--border-color);
        margin-top: 4px;
        margin-left: 6px;
        margin-bottom: 20px;
    }
}