/* Root */
html, body { margin: 0; width: 100%; height: 100%; }

body {
    font-family: 'Ubuntu Mono', sans-serif;
    font-size: 1.2em;
    color: white;
    background-color: black;
}

body::before {
    white-space: pre-wrap;
}

/* Global */
a {
    color: white;
}

h2 {
    font-size: 1.2rem;
}

.break {
    flex-basis: 100%;
    height: 0;
}

/* Header */
header {
    margin: 0;
    padding: 1rem;
    background: #222;
    background: linear-gradient(0, rgba(17, 17, 17, .666) 0%, rgb(51, 51, 51, .666) 100%);
    border-bottom: 5px solid #222;
}

h1.rootprompt {
    max-width: 1200px;
    margin: auto;
    padding: 0;
    font-size: 1.4rem;
    font-weight: normal;
    font-family: 'Ubuntu Mono', monospace;
}

h1.rootprompt a {
    text-decoration: none;
}

h1.rootprompt::before {
    content: '>_';
    margin-right: .25rem;
}


/* Footer */
#footer {
    padding: 0.5rem 1rem 0.5rem 0;
    text-align: right;
    border-top: 2px solid #222;
    background: rgb(51, 51, 51, .444) 100%;
}


/* Content */
main {
    padding: 1rem;
    display: flex;
    justify-content: center;
    flex-grow: 1;
    min-height: 100%;
}

#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

#content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    width: 1200px;
    max-width: 1200px;
    z-index: 1;
}

#tagline {
    display: flex;
    padding-bottom: 2rem;
    flex-shrink: 1;
    font-size: 1.2rem;
}

#privacy {
    display: flex;
    flex-shrink: 0;
}

#imprint {
    display: flex;
    flex-shrink: 0;
}

#services-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#services {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    row-gap: 1rem;
    flex-grow: 0;
}

#services section h2 {
    margin-bottom: 0.25rem;
}

#services section p {
    margin-top: 0.25rem;
}

#services section {
    flex-grow: 1;
    width: 350px;
    max-width: 350px;
}

/* contact page */
#contact section {
    margin-bottom: 2.5rem;
}

#contact section h2 {
    margin-bottom: 0.2rem;
}

/* special blind-like-a-mole mode for @slin */
@media (max-width: 1280px) {
    #content {
        width: 800px;
        max-width: 800px;
    }
}

@media (max-width: 800px) {
    #content #tagline {
        flex-basis: 0%;
    }

    #services {
        row-gap: 0.5em;
        flex-direction: column;
        justify-content: flex-start;
    }

    #services section {
        margin: 0;
        width: 100%;
        max-width: 100%;
        flex-grow: 0;
    }

    #services section h2 {
        margin-bottom: 0.1em;
    }

    #services section p {
        margin-bottom: 0.1em;
    }

    #tagline {
        padding-bottom: 1rem;
    }
}


/* Background */
#bg {
    z-index: -1;
    position: fixed;
    left: 0;
    top: 0;
    opacity: 0;
    user-select: none;
}

