body {
  --link-colour: #0054ff;

  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

a {
  color: var(--link-colour);
  text-decoration: none;
}

h1 { 
  font-size: 3rem;
  font-weight: lighter;
  margin: 0 1rem 0.5rem 0;
  flex-grow: 0;
}

h2 {
  font-weight: lighter;
  margin: 0;
}

aside {
  display: flex;
  font-size: 1.5rem;
}

.container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  column-gap: 1.5rem;

  padding: 1rem;

  max-width: 50rem;
  margin: 0 auto;
}

.punc { font-size: 0;}

.portrait {
  max-width: min(100%, 18rem);
}

header {
  display: flex;
}

.bottom {
  align-self: flex-end;
}

.lockup {
  display: flex;
}

.stack {
  margin-bottom: 0.5rem;
  min-width: 8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-self: flex-end;
}

.lockup abbr {
  font-size: 1.6rem;
  text-decoration: none;
}

.stack {
  color: var(--link-colour);
}

ul {
  list-style-type: none;
  padding: 0 1rem 0 0;
}

li {
  margin: 0 0 1rem 0;
  display: flex;
  font-size: 90%;
}

.icon {
  font-size: 0;
  display: inline-block;
  height: 2.2rem;
  width: 2.2rem;
  background: url("images/social-icons.png");
  background-size: cover;
}

ul .icon {

  margin-right: 0.5rem;
  flex-shrink: 0;
}

li a {
  display: block;
  flex-grow: 1;
}

.itch {
  background-position: 0 0;
}

.gdse {
  background-position: 33% 0;
}

.bsky {
  background-position: 67% 0;
}

.ca {
  width: 2rem;
  height: 2rem;
  margin: -0.25em 0 0 0.7rem;
  background-position: 100% 0;
}

figure {
  margin: 0.5rem 0;
}

figure img {
  max-width: 100%;
}

abbr {
  cursor: help;
}

@media screen and (width < 50rem) {
  h1 {
      width: min-content;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  aside {
    font-size: 1.2rem;
  }
}

@media screen and (width < 35rem) {
  .container {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }


  .icon {
    width: 1.6rem;
    height: 1.6rem;
  }
}