html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

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

:root {
	/* -- MOBILE (default) -- */
	--width: calc(100% - (var(--spacing) * 2));

	/* spacing */
	--spacing: 1rem;
	--spacing-quarter: calc(var(--spacing) * 0.25);
	--spacing-half: calc(var(--spacing) * 0.5);
	--spacing-double: calc(var(--spacing) * 2);

	/* text */
	--text-base: 10pt;
	--text-small: calc(var(--text-base) * 0.85);
	--line-height: 1.5;
}

@media (min-width: 768px) {
	:root {
		/* -- DESKTOP -- */
		--spacing: 2rem;

		/* text */
		--text-base: 12pt;
	}
}

body {
	font-family: 'Raleway', sans-serif;
	font-size: var(--text-base);
	font-weight: 400;
	line-height: var(--line-height);
}

h1,h2,h3 {
	font-family: 'Montserrat', sans-serif;
	line-height: calc(var(--line-height) * 0.85);
	margin-bottom: var(--spacing-half);

}

h1 {
	font-size: calc(var(--text-base) * 2);
	text-transform: uppercase;
}

h2 {
	font-size: calc(var(--text-base) * 1.5);
	text-transform: uppercase;
}

h3 {
	font-size: calc(var(--text-base) * 1.25);
}

em {
	opacity: 0.75;
}

strong {
	font-weight: 700;
}

form {
	display: grid;
	grid-template-columns: 100%;
}

label {
	margin-bottom: var(--spacing-half);
	width: 100%;
}

input, textarea {
	padding: var(--spacing-quarter);
	width: 100%;
}

.grid {
	align-items: start;
	display: grid;
	grid-template-columns: 100%;
	gap: var(--spacing);
}

@media (min-width: 768px) {
	.grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.grid-single {
		grid-template-columns: 100%;
	}
	.grid-left {
		grid-template-columns: auto 40%;
	}
	.grid-right {
		grid-template-columns: 40% auto;
	}
}

@media (min-width: 1024px) {
	.grid-single {
		grid-template-columns: 100%;
	}
	.grid-left {
		grid-template-columns: auto 40%;
	}
	.grid-right {
		grid-template-columns: 40% auto;
	}

}

.page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.page > header {
	box-shadow: 0px 2px 5px lightgray;
	z-index: 99;
}

.page > footer {
	background-color: rgb(50,50,50);
	color: white;
	font-size: var(--text-small);
	margin-top: auto;
}

.impressum {
	margin-top: var(--spacing);
	text-align: right;
}

.fixed-width {
	/* border-left: 1px dotted pink;
	border-right: 1px dotted pink; */
	margin-left: auto;
	margin-right: auto;
	padding: var(--spacing) 0;
	position: relative;
	width: var(--width);
}

@media (min-width: 1024px) {
	.fixed-width {
		max-width: 960px;
	}
}

.page > header .fixed-width {
	padding: calc(var(--spacing) / 2) 0;
}

.page > header .fixed-width,
.page > footer .fixed-width {
	align-items: center;
	display: flex;
	flex: 1 1 48px;
	flex-flow: row wrap;
	justify-content: space-between;
}

.page > header .fixed-width {
	flex-flow: row nowrap;
	overflow: hidden;
}

.page > header .fixed-width div,
.page > footer .fixed-width div {
	text-align: center;
	width: 100%;
}

@media (min-width: 768px) {
	.page > header .fixed-width div,
	.page > footer .fixed-width div {
		text-align: inherit;
		width: auto;
	}
}

article ul,
aside ul  {
	margin-bottom: var(--spacing-half);
}

article section {
	border-bottom: 1px solid lightgrey;
	margin-bottom: var(--spacing);
	padding-bottom: var(--spacing-half);
}

article section:last-of-type {
	border-bottom: none;
}

aside {
	background-color: whitesmoke;
	border-radius: 5px;
	padding: var(--spacing);
}

@media (min-width: 768px) {
	aside {
		padding: var(--spacing-half);
	}
}

@media (min-width: 1024px) {
	aside {
		background-color: initial;
		border-radius: 0;
		padding: 0 var(--spacing);
	}

	.grid-left aside {
		border-left: 1px solid lightgray;
		padding-right: 0;
	}

	.grid-right aside {
		border-right: 1px solid lightgray;
		padding-left: 0;
	}
}

p {
	margin-bottom: var(--spacing-half);
}

hr {
	border-top: 1px solid whitesmoke;
	margin: var(--spacing) 0;
}

ul.bullet {
	list-style-type: disc;
	margin-left: var(--spacing);
}

/* ul.bullet {
	padding-left: var(--spacing);
} */

ul.bullet li {
	margin-bottom: var(--spacing-half);
}

.button,
button {
	background-color: whitesmoke;
	border: 1px solid lightgray;
	border-radius: 5px;
	display: inline-block;
	margin: var(--spacing-half) 0;
	padding: var(--spacing-half);
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	width: 100%;
}

a, a:link, a:visited {
	text-decoration: none;
}

a, a:link {
	color: red;
}

a:visited {
	color: darkred;
}

.button:hover,
button:hover {
	background-color: lightgrey;
}

.button.button--offpage {
	padding-right: var(--spacing-double);
}

.button.button--offpage::after {
	color: gray;
	content: url('https://api.iconify.design/radix-icons:double-arrow-right.svg?height=16');
	height: 16px;
	position: absolute;
	right: var(--spacing-half);
	top: calc(var(--spacing) * 0.55);
	width: 16px;
}

@media (min-width: 768px) {
	.button {
		padding: var(--spacing-half) var(--spacing-half);
		width: initial;
	}
}

aside .button {
	background-color: white;
	width: 100%;
}

.skills {
	gap: 0;
}

.skills ul {
	margin-left: var(--spacing);
}

.skills ul li {
	list-style: disc;
}

.logo {
	transition: margin-left 1s ease-in-out;
}

nav {
	/* background-color: lightgreen; */
	flex: 0;
	opacity: 0;
	overflow: hidden;
	transition: flex 0.5s ease-in 0.5s, opacity 0.5s ease-in;
}

nav ul {
	align-items: center;
	display: flex;
	flex-flow: row nowrap;
	height: 100%;
	justify-content: flex-end;
	margin-right: var(--spacing-double);

}

nav ul li {
	margin-right: var(--spacing-double);
}

/**
	Hamburger Animations by Grant Vinson
**/

#toggle {
	display: none;
}

.hamburger {
	height: 32px;
	/* margin-bottom: -4px; */
	position: absolute;
	right: 0;
	width: 2em;
	z-index: 5;
}

.hamburger div {
	position: relative;
	width: 1rem;
	height: 2px;
	/* border-radius: 2px; */
	background-color: black;
	margin-top: 8px;
	/* margin-bottom: 4px; */
	transition: all 0.3s ease-in-out;
}

.hamburger .top-bun {
	margin-bottom: 8px;
}

.hamburger .bottom-bun {
	margin-top: 8px;
}

#toggle:checked + .hamburger .top-bun {
	transform: rotate(-45deg);
	margin-top: 16px;
}

#toggle:checked + .hamburger .bottom-bun {
	transform: rotate(45deg);
	margin-top: -12px;
}

#toggle:checked + .hamburger .meat {
	opacity: 0;
}

#toggle:checked + .hamburger {
	transform: scale(1);
	/* margin-bottom: 0; */
}

#toggle:checked ~ .logo {
	margin-left: -190px;
}

#toggle:checked ~ nav {
	flex: 1;
	opacity: 1;
	transition: flex 0.5s ease-in, opacity 0.5s ease-in 0.5s;
}

@media (min-width: 768px) {
	nav {
		flex: 1;
		max-width: 50vw;
		transition: opacity 0.5s ease-in;
	}

	#toggle:checked ~ nav {
		transition: opacity 0.5s ease-in;
	}

	#toggle:checked ~ .logo {
		margin-left: 0;
	}
}

.hero {
	height: auto;
	display: flex;
	flex-flow: column nowrap;
	padding-top: calc(var(--spacing) * 4);
}

.hero--home {
	background: center / cover no-repeat url('../images/hero_wheat1.jpg');
}

.hero--services {
	background: right / cover no-repeat url('../images/hero_wheat2.jpg');
}

.hero--contact {
	display: none;
}

.hero h1,
.hero p {
	background-color: rgba(255,255,255,0.5);
	margin: var(--spacing) 0;
	padding: var(--spacing);
}

@media (min-width: 768px) {
	.hero {
		padding-top: initial;
	}

	.hero--home h1,
	.hero--home p {
		margin-left: 40%;
	}

	.hero--services h1,
	.hero--services p {
		max-width: 40%;
	}
}

@media (min-width: 1024px) {
	.hero--home h1,
	.hero--home p {
		margin-left: 50%;
	}

	.hero--services h1,
	.hero--services p {
		max-width: 50%;
	}

	.hero p {
		min-height: 10rem;
	}
}

.hero h1 {
	border-radius: 5px 5px 0 0;
	margin-bottom: 0;
}

.hero p {
	border-radius: 0 0 5px 5px;
	height: 100%;
	margin-top: 0;
	padding-top: 0;
}

/*# sourceMappingURL=redgrain.css.map */
