@keyframes pulse {

    0%,
    to {
        transform: scale(.9)
    }

    70% {
        transform: scale(1)
    }
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scroll-snap-type: y proximity;
    scroll-padding-top: 100px
}

body {
    padding: 0 .62em;
    font: 1.2em/1.62em sans-serif;
    margin: 100px 20px 120px 20px;
}

#sterne {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('sterne.gif');
    z-index: -1;
}

#mars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-image: url("mars.png");
    background-repeat: no-repeat;
    background-position: center center;
}

h1,
h2,
h3 {
    line-height: 1.2
}

footer,
nav {
    position: fixed;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    z-index: 2
}

nav {
    top: 0
}

footer {
    bottom: 0;
    font-size: small
}

address,
address p,
footer p,
menu,
nav li {
    display: inline
}

nav a,
nav a:visited {
    background-color: #f0f0f4;
    color: #000;
    padding: 10px;
    text-decoration: none;
    border-radius: 9px
}

nav a:hover {
    background-color: #cfcfd8
}

menu {
    list-style-type: none;
    margin: 0;
    padding: 0
}

footer,
menu,
nav {
    background: #f8faff
}

svg {
    color: #fff;
}

#start,
section {
    scroll-snap-align: start
}

#start {
    font-family: sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #00000000;
    box-shadow: 0 0#00000000;
    margin-top: -150px;
    backdrop-filter: blur(0px);
    color: white
}

section {
    border-radius: 9px;
    background-color: #ffffff75;
    padding: 18px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .4);
    margin-top: 20px;
    margin-bottom: 20px;
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
    backdrop-filter: blur(3px);
}

section:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
    transform: scale(1.01)
}

#down {
    animation: pulse 3s infinite
}

#down,
#down a:visited {
    color: #fff
}

table,
td,
th {
    border: 0 solid #000;
    text-align: left;
    padding: 10px;
    vertical-align: top
}

textarea {
    display: block;
    resize: none
}

input,
textarea {
    font: 1em sans-serif;
    margin: 5px;
    border-radius: 9px;
    width: 90%;
}

input[type=submit],
input[type=reset] {
    width: 140px;
}

#menuToggle {
    display: inline
}

#menuToggle a {
    text-decoration: none;
    transition: color .3s ease
}

#menu-icon span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #cdcdcd;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0;
    transition: transform .5s cubic-bezier(.77, .2, .05, 1), background .5s cubic-bezier(.77, .2, .05, 1), opacity .55s ease
}

#menu-icon span:first-child {
    transform-origin: 0 0
}

#menu-icon span:nth-last-child(2) {
    transform-origin: 0 100%
}

#menuToggle input:checked~label>span {
    opacity: 1;
    transform: rotate(-45deg) translate(-3px, -3px)
}

#menuToggle input:checked~label>span:nth-last-child(2) {
    opacity: 0;
    transform: rotate(0deg) scale(.2, .2)
}

#menuToggle input:checked~label>span:nth-last-child(3) {
    transform: rotate(45deg) translate(-2px, -1px)
}

#menuToggle input:checked~menu {
    transform: none
}

#menu-icon {
    position: absolute;
    top: 10px;
    right: 50px;
    display: none;
    cursor: pointer
}

nav input[type=checkbox] {
    display: none;
    visibility: hidden
}

nav menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex
}

nav menu li a {
    display: block;
    color: #000;
    text-decoration: none;
    padding: 10px 20px
}


article {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
}

#downloads {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download {
    background-color: rgb(240, 179, 106);
    border: none;
    color: white;
    padding: 12px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 20px;
    display: inline-block;
    width: 35%;
    text-align: center;
    text-decoration: none;
}

.download:hover {
    background-color: rgb(240, 148, 64);
}

code {
    background: white;
}


@media (prefers-color-scheme:dark) {
    body {
        color: #fff;
        background-color: #1c1b22;
    }

    a:link {
        color: #cdf;
    }

    a:hover,
    a:visited:hover {
        color: #def;
    }

    footer,
    menu,
    nav {
        background: #2b2a33;
    }

    nav a,
    nav a:visited {
        color: #fff;
        background-color: #42414d;
    }

    input,
    nav a:hover,
    textarea {
        background-color: #53525d;
    }

    input,
    svg,
    textarea,
    nav menu li a {
        color: #fff;
    }

    section {
        background-color: #0000002e;
    }

    a {
        color: white;
    }

    code {
        background: black;
    }
}

@media only screen and (max-width:1000px) {
    article {
        grid-template-columns: 1fr;
        gap: 10px 20px;
    }
}

@media only screen and (max-width:768px) {
    body {
        font: 1em/1.2 sans-serif;
        margin: 80px 5px 80px 5px;
    }

    nav menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 40px;
        right: 20px;
        width: 50%;
        padding: 10px;
        box-sizing: border-box;
        transform-origin: 0 0;
        transform: translate(0, -115%);
        transition: transform .5s cubic-bezier(.77, .2, .05, 1)
    }

    nav menu li {
        text-align: center;
        margin: 1px 0
    }

    #menu-toggle:checked~menu {
        display: flex;
        transform: none
    }

    #menu-icon {
        display: block;
        cursor: pointer
    }

}

@media print {
    body {
        max-width: none
    }

    article {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }
}