    /* ----- FONTS ----- */
@import url(/fonts.css);

    /* ----- COLORS ----- */
:root{
    --bg: #121212;
    --text: rgb(255, 0, 0);
    --second: #1a1a1a;
    --link: red;
    --linkhover: #af0000;
}

    /* got this from https://codepen.io/stephenpaton-tech/full/JjRvGmY */
    /* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--text) transparent;
}
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 16px;
}
*::-webkit-scrollbar-track {
    background: transparent;
}
*::-webkit-scrollbar-thumb {
    background-color: var(--text);
    border-radius: 10px;
    border: 3px none #121212;
}

/* THIS SHIT STOPS THE SCROLLBAR FROM MESSING WITH THE WIDTH OF THE PAGE */
html {
    scrollbar-gutter: stable;
}
    /* ----- STRUCTURE ----- */
body {
    /* remove margin */
    margin: 0px;
    color: var(--text);
    /* set bg color */
    background-color: #121212;
    min-height: 100vh;
    /* set default font */
    font-family: "Helvetica";
    font-weight: 500;
}

#wrapper {
    /* general purpose wrapper for vertical scrolling */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: auto;
    width: 700px;
    box-sizing: border-box;
    min-height: 100vh;
}

#app {
    min-height: 100vh;
}

    /* ----- HEADER ----- */
header {
    background-color: var(--bg);
}

#header-img {
    width: 100%;
}

    /* ----- NAV ----- */
nav {
    background-color: var(--second);
    font-family: "monofonto";
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

nav li {
    flex: 1;
}

nav li a {
    display: block;
    padding: 10px;
    color: var(--link);
    text-align: center;
    text-decoration: none;
}

nav li a:hover {
  color: var(--linkhover);
}

    /* ----- SIDEBAR ----- */
aside {
    margin-right: 10px;
    box-sizing: border-box;
    width: 190px;
}

    /* ------ FOOTER ----- */
footer {
    background-color: var(--second);
    width: 100%;
    font-family: "Helvetica";
    text-align: center;
    color: hsl(0, 0%, 20%);
    overflow: hidden;
    bottom: 0;
}

    /* ----- OTHER ----- */
/* link */
a {
    color: var(--link);
    transition: color 0.5s;
}

a:hover {
    color: var(--linkhover);
}

main h1, main h2, main h3, main h4, main h5, main h6 {
    margin: 0 0 8px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px solid var(--text);
    padding-bottom: 4px;
    font-size: 1.1rem;
}

.container h2,
.adaptcontainer h2 {
    font-size: 1rem;
    margin: 0 0 10px;
}

main p {
    margin: 0 0 12px;
}

    /* ----- CLASSES AND CONTENT MAIN ----- */
main {
    flex-grow: 1;
}

.container {
    width: 100%;
    padding: 10px;
    background-color: var(--second);
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.scroller {
    --height: 200px;
    height: var(--height);
    overflow-y: scroll;
}
.adaptcontainer{
    padding: 10px;
    background-color: var(--second);
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.horizontal {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
}

.horizontal img {
    display: block;
}

.embed {
    width: 100%;
}

/* ----- SHELF ----- */
.shelf {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: center;
    margin-bottom: 1.2em; /* space for the text */
}

/* games page */

.games img {
    display: block;
    width: 300px;
    height: auto;
    object-fit: contain;
}

/* anime page */

#anime img {
    display: block;
    width: 160px;
    height: auto;
    object-fit: contain;
}

/* music page */

#albums img {
    display: block;
    height: 200px;
    width: 200px;
}

/* Ads */
.ad a {
    display: block;
    padding: 0;
    margin: 0;
}

.ad a img {
    display: block;
    width: 100%;
}

.rimg {
    width: 100%;
}