/* Compositions */
/*
CLUSTER
More info: https://every-layout.dev/layouts/cluster/
A layout that lets you distribute items with consitent
spacing, regardless of their size

CUSTOM PROPERTIES AND CONFIGURATION
--gutter ($global-gutter): This defines the space
between each item.

--cluster-horizontal-alignment (flex-start) How items should align
horizontally. Can be any acceptable flexbox aligmnent value.

--cluster-vertical-alignment How items should align vertically.
Can be any acceptable flexbox alignment value.
*/
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter, var(--space-size-1));
  justify-content: var(--cluster-horizontal-alignment, flex-start);
  align-items: var(--cluster-vertical-alignment, center);
}
/* 
SIDEBAR
More info: https://every-layout.dev/layouts/sidebar/
A layout that allows you to have a flexible main content area
and a "fixed" width sidebar that sits on the left or right.
If there is not enough viewport space to fit both the sidebar
width *and* the main content minimum width, they will stack
on top of each other

CUSTOM PROPERTIES AND CONFIGURATION
--gutter (var(--space-size-1)): This defines the space
between the sidebar and main content.

--sidebar-target-width (20rem): How large the sidebar should be

--sidebar-content-min-width(50%): The minimum size of the main content area

EXCEPTIONS
.sidebar[data-direction='rtl']: flips the sidebar to be on the right 
*/
.sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter, var(--space-size-1));
}
.sidebar:not([data-direction]) > :first-child {
  flex-basis: var(--sidebar-target-width, 20rem);
  flex-grow: 1;
}
.sidebar:not([data-direction]) > :last-child {
  flex-basis: 0;
  flex-grow: 999;
  min-width: var(--sidebar-content-min-width, 50%);
}
/* 
A flipped version where the sidebar is on the right
*/
.sidebar[data-direction='rtl']
> :last-child {
  flex-basis: var(--sidebar-target-width, 20rem);
  flex-grow: 1;
}
.sidebar[data-direction='rtl'] > :first-child {
  flex-basis: 0;
  flex-grow: 999;
  min-width: var(--sidebar-content-min-width, 50%);
}
/*
SWITCHER
More info: https://every-layout.dev/layouts/switcher/
A layout that allows you to lay **2** items next to each other
until there is not enough horizontal space to allow that.

CUSTOM PROPERTIES AND CONFIGURATION
--gutter (var(--space-size-1)): This defines the space
between each item

--switcher-target-container-width (40rem): How large the container
needs to be to allow items to sit inline with each other

--switcher-vertical-alignment How items should align vertically.
Can be any acceptable flexbox alignment value.
*/
.switcher {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter, var(--space-size-1));
    align-items: var(--switcher-vertical-alignment, flex-start);
}
.switcher>* {
    flex-grow: 1;
    flex-basis: calc((var(--switcher-target-container-width, 40rem) - 100%) * 999);
}
/* Max 2 items,
so we target everything *after* those */
.switcher> :nth-last-child(n + 3),
.switcher> :nth-last-child(n + 3)~* {
    flex-basis: 100%;
}
/* Blocks */
.box {
  padding: var(--space-size-1);
  background: var(--color-secondary);
}
.site-head {
    margin-inline: auto;
    margin-block: 145px;
    width: clamp(250px, calc(100% - var(--space-size-1) * 2), 740px);
    text-align: center;
}
.site-head h1 {
    max-width: unset;
}
.site-head h1 a {
    font-size: 27px;
    letter-spacing: normal;
    margin: 0;
    text-transform: uppercase;
    font-size: 27px;
    text-decoration: none;
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    line-height: 1.2em;
    color: #212121;
}
@media screen and (min-width: 465px) {
    .site-head h1 a {
        letter-spacing: 7px;
    }
}
.nav__list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
}
.nav__list a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 7px;
    color: #9A9A9A;
    font-size: 13px;
}
.nav__list a[aria-current="page"] {
    color: #212121;
}
.site-head__nav {
    width: clamp(250px, 100%, 355px);
    margin-inline: auto;
}
.nav__work {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    grid-row-gap: 2rem;
    align-items: start;
    text-align: right;
}
.nav__work picture {
    margin-block-end: 1rem;
}
.page-nav {
    display: flex;
    justify-content: space-between;
    margin-block: 3rem;
}
.body-home main,
.body-about main {
    width: clamp(250px, 100%, 740px);
    margin-inline: auto;
    font-size: 17px;
}
.body-home main p,
.body-about main p {
    margin-block-end: 1em;
    max-width: unset;
    font-weight: 300;
}
.body-about picture {
    margin-block: var(--space-size-6);
}
.body-about img {
    object-fit: contain;
    height: auto;
}
.body-home main {
    display: grid;
    justify-content: center;
}
.body-home main p {
    font-size: 12px;
    font-weight: 300;
}
.body-home main picture {
    margin-block-end: 1em;
}
.body-work main {
    font-weight: 300;
}
.body-work h2 {
    font-size: 17px;
    font-weight: 300;
    margin-block-end: 3em;
    /* --switcher-target-container-width: 60rem; */
}
.body-work-street main,
.body-work-architecture main,
.body-work-friends main,
.body-work-shoes main {
    font-size: 17px;
    font-weight: 300;
}
.switcher {
    max-width: 1000px;
    margin-inline: auto;
}
.switcher h2 {
    font-size: 17px;
    line-height: 2;
    font-weight: 300;
    letter-spacing: 7px;
}
.photos {
    display: grid;
    gap: 2rem;
}
.photos picture {
    max-width: 700px;
}
.photos p:last-of-type {
    margin: 0;
    text-align: left;
    padding-inline-start: 1rem;
    padding-block-start: 0.5rem;
    font-size: clamp(12px, 9px + 1.5vw, 17px);
    letter-spacing: 3px;
}
.body-news p {
    font-weight: 300;
    font-size: 17px;
    max-width: inherit;
}
main p:last-of-type {
    margin-block: 100px;
    text-align: center;
    font-size: 17px;
}
/* Utilities */
/* 
FLOW UTILITY
Info: https://piccalil.li/quick-tip/flow-utility/ 
*/
.flow > * + * {
  margin-top: var(--flow-space, var(--space-size-1));
}
/* 
REGION UTILITY
Consistent block padding for page sections
*/
.region {
  padding-block: var(--region-space, var(--space-size-3));
}
/* 
VISUALLY HIDDEN UTILITY
Info: https://piccalil.li/quick-tip/visually-hidden/ 
*/
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}
/*
WRAPPER UTILITY
A common wrapper/container
*/
.wrapper {
  margin-inline: auto;
  width: clamp(16rem, 95vw, 85rem);
  padding-inline: var(--space-size-1);
  position: relative;
}
/* Tailwind utilities */
.visible {
  visibility: visible;
}
.invisible {
  visibility: hidden;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.isolate {
  isolation: isolate;
}
.-z-10 {
  z-index: -10;
}
.clear-none {
  clear: none;
}
.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}
.mt-auto {
  margin-top: auto;
}
.mb-auto {
  margin-bottom: auto;
}
.block {
  display: block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.table {
  display: table;
}
.inline-table {
  display: inline-table;
}
.flow-root {
  display: flow-root;
}
.grid {
  display: grid;
}
.inline-grid {
  display: inline-grid;
}
.contents {
  display: contents;
}
.list-item {
  display: list-item;
}
.hidden {
  display: none;
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform-gpu {
  transform: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.select-all {
  user-select: all;
}
.select-auto {
  user-select: auto;
}
.resize {
  resize: both;
}
.grid-flow-dense {
  grid-auto-flow: dense;
}
.flex-nowrap {
  flex-wrap: nowrap;
}
.justify-evenly {
  justify-content: space-evenly;
}
.space-y-reverse > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 1;
}
.space-x-reverse > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 1;
}
.self-baseline {
  align-self: baseline;
}
.overflow-clip {
  overflow: clip;
}
.overflow-x-clip {
  overflow-x: clip;
}
.overflow-y-clip {
  overflow-y: clip;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.overflow-ellipsis {
  text-overflow: ellipsis;
}
.text-ellipsis {
  text-overflow: ellipsis;
}
.text-clip {
  text-overflow: clip;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.break-all {
  word-break: break-all;
}
.border-double {
  border-style: double;
}
.border-hidden {
  border-style: hidden;
}
.decoration-slice {
  box-decoration-break: slice;
}
.box-decoration-slice {
  box-decoration-break: slice;
}
.bg-repeat-round {
  background-repeat: round;
}
.bg-repeat-space {
  background-repeat: space;
}
.text-start {
  text-align: start;
}
.text-end {
  text-align: end;
}
.align-sub {
  vertical-align: sub;
}
.align-super {
  vertical-align: super;
}
.font-sans {
  font-family: "futura-pt", sans-serif;
}
.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.capitalize {
  text-transform: capitalize;
}
.italic {
  font-style: italic;
}
.not-italic {
  font-style: normal;
}
.ordinal {
  --tw-ordinal: ordinal;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.underline {
  text-decoration-line: underline;
}
.mix-blend-plus-lighter {
  mix-blend-mode: plus-lighter;
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.outline {
  outline-style: solid;
}
.ring-inset {
  --tw-ring-inset: inset;
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-filter {
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.\[keywords\:node-addon-api\] {
  keywords: node-addon-api;
}
.\[k\:K\] {
  k: K;
}
