:root {
  --teal: #0e7c7b;
  --black: #111;
  --white: #fff;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 3rem;
  --space-5: 6rem;

  --font: "Space Grotesk", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.intro__icon {
  display: block;
  margin-inline: auto;
  background: transparent;
  object-fit: contain;
  mix-blend-mode: multiply;
}

body {
  /* base styles */
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.5;

  /* hexagon background */
  background-image: url('../images/hexbackground.png');
  background-repeat: repeat;

  /* sticky footer */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}

@media (max-width: 999px) {
  main {
    padding-inline: 20px;
    box-sizing: border-box;
  }

  .projects img {
    object-fit: contain;
    background: #fff;
  }

  div:has(> a > img[alt^="LinkedIn"]) {
    margin-inline: 16px;
    box-sizing: border-box;
  }
}