@import '/rubik/300.css';
@import '/rubik/800.css';

@view-transition {
  navigation: auto;
}

:root {
  --base-font-size: 17px;
  --base-line-height: 1.58;
  --base-line-height-rem: 1.58rem;
  --body-background: blue;
}

body {
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Helvetica Neue,
    Helvetica,
    Arial,
    sans-serif;
  background-color: var(--body-background);
  color: #fff;

  padding: 30px;

  @media screen and (max-width: 896px) {
    padding: 10px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  font-family:
    Rubik,
    -apple-system,
    BlinkMacSystemFont,
    Helvetica Neue,
    Helvetica,
    Arial,
    sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--base-line-height-rem) 0;
  font-weight: 800;
  text-rendering: optimizeLegibility;
}

h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.51572rem;
}
h3 {
  font-size: 1.31951rem;
}
h4 {
  font-size: 1rem;
}
h5 {
  font-size: 0.87055rem;
}
h6 {
  font-size: 0.81225rem;
}

p {
  margin-bottom: var(--base-line-height-rem);
}

a {
  color: inherit;
  text-decoration-style: double;
}

b,
strong {
  font-weight: 600;
}

ul,
ol {
  margin: 0 0 var(--base-line-height-rem) var(--base-line-height-rem);
  padding: 0;
}

li {
  padding-left: 0;
  margin-bottom: calc(var(--base-line-height-rem) / 4);
  margin-bottom: 0;
}

/* :global(.two-column-list) {
  & ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
  }
}

.strip-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  min-height: 100vh;
  z-index: -1;

  & .strip {
    position: absolute;
    left: 0;
    top: 0;
    height: 200px;
    width: 3000vh;
    mix-blend-mode: overlay;
    transform-origin: top left;
  }

  & .one {
    background: red;
    transform: rotate(45deg);
  }

  & .two {
    background: green;
    transform: rotate(55deg);
  }

  & .three {
    background: blue;
    transform: rotate(65deg);
  }
} */

.page-header {
  box-sizing: border-box;
  display: flex;
  height: 74vh;
  padding: 1rem;
  align-items: center;
  justify-content: left;
  flex-direction: row;

  & svg {
    & * {
      stroke: #fff;
    }

    width: 110px;
    height: 110px;
    overflow: visible;
    margin-right: 1rem;

    & circle + circle {
      stroke-width: 1rem;
    }
  }

  & h1 {
    font-weight: 300;
  }

  & h2 {
    font-weight: 300;
  }

  @media screen and (max-width: 896px) {
    padding: 0px;

    & svg {
      width: 60px;
      height: 60px;
    }
  }

  &.home-variant {
    & h1 {
      margin: 0 0 0 -5px;
      font-size: 5rem;

      @media screen and (max-width: 896px) {
        margin: 0 0 0 -3px;
        font-size: 2rem;
      }
    }

    & h2 {
      margin: -10px 0 0 0;
      white-space: nowrap;

      @media screen and (max-width: 896px) {
        margin: -5px 0 0 0;
        font-size: 1rem;
      }
    }
  }

  &.project-variant {
    @media screen and (max-width: 896px) {
      & > div {
        font-size: 0.6rem;
      }
    }

    & h1 {
      font-size: 2rem;
      margin: 0 0 0 0;

      @media screen and (max-width: 896px) {
        font-size: 1.5rem;
      }
    }

    & h2 {
      margin: -10px 0 0 0;
    }
  }
}

.project-page {
  max-width: 800px;
  margin: 0 auto;

  & blockquote {
    border-left: 10px solid rgba(255, 255, 255, 1);
    padding-left: 15px;
    font-style: italic;
  }
}
