* {
    box-sizing: content-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

/* Header */
header {
    display: flex;
    background: #f1f1f1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 1000;
}

header img {
    width: 48px;
    height: 48px;
    margin: 8px;
}

header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
    gap: 1em;
}

header nav a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    height: 100%;
    line-height: 64px;
    padding: 0 1rem;
    transition: color 0.2s;
}

header nav a.active {
    color: white;
    background: #129dfa;
    font-weight: bolder;
}

header nav a:hover {
    color: #64b5eb;
}

header nav a.active:hover {
    color: black;
}

main {
    margin-top: 64px;
}

/* common */

a.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #129dfa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    cursor: pointer;
    user-select: none;
}

a.button:hover {
    background: #64b5eb;
}

.note {
    font-size: 0.8em;
    background: hsl(204 96% 79% / 1);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.text-center {
	text-align: center;
}

/* index.html */
		
.landing-background {
	width: 100%;
	background: center;
	background-image: url(../img/media/landing-background.jpg);
	background-repeat: no-repeat;
	background-size: cover;
}

main.index-html {
    section.first-impression {
        display: flex;
        justify-content: center;
        align-items: center;
        color: #129dfa;
        flex-direction: column;
		min-height: calc(100dvh - 64px);

        h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        
        .mainpoint {
            background: white;
            margin: 1em;
            padding: 1em;
            box-shadow: 0.5em 0.5em 0.5em rgb(0 0 0 / 50%);
            border-radius: 0.25em;
            
            h1 {
                margin: 0;
            }
        }

        .sellingpoints {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            padding: 1rem;
            justify-content: center;
            margin-top: 10rem;
        }
		

        .sellingpoints div {
            display: flex;
            flex-direction: column;
            align-items: center;
            border: 1px solid #129dfa;
            padding: 1rem;
            margin: 0.5rem;
            border-radius: 5px;
            width: 200px;
            justify-content: space-between;
            user-select: none;
            transition: all 0.1s;
            box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.2);
			background: white;

            h2 {
                font-size: 1.5rem;
                margin-bottom: 0;
            }

            p {
                font-size: 1rem;
                margin-top: 0;
                color: gray;
            }
        }

        .sellingpoints div:hover {
            scale: 1.1;
            box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.2);
        }
    }

    section.features {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #129dfa;
        color: white;
        flex-direction: column;

		img {
			width: 100%;
			height: 10em;
			object-fit: cover;
		}

        h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .features {
            color: #129dfa;
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            padding: 1rem;
            justify-content: center;
            margin-top: 1rem;
        }

        .features div {
            display: flex;
            background: white;
            flex-direction: column;
            align-items: center;
            border: 1px solid #64b5eb;
            padding: 1rem;
            margin: 0.5rem;
            border-radius: 5px;
            width: 400px;
            justify-content: space-between;
            user-select: none;
            box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.2);
            transition: all 0.1s;

            h2 {
                font-size: 1.5rem;
            }

            p {
                font-size: 1rem;
                margin-top: 0;
                color: gray;
            }

            ul {
                list-style: circle;
                text-align: left;
                align-self: flex-start;
            }

            li {
                margin: 0.5rem;
            }
        }

        .features div:hover {
            scale: 1.05;
            box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.2);
        }
    }

    section.pricing {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        min-height: calc(100dvh - 64px);

        h1 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
        }

        .pricing {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .pricing div.panel {
            display: flex;
            flex-direction: column;
            align-items: center;
            border: 1px solid #129dfa;
            padding: 1rem;
            margin: 0.5rem;
            border-radius: 5px;
            width: 400px;
            justify-content: space-between;
            user-select: none;
            transition: all 0.1s;
            box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.2);

            h2 {
                font-size: 1.5rem;
                margin-bottom: 0;
            }

            p {
                font-size: 1rem;
                margin-top: 0;
                color: gray;
            }

            a {
                margin-top: 1rem;
            }

            p.price {
                color: #129dfa;
                display: flex;
                align-items: center;
                flex-direction: column;

                .money {
                    font-size: 3rem;
                    font-weight: bolder;
                }

                .hint {
                    color: gray;
                    font-size: 0.75rem;
                }
            }

            ul {
                list-style: none;
                text-align: left;
                align-self: flex-start;
                padding: 0;
                width: 100%;
            }

            li {
                margin: 0.5rem;
                color: white;
                background: #7ebd7e;
                padding: 0.2rem 0.5rem;
                border-radius: 3px;
            }

            .limit {
                background: #b38080;
            }

            .button.call-to-action {
                width: 100%;
                margin-bottom: -1rem;
                font-size: xx-large;
                font-weight: normal;
                border-radius: 0 0 5px 5px;
                text-align: center;
                height: 5rem;
                line-height: 5rem;
            }
        }

        .pricing div:hover {
            scale: 1.05;
            box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.2);
        }
    }
}

main.modules-html {
    height: calc(100vh - 64px);
    overflow-y: hidden;
    display: flex;
    flex-direction: column;

    section.informal {

        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 1rem;
        background: #129dfa;
        color: white;
        box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.2);
        z-index: 500;

        input[type="text"] {
            width: 100%;
            padding: 0.5rem;
            margin: 0.5rem 0;
            border-radius: 10px;
            border: 3px solid #129dfa;
            /* color: #129dfa; */
            text-align: center;
            font-size: 2em;
            box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.2) inset;
        }

        h1 {
            font-size: 2.5rem;
            margin: 0;
        }


    }

    section.modules {
        display: flex;
        justify-content: center;
        padding: 1rem;
        gap: 2rem;
        flex-wrap: wrap;
        overflow-y: scroll;
        height: 100%;
        align-items: start;

        .module {
            display: flex;
            flex-direction: column;
            width: 300px;
            border-radius: 20px;
            box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.2);
            transition: all 0.1s;

            img {
                border-top-left-radius: 20px;
                border-top-right-radius: 20px;
                width: 300px;
                height: 300px;
                border-left: 1px solid #129dfa;
                border-right: 1px solid #129dfa;
                border-top: 1px solid #129dfa;
                box-sizing: border-box;
            }

            p {
                padding: 1rem;
                margin: 0;
                color: black;
                font-size: 1rem;
                text-align: justify;
                border-left: 1px solid #129dfa;
                border-right: 1px solid #129dfa;
            }

            p span {
                text-wrap: nowrap;
            }

            .support-status, .type {
                text-align: center;
                padding: 0.5rem;
                color: white;
                font-size: 1.2rem;
                border-left: 1px solid #129dfa;
                border-right: 1px solid #129dfa;
            }

            .type {
                background: #129dfa;
                border-bottom-left-radius: 20px;
                border-bottom-right-radius: 20px;
            }

            .support-status.supported {
                background: #7ebd7e;
            }

            .support-status.supported::after {
                content: "Unterstützt";
            }

            .support-status.not-supported {
                background: #b38080;
            }

            .support-status.not-supported::after {
                content: "Nicht unterstützt";
            }

            .support-status.third-party {
                background: #64b5eb;
            }

            .support-status.third-party::after {
                content: "Drittanbieter";
            }

            .type.t-module::after {
                content: "Modul";
            }

            .type.t-marketplace::after {
                content: "Marktplatz";
            }

            .type.t-e-commerce::after {
                content: "E-Commerce";
            }

            .type.t-shipping::after {
                content: "Versand";
            }
        }

        .module:hover {
            scale: 1.05;
            box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.2);
        }
    }
}

main.contact-html {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    height: calc(100vh - 64px);

    section {
        width: 100%;
    }

    section.contact {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;

        h1 {
            font-size: 2.5rem;
            margin: 0;
        }
    }

    section.impressum {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background: #129dfa;
        color: white;
        gap: 1rem;

        .subtext {
            font-size: 0.75em;
            color: #e4e4e4;
            text-align: center;
        }

        table {
            margin-bottom: 1rem;
        }

        h1 {
            font-size: 2.5rem;
            margin: 0;
        }

        p {
            font-size: 1rem;
            margin: 0;
        }
    }
}