@import url('https://fonts.googleapis.com/css2?family=Puppies+Play&display=swap');

:root {
  --footer-font-size: min(4.5em, 8vw);
}

body {
    margin: 0;
    padding: 0;
    z-index: 0;
    background-image: url("background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    height: 100vh;
    overflow: hidden; 
    color: whitesmoke;
    font-family: 'Segoe UI', 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1em;
}

main {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 3em;
    height: calc(100vh - var(--footer-font-size));
    overflow-y: scroll;
    /* Scrollbar verstecken in FF, IE, Edge */
    scrollbar-width: none;
    -ms-overflow-style: none;
     /* Fade-out am unteren Rand */
    -webkit-mask-image: linear-gradient(to bottom, black 93%, transparent 98%);
    mask-image: linear-gradient(to bottom, black 93%, transparent 98%);
    margin-bottom: var(--footer-font-size);
}

/* Scrollbar verstecken in Chromium */
main::-webkit-scrollbar {
  display: none;
}

main section {
    background-color: #69696969;
    padding: 0.5em 1.5em;
    border-radius: 0.5em;
    width: 85%;
    max-width: 90em;
}

main section.spacer {
    visibility: hidden;
}

main section a {
    color: whitesmoke;
}

main section h1 {
    margin: 0;
    text-align: center;
    font-weight: 200;
    font-size: 3em;         /*benötigt noch screen-size-abhängige Definition*/
}

main section ul {
    padding-left: 1ch;
}

main section ul li {
    padding: 0.5em 0;
    text-align: left;
    list-style-type: none;
}

main section ul li.xspecial {
    list-style-type: "💖 ";
}

/*
main section ul li.xspecial::before {
    margin-left: -2em;
    content: "💖";
    font-size: 0.85em;
}
*/

footer {
    z-index: 20;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--footer-font-size);
    line-height: 1;
    margin: 1em 0.33em;
}

footer div {
    text-align: center;
    font-family: "Puppies Play", cursive;
    font-size: var(--footer-font-size);
    color: #ffffff;
}