:root {
    --black: #121212;
    --black2: #1A1A1A;
    --white: #EAEAEA;
    --white2: #F5F5F5;
    --red: #B22222;
    --red2: #C1272D;
    --gray: #666666;
    --gray2: #777777;
    --lightgray: #CCCCCC;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scrollbar-color: var(--red) var(--black);
    scrollbar-width: thin;
}

body {
    background-color: var(--black);
    background-image: url('/bg/redskulls.jpg');
    font-family: "MS PGothic", "Hiragino Kaku Gothic Pro", "M PLUS 1p", sans-serif;
}

.container {
    max-width: 1000px;
    margin: 10px auto;
}

h1, h2, h3 {
    font-weight: bold;
    margin-block: 10px;
    line-height: normal;
}

p {
    margin-block: 8px;
    line-height: normal;
}

ul {
    line-height: normal;
}

/* The logo and sub container */
.site-title {
    display: flex;
    flex-direction: column;
}

/* .title and header decoration container */
.head-top {
    display: inline-flex;
    justify-content: space-between;
}

/* "Logo" styling */
.headername {
    color: var(--red);
    background-color: var(--black2);
    font-size: 1.563rem;
    text-transform: uppercase;
    display: inline-block;
    padding: 8px;
    border-radius: 1px;
    border: var(--red2) solid 1px;
    margin-left: 15px;
}

.headername a {
    color: inherit;
    text-decoration: none;
}

/* Version styling */
.headsub {
    background-color: var(--gray2);
    color: var(--black);
    font-size: 0.6875rem;
    font-weight: bold;
    display: inline-block;
    padding: 3px;
    border-radius: 1px;
    width: min-content;
    margin-top: -9px;
    margin-left: 19px;
}

.headername {
    margin-block: 0;
}

nav {
    float: right;
}

nav a {
    color: var(--white);
    background-color: var(--black2);
    display: block;
    padding: 5px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.938rem;
    transition: 0.1s ease-in;
}

nav a:hover {
    color: var(--red2);
    background-color: var(--lightgray);
    font-weight: bold;
    transition: 0.1s ease-out;
}

nav ul {
    display: grid;
    grid-template-columns: repeat(3, 150px);
    grid-template-rows: repeat(2, auto);
    padding: 0;
    margin-block: 0;
    justify-content: center;
    gap: 5px;
}

nav li {
    list-style-type: none;
}

header {
    border-bottom: var(--gray2) 1px solid;
}

.boxes {
    display: inline-flex;
    justify-content: space-around;
    margin-block: 5px;
    gap: 15px;
    font-size: 0.875rem;
    color: var(--white);
}

.leftside, .mid, .rightside {
    display: block;
}

.leftside {
    max-width: 46%;
}

.mid {
    max-width: 30%;
}

.rightside {
    max-width: 24%;
}

.blurb-head {
    font-size: 0.938rem;
    margin-block: 2px;
    background-color: var(--red);
    color: var(--lightgray);
    padding: 5px;
    border-radius: 0 100% 0 0;
}

.inner {
    background-color: var(--black2);
    padding: 13px;
    font-size: 0.813rem;
    border: var(--red) 1px dashed;
}

h3 {
    font-size: 0.938rem;
}

.interest {
    text-transform: uppercase;
    font-weight: bold;
}

.right-top {
    text-align: center;
}

.left-top, .left-b, .mid-top, .mid-b, .right-top, .right-b {
    margin-block: 15px;
}

.left-top .inner {
    overflow-x: auto;
    height: 380px;
}

.left-b {
    text-align: center;
}

.mid-top .inner {
    overflow-x: auto;
    height: 430px;
}

.mid-top ul {
    padding-left: 25px;
    list-style-type: square;
}

.bio-sides {
    display: flex;
    gap: 10px;
    font-size: small;
}

#statuscafe {
    margin-bottom: 3px;
}

#statuscafe-username {
    margin-bottom: 1px;
}

#statuscafe-username a {
    color: var(--lightgray);
    font-weight: bold;
    text-decoration: none;
    background-color: var(--gray);
}

#statuscafe-content {
    margin: 1px;
}

#imood {
    margin-block: 3px;
}

#lastfm a {
    color: var(--white);
    text-decoration: none;
    text-align: center;
}

#lastfm p {
    margin: 2px;
}

.right-b a {
    color: var(--lightgray);
    transition: 0.1s ease-in;
}

.right-b a:hover {
    color: var(--white);
    background-color: var(--red2);
    text-decoration: none;
    transition: 0.1s ease-out;
}

footer {
    background: var(--black2);
    color: var(--white);
    padding: 0.5px;
    text-align: center;
    font-size: 0.6875rem;
    border-block: var(--gray) 1px dotted;
    margin-top: 5px;
}

footer p {
    margin: 2px;
}

footer a {
    color: var(--lightgray);
    text-decoration: underline dotted;
}

.bio-left {
    position: relative;
}

#tooltip {
    position: fixed;
    height: fit-content;
    width: fit-content;
    background-color: var(--gray);
    padding: 3px;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    font-size: smaller;
    display: none;
}

.bio-left:hover #tooltip {
    display: block;
}