@import url("reset.css");

/* nunito-300 - 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: 'Nunito';
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/nunito-v31-latin-300.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-300italic - 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: 'Nunito';
	font-style: italic;
	font-weight: 300;
	src: url('../fonts/nunito-v31-latin-300italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-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: 'Nunito';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/nunito-v31-latin-regular.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-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: 'Nunito';
	font-style: italic;
	font-weight: 400;
	src: url('../fonts/nunito-v31-latin-italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-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: 'Nunito';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/nunito-v31-latin-700.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-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: 'Nunito';
	font-style: italic;
	font-weight: 700;
	src: url('../fonts/nunito-v31-latin-700italic.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Nunito';
	font-size: 16px;
	line-height: 26px;
	color: #555555;
	font-weight: 300;
}

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

a:hover {
	transition: 0.3s;
	opacity: 0.8;
}

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



nav ul {
	display: flex;
}

nav ul li a {
	padding: 0px 0px 0px 20px;
	text-decoration: none;
	color: #555555
}

nav ul li a:hover {
	color: #93c13d;
}

.logo {
	width: 200px;
}

h1 {
	font-size: 45px;
	line-height: 55px;
	font-weight: 700;
}

h2 {
	font-size: 25px;
	line-height: 35px;
	font-weight: 700;
	padding-bottom: 10px;
	color: #0778b8;
}

h3 {
	font-size: 20px;
	line-height: 30px;
	font-weight: 700;
	padding-bottom: 10px;
	padding-top: 20px;
	color: #0778b8;
}

.dropdown{
	display: none;
}

header {
	background: url(../images/frau-laecheln-weisse-zaehne.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	height: 800px;
	width: 70%;
	margin-left: 30%;
	margin-top: 30px;
}

header .box {
	padding: 80px 50px 80px 10%;
	background: #eee;
	margin-top: 300px;
	color: #0778b8;
	width: 50%;
	left: 0;
	position: absolute;

}

.button {
	background: #93c13d;
	padding: 10px;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	margin-top: 25px;
}

.col {
	width: 50%;
}

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

section {
	padding: 100px 10%;
}

.col img {
	width: 100%;
}

#technik {
	background: #93c13d
}

#leistungen .flex {
	align-items: normal;
	column-gap: 20px;
}

#leistungen .box {
	width: 33.3%;
	background: #eee;
	padding: 20px;
}

#leistungen .box img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	margin-bottom: 20px;
}

#schwerpunkte {
	background: #eee;
	text-align: center;
}

#schwerpunkte .flex {
	column-gap: 50px;
}

#schwerpunkte .col {
	margin-bottom: 25px;
	margin-top: 25px;
	background: #fff;
	padding: 20px;
}

.number {
	font-size: 30px;
	font-weight: 700;
	color: #93c13d;
	margin-bottom: 10px;
}

strong {
	font-weight: 700;
}

#impressum {
	padding: 100px 10%;
	background: #0778b8;
	color: #fff;
}

#impressum .flex {
	align-items: normal;
}

#impressum h2 {
	color: #fff;
}

#impressum strong {
	color: #93c13d
}

#impressum a {
	color: #fff;
}



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

#kontakt .button {
	color: #fff;
}

.dse {
	background: #93c13d;
	padding: 5px 20px;
	position: fixed;
	left: 0;
	bottom: 0;
}

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

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

@media screen and (max-width: 900px) {
	.col{
		width: 100%;
	}
	
	.flex{
		display: block;
	}
	#leistungen .box {
		width: 100%;
		margin-top: 30px;
}
	#leistungen .box img {
    object-fit: contain;
    object-position: left;
}
	.col img {
    width: 100%;
    max-width: 500px;
}
	h1 {
    font-size: 25px;
    line-height: 35px;
}
	header{
		height: 500px;
	}
	header .box {
    padding: 30px 50px 30px 10%;
    margin-top: 200px;
    width: 50%;
}
	
	.col{
		margin-top: 20px;
	}
	.logo {
    width: 150px;
}
	nav ul{
		display: none;
	}
	.dropbtn {
		background-color: #0778b8;
		color: white;
		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(47, 47, 47, 0.9);
		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;
	}

	.dropdown a:hover {
		background-color: rgba(0, 128, 0, 0.19);
	}

	.show {
		display: block;
	}
}

@media screen and (max-width: 500px) {
	    header .box {
        margin-top: 250px;
        width: 90%;
    }
}
