/* playfair-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/playfair-display-v37-latin-regular.woff2") format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("../fonts/playfair-display-v37-latin-regular.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* playfair-display-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/playfair-display-v37-latin-500.woff2") format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("../fonts/playfair-display-v37-latin-500.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* playfair-display-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/playfair-display-v37-latin-600.woff2") format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("../fonts/playfair-display-v37-latin-600.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #524845;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey: #cacbd1;
  --color-code-comment: #a9aaad;
  --color-code-white: #c5c9c6;
  --color-code-red: #d16464;
  --color-code-orange: #de935f;
  --color-code-yellow: #f0c674;
  --color-code-green: #a7bd68;
  --color-code-aqua: #8abeb7;
  --color-code-blue: #7e9abf;
  --color-code-purple: #b294bb;
  --color-code-primary: #fd8b51;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo,
    Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
}
img {
  width: 100%;
}
body {
  padding: var(--padding);
  max-width: 70rem;
  margin: 0 auto;
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong,
b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: sticky;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  justify-items: center;

  margin-bottom: 1rem;
}

.header .inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  justify-items: center;
}

#menuContainer {
  position: fixed;
  top: 0;
  right: 0;
  background: var(--color-code-primary);
  height: 100vh;
  transition: width 1s ease;
  z-index: 2;
  overflow: hidden;
}

#menuContainer nav {
  display: block;
  padding-top: 2em;
  padding-left: 2em;
  transition: width 1s ease;
}

#menuContainer nav a {
  line-height: 2em;
  height: 2em;
  overflow: hidden;
  color: var(--color-light);
  font-weight: bold;
  display: block;
  text-decoration: none;
}

#menuBackdrop {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  height: 100vh;
  transition: width 0.5s ease;
  z-index: 1;
}

#menuBackdrop {
  transition: width 1s ease;
}

.logo {
  padding: 0;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.3em;
  cursor: pointer;
  font-family: "Playfair Display";
  color: var(--color-black) !important;
  padding-right: 1em;
}

.logo img {
  width: 48px;
  border-radius: 10px;
  margin-right: 1rem;
}

.menu {
  display: flex;
  align-items: center;
}
.menu a {
  padding: 1rem;
  display: block;
  font-weight: 600;
}
.menu a[aria-current] {
  text-decoration: underline;
}

.social {
  display: flex;

  padding-left: 1.5em;
  padding-top: 1em;
}
.social a {
  padding: 1rem 0.5rem;
}

.social svg {
  color: var(--color-light);
  width: 24px;
  height: 24px;
}

#menuOpen svg {
  color: var(--color-black) !important;
  width: 24px;
  height: 24px;
}

#menuOpen:hover,
#menuOpen:focus {
  opacity: 0.5;
  transition: opacity 0.3s ease-in;
}
#menuOpen:active {
  opacity: 0.8;
  transition: opacity 0.3s ease-out;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 0.25rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
    --gutter: 0.5rem;
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: var(--color-code-primary);
  font-family: "Playfair Display";
  font-weight: 600;
}

.text {
  line-height: 1.5em;
  color: var(--color-black);
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
  color: var(--color-black);
  word-break: break-word;

}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.25em;
  text-align: left;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.text h3,
.h3 {
  font-weight: 600;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 0.5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: 0.875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: 0.75rem;
  color: var(--color-text-grey);
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: 0.75rem;
  line-height: 1.5em;
}

.footer {
  padding: 1rem 0 0rem;
  line-height: 1.5em;
  position: relative;
  z-index:-1;
}
.footer:before {
  content: "";
  display: flex;
  justify-content: center;
  width: 100%;
  height: 3px;
  background: var(--color-code-primary);
  opacity: 0.25;
  margin-bottom: 1rem;
}

.header:after {
  content: "";
  display: flex;
  justify-content: center;
  width: 100%;
  height: 3px;
  background: var(--color-code-primary);
  opacity: 0.25;
  margin-top: 1rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer img {
  width: auto !important;
}
.footer ul,
.footer p {
  color: var(--color-black);
}
.footer p {
  padding-bottom: 1em;
  max-width: 15rem;
}

.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;y
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: 0.75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 1.5rem;
}
.margin-xl {
  margin-bottom: 0.75rem;
}
.margin-xxl {
  margin-bottom: 1.5rem;
}

@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }
}

a {
  opacity: 1;
  transition: opacity 0.3s ease-in;
  color: var(--color-code-primary);
}
a:hover,
a:focus {
  opacity: 0.5;
  transition: opacity 0.3s ease-in;
}
a:active {
  opacity: 0.8;
  transition: opacity 0.3s ease-out;
}

.sub-footer {
  width: 100%;
  text-align: center;
  font-size: 0.75em;
  color: #777;
  margin-bottom: 1rem;
}
