@charset "UTF-8";
/*
Style: Judith Hübscher, Zug - Impressum and Privacy pages
Version: 1.0.0
*/
/*
 * RESETS *******************************************
 *
 */
* {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 100%;
    font: inherit;
    /* do not change font size for landscape */
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    text-size-adjust: 100%;
    vertical-align: baseline;
    box-sizing: border-box;
}

/* Theme colors for scrollbar in Webkit Browsers */
::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: #a35078;
    border-radius: 0.375rem;
}

/* Scrollbar in Firefox */
* {
    scrollbar-color: #a35078 #731739;
}

/*
 * DEFINITIONEN *************************************
 *
 */
html,
body,
main {
    height: 100%;
}

body {
    background-color: #fff;
    line-height: 1.5rem;
    padding: 0.75rem;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

img {
    border-radius: 0.5rem;
    width: 100%;
    height: 100%;
}

strong {
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Fluid type and vertical rhythm: Thanks to Mike Riethmuller (https://codepen.io/MadeByMike/pen/bEEGvv?editors%3D0100) */
html {
    color: #1e1e1e;
    font-family: "agenda", sans-serif;
    font-weight: 400;
    line-height: 1.5rem;
    text-rendering: optimizeLegibility;
}
html {
    font-size: 1.125rem;
}

@media screen and (min-width: 20rem) {
    html {
        font-size: calc(1.125rem + 0.125 * ((100vw - 20rem) / 30));
    }
}
@media screen and (min-width: 50rem) {
    html {
        font-size: 1.25rem;
    }
}

/* Pages */
.container {
    background-color: #f5eee2;
    border-radius: 0.8rem;
    box-shadow: 0 1px 8px 1px rgba(40, 30, 35, 0.25);
    height: 100%;
    min-height: calc(100vh - 1.5rem);
    min-height: -moz-available;
    min-height: -webkit-fill-available;
    min-height: fill-available;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.page {
    background-color: #f5eee2;
    height: 100%;
    width: 100%;
    overflow-y: scroll;
}

.page-inner-container {
    max-width: 30rem;
    margin: clamp(5.25rem, 5vh, 8rem) auto clamp(5rem, 22vh, 12rem) auto;
    padding: 0.75rem;
}

p {
    line-height: 1.5rem;
    margin-bottom: 1.5rem;
}

h1,
h2,
h3,
h4 {
    -webkit-font-kerning: normal;
    font-kerning: normal;
}

h1,
h2 {
    margin-bottom: 1.5rem;
}

h1,
h2,
h3,
h4 {
    line-height: 1;
}

h1 {
    color: #ca9a9a;
    font-family: "agenda-condensed", sans-serif;
    font-size: 3.375rem;
    text-transform: uppercase;
}

h2 {
    font-weight: 400;
    font-size: 1.6875rem;
}

h1 + h2 {
    margin-top: calc((1.5rem - 1.6875rem) + 1.5rem * -1.95);
    margin-bottom: 3rem;
    padding-left: 0.75rem;
}

h3 {
    color: #731739;
    font-family: "agenda-condensed", sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-top: calc((1.5rem - 1.25rem) + 1.5rem * 2);
}

h4 {
    font-size: inherit;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-top: 1.5rem;
    text-transform: uppercase;
}

strong {
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Links */
a,
a:visited {
    background-size: 100% 0.05em;
    border-bottom: none;
    display: inline;
    text-decoration: none;
}

a:not(.back-button),
a:not(.back-button):visited {
    color: #1e1e1e;
    background-image: linear-gradient(#1e1e1e, #1e1e1e);
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding: 0 0.1em;
    transition: background-image 0.4s ease, background-size 0.4s ease,
        color 0.4s ease;
}

a:not(.back-button):active,
a:not(.back-button):hover {
    color: #fff;
    background-image: linear-gradient(#731739, #731739);
    background-size: 100% 100%;
}

/* Back button */
.back-button {
    background-color: #731739;
    border-radius: 1.125rem;
    box-shadow: 0 0 0 0 rgba(40, 30, 35, 0);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    text-transform: uppercase;
    height: 36px;
    width: 96px;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    transform: scale(1);
    transition: all 0.35s ease-in-out;
}

.back-button:hover {
    box-shadow: 0 1px 8px 1px rgba(40, 30, 35, 0.25);
    font-size: 1.05rem;
    transform: scale(1.05);
}

/* Pages */
.page-inner-container {
    padding: 0.75rem;
}

/* FLOWERS */
.meadow {
    border-radius: 0 0 0.8rem 0.8rem;
    height: clamp(4rem, 20%, 10rem);
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 3;
    overflow: hidden;
}

.grass {
    background: #a35078;
    height: 25%;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

.flowers-wrapper {
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    transform-origin: bottom;
    transform: skew(0) scaleY(1);
    -webkit-animation: sway 5s ease-in-out 0s 10 forwards;
    animation: sway 5s ease-in-out 0s 10 forwards;
}

.flowers {
    background: url("../img/jh-wild-flowers.png") transparent repeat-x fixed
        bottom center;
    background-size: auto 100%;
    height: 100%;
    width: 100%;
    transform-origin: bottom;
    transform: translateY(60%) scaleY(0.9);
    -webkit-animation: grow 1s ease-out 0s forwards;
    animation: grow 1s ease-out 0s forwards;
    animation-composition: replace;
}

@-webkit-keyframes sway {
    0% {
        transform: skew(0);
    }
    50% {
        transform: skew(-5deg);
    }
    100% {
        transform: skew(0);
    }
}

@keyframes sway {
    0% {
        transform: skew(0);
    }
    50% {
        transform: skew(-5deg);
    }
    100% {
        transform: skew(0);
    }
}

@-webkit-keyframes grow {
    0% {
        transform: translateY(60%) scaleY(0.99);
    }
    100% {
        transform: translateY(0) scaleY(1);
    }
}

@keyframes grow {
    0% {
        transform: translateY(60%) scaleY(0.99);
    }
    100% {
        transform: translateY(0) scaleY(1);
    }
}

/* GENERAL MEDIA QUERIES */
@media (min-width: 800px) and (min-height: 672px) {
    body {
        padding: 1.5rem;
    }

    h1 {
        font-size: 4.8rem;
    }
    h2 {
        font-size: 2.4rem;
    }
    h1 + h2 {
        margin-top: calc((1.5rem - 2.4rem) + 1.5rem * -1.9);
        padding-left: 1.5rem;
    }

    /* Back button */
    .back-button {
        height: 40px;
        width: 112px;
        top: 3rem;
        left: 3rem;
    }

    /* Pages */
    .page-inner-container {
        padding: 1.5rem;
    }
}
