/* -----------------------------------
Variables
-------------------------------------- */

:root {
    --color-bg: #ffffff; /*#242120;*/
    --color-highlight: #0000FF; /*#F8F6F5;*/
    --color-default: #000000; /*#BAB6B1;*/
    --color-dim: #797673;
    --color-vdim: #494745;
    --color-stabilo: rgba(255, 213, 0, 0.1);
    --font-sans: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
    --font-serif: BlancoWeb,Times,serif;
    --font-size: 16px;
    --font-s: 14px;
    --font-size-serif: 18px;
    --spacing: 1.5em;
    --spacing-s: calc(0.5 * var(--spacing));
    --spacing-m: var(--spacing);
    --spacing-l: calc(1.5 * var(--spacing));
    --spacing-xl: calc(2.5 * var(--spacing));
    --spacing-xxl: calc(5 * var(--spacing));
    --spacing-col: calc(6 * var(--spacing));
    --spacing-width-max: 38rem;
    --spacing-width-tiny: 15rem;
    --spacing-width-xl: 50rem;
}

/* -----------------------------------
Fonts
-------------------------------------- */

@font-face {
  font-family: 'BlancoWeb';
  src: url('Blanco-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'BlancoWeb';
  font-style: italic;
  src: url('Blanco-Italic.woff2') format('woff2');
  font-display: swap;
}

/* -----------------------------------
Base
-------------------------------------- */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    font-feature-settings: "kern" 1,"liga" 1;
}

html {
    font-size: var(--font-std);
    font-family: var(--font-sans);
    line-height: 1.5;
    background-color: var(--color-bg);
    color: var(--color-default);
    font-family: var(--font-sans);
    font-weight: 500;
    font-feature-settings: "onum" 1, "liga" 1;
    font-size: var(--font-size);
    line-height: 1.5;
    padding: 1.5rem;
}

body {
    margin: 3vw 0;
}

section {
    margin-bottom: var(--spacing-xl);
}

/* -----------------------------------
Header
-------------------------------------- */

body>header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: var(--spacing-xxl);
    color: var(--color-dim);
}

body>header h1 {
    margin: 0;
}

body>header img {
    display: block;
    border-radius: 100%;
    height: calc(3 * var(--spacing));
    width: auto;
}

body>header a {
    text-decoration: none;
}

/* -----------------------------------
Footer
-------------------------------------- */

body>footer {
    font-size: var(--font-s);
    line-height: var(--spacing-xl);
    justify-content: center;
}

body>footer nav, body>footer {
    display: flex;
    gap: var(--spacing-m);
}

body>footer p {
    font-family: var(--font-sans);
    color: lightgray;
    font-weight: 300;
    font-size: 13px;

}

/* -----------------------------------
Typography
-------------------------------------- */

h1, h2, h3 {
    font-weight: 500;
    font-size: 1rem;
    margin: var(--spacing-s) 0;
    color: var(--color-highlight);
}

article h1 {
    margin-bottom: 0;
}

h2 {
    margin: var(--spacing-m) 0;
}

h3 {
    margin: 0;
}

a {
    color: var(--color-default);
    text-decoration-color: var(--color-highlight);
    text-decoration-thickness: auto;
    text-underline-offset: 0.15rem;
    hyphens: none;
}

a:hover {
    transition: color 0.2s ease-in;
    color: var(--color-highlight);
    text-decoration-color: var(--color-highlight);
}

h3 a {
    color: var(--color-highlight);
}

p, ol, ul {
    font-family: var(--font-serif);
    font-weight: normal;
    margin: 1em 0;
    font-size: var(--font-size-serif);
    font-feature-settings: 'onum' 1;
    hyphens: auto;
}

u {
    text-underline-offset: 0.25rem;
    text-decoration-thickness: auto;
    text-decoration-color: var(--color-highlight);
}

blockquote {
    font-weight: normal;
}

figcaption {
    text-align: center;
    margin-top: var(--spacing-s);
    font-family: var(--font-sans);
    color: var(--color-dim);
    font-size: 14px;
}

small {
    font-size: var(--font-s);
    color: var(--color-dim);
    line-height: 1.5;
    display: block;
}

.label, time {
    color: var(--color-dim);
    font-weight: normal;
}

time {
    font-feature-settings: 'tnum' 1;
}

.ref {
    align-self: start;
    padding-bottom: 0.5rem;
}

.stabilo {
    background-color: var(--color-stabilo);
    padding: 0 0.1rem;
    margin: 0 -0.1rem;
}

.signature {
    text-align: right;
    margin-top: 0.25rem;
    color: var(--color-default);
}

.customers-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    /*justify-content: center;*/
    font-family: var(--font-sans);
    font-size: 16px;
    gap: 0 0.5rem;
    margin: 0;
}

.customers-list li::after {
    margin-left: 0.5rem;
    content: "/";
    color:lightgray; 
}

.customers-list li:last-child::after {
    content: "";
}

/* -----------------------------------
Block Elements
-------------------------------------- */

hr {
    margin: var(--spacing-xl) auto;
    max-width: calc(2 * var(--spacing-xxl));
    border: none;
    border-top: 1px solid var(--color-vdim);
}

hr.large {
    max-width: calc(2 * var(--spacing-xl));
}

figure, video, audio {
    display: block;
    width: 100%;
    margin: var(--spacing-xl) 0;
}

figure img {
    width: 100%;
    height: auto;
}

/* -----------------------------------
Home
-------------------------------------- */

.split {
    margin-bottom: var(--spacing-m);
}

@media (min-width: 600px) {
    .split {
        display: grid;
        grid-template-columns: clamp(8em, 20vw, var(--spacing-col)) 1fr;
        align-items: baseline;
        margin-bottom: var(--spacing-s);
    }
    .split time { margin: 0; }
}

small + p {
    margin-top: var(--spacing-s);
}

.main-form {
    gap: 1rem;
}

/* -----------------------------------
Limit widths
-------------------------------------- */

body>header, article>header,
h1, h2, h3, time,
p, blockquote, ol, ul, details, pre.code, figcaption,
.split, .posts
{
    max-width: var(--spacing-width-max);
    margin-left: auto;
    margin-right: auto;
}

figure, audio, video {
    max-width: var(--spacing-width-xl);
    margin-left: auto;
    margin-right: auto;
}

.limit {
    max-width: var(--spacing-width-tiny);
    margin-left: auto;
    margin-right: auto;
}

iframe[src*="youtube"] {
    max-width: var(--spacing-width-xl);
    width: 100%;
	aspect-ratio: 16/9;
}