@font-face {
	font-family: 'Inter';
	src: url('../fonts/Inter-latin.woff2') format('woff2');
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
}

@font-face {
	font-family: 'Oswald';
	src: url('../fonts/Oswald-latin.woff2') format('woff2');
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
}

/* ==========================================================
   Kleingärtner Theme
   Base Styles
   Version: 1.0.0
========================================================== */

/* ==========================================================
   Root
========================================================== */

:root {
	--kg-z-header: 1000;
	
	/* Animation */
	--kg-transition-fast: 150ms ease-in-out;
	--kg-transition: 250ms ease-in-out;
	--kg-transition-slow: 400ms ease-in-out;

	/* Radius */
	--kg-radius-sm: 6px;
	--kg-radius-md: 12px;
	--kg-radius-lg: 20px;
	--kg-radius-pill: 999px;

	/* Schatten */
	--kg-shadow-sm: 0 2px 6px rgba(0,0,0,.08);
	--kg-shadow-md: 0 8px 24px rgba(0,0,0,.12);
	--kg-shadow-lg: 0 18px 48px rgba(0,0,0,.18);

	/* Max. Breiten */
	--kg-content-width: 1200px;
	--kg-text-width: 760px;
}

:root {

	
}
/* ==========================================================
   HTML
========================================================== */

html {
	scroll-behavior: smooth;
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

/* ==========================================================
   Body
========================================================== */

body {
	margin: 0;
	font-family: var(--wp--preset--font-family--inter);
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	background: var(--wp--preset--color--light);
	color: var(--wp--preset--color--dark);
}

/* ==========================================================
   Headings
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	line-height: 1.2;
	font-family: var(--wp--preset--font-family--oswald);
	font-weight: 700;
	text-wrap: balance;
}

/* ==========================================================
   Paragraphs & Lists
========================================================== */

p,
ul,
ol {
	margin-top: 0;
	margin-bottom: 1.2rem;
}

ul,
ol {
	padding-inline-start: 1.5rem;
}

/* ==========================================================
   Links
========================================================== */

a {
	text-decoration: none;
	transition:
		color var(--kg-transition),
		opacity var(--kg-transition);
}

a:hover,
a:focus-visible {
	opacity: .9;
}

:where(
	a,
	button,
	input,
	select,
	textarea,
	.wp-element-button,
	.wp-block-button__link
):focus-visible {

	outline: 3px solid var(--wp--preset--color--grass);

	outline-offset: 3px;

	border-radius: var(--kg-radius-sm);

}

/* ==========================================================
   Images
========================================================== */

img {
	display: block;
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0;
}

/* ==========================================================
   Buttons
========================================================== */

button,
.wp-element-button,
.wp-block-button__link {
	transition:
		background-color var(--kg-transition),
		color var(--kg-transition),
		transform var(--kg-transition),
		box-shadow var(--kg-transition);
}

button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
}

/* ==========================================================
   Forms
========================================================== */

input,
select,
textarea,
button {
	font: inherit;
}

input,
select,
textarea {
	width: 100%;
	max-width: 100%;
}

/* ==========================================================
   Tables
========================================================== */

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	padding: .75rem;
	text-align: left;
}

/* ==========================================================
   Selection
========================================================== */

::selection {
	background: var(--wp--preset--color--grass);
	color: var(--wp--preset--color--light);
}

@media (prefers-reduced-motion: reduce) {

	html {

		scroll-behavior: auto;

	}

	*,
	*::before,
	*::after {

		animation-duration: .01ms !important;

		animation-iteration-count: 1 !important;

		transition-duration: .01ms !important;

		scroll-behavior: auto !important;

	}

}

img,
picture,
video,
canvas,
svg {

	display: block;

	max-width:100%;

	height:auto;

}

input,
textarea,
select {

	border-radius: var(--kg-radius-sm);

}

::-moz-selection {

	background: var(--wp--preset--color--grass);

	color: var(--wp--preset--color--light);

}

