/* noto-sans-mono-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Noto Sans Mono";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/noto-sans-mono-v30-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-sans-mono-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Noto Sans Mono";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/noto-sans-mono-v30-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-sans-mono-800 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Noto Sans Mono";
    font-style: normal;
    font-weight: 800;
    src: url("../fonts/noto-sans-mono-v30-latin-800.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Reset box-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    /* Set the font globally */
    scroll-behavior: smooth;
}

/* Make the body a nice central block */
body {
    margin: 1rem;
}
main {
    max-width: 65rem;
    margin-inline: auto;
}

/* Prevent long strings from overflowing container */
p,
ol,
ul,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

.p,
.ol,
.ul {
    font-family: "Noto Sans Mono", monospace !important;
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* Superscript & Subscript */
/* Prevent scripts from affecting line-height. */
sup,
sub {
    vertical-align: baseline;
    position: relative;
}

sup {
    top: -0.4em;
}

sub {
    top: 0.3em;
}

/* Print */
@media print {
    @page {
        margin: 1cm;
    }
    body {
        display: block;
    }
    a[href^="http"]::after {
        content: " <" attr(href) ">";
    }
}

.button {
    appearance: auto;
    font-weight: bold;
    font-size: 1.5em;
    font-family: sans-serif;
    color: buttontext;
    display: inline-block;
    text-align: center;
    background-color: #ffffad;
    padding-block: 0.25em;
    padding-inline: 0.5em;
    border-width: 2px;
    border-style: outset;
    border-color: buttonborder;
    text-decoration: none;
}
.button:hover {
    /*background-color: buttonface;*/
    border-style: dashed;
}

.produktuebersicht {
    max-width: 992px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: min(2vw, 1rem);
}
.produktuebersicht img {
    border: 2px solid currentColor;
}
.produktuebersicht img:hover {
    border-style: dashed;
}
