@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');
/* Base styles */
body {
  /* font-family: "Roboto Mono", monospace; */
  /* font-family: "MS PGothic", monospace; */
  font-family: 'IBM Plex Mono', monospace;

  font-optical-sizing: auto;
  /* font-weight: 600; */
  font-style: normal;
  /* background-color: #cee3bb; */
  background-color: whitesmoke;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: auto;
  padding-bottom: 100px;
  padding: 20px;
  font-size: large;
}

a:link {
  color: #2b3424;
  font-weight: bold;
}

/* Headings */
h1,
h2,
h3 {
  /* font-weight: 800; */
  font-weight: bold;
  margin: 0.5em 0;
  font-size: x-large;
  /* background-image: linear-gradient(to right, #a3b890, transparent 90%); */
  background-image: linear-gradient(to right, #c5d9d7, transparent 50%);
  border-radius: 5px;
  padding-left: 10px;

}

/* Header */
header {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 40px;
  /* background-color: #c6def1; */
  border-radius: 7.5px;
  /* padding: 20px; */
}
header h1 {
  font-size: xx-large;
  background-image: none;
  font-family: "MS PGothic", monospace;
}

#nav ul {
  padding: 0;
  margin: 0;
}

#nav li {
  padding-bottom: 10px;
}

/* Hero */
#hero {
  text-align: center;
}

/* Main content layout */
#main-content {
  display: flex;
  justify-content: space-evenly;
  /* margin-top: 30px; */
  /* margin: 20px 30px 20px 0px;  */
}

/* Profile section */
#profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background-color: #c6def1; */
  border-radius: 10px;
  padding-right: 20px;
  gap: 15px;
}

#headshot img {
  width: 100px;
  height: 100px;
  border-radius: 10%; /* circular thumbnail */
}

#socials ul {
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Containers for About, Projects, Writing */
.container {
  padding: 20px;
  margin-top: 30px;
}

#about {
  padding-top: 0;
  padding-right: 0;
  margin-top: 0;
}

.container h3 {
  /* text-align: center; */
}

.container li {
  margin-bottom: 10px;
}
.container a {
  font-weight: bold;
}

.itch-embed {
  display: flex;
  justify-content: center;
}

footer {
  margin-bottom: 40px;
}

/* Cursor animation */
.cursor {
  display: inline-block;
  width: 0.6ch;
  height: 1.2em;
  background: currentColor;
  margin-left: 4px;
  vertical-align: bottom;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media screen and (max-width: 768px) {
  #main-content {
    flex-direction: column;
    align-items: center; /* center children */
  }

  #profile {
    order: -1; /* ensure profile shows above About */
    margin-bottom: 20px;
  }

  #about {
    padding-top: 20px;
  }
}
.button-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
}

.button-bar img {
  width: 88px;
  height: 31px;
  image-rendering: pixelated; /* keeps retro sharpness */
}
