* { cursor: url('../img/x24_cursor.cur'), auto; }
/* a { cursor: url('../img/pointer.cur'), pointer; } */

body {
  background-color: #000000;
  /* background-image: url('../img/main_background.jpg'); */
  /* background-repeat: repeat; */
  overflow: hidden; /* hides the +40% stuff, disabling the scrollbar */
  margin: 0;
  font-family: 'JetbrainsMono';

  /* grid stuff */
  display: grid;
  grid-template:auto auto auto / 1fr 120px 800px 1fr; /* rows / columns */
  column-gap: 10px;
  row-gap: 10px;
  align-items: start; /* makes the items not stretch the same */
}

pre {
  font-family: monospace;
  /* color: #fff; */
}

.header {
  /* width: 800px; */
  /* margin: 0 auto;  */
  margin-top: 70px;
  background-color: rgba(0,0,0,0.85);
  /* color: #c278dd; */
  border: 2px dashed #fff;
  padding: 20px;
  grid-column: 3;
  grid-row: 3;
}

.content {
  /* width: 800px; */
  /* margin: 0 auto;  */
  margin-top: 4vh;
  background-color: rgba(0,0,0,0.85);
  color: #c278dd;
  border: 2px dashed #fff;
  padding: 20px;
  overflow-y: auto;    /* scrolls vertically when content overflows */
  max-height: 40vh;    /* needs a height limit, otherwise it just expands forever */
  grid-column: 3;
  grid-row: 1;
}

.sidebar {
  /* width: 100px; */
  /* margin: 0 auto; */
  margin-top: 4vh;
  background-color: rgba(0,0,0,0.85);
  color: #c278dd;
  border: 2px dashed #fff;
  padding: 20px;
  overflow-y: auto;    /* scrolls vertically when content overflows */
  max-height: 70vh;    /* needs a height limit, otherwise it just expands forever */
  grid-column: 2;
  grid-row: 1;
}

.links_content {
  /* width: 800px; */
  /* margin: 0 auto;  */
  /* margin-top: 3vh; */
  background-color: rgba(0,0,0,0.85);
  color: #c278dd;
  border: 2px dashed #fff;
  padding: 20px;
  overflow-y: auto;    /* scrolls vertically when content overflows */
  max-height: 70vh;    /* needs a height limit, otherwise it just expands forever */
  grid-column: 3;
  grid-row: 2;
}


.content ::selection {
  background-color: #e079db;
  color: #000000;
}
.sidebar ::selection {
  background-color: #e079db;
  color: #000000;
}
.links_content ::selection {
  background-color: #e079db;
  color: #000000;
}
.header ::selection {
  background-color: #e079db;
  color: #000000;
}

/* Hyperlink texts */
a:link    { color: #c278dd; }  /* unvisited */
a:visited { color: #c278dd; }  /* after clicking */
a:hover   { color: #7300ff; }  /* mouse over */
a:active  { color: #c278dd; }  /* while clicking */

.links-header {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.links-header hr {
  flex: 1; /* this makes the line stretch to fill remaining space */
  border: none;
  border-top: 1px solid #fff;
}

#matrix {
  position: fixed;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  z-index: -1;
}

#shader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0.06;
  pointer-events: none; /* so clicks pass through to your content */
}

@font-face {
  font-family: 'Minecraft';
  src: url('../fonts/standard-galactic.ttf');
}

@font-face {
  font-family: 'JetbrainsMono';
  src: url('../fonts/JetBrainsMono-VariableFont_wght.ttf');
}