:root {
   --red_wire: #ff6e6e;
   --green_wire: #6be28d;
   --yellow_wire: #fbdda7; 
   --blue_wire: #b3e3f2; 
   --white_wire: #ffffff;
   --foreground: #9aa4ca;
   --background: #1f1f39;
}

body {
    color: var(--white_wire); 
    background-color: var(--background); 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 16px; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    background-color: var(--background); 
    padding: 10px 0; 
    border-bottom: 2px solid var(--foreground); 
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

nav ul {
    list-style-type: none; 
    display: flex; 
    justify-content: center; 
}

nav ul li {
    margin: 0 20px; 
}

nav ul li .site-name {
    font-size: 18px;
    color: var(--yellow_wire);
    font-weight: bold;
}

nav ul li a.nav-home {
    color: var(--white_wire); 
}

nav ul li a.nav-projects {
    color: var(--red_wire); 
}

nav ul li a.nav-bookshelf {
    color: var(--green_wire); 
}

nav ul li a.nav-media {
    color: var(--blue_wire); 
}

nav ul li a.nav-home::before,
nav ul li a.nav-projects::before,
nav ul li a.nav-media::before,
nav ul li a.nav-bookshelf::before {
    content: '[';
    color: #9aa4ca; 
}

nav ul li a.nav-home::after,
nav ul li a.nav-projects::after,
nav ul li a.nav-media::after,
nav ul li a.nav-bookshelf::after {
    content: ']';
    color: #9aa4ca;
}

nav ul li a {
    color: var(--white_wire); 
    text-decoration: none; 
    font-size: 18px; 
}

nav ul li a:hover {
    color: var(--foreground); 
}

pre {
    margin: 0 auto;
    margin-top: 50px;
    display: block;
    width: fit-content; 
    font-family: 'JetBrains Mono', monospace; 
    color: var(--foreground); 
    background-color: var(--background);
}

ul {
    list-style-type: none;
    padding-left: 0; 
    margin-left: 0;  
}

li:not(nav li) {
    width: 500px;
    display: flex; 
    align-items: center; 
    margin-bottom: 10px; 
}

li img {
    margin-right: 10px;
    height: auto;
    object-fit: cover;
}

img[src*="project_art"] {
    width: 72px;
    height: 72px;
    border: 2px solid var(--blue_wire);
}

.text-container {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: flex-start;
}

.title, .author, .year {
    margin: 0;
    margin-bottom: 0px;
}

.colored-line {
    border: none; 
    background-color: var(--foreground);
    height: 2px; 
    margin: 0px 0; 
    width: 100%;
}

.center-content {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    margin-top: 50px; 
}

.title {
    color: var(--yellow_wire)
}

.author {
    color: var(--green_wire);
    white-space: nowrap;
}

.punctuation {
    color: var(--blue_wire)
}

.year {
    color: var(--red_wire)
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-size: 16px;
}
