/* Body and Body Wrapper */

:root {
    --body-margin: 10%;
}

body {
    min-height: 100vh;
    background-color: black;
    background: linear-gradient(143deg,rgba(133, 40, 40, 1) 0%, rgba(255, 166, 0, 1) 100%);
    margin-bottom: 0px;
}

/* 88x31 Panel */

#bannerpanel {
    border-style: solid;
    border-width: 1px;
    border-color: white;
    font-family: monospace;
    margin-left: var(--body-margin);
    margin-right: var(--body-margin);
    margin-bottom: 10px;
    color: white;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    backdrop-filter: blur(10px) saturate(100%) brightness(70%);
}

/* Footer */

#footer {
    display: grid;
    grid-template-columns: auto auto auto;
    border-style: solid;
    border-width: 1px;
    border-color: white;
    font-family: monospace;
    margin-left: var(--body-margin);
    margin-right: var(--body-margin);
    margin-bottom: 50px;
    color: white;
    align-items: center;
    overflow: clip;
    backdrop-filter: blur(10px) saturate(100%) brightness(70%);
}

#footer a {
    color: white
}

#footer div {
    margin: 10px;
}

#footer div p {
    margin-top: 0px;
    margin-bottom: 0px;
}

#footer div #hitcount {
    color: white;
    font-size: xxx-large;
    font-weight: 900;
}

/* Body Wrapper */

.bodywrapper {
    display: grid;
    column-gap: 10px;
    row-gap: 10px;
    grid-template-columns: 16% auto;
    margin-left: var(--body-margin);
    margin-right: var(--body-margin);
}

/* Hero */

.hero {
    color: black;
    margin-left: var(--body-margin);
    margin-right: var(--body-margin);
    margin-top: 80px;
    margin-bottom: 10px;
}

.hero h1 {
    font-family: monospace;
    letter-spacing: 10px;
    font-size: 6vw;
    color: white;
    -webkit-text-stroke: 0.04em white;
    text-shadow: 0em 0.06em black;
    padding-top: 10px;
    padding-bottom: 10px;
    transform: perspective(100px) rotate3d(2, 0, 0, 5deg);
}

/* The Box (and its formatting */

.musicbox {
    background-color: black;
    overflow: hidden;
    backdrop-filter: blur(10px) saturate(70%);
}

.musicbox,
.box {
    border-style: solid;
    border-width: 1px;
    border-color: white;
    margin-bottom: 10px;
    backdrop-filter: blur(10px) brightness(70%);
}

.box h1 {
    background-color: white;
    margin: 0px;
    padding: 10px;
    font-family: monospace;
}

.box p {
    color: white;
    font-family: monospace;
    padding-left: 10px;
    padding-right: 10px;
}

.box li {
    color: white;
    font-family: monospace;
}

a {
    text-decoration-color: white;
  }

.box h3 {
    padding-left: 10px;
    color: white;
    font-family: monospace;
    margin-top: 10px;
    margin-bottom: 5px;
}

.box h2 {
    padding-left: 10px;
    color: white;
    font-family: monospace;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: xx-large;
}

/* Yellow Box */
.yellow {
    border-color: yellow;
}

.yellow h1 {
    background-color: yellow;
}

.yellow p {
    color: yellow;
}

.spoiler {
    color: white;
    background-color: white;
    margin: 0px;
    font-family: monospace;    
}

.spoiler:hover {
    color: black;
}

/* Red Box */
.red {
    border-color: #ff0000;
    background-color: #ff000066;
}

.red h1 {
    background-color: #ff0000;
}

/* Box Forms */

.box input {
    color: white;
    background-color: transparent;
    backdrop-filter: brightness(0.5);
    border: 1px white solid;
    border-radius: 2px;
    font-family: monospace;
    margin-left: 10px;
    padding-left: 5px;
    max-width: 384px;
    width: 99%;
}

.box textarea {
    color: white;
    background-color: transparent;
    backdrop-filter: brightness(0.5);
    border: 1px white solid;
    border-radius: 2px;
    font-family: monospace;
    margin-left: 10px;
    padding-left: 5px;
    max-width: 384px;
    width: 99%;
    height: 100px;
    max-height: 150px;
}

/* Sidebar */

.sidebarflex {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}

/* Filler Box */

.fillerbox {
    border-style: solid;
    border-width: 1px;
    border-color: white;
    margin-bottom: 10px;
    background-image: url("assets/side.svg");
    height: 100%
}

/* Table */
table {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    border: white 1px dashed;
    font-family: monospace;
}

table th {
    border: white 1px solid;
    background-color: white;
    color: black;
}

table td {
    border: white 1px solid;
    color: white;
    padding: 2px;
    padding-right: 20px;
}

/* Featured People */
.featuredpeoplewrapper {
    display: grid;
    column-gap: 10px;
    row-gap: 10px;
    grid-template-columns: 192px auto;
    margin-bottom: 10px;
}

.featuredpeoplewrapper img {
    object-fit: scale-down;
    height: 192px;
    width: 192px;
    border-style: solid;
    border-color: white;
    border-width: 1px;
}

.featuredpeoplewrapper .box {
    margin-bottom: 0px;
}

/* Button Grid */
.buttongrid {
    display: flex;
    margin: 10px;
    font-weight: bold;
    font-size: large;
    font-family: monospace;
    gap: 10px;
}

/* Button Grid (Inline) */
.inline {
    display: flex;
    margin: 10px 0px 10px 0px;
    font-weight: bold;
    font-size: large;
    font-family: monospace;
    gap: 10px;
}

.boxmusicbg {
    position: absolute;
    background-size: cover;
    filter: brightness(50%) blur(5px); /* Dim and blur effect */
    z-index: -1;
    height: 100%;
    width: 100%;
    background-position: center;
    overflow: hidden;
}


.buttongrid a {
    flex: 1;
    text-align: center;
    align-items: center; /* uppie downie centering */
    justify-content: center; /* leftie rightie centering */
    background: transparent;
    backdrop-filter: brightness(125%);
    color: black;
    text-decoration: none;
    padding: 10px;
    border-style: solid;
    border-color: white;
    border-width: 1px;
}

.buttongrid a {
    backdrop-filter: brightness(150%);
}


.buttongrid a:hover {
    backdrop-filter: brightness(200%);
}

.buttongrid .inline a:hover {
    backdrop-filter: brightness(150%);
}

.buttongrid a:hover {
    letter-spacing: 2px;
}

/* Image Grid */
.imagegrid {
    display: grid;
    column-gap: 10px;
    align-items: center;
    justify-self: right;
    row-gap: 10px;
    grid-template-columns: repeat(auto-fill, 120px); /* Fixed width */
}

.imagegrid img {
    display: grid;
    justify-self: right;
    justify-content: center;
    height: 120px;
    flex: 1;
    background:white;
    text-decoration: none;
    border-style: solid;
    border-color: white;
    border-width: 1px;
}

/* Banners Flexbox */
#bannerflexbox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

/* LARGER SCREEN TWEAKS */
@media screen and (min-width: 3000px) {

    :root {
        --body-margin: 40%;
    }
}

@media screen and (min-width: 2000px) {

    :root {
        --body-margin: 30%;
    }
}

@media screen and (min-width: 1700px) {

    :root {
        --body-margin: 20%;
    }
}

/* SMALLER SCREEN TWEAKS */
@media screen and (max-width: 1600px) {

    :root {
        --body-margin: 9%;
    }
}

/* 1280px */
@media screen and (max-width: 1280px) {

    :root {
        --body-margin: 3%;
    }

    .bodywrapper {
        grid-template-columns: 14% auto;
    }
}

/* 1100px */
@media screen and (max-width: 1100px) {
    :root {
        --body-margin: 2%;
    }
}

/* 950px - complete switch to mobile */
@media screen and (max-width: 950px) {

    :root {
        --body-margin: 2%;
    }

    .bodywrapper {
        column-gap: 5px;
        /* nuke the two column layout */
        grid-template-columns: auto;
    }

    /* make hero margin non-existant */
    .hero {
        margin-top: 0px;
    }

    /* make music and filler dissapear, they're not necessary for site to function */
    .fillerbox {
        display: none;
    }

    #banners {
        display: none;
    }

    #music {
        display: none;
    }

    /* also nuke the margin that's there in the body for some reason, other than the top one, just to maintain the centeredness of it */

    body {
        margin: 0px;
        margin-top: 3px;
    }

    /* make the margin off the boxes smaller to make it consistent */

    .box {
        margin-bottom: 5px;
    }

    /* reduce size of box headings */

    .box h1 {
        font-size: x-large;
    }

    /* make featured people smoller */

    .featuredpeoplewrapper img {
        height: 64px;
        width: 64px;
    }

    /* make featured people layout smoller too */

    .featuredpeoplewrapper {
        column-gap: 5px;
        row-gap: 5px;
        grid-template-columns: 64px auto;
    }

    #splashquote {
        display: none
    }

    #footer {
        grid-template-columns: auto auto;
    }
}

/* 600px */
@media screen and (max-width: 600px) {
        /* reduce size of box headings */

        .box h1 {
            font-size: large;
        }

        /* make featured people even smoller */

        .featuredpeoplewrapper img {
            height: 39px;
            width: 39px;
        }

        /* make featured people layout even smoller */

        .featuredpeoplewrapper {
            column-gap: 5px;
            row-gap: 5px;
            grid-template-columns: 39px auto;
        }

        .box h1 {
        letter-spacing: -1.15px;
        }

        .box p {
            letter-spacing: -1px;
            }
}

/* 450px */
@media screen and (max-width: 420px) {
    /* reduce size of box headings */

    .box h1 {
        font-size: medium;
    }

    /* make featured people smoller */

    .featuredpeoplewrapper img {
        height: 36px;
        width: 36px;
    }

    /* make featured people layout smoller too */

    .featuredpeoplewrapper {
        column-gap: 5px;
        row-gap: 5px;
        grid-template-columns: 36px auto;
    }
}