/* FONTS */
@font-face {
    font-family: "perfect";
    src: url("/docs/assets/fonts/Minecraft.woff2") format("woff2"),
        url("/docs/assets/fonts/Minecraft.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "nice";
    src: url("/docs/assets/fonts/Pixel_NES.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "double";
    src: url("/docs/assets/fonts/Web437_NEC_APC3_8x16.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "RussianGothic";
    src: local("Arial");
    font-weight: normal;
    font-style: normal;
    unicode-range: U+0420-42FF;
}

@font-face {
    font-family: "PerfectDosVGAA437";
    src: url("/docs/assets/fonts/PerfectDOSVGA437.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    background: #000;
    height: 100%;

}

a {
    color: inherit;
    text-decoration: none;
    transition: text-shadow 0.2s ease, color 0.2s ease;
}

a:hover,
a:focus-visible {
    color: #629be1;
    text-shadow:
        0 0 6px currentColor,
        /* near glow */
        0 0 12px currentColor,
        /* mid glow */
        0 0 18px currentColor;
    /* far glow */
}

body {
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    height: 100%;
    inset: 0;

    /* 1st layer: your GIF
       2nd layer: solid black behind it */
    background:
        url('/docs/starTest.gif') top center/cover no-repeat;

    /* if you still want that blur on the combined layers: */


    z-index: -1;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    /* fill the entire viewport as well */
    height: 95%;
    /* match ::before’s height (or use 100%) */

    /* Use the same GIF but flipped vertically (or horizontally). 
       Here we flip vertically (up‐down) with scaleY(-1). */
    background:
        url("/docs/starTest.gif") top center/cover no-repeat;

    filter: brightness(0.2);
    transform: scaleX(-1);
    transform-origin: center center;
    z-index: -2;
    pointer-events: none;
}

.container {
    margin: 0 auto;
    display: flex;
    width: 900px;
}

.logo {
    font-family: "nice", monospace;
    font-size: 80px;
    color: #91d9cf;
    text-shadow: 4px 4px 0 rgba(45, 130, 138, 0.829),
        0 0 6px #aedfdf,
        0 0 12px #377bba,
        0 0 18px #fcfafab7;
    letter-spacing: 3px;
    user-select: none;

    /* changes ↓ */
    /* shrink-wrap to the text */
    margin-top: 3px;
    margin-bottom: 15px;
    /* margin: 0 auto; */
    /* now this truly centers the div */
    text-align: center;
    /* still needed if you keep the <p> */
}


.logo p {
    margin: 0 auto;
}

.stats,
.api1,
.api2,
.sidebox,
.main,
.blog,
.projBox,
.expBox {
    background-color: rgba(0, 0, 0, 0.813);
    color: white;
    border-color: rgb(56, 56, 58);
    /* box-shadow: 0 0 3px #001513; */
    border-radius: 6px;
    border-width: 3px;
}

header {
    display: flex;
    font-family: "perfect";
    justify-content: space-between;
    align-items: center;
    padding: 1px 30px;
}

nav ul {
    font-family: "perfect";
    list-style: none;
    margin-bottom: 2px;
    padding-left: 2px;
    display: flex;
    gap: 20px;
}

nav a {
    font-family: "perfect";
    text-decoration: none;
    letter-spacing: 2px;
    color: white;
}

.divider.glow {
    border: none;
    height: 2px;
    width: 100%;
    background: #41356b;
    box-shadow: 0 0 6px #dbd1f0;
}

.main {
    width: 680px;
    margin: 0 20px 0 0;
    border-style: solid;
    box-sizing: border-box;
    background-image: url("/docs/stars.png");
    background-size: 30% 60%;
    background-repeat: no-repeat;
    background-position: top right;
    background-color: rgba(0, 0, 0, 0.793);
    background-blend-mode: overlay;
}



.main p {
    font-size: 18px;
    font-family: "double";
    text-shadow:
        /* glow layers – same hue, larger blur */
        0 0 6px #0e535182,
        /* near glow  */
        0 0 12px #083232af,
        /* mid glow   */
        0 0 18px #105d542a;
}

.main h2 {
    gap: 10px;
    font-size: 22px;
    margin-left: 50px;
}

.title {
    font-family: "double";
    width: 600px;
    margin-left: 26px;
    font-weight: 500;
}

.status-online {
    color: #18ff18ea;
    text-shadow:
        0 0 5px #39bb39,
        0 0 10px #3fb33f,
        0 0 20px #00ff00;
}

.status-offline {
    color: #ff4444;
    text-shadow:
        0 0 5px #ff4444,
        0 0 10px #ff4444,
        0 0 20px #ff4444;
}


.About {
    display: flex;
    align-items: flex-start;
    padding: 0px 0px 20px 0px;
    max-width: 1000px;

}

.profile {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.headshot {
    width: 160px;
    height: 200px;
    position: relative;
    margin-left: 17px;
    margin-right: 20px;
    margin-top: 5px;


}

.headshot {
    width: 160px;
    height: 180px;
    position: relative;
    overflow: hidden;
    /* photo gets clipped here */
    margin-left: 17px;
    margin-right: 20px;
    margin-top: 5px;
    padding-top: 40px;
}

/* 2) photo-wrapper is exactly 160×200 and hides anything outside it */
.photo-wrapper {
    width: 100%;
    height: 90%;
    position: absolute;
    top: 10px;
    right: 2px;
    overflow: hidden;
}

/* 3) The photo itself fills the wrapper */
.photo-wrapper img#headshot-img {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    z-index: 1;
}

/* 4) The frame sits at the same top/left, but is allowed to overflow */
.headshot img.frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 2;
    /* No overflow property here—since it’s a direct child of .headshot,
       it can extend beyond 160×200 if needed. */
}




.profile-text {
    max-width: 400px;
    text-shadow:
        /* glow layers – same hue, larger blur */
        0 0 6px #0e535182,
        /* near glow  */
        0 0 12px #083232af,
        /* mid glow   */
        0 0 18px #105d542a;
}

.profile-text h3 {
    font-family: "double";
    font-size: 24px;
    font-style: oblique;
    font-weight: 100;
    margin: 0;
    margin-top: 6px;
}

.skills {
    font-family: "double";
    margin-left: 50px;
    margin-top: 40px;
    max-width: 250px;
    padding: 20px;
}


.titlexp {
    padding-left: 20px;
    max-width: 1000px;
    margin: 0 auto;
    color: rgba(22, 130, 133, 0.893);
    text-shadow:


        /* glow layers – same hue, larger blur */
        0 0 6px #0e535182,
        /* near glow  */
        0 0 12px #083232af,
        /* mid glow   */
        0 0 18px #105d542a;
}

.side.box {
    width: 180px;
    /* explicit so nothing shrinks */
    /* flex: 0 0 160px; */
    font-family: "double";
    font-size: 20px;
    text-align: left;
    /* height: 397px; */
    background-color: #000000db;
    overflow: hidden;
    /* optional – hides overflow text    */
    text-overflow: ellipsis;
    word-wrap: break-word;
    border-color: rgb(41, 40, 42);
    box-shadow: 0 0 6px #fff;
    border-style: solid;
}

/* unchanged centering row */
.box-row {
    display: grid;
}

.Overall {
    display: flex;
}

.fun {
    max-width: 1000px;
    margin: 0 auto;
}

.blog {
    font-family: "double";
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 20px;
    /* margin: 1px auto; */
    margin-top: 20px;
    box-sizing: border-box;
    width: 680px;
    border-style: solid;
    box-sizing: border-box;
    background-image: url("/docs/pearl.png");
    background-size: 40% 90%;
    background-repeat: no-repeat;
    background-position: left;
    background-color: rgba(0, 0, 0, 0.847);
    background-blend-mode: overlay;

}

.blog p {
    text-shadow:
        /* glow layers – same hue, larger blur */
        0 0 6px #0e535182,
        /* near glow  */
        0 0 12px #083232af,
        /* mid glow   */
        0 0 18px #105d542a;
}

.blog h2 {
    color: rgba(22, 130, 133, 0.893);
    text-shadow:


        /* glow layers – same hue, larger blur */
        0 0 6px #0e535182,
        /* near glow  */
        0 0 12px #083232af,
        /* mid glow   */
        0 0 18px #105d542a;
}

.project-list {
    font-family: "double";
    margin: 0;
    padding: 0;

}

.project-list h3 {
    font-size: 14px;
    font-family: "double", "MS UI Gothic", "NEC_APC3", Tahoma;
    -webkit-font-smoothing: none;
    image-rendering: pixelated;
    font-style: bold;

}

.project-list p {
    font-size: 16px;
    font-family: "double";
    color: white;
    text-shadow:
        /* glow layers – same hue, larger blur */
        0 0 6px #0e535182,
        /* near glow  */
        0 0 12px #083232af,
        /* mid glow   */
        0 0 18px #105d542a;
}

/* remove bullets & tighten spacing */
.link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.link-list li {
    margin: 8px 0;
    text-align: center;
    font-size: 19px;
}

.link-list a {
    font-family: "double";
    /* match your pixel font */
    color: #ffffff;
    /* light purple to fit the theme */
    text-decoration: none;
    transition: color .15s;
}

.link-list a:hover {
    color: #fff;
    text-shadow: 0 0 6px #1d7d79;
}

.sideTitle {
    text-align: center;
    font-size: 24px;
    font-family: "double";
    color: rgba(22, 130, 133, 0.893);
    text-shadow:
        /* glow layers – same hue, larger blur */
        0 0 6px #0e535182,
        /* near glow  */
        0 0 12px #083232af,
        /* mid glow   */
        0 0 18px #105d542a;
}

.mainBox {
    display: grid;
}

.sidebox {
    width: 200px;
    /* explicit so nothing shrinks */
    flex: 0 0 240px;
    font-family: "double";
    font-size: 20px;
    text-align: left;
    /* height: 427px; */
    background-color: #000000db;
    overflow: hidden;
    /* optional – hides overflow text    */
    text-overflow: ellipsis;
    word-wrap: break-word;
    border-style: solid;
    padding-bottom: 20px;

}

.projBox {
    width: 680px;
    border-style: solid;
    padding-bottom: 20px;
    box-sizing: border-box;
    margin-top: 20px;
    margin-bottom: 20px;
}

.projects {
    padding-left: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.projects h2 {
    font-family: "double";
    color: rgba(22, 130, 133, 0.893);
    text-shadow:


        /* glow layers – same hue, larger blur */
        0 0 6px #0e535182,
        /* near glow  */
        0 0 12px #083232af,
        /* mid glow   */
        0 0 18px #105d542a;
}

.projContent {
    font-family: "double";
    padding-left: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.expBox {
    width: 680px;
    font-family: "double";
    border-style: solid;
    box-sizing: border-box;
    margin-bottom: 40px;
    background-image: url("/docs/gal.png");
    background-size: 40% 60%;
    background-repeat: no-repeat;
    background-position: 350px 10px;
    background-color: rgba(0, 0, 0, 0.818);
    background-blend-mode: overlay;


}

.exp {
    padding-left: 40px;
    max-width: 1000px;
    padding-bottom: 20px;
    margin: 0 auto;
}

.qf {
    font-size: 20px;
    font-family: "double";
}

h3 {
    font-size: 22px;
    letter-spacing: 3px;
}

p {
    letter-spacing: 2px;

}

th {
    letter-spacing: 2px;
}

.sideMenu {
    display: flex;
    flex-direction: column;

}

.job-list p {
    text-shadow:
        /* glow layers – same hue, larger blur */
        0 0 6px #0e535182,
        /* near glow  */
        0 0 12px #083232af,
        /* mid glow   */
        0 0 18px #105d542a;
}

.job-list h4 {
    font-family: "double";

}



.api1 {
    width: 200px;
    margin-top: 15px;
    /* explicit so nothing shrinks */
    flex: 0 0 60px;
    font-family: "double";
    font-size: 20px;
    color: white;
    text-align: center;
    text-shadow:


        /* glow layers – same hue, larger blur */
        0 0 6px #0e535182,
        /* near glow  */
        0 0 12px #083232af,
        /* mid glow   */
        0 0 18px #105d542a;
    background-color: #000000db;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    border-style: solid;
}


.api2 {
    display: grid;
    padding-top: 10px;
    /* vertically center text and image */
    /* push text left, image right */
    gap: 10px;
    /* space between text and image */
    margin-top: 10px;
    width: 160px;
    padding: 20px 20px;
    white-space: wrap;
    font-family: "double";
    font-size: 14px;
    color: white;

    text-shadow:
        0 0 6px #0e535182,
        0 0 12px #083232af,
        0 0 18px #105d542a;

    background-color: #000000db;
    overflow: scroll;
    text-overflow: ellipsis;
    word-wrap: normal;
    border-style: solid;
}

.api2-title {
    margin-left: -14px;
}

.api2-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    margin: 0 auto;
}

#nowplaying {
    margin-left: 10px;
}

#nowplaying-img {
    height: 60px;
    width: 60px;
}

.api2 p {

    margin: 0;
    padding-left: 20px;
    text-shadow:
        0 0 6px #0e535182,
        0 0 12px #083232af,
        0 0 18px #105d542a;

}

.stats {
    margin-top: 15px;
    height: 140px;
    color: white;

    border-style: solid;
    font-family: "double";
}

.stats .row {
    display: flex;
    padding-left: 20px;
    padding-top: 20px;
    grid-template-columns: 120px auto;
    /* pushes label left, value right */
    gap: 1rem;
    /* optional breathing room */
    max-width: 220px;
    /* keeps lines from growing wide */
}

.api1 p {
    font-size: 14px;
}