@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Variable Font */
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

html {
  background-color: black;
  scroll-behavior: smooth;
}

* {
  font-family: "Space Grotesk" !important;
  font-weight: 400 !important;
}

a {
  color: #990061 !important;
  font-weight: unset !important;
  text-decoration: none !important;
}

a:hover {
  text-decoration: none;
  color: black !important;
  background-color: #990061 !important;
}

::selection {
  color: black;
  background-color: #096;
}

:focus-visible {
  outline: 2px solid #096;
  outline-offset: 3px;
}

.skip-link {
  background: #990061 !important;
  color: black !important;
  padding: 0.4em 1em !important;
}

header ul a:first-child {
  padding-left: 0px !important;
}

blockquote {
  font-style: italic !important;
  color: #0062d0 !important;
}

h1 {
  font-size: 1.5em !important;
  font-weight: bold !important;
}

h2 {
  font-size: 1.25em !important;
  font-weight: bold !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  background-color: #096;
  color: black !important;
  border-top-right-radius: 2em !important;
  padding-left: 0.5em !important;
}

.post {
  font-size: 2em !important;
  background-color: #d07900 !important;
  color: black !important;
  padding: 0.5em;
  font-weight: bold !important;
  border-top-right-radius: 2em !important;
}

/* Improved readability for post body */
.content p {
  line-height: 1.75;
  margin-bottom: 0.9em;
}

.content li {
  line-height: 1.65;
}

code {
  font-size: 1em !important;
}

pre {
  padding: 0.75rem 1rem !important;
}

li {
  padding-bottom: 0.5em !important;
}

code,
pre {
  overflow: auto !important;
  text-wrap: wrap;
}

@media (min-width: 768px) {
  .button-hype {
    padding: 0.25em 0.75em;
  }
  code,
  pre {
    overflow: auto;
    text-wrap: wrap;
  }
}

/* hype button */
.button-hype {
  font-size: 0.5em;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  border: 3px solid;
  padding: 0.25em 0.5em !important;
  box-shadow:
    1px 1px 0px 0px,
    2px 2px 0px 0px,
    3px 3px 0px 0px,
    4px 4px 0px 0px,
    5px 5px 0px 0px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  background-color: black;
  color: #096;
  float: right !important;
}

.button-hype:active {
  box-shadow: 0px 0px 0px 0px;
  top: 5px;
  left: 5px;
}

.hype-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row-reverse;
}

.hr-list {
  flex-grow: 1;
  border: none;
  height: 2px;
  border-style: solid !important;
  border-color: #096 !important;
  border-width: 0.1px !important;
}

.hash {
  color: unset !important;
}

.main-links {
  color: #d07900 !important;
}

.main-links:hover {
  background-color: #d07900 !important;
  color: black !important;
}

.title-link {
  background-color: #990061 !important;
  color: black !important;
  border-top-right-radius: 2em !important;
  padding-left: 0.5em !important;
  padding-top: 0.5em !important;
  padding-bottom: 0.5em !important;
  padding-right: 2em !important;
  font-weight: bold !important;
}

.about-link {
  color: gray !important;
  font-family: monospace !important;
}

.about-link:hover {
  color: black !important;
  background-color: gray !important;
}
