/* Main three-column layout */
/* Remove default browser spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

:root {
  --ink: #17151d;
  --paper: #fffdf6;
  --pink: #ff3b86;
  --blue: #00a8ff;
  --yellow: #ffe646;
  --violet: #b76cff;
  --cyan: #33dce6;
  --green: #54d9a3;
  --gray: #c9c6cd;
  --pink1: #FF86B7;
  --purple1: #C995FF;
  --blue1: #63DFFF;
  --link1: #59C9A5;
  --link2: #EF6F6C;
  --display: "Arial Black", "Arial Narrow", Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif; /* Monaco, Noto Sans, sans-serif */
  --tech: Monaco, Consolas, "Courier New", monospace;
}

body {
    min-height: 100vh;
    padding: 20px;
/* Background, the BG */
    background-color: #B0D0D3;
    color: var(--ink);
  background-image: url('/meta/wallpape1.png');
  background-repeat: no-repeat;
  background-attachment: local;
  background-size: auto;
  /* background-position: center top; */
  
  
  
    /* font-family: Noto Sans, sans-serif; */
    font-family: var(--body);
}
/* Fonts */

/* Keeps the header, marquee, and columns aligned */
.site-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* Header */
.site-header {
    margin-bottom: 15px;
    padding: 30px;

    background-color: #1c1c1c;
    border: 2px solid #fff;
    /* border-radius: 10px; */

    text-align: center;
}

.site-header h1 {
    margin-bottom: 10px;
}

.site-banner {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    border: 2px solid #0099ff;
    /* border-radius: 10px;       more bubbley!!!*/
    box-shadow: 3px 3px 0 var(--pink), 7px 7px 0 var(--blue);
    transition:transform .15s ease,box-shadow .15s ease;
}

.site-banner:hover {
	transform:translateY(-3px);
	transition:transform .15s ease,box-shadow .15s ease;
	box-shadow:0 0 0 3px var(--character-color),6px 9px 0 var(--ink)
}

.toptab {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

/* Marquee container */
.marquee-box {
    margin-bottom: 15px;
    padding: 7px 12px;
    overflow: hidden;

    background-color: #1c1c1c;
    border: 2px solid #0099ff;
    /* border-radius: 10px; */
}
marquee {
  max-width: 100%;
  font-size: 10px;
}

/* Three-column layout */
.page-layout {
    display: grid;
    justify-content: center;
    grid-template-columns: 220px minmax(0,800px) 220px;
    gap: 15px;
    width: 100%;
    max-width: 1270px;
    margin: 0 auto;
    align-items: start;
}


/* Left and right sidebars, center box */
.sidebar,.main-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* All boxes */
.info-box,.content-box {
    background-color: #1c1c1c;
    border: 2px solid var(--ink);
    /* border-radius: 10px;      Change this for bubbley effect! */
    color: var(--ink);
    background:var(--paper);
    box-shadow:     
    2px 2px 0px #ff337c,
    5px 5px 0px #e31bf5,
    8px 8px 0px #0099ff;
}


/* Sidebar boxes */
.info-box {
    padding: 15px;
}

.content-box {
    padding: 25px;
    min-height: 200px;
}


/* Headings */
.info-box h2,
.content-box h1,
.content-box h2 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
    /* border-radius: 8px 8px 0 0; */
    
    font-family: Monospace, sans-serif;
    font-style: italic;
    color: #fff;
    background:linear-gradient(rgba(255,255,255,.75),rgba(255,255,255,.08) 46%,rgba(93,52,92,.14) 48%,rgba(255,255,255,.38)),linear-gradient(90deg,var(--pink1) 0%,var(--purple1) 46%,var(--blue1) 100%);
    
    /* OLD:  background:linear-gradient(to bottom, #FEEEff 1%,#FFA5D6 49%,#FF86B7 51%,#F5ECF1 100%);   (to bottom, #ffffe3 1%,#ffb690 49%,#f39c9b 51%,#fdffa7 100%);   linear-gradient(#f5f5f5, #d7d7d7);*/
    
}


/* Paragraph spacing */
.info-box p,
.content-box p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-box p:last-child,
.content-box p:last-child {
    margin-bottom: 0;
}


/* Navigation */
.link-list {
    list-style: none;
}

.link-list li {
    margin-bottom: 8px;
}

.link-list li:last-child {
    margin-bottom: 0;
}

.link-list a {
    display: block;
    padding: 9px 12px;

    background-color: #fff;
    color: #111;

    border: 2px solid #fff;
    border-radius: 5px;

    font-weight: bold;
    text-align: center;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.link-list a:hover,
.link-list a:focus {
    background-color: transparent;
    color: #fff;          /* when hovered over, turn transparent (revealing --button-text color) and turn text white */
    
    /* copied button anims from char tiles */
    transform: translate(-2px, -2px);
    box-shadow: 2px 3px 0 var(--ink);
    transition:transform 0.15s ease, box-shadow 0.15s ease;
}


/* Regular links inside content */
.content-box a, .content-split a,
.info-box p a {
    color: var(--link1);
}

.content-box a:hover, .content-split a,
.info-box p a:hover {
    color: var(--link2);
}


/* Status Cafe */
#statuscafe {
    padding: .5em;
    background-color: azure;
    border: 1px solid midnightblue;
}
#statuscafe-username {
    margin-bottom: .5em;
}
#statuscafe-content {
    margin: 0 1em 0.5em 1em;
}


/* Stack the columns on smaller screens */
@media screen and (max-width: 800px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

    .main-content {
        order: 1;
    }

    .left-sidebar {
        order: 2;
    }

    .right-sidebar {
        order: 3;
    }
}


/* Sidebars */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* Boxes in the sidebars */
.info-box {
    background-color: #ffffff;
    border: 2px solid #000000;
    padding: 12px;
}


/* Main content column */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* Boxes in the center column */
.content-box {
    background-color: #ffffff;
    border: 2px solid #000000;
    padding: 20px;
    min-height: 200px;
}


/* Box headings */
.info-box h2,
.content-box h1,
.content-box h2 {
    background-color: #e8e8e8;
    border-bottom: 2px solid #000000;
    
    margin: -12px -12px 12px;
    padding: 8px 10px;
}

.content-box h1,
.content-box h2 {
    margin: -20px -20px 15px;
    padding: 10px 15px;
}


/* Text spacing */
.info-box p,
.content-box p {
    margin-bottom: 12px;
    line-height: 1.5;
}

.info-box p:last-child,
.content-box p:last-child {
    margin-bottom: 0;
}


/* Navigation links */
.link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.link-list li {
    margin-bottom: 6px;
}

.link-list a {
    display: block;
    padding: 6px 8px;

    color: #000000;
    background-color: #eeeeee;
    border: 1px solid #000000;

    text-decoration: none;
}

/* Reusable navigation-button colors */
.link-list a {
    background-color: #eeeeee;
    color: #000;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.link-list a:hover,
.link-list a:focus-visible {
    background-color: var(--button-color, #cccccc);
    color: var(--button-text, #000);
    border-color: var(--button-color, #000);
}

/* Header and marquee */
.top-table {
    width: 800px;
    max-width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
}

.mobile-menu summary {
    cursor: pointer;
    
    font-family: Noto Sans, sans-serif;
    font-style: italic;
    color: #fff;
    
    background:linear-gradient(rgba(255,255,255,.75),rgba(255,255,255,.08) 46%,rgba(93,52,92,.14) 48%,rgba(255,255,255,.38)),linear-gradient(90deg,var(--pink1) 0%,var(--purple1) 46%,var(--blue1) 100%);
    background-color: #e8e8e8;
    border-bottom: 2px solid #000;
    /* border-radius: 8px 8px 0 0; */

    margin: -12px -12px 12px;
    padding: 8px 10px;
}

.mobile-menu details[open] summary {
    margin-bottom: 10px;
}

/* Mobile layout */
@media screen and (max-width: 800px) {

    body {
        margin: 0;
        padding: 12px;
        overflow-x: hidden;
    }

    /* Header and marquee shrink to the phone screen */
    .top-table {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Change the three columns into one stacked column */
    .page-layout {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
        padding: 0;
    }

    /* Display order: left, center, right */
    .left-sidebar {
        order: 1;
    }

    .main-content {
        order: 2;
    }

    .right-sidebar {
        order: 3;
    }

    /* Remove desktop fixed widths */
    .sidebar,
    .left-sidebar,
    .right-sidebar,
    .main-content,
    .content-box,
    .info-box {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    /* Prevent long text or images from widening the page */
    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }
}
/* Two smaller boxes beneath the main center box */
.content-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.content-split .content-box {
    width: 100%;
    min-width: 0;
    min-height: 200px;
}

/* gradient headers for split */
.content-split .content-box h2 {
    margin: -20px -20px 15px;
    padding: 10px 15px;

    color: #fff;
    background:linear-gradient(rgba(255,255,255,.75),rgba(255,255,255,.08) 46%,rgba(93,52,92,.14) 48%,rgba(255,255,255,.38)),linear-gradient(90deg,var(--pink1) 0%,var(--purple1) 46%,var(--blue1) 100%);

    border-bottom: 2px solid #000;
    /* border-radius: 8px 8px 0 0; */

    font-family: monospace, sans-serif;
    font-style: italic;
    /* text-shadow: 1px 1px 0 #ff337c, 2px 2px 0 #0099ff; */
}

/* Stack the two boxes on narrow screens */
@media screen and (max-width: 600px) {
    .content-split {
        grid-template-columns: 1fr;
    }
}

/* character.css */
.character-layout {
    display: grid;
    grid-template-columns: minmax(260px, 1.15fr) minmax(220px, 0.85fr);
    gap: 20px;
}

.character-picture {
    position: relative;

    width: 100%;
    height: 500px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    background: radial-gradient(circle, color-mix(in srgb, var(--character-color) 45%, white), #fff 70%);
    border: 2px solid #000;
    /* border-radius: 8px; */
}

.character-picture img {
    display: block;

    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;

    object-fit: cover;
    object-position: center bottom;
}

.character-details {
    align-self: center;
}

.character-label {
    display: inline-block;
    padding: 5px 8px;

    color: #000;
    background: var(--character-color);
    border: 1px solid #000;
   /* border-radius: 4px; */

    font-weight: bold;
}

.character-details blockquote {
    margin: 18px 0;
    padding: 12px;

    background: #f7f7f7;
    border-left: 6px solid var(--character-color);

    font-style: italic;
    line-height: 1.5;
}

.character-stats {
    border: 2px solid #000;
    /* border-radius: 6px; */
    overflow: hidden;
}

.character-stats div {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    padding: 9px 10px;
    border-bottom: 1px solid #aaa;
}

.character-stats div:last-child {
    border-bottom: 0;
}

.character-stats dt {
    color: #777;
}

.character-stats dd {
    margin: 0;
    font-weight: bold;
}

@media screen and (max-width: 650px) {
    .character-layout {
        grid-template-columns: 1fr;
    }

    .character-picture {
        height: 380px;
    }
}
/* Character directory */
.character-directory {
    min-height: 0;
}

.directory-intro {
    margin-bottom: 15px;
    font-size: 13px;
}

/*
Five compact columns fit inside the approximately 800px-wide center section. */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    gap: 12px;
    padding: 2px 2px 10px;
}

/* Individual character button/card */
.character-tile {
    --character-color: #ff86b7;
    min-width: 0;
    overflow: hidden;

    background: #f5f5f5;
    border: 2px solid var(--ink);
    /* border-radius: 7px; */

    box-shadow:
        2px 2px 0 var(--character-color),
        4px 4px 0 #e31bf5,
        6px 6px 0 #0099ff;

    text-align: center;

    transition:transform 0.15s ease, box-shadow 0.15s ease;
}

.character-tile:hover {
    transform: translate(-2px, -2px);
    box-shadow:0 0 0 3px var(--character-color),6px 9px 0 var(--ink);
        /* 3px 3px 0 var(--character-color), 6px 6px 0 #e31bf5, 9px 9px 0 #0099ff; */
}
.character-tile:hover img{
    filter:grayscale(0) saturate(1.22) contrast(1.04);
	  transform:scale(1.035)
}

/* Compact character artwork */
.character-thumbnail {
    position: relative;
    width: 100%;
    height: 92px;
    display: block;
    overflow: hidden;

    background:
        radial-gradient(circle, color-mix(in srgb, var(--character-color) 45%, white), #fff 75%);

    border-bottom: 2px solid #000;
}

.character-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;

    background: var(--character-color);
    opacity: 0;

    transition: opacity 0.15s ease;
}

.character-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;
      /* desaturate char icons */
    object-fit: contain;
    object-position: center bottom;
    filter:grayscale(28%) saturate(70%) contrast(103%);
}


.content-box .character-tile h2 {
    margin: 0;
    padding: 7px 5px 2px;

    color: var(--ink);
    background: transparent;
    border: 0;
    border-radius: 0;

    font-family: Monaco, monospace;
    font-size: 13px;
    font-style: normal;
    line-height: 1.1;

    text-shadow: none;
}

.character-tile > p {
    min-height: 14px;
    margin: 0;
    padding: 0 5px 7px;

    color: #777;
    font-size: 9px;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Lore and artwork buttons */
.character-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;

    border-top: 1px solid var(--ink);
}

.content-box .character-actions a {
    padding: 6px 2px;

    color: var(--ink);
    background: #fff;

    font-size: 9px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 0.15s ease,
        background-color 0.15s ease;
}

.content-box .character-actions a + a {
    border-left: 1px solid var(--ink);
}

.content-box .character-actions a:hover,
.content-box .character-actions a:focus-visible {
    color: var(--ink);
    background: var(--character-color);
}

/* Tablet */
@media screen and (max-width: 800px) {
    .character-grid {
        grid-template-columns: repeat(
            auto-fit,
            minmax(130px, 1fr)
        );
    }
}

/* Phone */
@media screen and (max-width: 430px) {
    .character-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .character-thumbnail {
        height: 105px;
    }
}

/* progress bars!!!! */
.project-list {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 5px;

    font-family: Monaco, Consolas, "Courier New", monospace;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}
.project-progress {
    --progress: 50%;
    --project-color: #ff337c;

    position: relative;
    height: 19px;
    overflow: hidden;

    background: #fff;
    border: 2px solid #17151d;
    box-shadow: 3px 3px 0 #17151d;
}

.project-progress span {
    display: block;
    width: var(--progress);
    height: 100%;
    background: var(--project-color);
}

/* Creates the visible 10% sections */
.project-progress::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent calc(10% - 2px),
            #17151d calc(10% - 2px),
            #17151d 10%
        );
}

}