@import url("reset.css");

/* open-sans-regular - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/open-sans-v43-latin-regular.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 400;
	src: url('../fonts/open-sans-v43-latin-italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/open-sans-v43-latin-700.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700italic - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 700;
	src: url('../fonts/open-sans-v43-latin-700italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html{
	scroll-behavior: smooth;
}

body {
	font-family: 'Open Sans';
	font-size: 15px;
	line-height: 25px;
	color: #585858
}

* {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

header {
	background: url(../images/fahrlehrer-fahrschule.jpg);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 600px 10% 0px 10%;
}

nav {
	display: flex;
	padding: 10px 10%;
	background: #fff;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99;
	align-items: center;
	justify-content: space-between
}

.logo {
	height: 50px
}

nav ul {
	display: flex;
}

nav ul li a {
	padding: 0px 15px;
	text-transform: uppercase;
	font-style: italic;
	color: #585858;
	text-decoration: none;
}

header .box {
	background: #fff;
	width: 100%;
	max-width: 600px;
	padding: 50px;

}

h1,
h2 {
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
	font-size: 35px;
	line-height: 45px;
	padding-bottom: 10px;
}

h1 span,
h2 span {
	font-size: 25px;
	color: #177224;
}

h3 {
	font-size: 20px;
	font-weight: 700;
	padding-bottom: 10px;
}

.flex {
	display: flex;
	column-gap: 80px;
	align-items: center;
}

section {
	padding: 100px 10%;
}

.col {
	width: 50%;
}

#siesuchen {
	background: url(../images/hintergrund.jpg);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
}

#siesuchen img {
	width: 100%;
	height: 450px;
	object-fit: cover;
}

#vorteile {
	background: url(../images/strasse-bg.jpg);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;

}

#vorteile .flex {
	align-items: normal;
	column-gap: 30px;
}

#vorteile .box {
	background: #fff;
	padding: 30px;
	margin-top: 40px;
	width: 33.3%;
}

#wirbieten .col {
	margin-top: 40px;
}

#wirbieten img {
	width: 100%;
	height: 600px;
	object-fit: cover
}

#wirbieten h2 {
	text-align: center;
	color: #009541;
}

#wirbieten h3 {
	margin-top: 30px;
}

#erwartungen {
	padding: 0px;
}

#erwartungen .flex {
	column-gap: 0px;
	align-items: normal
}

#erwartungen ul {
	list-style: disc;
	margin-left: 15px;
	margin-top: 20px;
}

#erwartungen .col1 {
	width: 50%;
	background: #eee;
	padding: 50px 10%;
}

#erwartungen .col2 {
	width: 50%;
	background: #3b3b3b;
	padding: 50px 10%;
	color: #fff;
}

.button {
	background: #fff;
	padding: 10px;
	display: inline-block;
	color: #177224;
	font-weight: 700;
	font-style: italic;
	font-weight: 700;
	margin-top: 30px;
	text-decoration: none;
}

.parallax {
	background: url(../images/strasse-parallax.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	height: 350px;
}

#kontakt {
	text-align: center;
}

#kontakt a{
	color: #177224;
	text-decoration: none;
}

.dse {
	width: 100%;
	position: fixed;
	bottom: 0;
	left: 0;
	background: #3b3b3b;
	padding: 5px 10%;
	text-align: center;
}

.dse a {
	padding: 0px 5px;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
}

.dropdown{
	display: none;
}

#impressum a{
	color: #177224;
	text-decoration: none;
}

b{
	font-weight: 700;
}

/*---------------------------------------
MEDIA Queries | Tablet | Phone
---------------------------------------*/

@media screen and (max-width: 1100px) {
	body {
		font-size: 13px;
		line-height: 22px;
	}

	.parallax {
		height: 250px;
	}

	h1,
	h2 {
		font-size: 25px;
		line-height: 35px;
	}

	h1 span,
	h2 span {
		font-size: 20px;
	}

	h3 {
		font-size: 16px;
	}

	header {
		padding: 400px 10% 0px 10%;
	}
}

@media screen and (max-width: 880px) {
	.flex {
		display: block;
	}

	#wirbieten img {
		width: 100%;
		height: 200px;
	}

	.col,
	#erwartungen .col1,
	#erwartungen .col2 {
		width: 100%;
	}

	#vorteile .box {
		width: 100%
	}

	#siesuchen img {
		width: 100%;
		height: auto;
		max-height: 200px;
		object-fit: cover;
		margin-bottom: 20px;
	}

	header {
		padding: 250px 10% 0px 10%;
	}

	header .box {
		padding: 30px;
	}

	nav ul {
		display: none;
	}

	.logo {
		height: 40px;
	}

	.dropbtn {
		background-color: #fff;
		color: #177224;
		padding: 0px;
		font-size: 36px;
		border: none;
		cursor: pointer;
	}

	.dropdown {
		position: fixed;
		top: 15px;
		right: 5%;
		display: inline-block;
		z-index: 99999;
		margin-left: auto;
		margin-right: auto;
	}

	.dropdown-content {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		text-align: center;
		padding-top: 15vh;
		background-color: rgba(59, 59, 59, 0.95);
		min-width: 160px;
		overflow: auto;
		box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
		z-index: 1;
	}

	.dropdown-content a {
		color: #fff;
		padding: 12px 16px;
		text-decoration: none;
		display: block;
		text-transform: uppercase;
	}

	.dropdown a:hover {
		background-color: rgba(23, 114, 36, 0.66);
	}

	.show {
		display: block;
	}
}
