/* Makerist Landing Page - Self-hosted CSS */

/* Fonts */
@font-face {
    font-family: makerist-sans;
    src: url(assets/fonts/MakeristSans-Bold.woff2) format("woff2");
    font-weight: 700;
}

@font-face {
    font-family: makerist-sans;
    src: url(assets/fonts/MakeristSans-Regular.woff2) format("woff2");
    font-weight: 400;
}

/* Reset */
html {
    box-sizing: border-box;
}

*, :after, :before {
    box-sizing: inherit;
}

body, div, header, main, footer, a, img, p, b, br {
    border: 0;
    font: inherit;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    -webkit-text-size-adjust: 100%;
}

/* Main styles */
body {
    font-family: makerist-sans, futura-pt, sans-serif;
    color: #0f0f0f;
    font-size: 1rem;
    line-height: 1.75rem;
    text-rendering: optimizeLegibility;
    background: #e4d5f4;
}

a {
    color: #3259e8;
    text-decoration: none;
}

a:hover {
    color: #0f0f0f;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

/* Layout */
footer, header, main {
    margin: 2rem auto;
    width: 100%;
    max-width: 82rem;
    padding: 0 1rem;
}

footer, header {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Header */
.header__logo {
    height: 2.5rem;
}

.header__logo img {
    width: 170px;
    height: 2.5rem;
}

@media (min-width: 640px) {
    .header__logo {
        height: 4rem;
    }
    .header__logo img {
        height: 62px;
        width: 272px;
    }
}

/* Responsive visibility */
@media (max-width: 639px) {
    .hide-on-mobile {
        display: none;
    }
}

@media (min-width: 640px) {
    .hide-on-desktop {
        display: none;
    }
}

/* Content boxes */
.box__column-2 {
    display: grid;
    grid-gap: 2rem 0;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .box__column-2 {
        grid-template-columns: 1fr 1fr;
        grid-gap: 0 2rem;
    }
}

.box {
    font-size: 1.625rem;
    text-align: center;
    padding: 2rem 3rem;
    min-height: 350px;
    background: #fff;
    align-content: center;
}

/* SEO Markdown Content (Impressum) */
.seo-markdown-content {
    font-size: 0.875rem;
    line-height: 150%;
    margin-bottom: 4rem;
}

.seo-markdown-content h1 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.seo-markdown-content h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

.seo-markdown-content p {
    margin-bottom: 1rem;
}

.seo-markdown-content a {
    text-decoration: underline;
}

.seo-markdown-content a:visited {
    color: #0b2e5a;
}

/* Footer */
.footer a {
    color: #0f0f0f;
    font-size: 0.875rem;
}
