body {
  background-image: url("../assets/bg.gif");
  background-color: #5182ff;
  background-size: 100px;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  background-position: top;
  font-size: 40px;
  font-family: "Times New Roman", Times, serif;
  color: white;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
  font-smooth: never;
  width: 100%;
  box-sizing: border-box;
}
html {
  min-height: 100%;
}
* {
  cursor: url("mouse.png"), auto;
}
a, button, input, select, textarea, label, [onclick], a img {
  cursor: url("mouth.png"), pointer;
}
p {
  line-height: 0.6em; 
}
#layout {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  width: 900px;
  max-width: 900px;
  margin: 3em auto;
  flex-grow: 1;
  justify-content: center;
}
#sidebar-image {
  flex-shrink: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(10px 10px 0px #00008b80);
}
#main {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  min-width: 0;
}
#top-bar {
  background-color: #e35100;
  border: 1px solid #2000b2;
  border-bottom: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  box-sizing: border-box;
}
#container-wrap {
  position: relative;
  filter: drop-shadow(13px 16px 0px #00008b80);
}
#border-buttons {
  position: absolute;
  top: -23px;
  right: 10px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  pointer-events: all;
}
#border-buttons a {
  display: block;
}
#border-buttons img {
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  display: block;
  width: 25px;
  -webkit-user-drag: none;
  user-select: none;
}
#border-title {
  position: absolute;
  top: -28px;
  left: 6px;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 10;
  color: white;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.8em;
  pointer-events: none;
}
#logo {
  width: 261px;
  display: block;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
  margin-top: 10px;
  margin-left: -22px;
}
#container {
  flex-grow: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  background-color: #4141ff;
  color: white;
  border-width: 40px;
  border-style: solid;
  border-image-slice: 78 78 78 78;
  border-image-outset: 0px;
  border-image-repeat: repeat repeat;
  border-image-source: url("border.png");
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  border-image-width: 160px; 
}
#content {
  display: flex;
  align-items: flex-start;
  gap: 1em;
}
#portfolio {
  flex-shrink: 0;
  margin-left: auto;
  text-align: right;
}
.portfolio-header {
  font-size: 1em;
  text-decoration: underline;
  font-weight: bold;
  margin-bottom: 8px;
  color: #a2baff;
}
.portfolio-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 6px;
}
.portfolio-item a {
  color: white;
  text-decoration: none;
  font-size: 26px;
}
.portfolio-item a:hover {
  text-decoration: underline;
}
.portfolio-icon {
  width: 48px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  -webkit-user-drag: none;
  user-select: none;
}
#header, #footer {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background-color: #2000b2;
  color: white;
  padding: 1em;
  border-top: 8px groove #e35100;
  border-bottom: 8px ridge #e35100;
  box-sizing: border-box;
}
#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#header h1 {
  margin: 0;
  font-size: 1.5em;
}
#header nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.5em;
}
#header nav a:hover {
  text-decoration: underline;
}
#header-portfolio {
  display: flex;
  align-items: center;
  gap: 0;
}
#header-portfolio a {
  display: block;
  line-height: 0;
  margin-right: -30px;
}
.header-portfolio-icon {
  width: 48px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  position: relative;
}
.header-portfolio-icon[alt="Games"],
.header-portfolio-icon[alt="Fine Art"],
.header-portfolio-icon[alt="Pixel Art"] {
  top: -5px;
}
.header-portfolio-icon[alt="Comics"],
.header-portfolio-icon[alt="Video"],
.header-portfolio-icon[alt="Miscellaneous"] {
  top: 5px;
}
#footer {
  text-align: center;
  font-size: 0.85em;
}
#border-buttons a:hover img[alt="Discord"] { content: url("discord_button_pressed.png"); }
#border-buttons a:hover img[alt="Itch.io"] { content: url("itch_button_pressed.png"); }
#border-buttons a:hover img[alt="Instagram"] { content: url("instagram_button_pressed.png"); }
#border-buttons a:hover img[alt="Twitter"] { content: url("twitter_button_pressed.png"); }
 
#left-col {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
#links {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.links-header {
  font-size: 1em;
  text-decoration: underline;
  font-weight: bold;
  color: #a2baff;
  margin-top: 8px;
}
.links-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.links-item a {
  color: white;
  text-decoration: none;
  font-size: 26px;
}
.links-item a:hover {
  text-decoration: underline;
}
.links-icon {
  width: 48px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  -webkit-user-drag: none;
  user-select: none;
}
 