
:root {
    --main-bg-color: #101010;
    --text-color: #aaa;
    --highlight-color: #ddd;
    --project-bg-color: #181818;
    --project-hover-bg-color: #282828;
    --contact-bg-color: rgba(34, 34, 34, 0.8);
    --email-color: #fff;
}
body {
    font-family: 'Courier New', monospace;
    margin: 0 1em;
    padding: 0;
    background-color: var(--main-bg-color);
    color: var(--text-color);
}
#container {
    padding: 20px;
    transition: opacity 0.5s;
}

h1 {
    color: var(--highlight-color);
    margin: 0.5em 0;
}

.noselect {
    user-select: none;
}
.project {
    padding: 0.5rem;
    border-left: 3px solid var(--highlight-color);
    background-color: var(--project-bg-color);
    margin: 0.5em 0;
    transition: background-color 0.3s;
}
.project:hover {
    background-color: var(--project-hover-bg-color);
}
.project:hover i {
    opacity: 1;
}
.project h2 {
    color: var(--highlight-color);
    position: relative;
    display: inline-block;
    margin-top: 0.25em;
    margin-bottom: 0.1em;
}
.project h2::after {
    content: '';
    color: var(--text-color);
    visibility: hidden;
}
.project:hover h2::after {
    content: '@epsilon.sh';
    visibility: visible;
    user-select: text;
}
.project i {
    display: block;
    opacity: 0;
    transition: opacity 1s;
}
.project i::after {
    content: '.';
}
.project p,ul {
    margin: 0 0.25em;
}
.project ul li:first-of-type h3 {
    margin-top: 0.25em;
}
.project ul li h3 {
    margin-bottom: 0.25em;
}
.contact {
    background-color: var(--contact-bg-color);
    padding: 10px;
    border-radius: 5px;
}
.contact a {
    color: var(--email-color);
    text-decoration: none;
}
.contact a:hover {
    text-decoration: underline;
}

/* For Conway stuff */
#arena {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.75;
    visibility: hidden;
}

#controls {
    visibility: hidden;
    position: fixed;
    padding-right: inherit;
    right: 1em;
    background-color: var(--hover);
    border-radius: 1em;
    flex-direction: column;
    z-index: 1;
  }
  
  #controls :not(:first-child) {
    margin-left: 0.5em;
  }