/* global */
html, body {
  height: 100%;
   overflow: hidden;
}

body {
  color: rgb(220, 220, 220);
  font-family: 'Cascadia Mono', monospace;
  font-size: 20px;
  margin: 0;
  padding: 5px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#headertext {
  font-size: 32px;
}
.nav-link {
  color: inherit;
  text-decoration: underline;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* index */
#terminal {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 20px;
  z-index: 1;
}

#balls {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

#balls > * {
  margin: .1em;
  padding: 4px;
  opacity: 0;
  animation: fadeDown 2s ease-out forwards;
}

/* set by js when returning to a previously opened page so that the animation doesn't keep repeating itself while traversing through pages; resets upon reload */
#balls.no-fade > * {
  opacity: 1;
  animation: none;
}

#balls a pre {
  margin: 0;
  padding: 0;
}
/* bunch of bullshit just so the cursor looks somewhat normal. lmao */

.cursor {
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 1px;
  vertical-align: text-bottom;
  border-right: 2px solid white;
  animation: blink .75s step-end infinite;
}

.cursor.hidden {
  display: none;
}

/* intro (i think the quote styling can be used for this instead but whatever) */
#meow {
  font-style: italic;
}

/* about me */
.title {
    font-size: 25px;
    text-decoration: underline;
}

.list {
  font-size: 10px;
  padding-left: 50px;
}

/* friends. reused from first iteration of the site but i'm too lazy to adjust the names every time they change. plus its funny */
.quote {
  font-size: 15px;
  font-style: italic;
}

#virgil {
    font-size: 20px;
    text-align: center;
    color: #32cd32
}
#fy {
    font-size: 20px;
    text-align: center;
    color: #fc6060
}

#gorp {
    font-size: 20px;
    text-align: center;
    color: #6d0d65
}
/* those who know */
#tonk {
    font-size: 20px;
    text-align: center;
    color: #7d00ab;
}
.title2 {
    font-size: 20px;
    text-decoration: underline;
}
.resize {
    width: 80%;
    border-radius: 7px;
      image-rendering: pixelated;
  display: block;
    box-shadow: 4px 4px 8px 2px rgba(0, 0, 0, 0.3);
}
.resize2 {
    width: 50%;
    border-radius: 7px;
      image-rendering: pixelated;
  display: block;
    box-shadow: 4px 4px 8px 2px rgba(0, 0, 0, 0.3);
}

/* i stole this from xdarked i'm not even gonna lie */
.buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
  font-size: 0;
  align-items: flex-start;
}
.buttons-grid a {
  display: flex;
  line-height: 0;
  margin-right: 0;
  padding: 0;
}
.buttons-grid img {
  image-rendering: pixelated;
  display: block;
  box-shadow: 4px 4px 8px 2px rgba(0, 0, 0, 0.3);
}

/* socials */
/* same as friends, i don't care enough to make the names accurate to what's on there now */
#twitter {
    color: #1da1f2;
    text-decoration: none;
}

#youtube {
    color: #ff0000;
    text-decoration: none;
}

#steam {
    color: #777777;
    text-decoration: none;
}

#noun {
    color: #b33599;
    text-decoration: none;
}

#lastfm {
    color: #d51007;
    text-decoration: none;
}

/* pc specs page */
#balls.specs-page {
  width: min(1000px, 92vw);
}

.divider {
    align-self: stretch;
    border-top: 3px dashed rgb(220, 220, 220);
    margin: 14px 0;
}

.specs-row {
    align-self: stretch;
    display: flex;
}

.spec-box {
    flex: 1;
    padding: 8px 24px;
    text-align: left;
}

.spec-box pre {
    margin: 0.1em 0;
}

.spec-box.left {
    border-right: 3px dashed rgb(220, 220, 220);
}

.placeholder {
    font-style: italic;
    opacity: 0.6;
}

/* unused? */
#lmao {
    font-size: 15px;
    font-style: italic;
}
#discord {
    color: #7289da;
    text-decoration: none;
}

#bsky {
    color: #76baff;
    text-decoration: none;
}