html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

*, *:before, *:after {
    box-sizing: border-box;
}

body {
    background: #2b2f2f;
    color: rgba(206, 250, 249, .9);
    height: 100vh;
    overflow-x: hidden;
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
    scroll-behavior: smooth;
    text-shadow: 0px 1px 1px #00000029, 1px 2px 2px #00000029, 2px 4px 4px #00000029, 4px 8px 8px #00000029, 8px 16px 16px #00000029, 16px 32px 32px #00000029;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 96px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
}

nav .container {
    width: min-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    width: 100%;
    height: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

section {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    padding: 2em;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

input {
    background: #222;
    color: #999;
    padding: 1rem 2rem;
}

.btn {
    cursor: pointer;
}

.logo a,
.link {
    margin: 1rem 2rem;
    text-decoration: none;
    color: rgb(9 205 207);
}

header.home {
    background-image: url('/assets/home/img/bg.jpg');
    background-image:
        radial-gradient(transparent, #00000096),
        url(/assets/home/img/bg.jpg);
    animation: colorrotate 12s infinite linear;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: fixed;
}

header.home::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(6deg, transparent, transparent, #c000ff36, transparent);
    z-index: -1;
}


header.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(6deg, #00ff0014, transparent, transparent, transparent);
    z-index: -1;
}

.text-glitch {
    position: fixed;
    top: 20vh;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 0 3px #ffffff60;
    text-align: center;
    background: linear-gradient(0deg, #07ffff, #000);
    background-size: 50% 30%;
    animation: rotate 6s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 700;
}

.tect-shadow {
    text-shadow: 
        0px 1px 1px #00000009,
        1px 2px 2px #00000009,
        2px 4px 4px #00000009,
        4px 8px 8px #00000009,
        8px 16px 16px #00000009,
        16px 32px 32px #00000009;
}

#glitch-canvas {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 9999;
	mix-blend-mode: screen; /* or overlay, difference, etc */
}

main.uploads {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    padding: 2em;
    background: #666;
}

/* main.docs {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
} */

.file-grid {
    position: relative;
    display: grid;
    width: 100%;
    grid-template-columns: 8fr 2fr 2fr;
    grid-auto-rows: 1fr;
}

img.icon {
    width: 32px;
    height: 32px;
    margin: auto;
}

main.home {
    position: fixed;
    bottom: 0;
}

.status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min-content;
    /* position: absolute; */
    bottom: 100%;
    background: #00000069;
    padding: .75em 1em .75em;
    border-radius: .375em;
    margin: 1em 2em;
    gap: 1em;
    color: #3cdf0a;
}

.status-indicator {
    color: #4CAF50;
    font-weight: bold;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    width: 16px;
    height: 16px;
    display: block;
}

.footer-link {
    text-decoration: underline 1px currentColor;
    color: currentColor;
}

.footer-link a {
    color: inherit;
    text-decoration: none;
}

.nav-typer {
    font-size: 0.875rem;
    color: #0f8b15;
    position: fixed;
    top: 6vh;
    left: 2rem;
}

.gauges {
    position: fixed;
    top: 6vh;
    right: 3vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

.gauge {
    width: 6vw;
    aspect-ratio: 1;
    background: #ffffff00;
    border-radius: 10px;
    overflow: hidden;
    margin: 1em 0;
    border-radius: 0;
    padding: 2em;;
}

.gauge-body {
    width: 100%;
    height: 100%;
    background: #ffffff22;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: currentColor;
}

.bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: currentColor;
    transition: height 0.5s ease-in-out;
    z-index: -1;
}

.sysinfo {
    position: relative;
    margin-bottom: 1rem;
}

.hud-line {
    position: relative;
    margin: 0.25rem 0;
}

.hud-col {
    position: relative;
    display: flex;
    margin: 0.25rem 0;
}

.col-10 {
    width: 10%;
}

.col-25 {
    width: 25%;
}

.col-30 {
    width: 30%;
}

.col-35 {
    width: 35%;
}

.col-55 {
    width: 55%;
}

.col-65 {
    width: 65%;
}

.col-70 {
    width: 70%;
}

.col-75 {
    width: 75%;
}


.line-end::after {
    content: "|";
    position: absolute;
    right: 0;
}

.bar-container {
    width: 30%;
    min-width: 120px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 1rem;
    overflow: hidden;
    border: 1px solid currentColor;
}

.bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: currentColor;
    animation: slide 2s linear infinite;
}

/*
#clock {
    position: fixed;
    top: 8rem;
    left: 2rem;
    font-size: 2rem;
    font-weight: bold;
    color: rgb(255, 255, 255);
}
*/

.claude-cheatsheet {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    font-size: 12px;
    width: 100%;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
}

.sheet-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
}

.sheet {
    background: #00000069;
    padding: 0 .5em;
}

#nodes-canvas {
    position: fixed;
    bottom: 36px;
    left: calc((50%) + 6.75rem);
    width: 186px;
    height: 78px;
    border: 1px solid currentColor;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

@keyframes colorrotate {
    from {
        filter: hue-rotate(0deg);
    }
	to {
		filter: hue-rotate(360deg);
	}
}

@keyframes rotate {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: 100% 50%;
    }
}

@media screen and (max-width: 2500px) {
    .claude-cheatsheet {
        font-size: 10px;
    }
     
    .shortcuts {
        display: none;
        visibility: hidden;
    }
}

@media screen and (max-width: 1920px) {
    .claude-cheatsheet {
        font-size: 8px;
    }
     
    .shortcuts {
        display: none;
        visibility: hidden;
    }
}

@media screen and (max-width: 768px) {
    .logo a,
    .link {
        margin: 1em;
        font-size: 0.875rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .subtitle {
        font-size: .5rem;
    }

    .status {
        font-size: 0.625rem;
    }

    h1 {

        font-size: 1.5rem;
        margin: 0 1rem;
    }

    .nav-typer {
        font-size: 0.625rem;
        top: 6vh;
        left: 1rem;
    }
}
