/* FONTS */

@font-face { font-family: 'circular';
src: url('EuclidSquare-Medium-WebXL.woff') format('woff')
}

@font-face { font-family: 'sectra';
src: url('GT-Sectra-Regular.woff') format('woff')
}



/* GENERAL */

.html {
	background: #fffaf0;
}

.page {
	font-size: 15px;
	font-family: "sectra";
	background: #fffaf0;
	margin: 62px 0 0 0;
	padding-top: 30px;
	line-height: 1.3;
}

body {
	margin: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

p {
	margin: 0;
}

a {
	color: inherit;
  text-decoration: none;
  font-family: "circular";
}

a:hover {
	color: darkgrey;
}

h1 {
	font-size: 2.8em;
	color: #ff3700;
	text-transform: uppercase;
	font-family: "circular";
	letter-spacing: 2.5px;
	font-weight: normal;
	margin: 0 0 15px 0;
	line-height: 1;
}

h2 {
	font-size: 2em;
	font-family: "circular";
	font-weight: normal;
	margin: 0 0 10px 0;
}

h3 {
	font-size: 1.3em;
	letter-spacing: .5px;
	margin: 0;
	font-family: "circular";
	font-weight: normal;
}

li {
	list-style: none;
}

ul {
	padding: 0;
	margin: 0;
}

figure {
	margin: 0;
}

img {
	width: 100%;
	display: block;
}
/* HEADER */

#main-header {
	background: #ff3700;
	z-index: 999;
	color: #fffaf0;
	position: fixed;
	padding: 10px 0 10px 10px;
	width: calc(100% - 10px);
	font-family: "circular";
	text-transform: uppercase;
	font-size: 2em;
	letter-spacing: .05em;
}

#header-toggle{
	line-height: 1;
	padding: 12px 10px;
	width: calc(100%-20px);
	box-shadow: none;
	border-style: none;
	background: #fcba03;
	color: black;
	transition: all .2s;
	font-size: 1em;
	text-transform: uppercase;
	font-family: "circular";
	text-align: left;
}

button:hover {
	background: black;
	color: #fffaf0;
} 

#header-extra {
	height: 0px;
	transition: all .3s;
	overflow: hidden;
}

#header-extra.active {
	height: 380px;
}

.logo img {
	width: 220px;
	display: block;
}

#dreieck {
	font-size: 1.3em;
}

header.active .menu {
  height: 270px;
  background: #ff3700;
  display: block;
}

header.active .menu a {
  height: 40px;

}


/* NAVIGATION */

.menu {
	transition: height .4s;
	height: 0;
	margin: 0 4% 0 0;
	overflow: hidden;
	justify-content: flex-end;
}

.menu a {
	color: white;
	align-items: center;
	border: solid;
	text-align: center;
	padding: .8%;
	display: block;
	margin: 15px 0 5px 0;
}

.menu a:hover {
	color: #ff3700;
	background:#fffaf0;
	transition: all .2s;
	border-color:#fffaf0; 
}

.menu a[aria-current] {
	color: #ff3700;
	background:#fffaf0;
	transition: all .2s;
	border-color:#fffaf0; 
}

#menu-toggle {
	position: absolute;
	right: 15px;
	top: 15px;
}

#menu-toggle span {
	display: block;
	width: 50px;
	height: 6px;
	background: #fffaf0;
	margin-bottom: 9px;
}

/* FOOTER */

#mobile-footer {
	font-family: "circular";
	text-align: center;
	background: #ff3700;
	padding: 10px;
	font-size: 2em;
}

#footer {
  font-family: "circular";
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: black;
  color: white;
  width: calc(100%-40px);
  padding: 10px;
  text-align: left;
  line-height: 1.5em;
  font-size: .8em;
}

.footer-item {
	width: 48%;
	margin: 15px 0;
}

.footer-item svg {
	margin-right: 20px;
}

#full-width-item {
	width: 100%;
	margin: 10px 0 0 0;
}

#newsletter {
	width: 90%;
	margin: auto;
	padding: 0 0 70px 0;

}

@media screen and (min-width: 1000px) {
	h1 {
		letter-spacing: 5px;
	}

	#mobile-footer {
		display: none;
	}

	.page {
		font-size: 22px;
		margin: 92px 0 0 0;
		padding-top: 70px; 
	}

	#main-header {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		font-size: 1.5em;
	}

	#main-header.active .menu {
		height: auto;
	}

	.menu {
		width: 100%;
		margin: 0;
		flex-wrap: nowrap;
		display: flex;
		height: auto;
	}

	.menu a {
		border: solid;
		margin: 10px 20px 10px 0;
	}

	#menu-toggle {
		display: none;
	}

	.logo img {
		width: 370px;
		display: block;
		margin: 0;
	}

	#footer {
		display: flex;
		flex-wrap: wrap;
		width: 90%;
		margin: auto;
		padding: 30px 5% 50px;
		justify-content: flex-start;
		font-size: 1em;
	}

	#full-width-item {
		flex-basis: 17.3%;
		margin: 0;

	}

	.footer-item {
		flex-basis: 17.3%;
		height: auto;
		margin: 0;
	}

	}
