/* -------------------------------- 

File#: _2_feature-v16
Title: Feature v16
Descr: A gallery of images linking to different pages
Usage: codyhouse.co/license

-------------------------------- */
/* reset */
*, *::after, *::before {
  box-sizing: border-box;
}

* {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background-color: hsl(0, 0%, 100%);
  font-family: system-ui, sans-serif;
  color: hsl(230, 7%, 23%);
  font-size: 1rem;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: hsl(230, 13%, 9%);
  font-weight: 700;
}

h1 {
  font-size: 2.0736rem;
}

h2 {
  font-size: 1.728rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.2rem;
}

ol, ul, menu {
  list-style: none;
}

button, input, textarea, select {
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  line-height: inherit;
  appearance: none;
}

textarea {
  resize: vertical;
  overflow: auto;
  vertical-align: top;
}

a {
  color: hsl(250, 84%, 54%);
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

@media (min-width: 64rem) {
  body {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 3.051rem;
  }

    h2 {
    font-size: 2.44rem;
  }

    h3 {
    font-size: 1.75rem;
  }

    h4 {
    font-size: 1.5625rem;
  }
}

/* variables */
:root {
  /* colors */
  --fx8-color-primary-hsl: 250, 84%, 54%;
  --fx8-color-bg-hsl: 0, 0%, 100%;
  --fx8-color-contrast-high-hsl: 230, 7%, 23%;
  --fx8-color-contrast-higher-hsl: 230, 13%, 9%;

  /* spacing */
  --fx8-space-2xs: 0.375rem;
  --fx8-space-sm: 0.75rem;
  --fx8-space-md: 1.25rem;

  /* typography */
  --fx8-text-lg: 1.25rem;
  --fx8-text-sm: 0.833rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --fx8-space-2xs: 0.5625rem;
    --fx8-space-sm: 1.125rem;
    --fx8-space-md: 2rem;

    /* typography */
    --fx8-text-lg: 1.75rem;
    --fx8-text-sm: 1rem;
  }
}

/* icons */
.fx8-icon {
  height: var(--fx8-size, 1em);
  width: var(--fx8-size, 1em);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

/* component */


/* utility classes */
.fx8-padding-x-md {
  padding-left: var(--fx8-space-md);
  padding-right: var(--fx8-space-md);
}

.fx8-color-inherit {
  color: inherit;
}

.fx8-text-lg {
  font-size: var(--fx8-text-lg);
}

.fx8-margin-bottom-2xs {
  margin-bottom: var(--fx8-space-2xs);
}

.fx8-opacity-60\% {
  opacity: 0.6;
}

.fx8-text-sm {
  font-size: var(--fx8-text-sm);
}

.fx8-padding-md {
  padding: var(--fx8-space-md);
}

.fx8-width-100\% {
  width: 100%;
}

.fx8-gap-sm {
  gap: var(--fx8-space-sm);
}

.fx8-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.fx8-grid > * {
  min-width: 0;
  grid-column-end: span 12;
}

.fx8-z-index-1 {
  z-index: 1;
}

.fx8-position-relative {
  position: relative;
}

@media(min-width: 64rem){
  .fx8-width-50\%\@md {
    width: 50%;
  }

  .fx8-col-6\@md {
    grid-column-end: span 6;
  }
}