/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap');

/* Start light mode styling */
:root {
    --text: rgb(235, 240, 244);
    --alttext: rgb(229, 234, 237);
    --border: #797979;
    --border2: rgb(88, 95, 97);
    --accent: #585c5c;
    
    --bg: rgb(51, 51, 53);
    --bgtrans: rgba(51, 51, 53, 0.5);
    --mainbg: rgb(46, 46, 49);
    --boxbg: rgb(235, 241, 243);
}

header {
    background: url(banner.png);
}

* { 
    box-sizing: border-box;
}

body {
    padding: 10px;
    font-family: 'IBM Plex Mono', monospace;
    color: var(--text);
    font-size: 1.1rem;
    background-color: var(--mainbg);
    background-image: url('graph_bg.png');
    background-repeat: repeat;
}

.container {
    max-width: 60rem;
    margin: 2vw auto 12px auto;
    outline-offset: 4px;
    border-radius: 1px;
    display: flex;
    flex-wrap: wrap;
    padding: 7px;
    gap: 15px;
    color: var(--text);
    
}

/* Column widths */
.small { flex: 1 1 9%; }
.large { flex: 1 1 82%; }
.full { flex: 1 1 100%; }
.half { flex: 1 1 49%; }
.third {flex: 1 1 30%; }

header {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 120px;
    border: 2px solid var(--border);
    border-radius: 1px;
    position: relative;
    
}

header span {
    font-size: 2.5rem;
    position: absolute;
    bottom: 15px;
    right: 10px;
    margin: 10px;
    font-weight: bold;
    color: var(--text);
    font-family: 'Cutive Mono', monospace;
    background-color: var(--bg);
    padding-left: 0.3em;
    padding-right: 0.3em;
}

header .subtitle {
    font-size: 1.2rem;
    position: absolute;
    bottom: -5px;
    right: 10px;
    margin: 10px;
    color: var(--alttext);
}

nav {
    border: none;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
    
}

nav a {
    flex: 1 1 auto;
    text-align: center;
    padding: 4px 12px;
    border-radius: 1px;
    text-decoration: none;
    border: 2px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    min-width: 120px;
}

nav a:hover, nav a:focus {
    background: var(--accent);
    border-color: var(--border2);
    color: var(--alttext);
}

nav a:active {
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.4);
}

gamenav {
    text-align: center;
    font-size: 1.5rem;
}

div.small > img {
    display: block;
    margin: 10px auto;
    border: 2px solid var(--border);
    border-radius: 1px;
}

section {
    border: 2px solid var(--border);
    border-radius: 1px;
    background: var(--bg);
    padding: 10px;
    margin-bottom: 15px;
}

.clickable {
    flex: 1 1 49%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: 1px;
    background: var(--bg);
    padding: 15px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease;
    
    
}

.clickable:hover {
    transform: scale(1.03);
    color: var(--text);
}

.clickable img {
    max-width: 100%;
    border-radius: 1px;
    border: 2px solid var(--border);
}

.clickable h1 {
    color: var(--text);
}

footer {
    color: var(--bg);
    text-align: center;
    margin-bottom: 8vw;
    font-size: 0.8rem;
    
}

h1, h2, h3, h4, h5, h6, p { 
    margin: 10px;
    line-height: 1.4;
    color: var(--text);
}

h1 { 
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: normal;
    text-align: center;
    border-bottom: 2px solid var(--border);
    padding-bottom: 5px;
    font-family: 'Share Tech Mono', monospace;
    color: var(--text);
}

h2 { 
    font-size: 1.4rem;
    font-weight: normal;
    text-align: center;
    color: var(--alttext);
    font-family: 'Share Tech Mono', monospace;
}

h3 {
    font-size: 1.4rem;
    text-align: center;
    font-family: 'Share Tech Mono', monospace;
    margin: 1px;
    padding-bottom: 1px;
}

h4, h5, h6 {
    font-size: 1rem;
    font-family: 'Share Tech Mono', monospace;
    font-weight: normal;
    text-align: center;
    margin: 1px;
    padding-bottom: 1px;
}

p {
    font-family: 'IBM Plex Mono', monospace;
    font-family: 'IBM Plex Mono', monospace;
    text-indent: 1.5em; /* Indents the first line */
    padding-left: 0.5em; /* Ensures all lines align with the indent */
}

img {
    border-radius: 1px;
    padding: 5px;
    border: 2px solid var(--border);
}

img { max-width: 100%; }
pre { overflow-x: auto; }



 /* Style the tab */
 .tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
  }
  