/**
 * ==========================================================
 * Base Styles
 * ==========================================================
 *
 * Globale Grundstyles des Leinenzeit-Themes.
 *
 * Enthält:
 * - CSS-Reset
 * - Dokument- und Grundlayout
 * - Typografie
 * - Links
 * - Listen
 * - Medien
 * - Formulare
 *
 * Komponenten und Seitendesign gehören nicht in diese Datei.
 */

/* ==========================================================
   Reset
========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

/* ==========================================================
   Dokument
========================================================== */

body {
    color: #222222;
    background-color: #f5f1e8;

    font-family: "Inter", sans-serif;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================
   Typografie
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin: 0;
}

/* ==========================================================
   Links
========================================================== */

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* ==========================================================
   Listen
========================================================== */

ul,
ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

/* ==========================================================
   Medien
========================================================== */

img {
    display: block;

    max-width: 100%;
    height: auto;
}

/* ==========================================================
   Formulare
========================================================== */

button,
input,
textarea,
select {
    font: inherit;
}

/* ==========================================================
   Layout
========================================================== */

.container {
    width: min(1200px, calc(100% - 2rem));
    margin-inline: auto;
}
