* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #0A0A0A;
  --color-white: #eeeded;
  --color-grey: #e1e0e0;
  --color-dark: #7a7a7a;
  --color-span: #8166A3;

  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --font-family-sans: 'Neue Plak Text', -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);
  font-weight: 300;
}

img {
  width: 100%;
}

body {
  padding: 0;
  /*max-width: 70rem;*/
  margin: 0;

}

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: fixed;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0.75rem;
  /*margin-bottom: 1.5rem;*/
  background-color: var(--color-grey);
  z-index: 10;
  border-bottom: 0.5px solid var(--color-black);
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 100vw;
}

.logo {
  padding: 0rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.menu {
  display: none;
  align-items: center;
  flex-direction: column;
  background-color: var(--color-grey);
  position: absolute;
  top: 50px;
  right: 0;
  width: 100%;
}

.menu.active {
  display: flex;
}

.menu a {
  padding: 1rem;
  display: block;
  border-bottom: 1px solid var(--color-black);
  width: 100%;
  text-align: center;
  transition: color 0.2s;
}

.menu a:hover {
  text-decoration: none;
  color: var(--color-span);
}

.menu a[aria-current] {
  text-decoration: none;
  font-weight: 600;
}

.menu a.active {
  font-weight: 600;
}

.menu .language {
  width: 100%;
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--color-black);
}

.menu .language a {
  display: inline;
  width: unset;
  border: none;
}

.menu span {
  padding-top: 1rem;
}

.social {
  display: flex;
  padding: 0 .5rem;
}

.social svg {
  vertical-align: -4px;
}

.social a {
  padding: 1rem .5rem;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-black);
}

.section {
  padding: 3rem 0;
}

.main {
  padding: 0;
  margin-top: 3rem;
  /*overflow: auto;
  height: calc(100vh - 3rem);*/
}

.grid {
  --columns: 12;
  --gutter: 1.5rem;
  display: grid;
  grid-gap: 0;
  grid-template-columns: 1fr;
  /*height: calc(100vh - 9rem);*/
}

.grid>.column {
  margin-bottom: 0;
  padding: var(--gutter);
  max-width: 100vw;
  /*border: 1px solid var(--color-black);*/
  padding: 0;
}



.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;
}



/* SLICK */
.album-gallery-nav img {
  /*margin: 5px;*/
}

.album-gallery-nav.slick-slider {
  margin-left: -5px;
  margin-right: -5px;
  margin-bottom: 1rem;
}

.album-gallery-nav .slick-list {
  clip-path: inset(0 5px 0 5px);
  /* warning: do not set `margin` or `padding` to anything other than `0` here! */
  margin: 0;
  padding: 0;
}

.album-gallery-nav .slick-slide {
  margin-left: 4px;
  margin-right: 4px;
}

.text {
  line-height: 1.5em;
  max-width: 860px;
  text-align: justify;
}

.text a {
  text-decoration: underline;
  transition: color 0.2s;
}

.text a:hover {
  color: var(--color-span);
}

.text :first-child {
  margin-top: 0;
}

.text :last-child {
  margin-bottom: 0;
}

.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}

.text ul,
.text ol {
  margin-left: 1rem;
}

.text ul p,
.text ol p {
  margin-bottom: 0;
}

.text ul>li {
  list-style: disc;
  line-height: 1.25rem;
  margin-bottom: 0.25rem;
}

.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: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.25em;
}

.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.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 .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: .875rem;
  font-style: italic;
}

.text figure {
  margin: 3rem 0;
}

.text figcaption {
  padding-top: .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: .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);
}

.tags {
  text-align: center;
  width: 100%;
  margin-bottom: 1.5rem;
}

.tags a {
  /*font-size: 12px;
  border-radius: 5px;
  padding: 5px 5px;
  font-weight: 500;
  background-color: var(--color-grey);*/
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}

.tags a:hover {
  color: var(--color-span);
  /*text-decoration: underline;*/
}

.tags a.active {
  text-decoration: none;
  font-weight: 600;
}

.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-white);
}

.img img {
  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 {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 9rem 0 6rem;
  line-height: 1.5em;
}

.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

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

.footer ul,
.footer p {
  color: var(--color-text-grey);
}

.footer p {
  max-width: 15rem;
}

.footer a:hover {
  color: var(--color-text);
}


.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;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}

.margin-m {
  margin-bottom: 1.5rem;
}

.margin-l {
  margin-bottom: 3rem;
}

.margin-xl {
  margin-bottom: 4.5rem;
}

.margin-xxl {
  margin-bottom: 6rem;
}




.pagination {
  display: flex;
  padding-top: 6rem;
}

.pagination>span {
  color: var(--color-text-grey);
}

.pagination>* {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}

.pagination>a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}

.note-excerpt header {
  margin-bottom: 1.5rem;
}

.note-excerpt figure {
  margin-bottom: .5rem;
}

.note-excerpt-title {
  font-weight: 600;
}

.note-excerpt-date {
  color: var(--color-text-grey);
}


@media screen and (min-width: 45rem) {

  .header {
    padding: 0.75rem 1.5rem;
  }

  .menu {
    display: flex;
    align-items: center;
    flex-direction: row;
    background-color: var(--color-grey);
    position: relative;
    width: unset;
    top: 0;
  }

  .menu.active {
    display: flex;
    position: relative;
  }

  .menu a {
    padding: 1rem;
    display: block;
    border-bottom: none;
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: none;
  }

  .menu .language {
    border: none;
    flex-shrink: 0;
    width: 3.5rem;
    padding: 1rem 0rem 1rem 0.5rem;
  }

  .menu .language a {
    padding: 0rem 0.25rem;
  }

  .menu .language a:last-child {
    padding-right: 0rem;
  }

  body {
    --padding: 3rem;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
  }

  .main {
    margin-top: 5rem;
    height: calc(100vh - 5rem);
    overflow: auto;
  }

  .grid {
    --columns: 12;
    --gutter: 3rem;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1fr;
    height: 100%;
  }

  .left-div {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .album-gallery-nav .slick-slide {
    margin-left: 5px;
    margin-right: 5px;
  }

  .grid>.column {
    grid-column: span var(--columns);
    /*padding: calc(var(--gutter) / 2);*/
    padding: 0;
  }

  .grid>.column:nth-child(1) {}

  .grid>.column:nth-child(odd) {
    /*border-right: 0.5px solid var(--color-black);*/
    /*padding-right: calc(var(--gutter) / 2);*/
  }

  .grid>.column:nth-child(even) {
    /*padding-left: calc(var(--gutter) / 2);*/
  }

  .grid>.column:nth-child(1),
  .grid>.column:nth-child(2) {
    /*border-bottom: 0.5px solid var(--color-black);*/
    padding-bottom: 0;
  }

  /*
  .grid>.column:nth-child(3),
  .grid>.column:nth-child(4) {
    padding-top: calc(var(--gutter) / 2);
  }
*/
  .grid>.column:nth-child(3) {
    /*min-height: calc(100% - (var(--gutter) / 2));*/
  }

  .text h1,
  .h1,
  .intro {
    font-size: 2rem;
    margin-bottom: 3rem;
    line-height: 1.25em;
  }

  .tags {
    text-align: left;
  }


}