:root {
  color-scheme: light;
  font-family: "Courier New", Courier, monospace;
  color: #111;
  background: #fff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.page {
  width: min(100%, 47rem);
  padding: 2rem 2rem 4rem;
}

.header {
  display: flex;
  width: min(100%, 34.375rem);
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-bottom: 3.5rem;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 1rem;
  font-weight: 400;
}

h1 strong,
.contact {
  font-weight: 700;
}

.divider {
  margin-inline: 0.2em;
}

h2 {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
main:focus-visible {
  outline: 2px solid #111;
  outline-offset: 5px;
}

.contact {
  padding-block: 0.5rem;
}

.project + .project {
  margin-top: 3.75rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  padding: 0;
  margin: 0.15rem 0 0;
  list-style: none;
}

.project-links a {
  display: inline-block;
  padding-block: 0.5rem;
}

.project-description {
  margin-top: 0.4rem;
}

.project-image {
  display: block;
  max-width: 100%;
  margin-top: 1.5rem;
}

.project-image--baldiga,
.project-image--waerme {
  width: 34.375rem;
}

.project-image--shark {
  width: 37.5rem;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  padding: 0.75rem;
  background: #111;
  color: #fff;
  transform: translateY(-110%);
  z-index: 1;
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 40rem) {
  .page {
    padding: 1.25rem 1.25rem 3rem;
  }

  .header {
    margin-bottom: 2.5rem;
  }

  .project + .project {
    margin-top: 3rem;
  }
}
