*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:focus-visible {
  outline: 1px solid orange;
  outline-offset: -1px;
}

button:focus-visible {
  outline: 6px solid orange;
  outline-offset: 0;
}

.skip-to-main-content-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1em;
  opacity: 0;
}

.skip-to-main-content-link:focus {
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
}

::-webkit-scrollbar {
  display: none;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  -ms-overflow-style: none;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  font-variant-ligatures: none;
  -webkit-font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Director', Arial, Helvetica, sans-serif;
  font-size: var(--ft-body);
  color: var(--color-black-200);
  background-color: var(--color-white-200);
  letter-spacing: -0.03em;
  line-height: 1.3;
  overflow: scroll;
  scroll-behavior: smooth;
}

main {
  display: flex;
}

img, figure, picture {
  display: block;
  height: auto;
  border: 0;
  outline: none;
  overflow: hidden;
}

.lazyload,
.lazyloading {
  opacity: 0;
}

.loading,
.lazyload,
.lazyloaded {
  opacity: 1;
  transition: opacity 0.25s ease-in;
}

/* Reset type */

i, em {
  font-family: 'Director', sans-serif;
  font-style: normal;
}

h1 {
  font-weight: normal;
  font-family: 'Director', sans-serif;
  overflow-wrap: break-word;
  margin: 0;
  font-size: var(--ft-body);
  padding: 0;
}

h1 {
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

nav, ol, ul, li {
  text-decoration: none;
  list-style: none;
  color: inherit;
}

/* RESET a */

a {
  color: inherit;
  text-decoration: underline;
  font-family: 'Director', Arial, Helvetica, sans-serif;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px
}

a:hover {
  text-decoration: none;
}

.site-title {
  position: relative;
  z-index: 10;
}

.site-title a {
  text-decoration: none;
}

.site-title a, .site-title.close a, .main-menu a, ul.footer-menu li a {
  text-decoration: none;
}

.site-title a:hover, .site-title.close a:hover, .main-menu a:hover, ul.footer-menu li a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

ul.footer-menu li a.active {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* NAVIGATION  */

nav {
  display: flex;
  padding: var(--space-sm);
  gap: var(--space-xl);
}

nav ul.main-menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

nav.gallery {
  position: fixed;
  z-index: 999999;
}

/* SUBPAGE  */

.page {
  padding: var(--space-sm);
}

article.privacy-policy, article.imprint, article.about {
  max-width: var(--container-s);
  padding-bottom: var(--space-xl);
}

footer.footer-desktop {
  display: flex;
  position: absolute;
  justify-content: center;
  width: 100%;
  bottom: 0;
  padding: var(--space-sm);
}

.footer-menu {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-md);
}

@media screen and (max-width: 768px) {
  body, main {
    flex-direction: column;
    display: flex;
    flex: 1;
  }

  nav {
    flex-direction: column;
  }

  article.privacy-policy, article.imprint, article.about {
    max-width: 100%;
    padding-bottom: var(--space-xl);
  }

  footer.footer-desktop {
    position: relative;
  }

  .hover-image-wrapper, .hover-image.contained {
    display: none;
    opacity: 0;
  }
}