/*#region Init*/
@font-face {
    font-family: victorianText;
    src: url("/assets/fonts/VictorianText.ttf");
    font-display: swap;
}
.pt-serif {
    font-family: "PT Serif", serif;
}
.grenze-gothisch {
    font-family: "Grenze Gotisch", serif;
}
.playfair-display {
    font-family: "Playfair Display", serif;
}
.victorian-text {
    font-family: victorianText, serif;
}
/*#endregion*/

/*#region General*/
html, body {
    overflow-x: hidden;
}
body {
    background-color: #1a1a1a;
    margin: 0px;
    color: #fff;
}
h1 {
    font-family: "Grenze Gotisch", serif;
}
h3 {
    font-family: "Grenze Gotisch", serif;
    font-size: 2em;
}
a {
    text-decoration: none;
}
p, span, a, form, h4, h5 {
    font-family: "PT Serif", serif;
}
.button input {
    display: inline;
    border: 2px solid #D4AF34;
    padding: 10px;
    border-radius: 40px;
    cursor: pointer;
    transition-duration: 0.25s;
    transition-timing-function: ease-in-out;
    color: white;
    background-color: #00000000;
    text-decoration: none;
}
.button input:hover {
    background-color: #000000c2;
}
/*#endregion*/

/*#region Navbar*/
nav {
    background-color: #1a1a1a;
    border-bottom: solid 2px #D4AF34;
    height: fit-content;
    width: 100vw;
    max-width: 100vw;
    position: fixed;
    top: 0%;
    white-space: nowrap;
    min-height: 2.5em;
    z-index: 2;
}
nav ul, nav div {
    display: flex;
    gap: 10px;
    list-style-type: none;
    text-decoration: none;
    font-family: "PT Serif", serif;
    height: 100%;
    padding-left: 10px;
    margin: 0px;
    background-color: inherit;
    transition-property: all;
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
}
.navContainer {
    flex-direction: column;
    margin-top: -45vh;
    position: absolute;
    width: 100%;
    left: 0%;
    height: fit-content;
    padding: 15px;
    border-bottom: solid 2px #D4AF34;
    z-index: -1;
}
.navContainer.selected {
    margin-top: 5vh;
}
nav a {
    height: 100%;
}
.navContainer a {
    height: 4vh;
    display: block;
    align-content: center;
    color: inherit;
}
.navTitle {
    height: 100%;
    margin: 0px;
    align-content: center;
}
.navTitle a {
    font-size: 1.5em;
    margin-right: 20px;
    color: inherit;
    font-family: inherit;
}
nav li, nav form, nav button {
    align-content: center;
    height: 100%;
    color: #fff;
    transition: background 0.25s ease-in-out;
    margin-bottom: 0px;
}
nav form {
    min-height: -moz-available;
    min-height: -webkit-fill-available;
    min-height: stretch;
}
nav li:hover {
    background-color: #7a7a7a40;
}
li.selected {
    background-color: #414141;
}
nav button {
    background: none;
    border: none;
    padding: 0px;
    font-family: "PT Serif", serif;
    cursor: pointer;
    font-size: inherit;
    padding-right: 0px;
}
nav #modeChange {
    margin-left: auto;
    font-size: larger;
}
nav #modeChange button {
    padding-right: 0px;
}
@media screen and (min-width: 992px) {
    .navContainer {
        flex-direction: row;
        margin-top: 0px;
        position: unset;
        width: unset;
        background: unset;
        padding: unset;
        padding-left: 10px;
        height: 100%;
        border: unset;
        z-index: unset;
        flex-wrap: wrap;
        min-height: 2.5em;
    }
    nav ul, nav div {
        align-items: center;
    }
    .navContainer a {
        height: 100%;
        width: 100%;
    }
    nav #hamburger {
        display: none;
    }
    nav li, nav form, nav button {
        padding: 0px 15px;
        min-height: -moz-available;
        min-height: -webkit-fill-available;
        min-height: stretch;
    }
    nav button {
        padding-right: 30px;
    }
    .navTitle a {
        font-size: 2em;
    }
}
/*#endregion*/

/*#region Header*/
header {
    width: 100%;
    height: 80vh;
}
header .bgContainer {
    position: absolute;
    height: 80vh;
    width: 100%;
    z-index: -1;
}
header .bg {
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #0000005c;
    background-blend-mode: darken;
    animation: headerBgFadeIn 1s;
    display: none;
    opacity: 0;
    transition: opacity 1s;
}
header .bgActive {
    display: block;
}
#bg1 {
    background-image: url("/assets/images/bgs/bg1.webp");
}
#bg2 {
    background-image: url("/assets/images/bgs/bg2.webp");
}
#bg3, #bg3ns {
    background-image: url("/assets/images/bgs/bg3.webp");
}
#bg4 {
    background-image: url("/assets/images/bgs/bg4.webp");
}
@keyframes headerBgFadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
header .textContainer {
    padding-top: 20vh;
    width: 100%;
    text-align: center;
}
header h1 {
    font-size: 4em;
    margin-bottom: 0px;
}
header h2 {
    font-size: 2.5em;
    margin-top: 0px;
    font-family: "Grenze Gotisch", serif;
}
header h3 {
    font-size: 2em;
    font-family: "Grenze Gotisch", serif;
}
header .buttonContainer {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    width: fit-content;
}
@media screen and (min-width: 992px) {
    header .textContainer {
        width: 40%;
        text-align: left;
        padding-left: 4vw;
    }
}
/*#endregion*/

/*#region Main*/
main {
    width: 100%;
    border-top: 2px solid #D4AF34;
    background-color: #1a1a1a;
}
main section {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
}
main h2 {
    font-size: 2.5em;
    text-align: center;
    font-family: "Grenze Gotisch", serif;
}
main a {
    color: inherit;
    text-decoration: underline;
}
@media screen and (min-width: 992px) { 
    main section {
        width: 60%;
    }
    main section.wide {
        width: 80%;
    }
}
/*#endregion*/

/*#region Products*/
main .productContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
main .product {
    background-image: url("/assets/images/psbg.jpg");
    background-position: center;
    background-size: cover;
    height: 35vw;
    width: 35vw;
    align-content: end;
    text-align: center;
    transition-duration: 0.5s;
    transition-property: transform;
    transition-timing-function: ease-in-out;
    color: #fff;
    cursor: pointer;
}
@keyframes productDescFade {
    0%        {opacity: 0;}
    50%       {opacity: 0;}
    100%      {opacity: 1;}
}
main .product:hover {
    transform: scale(1.1);
}
main .product p {
    font-family: "Playfair Display", serif;
    margin: 0px;
    padding: 1em 0px;
    background-color: #00000088;
    color: inherit;
}
main a.product {
    text-decoration: none;
}
main .productDesc {
    display: none;
    opacity: 0;
}
main .active {
    display: block;
}
main .productDesc.active {
    animation: productDescFade 1s;
    opacity: 1;
}
main .productContainer .active {
    transform: translate(0, 2vh);
}
@media screen and (min-width: 992px) {
    main .product {
        height: 20vh;
        width: 20vh;
    }
}
/*#endregion*/

/*#region Imprint*/
.wideButton {
    width: 100%;
    background-color: #00000000;
    border: none;
    color: inherit;
    transition: background 0.75s;
    font-size: larger;
    border-radius: 2em;
    margin-bottom: 20px;
}
.wideButton:hover {
    background-color: #00000042;
}
#datenschutzWrapper, #haftungWrapper {
    display: none;
}
/*#endregion*/

/*#region Footer*/
footer {
    display: grid;
    background-color: inherit;;
    border-top: 2px solid #D4AF34;
    border-bottom: 2px solid #D4AF34;
    font-family: "PT Serif", serif;
    text-align: center;
}
footer a {
    color: inherit;
    text-decoration: underline;
}
@media screen and (min-width: 992px) {
    footer {
        grid-auto-flow: column;
    }
}
/*#endregion*/