/* =========================================
   CHEWONTHIS'S PAGE
   ========================================= */


/* ---------- General ---------- */

* {
    box-sizing: border-box;
}

html {
    cursor: none;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at center,
            #101820 0%,
            #05070a 55%,
            #000000 100%
        );

    color: #d5dbe2;

    font-family:
        "Courier New",
        Courier,
        monospace;

    overflow-x: hidden;
}


/* ---------- Background artwork ---------- */

.background-art {
    position: fixed;
    inset: 0;

    pointer-events: none;
    overflow: hidden;

    z-index: -2;

    opacity: 0.55;
}

.bg-poster {
    position: absolute;

    width: 420px;

    left: -70px;
    top: 15%;

    transform: rotate(-7deg);

    opacity: 0.25;

    filter:
        saturate(1.5)
        contrast(1.2)
        brightness(0.7);
}

.bg-wolf {
    position: absolute;

    width: 520px;

    right: -130px;
    bottom: -70px;

    transform: rotate(4deg);

    opacity: 0.3;

    filter:
        saturate(1.5)
        contrast(1.3)
        brightness(0.7);
}


/* ---------- Main website ---------- */

.site {
    position: relative;

    width: min(1050px, calc(100% - 30px));

    margin: 55px auto 80px;

    background:
        linear-gradient(
            135deg,
            rgba(5, 10, 15, 0.97),
            rgba(10, 15, 21, 0.94)
        );

    border: 2px solid #4f5c68;

    box-shadow:
        0 0 0 5px #080b0e,
        0 0 0 7px #26313a,
        0 0 35px rgba(0, 130, 255, 0.25);
}


/* ---------- Header ---------- */

.header {
    position: relative;

    min-height: 190px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    padding: 35px 20px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #1c2933,
            #10171d
        );

    border-bottom: 3px solid #168cff;
}


/* Comic-style decoration */

.header::before,
.header::after {
    content: "";

    position: absolute;

    width: 150%;
    height: 18px;

    background: #168cff;

    opacity: 0.15;

    transform: rotate(-5deg);
}

.header::before {
    top: 20px;
}

.header::after {
    bottom: 20px;
}


/* Main title */

.header h1 {
    position: relative;

    margin: 0;

    color: #dce8ef;

    font-family:
        Impact,
        Haettenschweiler,
        "Arial Narrow Bold",
        sans-serif;

    font-size: clamp(42px, 7vw, 82px);

    font-weight: 900;

    letter-spacing: 2px;

    text-align: center;

    text-transform: none;

    /* comic / chrome effect */

    text-shadow:
        4px 4px 0 #0876d1,
        7px 7px 0 #07121c,
        0 0 12px rgba(0, 145, 255, 0.8);

    transform: rotate(-2deg);

    z-index: 2;
}


/* Little blue line under title */

.header h1::after {
    content: "";

    display: block;

    width: 85%;

    height: 5px;

    margin: 10px auto 0;

    background: #168cff;

    box-shadow:
        3px 3px 0 #05090c;
}


.header-decoration {
    position: absolute;

    top: 12px;

    color: #168cff;

    letter-spacing: 14px;

    font-size: 15px;
}


.header-subtext {
    position: relative;

    margin-top: 22px;

    padding: 5px 15px;

    color: #aab5bf;

    background: #080c10;

    border: 1px solid #4f5c68;

    font-size: 11px;

    letter-spacing: 3px;

    z-index: 3;
}


/* ---------- Marquee ---------- */

.marquee {
    width: 100%;

    overflow: hidden;

    white-space: nowrap;

    background: #006dcc;

    color: white;

    border-bottom: 2px solid #071018;

    font-weight: bold;

    font-size: 12px;
}

.marquee-text {
    display: inline-block;

    padding: 7px 0;

    animation: marquee 18s linear infinite;
}

@keyframes marquee {

    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }

}


/* ---------- Main content ---------- */

.content {
    display: grid;

    grid-template-columns: 255px 1fr;

    gap: 20px;

    padding: 20px;
}


/* ---------- Panels ---------- */

.panel {
    margin-bottom: 18px;

    padding: 12px;

    background:
        linear-gradient(
            145deg,
            #141c23,
            #080c10
        );

    border: 1px solid #4e5b66;

    box-shadow:
        inset 0 0 0 1px #07090b,
        4px 4px 0 #050709;
}


.panel-title {
    margin: -12px -12px 12px;

    padding: 7px 10px;

    color: white;

    background:
        linear-gradient(
            90deg,
            #087ddd,
            #16496d
        );

    border-bottom: 2px solid #79c6ff;

    font-weight: bold;

    font-size: 12px;

    letter-spacing: 2px;
}


/* ---------- Profile ---------- */

.profile-image {
    width: 100%;

    max-height: 145px;

    object-fit: cover;

    display: block;

    margin-bottom: 12px;

    border: 2px solid #253846;

    filter:
        contrast(1.15)
        saturate(1.3);
}

.panel p {
    font-size: 12px;

    line-height: 1.6;

    margin: 7px 0;
}

.blue {
    color: #168cff;

    font-weight: bold;
}

.blink {
    animation: blink 1s steps(2, start) infinite;

    color: #53b4ff;

    font-weight: bold;
}

@keyframes blink {

    50% {
        opacity: 0;
    }

}


/* ---------- Blinkies ---------- */

.blinkies {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;
}

.blinkies img {
    max-width: 100%;

    height: auto;

    image-rendering: pixelated;
}


/* ---------- Status ---------- */

.status-bar {
    height: 10px;

    margin: 10px 0;

    background: #050709;

    border: 1px solid #46535d;
}

.status-bar span {
    display: block;

    width: 67%;

    height: 100%;

    background:
        repeating-linear-gradient(
            90deg,
            #087ddd 0px,
            #087ddd 7px,
            #44a9ed 7px,
            #44a9ed 10px
        );
}


/* ---------- Comic label ---------- */

.comic-label {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin: 5px 0 15px;

    padding: 10px 22px;

    color: #e7edf2;

    background:
        linear-gradient(
            135deg,
            #c8d1d8,
            #697782
        );

    border: 3px solid #111b22;

    box-shadow:
        5px 5px 0 #006dcc,
        8px 8px 0 #05090c;

    font-family:
        Impact,
        "Arial Black",
        sans-serif;

    font-size: 27px;

    letter-spacing: 2px;

    text-shadow:
        2px 2px 0 #1b2d3a;

    transform: rotate(-1.5deg);
}

.comic-star {
    color: #168cff;

    text-shadow:
        2px 2px 0 #15212a;
}


/* ---------- About box ---------- */

.about-box {
    position: relative;

    display: grid;

    grid-template-columns: 190px 1fr;

    gap: 20px;

    min-height: 230px;

    padding: 18px;

    background:
        repeating-linear-gradient(
            0deg,
            #11181e 0px,
            #11181e 2px,
            #0d1318 2px,
            #0d1318 4px
        );

    border: 2px solid #596773;

    box-shadow:
        6px 6px 0 #05080b;
}


.about-image {
    overflow: hidden;

    border: 3px solid #168cff;

    background: #05080b;
}

.about-image img {
    width: 100%;

    height: 100%;

    min-height: 190px;

    object-fit: cover;

    display: block;

    filter:
        contrast(1.2)
        saturate(1.3);
}


.about-text {
    align-self: center;

    color: #c6ced5;

    font-size: 14px;

    line-height: 1.8;
}

.about-text p {
    margin: 0 0 16px;
}


/* ---------- Blue strip ---------- */

.blue-strip {
    margin: 22px 0;

    padding: 9px;

    background: #087ddd;

    color: white;

    text-align: center;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 4px;

    border-top: 2px solid #72c5ff;

    border-bottom: 2px solid #05101a;

    box-shadow: 4px 4px 0 #050709;
}

.blue-strip span {
    color: #bce4ff;

    margin: 0 12px;
}


/* ---------- Image collage ---------- */

.image-collage {
    position: relative;

    height: 260px;

    margin-top: 25px;

    overflow: hidden;

    background:
        #05080b;

    border: 2px solid #36434c;
}

.image-collage img {
    position: absolute;

    object-fit: cover;

    border: 3px solid #168cff;

    box-shadow:
        5px 5px 0 #05090c;
}

.snake {
    width: 48%;

    height: 210px;

    left: -20px;
    top: 25px;

    transform: rotate(-5deg);
}

.digital {
    width: 53%;

    height: 230px;

    right: -15px;
    top: 8px;

    transform: rotate(4deg);
}


/* ---------- Footer ---------- */

footer {
    position: relative;

    padding: 25px 20px 35px;

    text-align: center;

    color: #798791;

    font-size: 12px;
}

.footer-line {
    height: 3px;

    margin-bottom: 20px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #168cff,
            transparent
        );
}


.footer-stamp {
    max-width: 180px;

    height: auto;

    image-rendering: pixelated;

    margin-bottom: 8px;
}


footer p {
    margin: 7px;
}

footer .tiny {
    color: #47535c;

    font-size: 9px;
}


/* ---------- Custom cursor ---------- */

#cursor {
    position: fixed;

    width: 16px;
    height: 16px;

    pointer-events: none;

    z-index: 99999;

    transform:
        translate(-2px, -2px)
        rotate(-45deg);

    border-left: 3px solid white;
    border-top: 3px solid white;

    filter:
        drop-shadow(2px 2px 0 #006dcc);
}


/* ---------- Mobile ---------- */

@media (max-width: 700px) {

    .site {
        width: calc(100% - 14px);

        margin-top: 20px;
    }

    .content {
        grid-template-columns: 1fr;

        padding: 12px;
    }

    .sidebar {
        order: 2;
    }

    .main-column {
        order: 1;
    }

    .header h1 {
        font-size: 45px;
    }

    .about-box {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 180px;
    }

    .image-collage {
        height: 220px;
    }

    .snake {
        width: 55%;
    }

    .digital {
        width: 60%;
    }

}


/* ---------- Selection ---------- */

::selection {
    background: #168cff;

    color: white;
}
