* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  object-fit: contain;
}

:root {
  --font-size: 19px;
  color: inherit;
  --dynamic-color: rgb(110, 127, 127);
  --background-color: rgb(255, 255, 255);

  /* Mobile adjustments */
  --mobile-font-size: 14px;
}
::selection {
  background-color: var(--dynamic-color);
}
@keyframes loading {
  0% {
    background-color: var(--dynamic-color);
  }
  95% {
    background-color: var(--dynamic-color);
  }
  100% {
    background-color: var(--background-color);
  }
}

body {
  padding: 2rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: var(--font-size);
  background-color: var(--background-color);
  color: var(--dynamic-color);

  max-width: 1000px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
  display: inline;
  /* position: relative; */
  /* width: fit-content; */
}

a::after {
  content: "\279A";
  display: inline;
  font-size: 0.5em;
  font-weight: 700;
  vertical-align: 70%;
  margin-left: 2px;
}

body:has(a:hover) {
  background-color: var(--dynamic-color);
}
article:has(a:hover) {
  color: var(--background-color);
}

/* header {
  h4 {
    margin-bottom: 1rem;
  }
} */
header > * {
  width: fit-content;
  height: fit-content;
  animation: loading 0.7s linear;
}

main.project-list {
  margin-top: 2rem;
  /* border: 1px solid salmon; */
}

article.project-info {
  margin: calc(1rem - 1px) 0;
  display: flex;
  flex-wrap: wrap;
  /* display: grid;
  grid-template-columns: 1fr 4fr 2fr 4fr; */
  column-gap: 1rem;
  justify-content: space-between;
  /* column-gap: 0.5rem; */
  box-sizing: content-box;
  border-bottom: 1px transparent solid;
  * {
    animation: loading 0.7s linear;
  }
  &:hover {
    border-bottom: 1px var(--dynamic-color) solid;
  }
}
