/* css/design.css */
@font-face {
  font-family: text;
  font-style: normal;
  font-weight: 100;
  src: url(/@/fonts/100.woff2);
}
@font-face {
  font-family: text;
  font-style: normal;
  font-weight: 300;
  src: url(/@/fonts/300.woff2);
}
@font-face {
  font-family: text;
  font-style: normal;
  font-weight: 400;
  src: url(/@/fonts/400.woff2);
}
@font-face {
  font-family: text;
  font-style: normal;
  font-weight: 500;
  src: url(/@/fonts/500.woff2);
}
@font-face {
  font-family: text;
  font-style: normal;
  font-weight: 700;
  src: url(/@/fonts/700.woff2);
}
@font-face {
  font-family: text;
  font-style: normal;
  font-weight: 900;
  src: url(/@/fonts/900.woff2);
}
@font-face {
  font-family: text;
  font-style: italic;
  font-weight: 100;
  src: url(/@/fonts/100i.woff2);
}
@font-face {
  font-family: text;
  font-style: italic;
  font-weight: 300;
  src: url(/@/fonts/300i.woff2);
}
@font-face {
  font-family: text;
  font-style: italic;
  font-weight: 400;
  src: url(/@/fonts/400i.woff2);
}
@font-face {
  font-family: text;
  font-style: italic;
  font-weight: 500;
  src: url(/@/fonts/500i.woff2);
}
@font-face {
  font-family: text;
  font-style: italic;
  font-weight: 700;
  src: url(/@/fonts/700i.woff2);
}
@font-face {
  font-family: text;
  font-style: italic;
  font-weight: 900;
  src: url(/@/fonts/900i.woff2);
}
@font-face {
  font-family: note;
  src: url(/@/fonts/note.woff2);
}
* {
  line-height: calc(1em + 0.4rem);
}
::selection {
  background: cyan;
}
:root {
  font-family: text, sans-serif;
  font-size: 16px;
  font-size: clamp(1rem, 2vw, 1.5rem);
}
a {
  color: inherit;
  font-weight: 500;
  margin: 0 -0.125rem;
  padding: 0 0.125rem;
  text-decoration-color: mediumblue;
  &:hover {
    background: mediumblue;
    border-radius: 1px;
    color: white !important;
    text-decoration: none;
  }
}
article {
  margin: auto;
  max-width: 32rem;
  padding: 0 1.5rem 7rem 1.5rem;
  position: relative;
  @media (max-width: 45rem) {
    padding-bottom: 3rem;
  }
  *:first-child {
    margin-top: 0;
  }
}
aside {
  color: mediumblue;
  font-family:
    note,
    text,
    sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  position: absolute;
  width: 6rem;
  @media (max-width: 48rem) {
    display: none;
  }
  &.left {
    margin-left: -8rem;
    text-align: right;
    transform: rotate(-1deg);
  }
  &.right {
    margin-right: -6.5rem;
    right: 0;
    transform: rotate(1deg);
  }
}
body {
  margin: 0;
}
h1 {
  background: black;
  border-radius: 1px;
  color: white;
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  margin: 2rem -0.25rem 1rem -0.25rem;
  padding: 0 .25rem;
  text-transform: uppercase;
  transform: rotate(-1deg);
  &:before {
    background: white;
    color: black;
    display: block;
    font-size: 1rem;
    font-variant: all-small-caps;
    line-height: 1em;
    margin: -1px 0 0 calc(-.25rem - 1px);
    padding: 0 .25rem;
    width: calc(100% + .5rem);
  }
}
h1 + p,
article > p:first-of-type {
  font-size: 1.25rem;
  margin: 1rem 0;
  padding: 0;
}
h2 {
  color: crimson;
  font-size: 1.25rem;
  font-weight: 900;
  margin: 3rem 0 0.4rem 0;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant: all-small-caps;
  margin: 1.5rem 0 0.4rem 0;
}
header {
  margin: auto;
  max-width: 32rem;
  padding: 2.33rem 1.5rem 3rem 1.5rem;
  text-transform: lowercase;
  a {
    color: silver;
    margin-right: 1.5rem;
    text-decoration: none;
    &:first-child {
      color: mediumblue;
      &:before {
        background-image: url(/@/images/rocket.jpg);
        background-size: cover;
        content: "";
        display: inline-block;
        height: 2rem;
        margin: auto 0.5rem -.25rem -2.5rem;
        text-align: right;
        width: 2rem;
        transform: rotate(45deg);
        @media (max-width: 37rem) {
          display: none;
        }
      }
    }
  }
}
hr {
  background: whitesmoke;
  border: none;
  height: 0.25rem;
  margin: 3rem 0;
}
hr + h1,
hr + h2,
hr + h3 {
  margin-top: 0;
}
mark,
strong em {
  background: yellow;
  border-radius: 1px;
  font-style: normal;
  font-weight: 700;
  margin: 0 -0.125rem;
  padding: 0 0.125rem;
  a {
    font-weight: 700;
  }
}
ol,
ul {
  margin: 0 0 0.4rem 0;
  padding: 0;
  @media (max-width: 37rem) {
    padding: 0 0 0 1.5rem;
  }
  li {
    margin-bottom: 0.4rem;
  }
  li > a,
  li > strong {
    display: inline;
    &:after {
      content: " \a";
      white-space: pre;
    }
  }
}
p {
  margin: 0 0 0.4rem 0;
}
section.cta {
  background: mintcream;
  border: 3px solid green;
  border-width: .25rem 0;
  border-radius: .25rem;
  box-shadow: 0 0 3px green;
  margin: 3rem 0;
  padding: 1.5rem;
  text-align: center;
  &:last-child {
    margin-bottom: 0;
  }
  a {
    background: green;
    border-radius: .25rem;
    box-shadow: 0 0 3px slateblue;
    color: white;
    display: inline-block;
    font-weight: 700;
    margin: .5rem 0;
    padding: .5rem 1rem;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
    &:hover {
      rotate: -0.05deg;
      scale: 1.05;
    }
  }
}

/* css/readme.css */
body#readme {
  header a:last-child {
    display: none;
  }
  h1 {
    background: transparent;
    color: black;
    font-size: 1.875rem;
    transform: rotate(0deg);
  }
  article > p:last-child {
    color: navy;
    font-family: note, sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 1.5rem;
    text-align: right;
  }
}

/* css/previous-gigs.css */
body.previous-gig:not(#index) {
  h1:before {
    content: "Previous Gig";
  }
}

/* styles.css */
