@import url('https://fonts.googleapis.com/css2?family=Fragment+Mono:ital@0;1&display=swap');

:root {
  --bg:rgba(16, 48, 80, 1);
  --bgbox: rgba(16, 48, 80, 0.5);
  --bg-old: #103050;
  --default-content: 'Fragment Mono', 'Courier New', monospace;
  --border-colour: rgba(255, 255, 255, 0.8);
  --transition: 0.2s ease;
}

body {
    background-color: var(--bg);
    background-image: url('/media/bg.png');
    font-family: var(--default-content);
    color: white;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/*-------------------- MAIN SHIT --------------------- */

.container {
    width: 100%;
    max-width: 800px;
    border: 1px solid white;
    gap: 10px;
    background-color: var(--bgbox);
}

header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid white;
    background-color: transparent;
}

header h1 {
    font-size: 3rem;
    font-style: italic;
}

nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid white;
}

nav a {
    flex: 1;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: white;
    border-right: 1px solid white;
    font-size: 12px;
}

nav a:last-child {
    border-right: none;
}

nav a:hover {
    background-color: white;
    color: var(--bg);
}

.main-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 400px;
}

aside {
    border-right: 1px solid white;
}

main {
    text-align: center;
}

hr {
  max-width: 75%;
}

/*-------------------- TEXT --------------------- */

h2 {
    display: block;
    background-color: white;
    color: var(--bg);
    width: 100%;
    margin: 0;
    padding: 10px 0;
    text-transform: lowercase;
    font-size: 1.1rem;
    text-align: center;
}

p {
    line-height: 1.5;
}

a.hlink {
  background-color: white;
  color: var(--bg);
  text-decoration: underline;
}

footer {
    text-align: center; 
    padding: 20px; 
    font-size: 0.8rem;
    border-top: 1px solid white;
}

/*-------------------- MEDIA QUERIES --------------------- */

@media (max-width: 600px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    aside {
        border-right: none;
        border-bottom: 1px solid white;
    }
}

/* -------------------- MODES --------------------- */

#active {
  background-color: white;
  color: var(--bg);
  text-decoration: underline;
}