@font-face {
    font-family: "primary-font";
    src: url("../fonts/barlow/Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "primary-font";
    src: url("../fonts/barlow/Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}
*,
*:before,
*:after {
    border: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/** /
* {
  outline: 1px dotted rgba( 0, 0, 0, .2 );
}
/**/
:root {
    --text-color: #111;
    --background-color: #eee;
    --hilite-color: #090;
    --lite-color: #ccc;
}

html {
    font-size: 62.5%;
    line-height: 1.333em;
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 38rem;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font: normal clamp(1.5rem, 2.1vw, 2.1rem)/1.3 "primary-font";
    min-height: 100%;
    overflow-x: hidden;
    width: 100dvw;
}

h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
p {
    margin-bottom: 2rem;
}

h1 {
    text-transform: uppercase;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

a {
    color: var(--text-color);
}

#page-wrapper {
    margin: 0 auto;
    max-width: 180rem;
    padding: 2rem;
    position: relative;
}

h1 + p#profile--link {
    /*margin-top: -1.4rem;*/
}

i.fas {
    font-size: 1.5rem;
    position: relative;
    top: 0.1rem;
}

#logo a {
    align-items: center;
    display: flex;
    gap: 2rem;
    max-width: 48rem;
}
#logo {
    margin-bottom: 2rem;
}

#profile {
    max-width: 82rem;
}

.navbar {
    display: none;
}
.navbar ul {
    display: flex;
    gap: 2rem;
    list-style-type: none;
}
.navbar ul li a {
    color: var(--text-color);
}
.navbar ul li a.active {
    color: var(--hilite-color);
}

.overview {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 5rem;
}
@media (width <= 960px) {
    .overview {
        grid-template-columns: 1fr 1fr;
    }
}
@media (width <= 480px) {
    .overview {
        grid-template-columns: 1fr;
    }
}
.overview {
    gap: 2rem;
}
.overview a {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}
.overview a span {
    bottom: 0;
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: backdrop-filter 0.2s ease-in-out;
}
.overview a span:hover {
    backdrop-filter: blur(7px);
}
.overview a span:hover h2 {
    bottom: 0rem;
}
.overview a span h2 {
    bottom: -6rem;
    color: var(--background-color);
    font-size: 2.4rem;
    left: 1rem;
    position: absolute;
    transition: bottom 0.15s ease-in-out;
    z-index: 1;
}
.overview a span:hover p.jahr {
    left: 1rem;
}
.overview a span p.jahr {
    bottom: -1.6rem;
    color: var(--background-color);
    font-size: 1.6rem;
    left: -6rem;
    position: absolute;
    transition: left 0.3s ease-in-out;
    z-index: 1;
}

#slider {
    border: 0.1rem solid var(--primary-color);
    border-radius: 0.3rem;
    height: 30rem;
    margin-bottom: 5rem;
}

a.nav--back {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(21px);
    border-radius: 0.7rem;
    color: var(--text-color);
    padding: 0.3rem 0.5rem 0.5rem;
    position: fixed;
    left: 2rem;
    top: 2rem;
}
a.nav--back:hover {
    color: var(--background-color);
    background-color: var(--text-color);
}

body.parent--bilder #bild {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 2rem;
    left: 2rem;
    position: fixed;
    right: 2rem;
    top: 2rem;
    z-index: -1;
}
body.parent--bilder #page-content {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: brightness(96%) blur(21px);
    border-radius: 0.7rem;
    /* height: 100dvh; */
    /* margin: calc(100dvh - 10rem) auto 100dvh; */
    margin: 100dvh auto;
    max-width: 72.4rem;
    padding: 2rem;
    width: 80%;
}
body.parent--bilder #page-content h1 + p {
    margin-top: -2rem;
}
body.parent--bilder #page-content h1 + p span.jahr {
    font-weight: bold;
}

body.parent--bilder #page-content img {
    max-height: 80dvh;
    width: auto !important;
}

.categories {
    color: var(--lite-color);
    position: absolute;
    right: 2rem;
    top: 4.6rem;
}
@media (width < 640px) {
    .categories {
        top: 11.5rem;
    }
}
.categories select {
    border: 0.1rem solid var(--lite-color);
    border-radius: 0.7rem;
    color: var(--hilite-color);
    font-family: inherit;
    font-size: inherit;
    padding: 0.5rem 1rem;
}
