@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

:root {
  --bs-font-sans-serif: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
}

.noah,
.lange {
  text-transform: lowercase;
  font-size: 5rem;
  line-height: 1;
}

.noah {
  font-weight: 400;
}

.lead {
  font-weight: 400;
}

.lange {
  font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

body {
  padding: 1rem;
}

section {
  margin-bottom: 1rem;
}

.employment {
  padding: 0;
  list-style: none;

  li {
    display: grid;
    margin-top: 1rem;
    grid-template:
      "a a" auto
      "b c" auto
      "d d" auto / 10fr 1fr;

    h3 {
      grid-area: a;
      font-weight: 600;
    }

    h4 {
      display: flex;
      grid-area: b;
    }

    .dates {
      grid-area: c;
      text-align: right;
    }

    p {
      grid-area: d;
    }
  }
}

.employment li header {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
}

ul.tags {
  list-style: none;
  padding: 0;
  margin-bottom: -0.5rem;
  margin-top: 0;

  li {
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;

    button {
      &:hover {
        cursor: pointer;
      }

      &:not(.active) {
        opacity: 0.375;
      }
    }
  }
}

.project-container {
  position: relative;
}

.projects {
}

.project-list {
  --grid-column-count: 3;

  display: grid;
  list-style: none;
  padding: 8px 0 0 0;
  grid-template-columns: repeat(var(--grid-column-count), 1fr);
  grid-template-rows: masonry;
  column-gap: 1rem;
  row-gap: 1rem;
  position: relative;

  .project {
    transition: 0.5s all;

    &:hover {
      box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
      cursor: pointer;
    }
  }
}

@media (max-width: 768px) {
  .projects {
    --grid-column-count: 2;
  }
}

.offcanvas {
  --bs-offcanvas-width: 720px;
  overflow: hidden;

  .offcanvas-body {
    position: relative;
  }

  .offcanvas-header {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    height: 400px;
  }
}

.image-container {
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  width: calc(100% + 200px);
  z-index: -1;
  height: 420px;
  left: -120px;
  top: -24px;

  &::after {
    display: block;
    content: " ";
    position: absolute;
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(var(--bs-body-bg-rgb), 0) 100%
    );
    width: 100%;
    height: 100%;
  }
}

.badge {
  font-weight: normal;
}

.project {
  transform: none;
  transition: 0.5s transform;
}

.job-info {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.job-title {
  flex: 1 0 50%;
  color: var(--bs-secondary-color);
  line-height: 1.3;
}

.job-dates {
  text-align: right;
  flex: 0 0 10ch;
}

.employment li {
  display: block;
}

.project-content p {
  margin-bottom: 1rem;
}

.project-detail-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1;

  h1 {
    /* text-shadow: 1px 1px 3px black; */
  }
}

:root {
}

.badge.bg-info {
  --bs-info: var(--bs-purple);
  --bs-info-rgb: 111, 66, 193;
}
