@charset "UTF-8";
/* stylelint-disable scss/no-global-function-names */
:root {
  --scale-2: 0.7rem; /* 0.7rem ÷ 1.5 */
  --scale-1: 1rem; /* 1rem ÷ 1.5   */
  --scale0: 1.125rem; /* body text  at 18px */
  --scale1: 1.3125rem; /* body text  at 21px */
  --scale2: 1.5rem; /* 1rem × 1.5   */
  --scale3: 2.25rem; /* 1.5rem × 1.5 */
}

body {
  font-family: Fraunces, serif;
  font-weight: 350;
  font-size: 1.125rem;
  color: var(--root-light);
  letter-spacing: 0.01em;
  line-height: 1.6;
}

p,
li {
  font-weight: 350;
}

.p {
  font-weight: 350;
}

p {
  margin-top: 0;
}
p:not(:first-of-type) {
  padding-top: 0.5rem;
}

a {
  color: currentcolor;
}
a:not(.decorated) {
  text-decoration: none;
}

b,
strong {
  font-weight: 600;
}

h1,
.h1,
h2,
.h2 {
  font-family: Fraunces, serif;
  font-variation-settings: "wgth" 500;
  margin-bottom: 18px;
  margin-top: 0;
}

h1,
.h1 {
  font-size: calc(1.307rem + 0.684vw);
  line-height: 1.2;
  text-transform: uppercase;
}
@media (min-width: 1200px) {
  h1,
  .h1 {
    font-size: 1.82rem;
  }
}
h1.page,
.h1.page {
  letter-spacing: 0.01em; /*  TODO: Not optimal... */
}

h2,
.h2 {
  font-size: calc(1.25625rem + 0.075vw);
  line-height: 1.25;
  text-transform: uppercase;
}
@media (min-width: 1200px) {
  h2,
  .h2 {
    font-size: 1.3125rem;
  }
}

h3 {
  line-height: 1.25;
}

li:not(.menu-bar-item) {
  padding-left: 0;
  list-style-position: outside;
  list-style-type: disc;
}

.block-type-markdown h2 {
  padding: 2rem 0 1rem;
}
.block-type-markdown ul > * + * {
  padding-top: 1rem;
}

.button {
  padding: 0.2em 0.5em;
  border: 1px solid var(--root-light);
  border-radius: 8px;
  transition: all 0.4s ease;
}
.button:hover {
  color: var(--root-dark);
  background-color: var(--root-light);
}

#scrolltotop {
  position: fixed;
  width: 2rem;
  height: 2rem;
  text-align: center;
  line-height: 1.8;
  bottom: 0;
  transform: translateY(100px);
  right: 0;
  opacity: 0%;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  background-color: hsl(var(--root-light-hsl-darker));
  clip-path: circle(50% at 50% 50%);
  --color-fill: hsl(var(--root-dark-hsl));
  margin: 1rem;
}
#scrolltotop svg {
  transform: scale(1.3);
  margin-top: 2px;
  margin-left: -2px;
}
#scrolltotop.show {
  opacity: 100%;
}
#scrolltotop.show:not(.alldown) {
  transform: translateY(0);
}
#scrolltotop.alldown {
  transform: translateY(-2rem);
}
#scrolltotop:not(.alldown):hover {
  animation-name: jumpup;
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
@media screen and (max-width: 640px) {
  #scrolltotop {
    display: none;
  }
}

@keyframes jumpup {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.2);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.rootsmenu {
  margin-bottom: 4rem;
  border: 1px solid hsl(var(--root-light-hsl-darker));
  background-color: hsl(var(--root-dark-hsl));
  padding: 0.2rem 1rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.rootsmenu:hover {
  background-color: var(--root-dark-hsl-lighter) !important;
}

.rootsmenu-head {
  display: flex;
  place-content: center space-between;
  cursor: pointer;
  font-size: calc(1.25625rem + 0.075vw);
  color: hsl(var(--root-light-hsl-darker));
}
@media (min-width: 1200px) {
  .rootsmenu-head {
    font-size: 1.3125rem;
  }
}
.rootsmenu-head .rootsmenu-chevron {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  height: 100%;
  --color-fill: hsl(var(--root-light-hsl-darker));
}
.rootsmenu-head.active {
  color: hsl(var(--root-light-hsl));
}
.rootsmenu-head.active .rootsmenu-chevron {
  transform: rotate(180deg);
}

.rootsmenu-head:not(.active):hover .rootsmenu-chevron {
  animation-name: jumpdn;
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes jumpdn {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(5px) scale(1.2);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.rootsmenu-panel {
  max-height: 0;
  opacity: 0%;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.83, 0, 0.17, 1);
}

#rootsmenu-ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  padding: 0.4rem 0;
}
#rootsmenu-ul li {
  text-overflow: ellipsis;
  list-style: "";
  cursor: pointer;
  position: relative;
}
#rootsmenu-ul li::first-letter {
  text-transform: uppercase;
}
#rootsmenu-ul li::before {
  content: ">";
  position: absolute;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateX(-20px);
  opacity: 0%;
}
#rootsmenu-ul li:hover {
  color: var(--root-light-hsl-lighter);
}
#rootsmenu-ul li:hover::before {
  transform: translateX(-140%);
  opacity: 100%;
}

@keyframes move-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#main-inner > div + div {
  margin-top: 5rem;
}

.galerie-title-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.galerie-title-inner h1 {
  grid-column: 1/-1;
}
.galerie-title-inner h2 {
  grid-column: 1/-1;
  color: hsl(var(--root-dark-hsl));
  background-color: hsl(var(--root-light-hsl));
  text-transform: none;
  font-style: italic;
  font-weight: 300;
  padding: 4px 2px;
  margin: 4px 0 2px;
  gap: 16px;
}
.galerie-title-inner .galerie-updated {
  padding-top: 2px;
  justify-self: end;
  text-align: right;
}
.galerie-title-inner .galerie-imagecount {
  padding-top: 2px;
}

#galerie-image-grid {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(144px, 1fr));
  grid-auto-flow: row dense;
  /* beware if that does change the order of things in alphabetical order */
  grid-gap: calc(1.425rem + 2.1vw);
  grid-auto-rows: min-content;
  align-items: start;
}
@media screen and (min-width: 768px) {
  #galerie-image-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
@media screen and (min-width: 1280px) {
  #galerie-image-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}
@media (min-width: 1200px) {
  #galerie-image-grid {
    grid-gap: 3rem;
  }
}
#galerie-image-grid .title-block {
  grid-column: 1/-1;
  font-size: calc(1.25625rem + 0.075vw);
}
@media (min-width: 1200px) {
  #galerie-image-grid .title-block {
    font-size: 1.3125rem;
  }
}
@media screen and (min-width: 768px) {
  #galerie-image-grid .title-block {
    grid-column: 1/span var(--description-cols);
    grid-row: 1/span var(--description-rows);
  }
}
#galerie-image-grid .title-block a {
  text-decoration: underline;
}

.galerie-caption {
  margin: 2px;
  padding: 0 5px 4px;
  border-radius: 3px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background-color: hsl(var(--root-dark-hsl));
  opacity: 0.8;
  color: hsl(var(--root-light-hsl-darker));
  border-left: 1px solid var(--galerie-caption-bg);
  border-right: 1px solid var(--galerie-caption-bg);
  box-shadow: 0 2px var(--galerie-caption-bg);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.galerie-caption.dark {
  border-left: 1px solid hsl(var(--root-light-hsl-darker));
  border-right: 1px solid hsl(var(--root-light-hsl-darker));
  box-shadow: 0 2px hsl(var(--root-light-hsl-darker));
}

.galerie-image {
  opacity: 0;
}
.galerie-image figure {
  overflow: hidden;
  border-radius: var(--figure-rounded-radius);
}
.galerie-image img {
  transform: scale(1);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: var(--galerie-caption-bg);
  width: 100%;
  height: auto;
  aspect-ratio: var(--ratio);
  object-fit: contain;
}
.galerie-image:hover img {
  transform: scale(1.05);
  transition: all 2s cubic-bezier(0.25, 1, 0.5, 1);
}
.galerie-image:hover .galerie-caption {
  color: hsl(var(--root-light-hsl));
  background-color: var(--root-dark-hsl-lighter);
}
.galerie-image:nth-of-type(2n + 3) {
  margin-top: 32px;
}
.galerie-image:nth-of-type(5n + 2) {
  margin-top: -16px;
}

.galerie-image.entered {
  animation: move-in 1s;
  animation-fill-mode: forwards;
}

.portrait {
  grid-row-end: span 2;
  max-height: max-content;
}

.galeriesnav {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.075rem;
  gap: 16px;
  /* stylelint-disable-next-line no-descending-specificity */
}
.galeriesnav a {
  display: flex;
  align-items: flex-end;
}
.galeriesnav span.right {
  text-align: right;
}
.galeriesnav svg {
  height: 1em;
}

/* fade image in after load */
.lazyload {
  opacity: 0;
}

.lazyloaded {
  opacity: 1;
  transition: opacity 300ms;
}

.lazyloading {
  opacity: 1;
  transition: opacity 300ms;
  background: url("../../images/preloader.gif") no-repeat center;
  background-color: var(--galerie-caption-bg);
}
/*# sourceMappingURL=galerie.css.map */
