* {
    box-sizing: border-box;
  }

  html{
	scroll-behavior: smooth;
  }
  
  body {
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
	padding: 0;
  }
  
  .nav {
    height: 60px;
    width: 84%;
    backdrop-filter: blur(4px);
    position: fixed;
	align-items: center;
	margin: 5% 8% 0% 8%;
	border-radius: 8px;
	background-color: #8080806b;
  }
  
  .nav > .nav-header {
    display: inline;
  }
  
  .nav > .nav-header > .nav-title {
    display: inline-block;
    font-size: 22px;
    color: #fff;
    padding: 10px 10px 10px 10px;
  }
  
  .nav > .nav-btn {
    display: none;
  }
  
  .nav > .nav-links {
    display: inline;
    float: right;
    font-size: 18px;
    
  }
  
  .nav > .nav-links > a {
    display: inline-block;
    padding: 13px 8px 13px 8px;
    text-decoration: none;
    color: #efefef;
    margin: 7px 3px 0 0;
    border-radius: 10px;
    transition: all 0.2s ease-in-out ;
  }
  
  .nav > .nav-links > a:hover {
    background-color: rgba(0, 0, 0, 0.3);
    transform: translateY(-2.5px);
  }
  
  .nav > #nav-check {
    display: none;
  }
  
  @media (max-width:850px) {
    .nav > .nav-btn {
      display: inline-block;
      position: absolute;
      right: 0px;
      top: 0px;
      z-index: 2;
    }
	.style{
		margin-top: 50px;
	}
    .nav > .nav-btn > label {
      display: inline-block;
      width: 60px;
      height: 60px;
      padding: 18px;
	  border-radius: 0 10px 10px 0;
    }
    .nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
      background-color: rgba(0, 0, 0, 0.3);
      
    }
    .nav  #nav-check:checked ~ .nav-btn > label {
      border-radius: 0 10px 0 0;
    }
    .nav  #nav-check:checked ~ .nav {
      border-radius: 10px 10px 0 10px;
    }
    .nav > .nav-btn > label > span {
      display: block;
      width: 25px;
      height: 10px;
      border-top: 2px solid #eee;
    }
    .nav > .nav-links {
      position: absolute;
      display: grid;
      width: 100%;
      background-color: #333;
      height: 0px;
      transition: all 0.3s ease-in-out;
      overflow-y: hidden;
      top: 0;
	  text-align: center;
      left: 0px;
	  padding-top: 60px;
	  border-radius: 10px 10px 10px 10px;
    z-index: -1;
    }
    .nav > .nav-links > a {
      display: block;
      width: 145px;
      margin: 2% 0 1% 35%
    }
    .nav > #nav-check:not(:checked) ~ .nav-links {
      height: 0px;
      padding: 0;
    }
    .nav > #nav-check:not(:checked) ~ .logo-nav {
      height: 0px;
      align-items: flex-start;
      z-index: -10;
    }
    .nav > #nav-check:checked ~ .nav-links {
		height: calc(42vh);
      overflow-y: auto;
      
    }
  }

  .logo{
	height: 40px;
  }

  .logo-nav{
    height: 40px;
  }

  .home{
	margin: 3% 5% 0 5%;
	width: 90%;
	height: 50vh;
	background-color: #ffabab;
	border-radius: 10px 10px 0 0;
  }



	.motorenbau,
	.maschinenbau,
	.pumpentechnik,
	.beratung{
		height: 100vh;
		width: 90%;
		margin: 0 5% 0 5%;
	}
  .motorenbau{
    background-color: rgb(186, 100, 226);
  }
	.maschinenbau{
    background-color: rgb(101, 163, 134);
  }
	.pumpentechni{
    background-color: rgb(117, 82, 37);
  }
	.beratung{
    background-color: burlywood;
}

	.kontakt {
		height: 100vh;
		border-radius: 0 0 10px 10px;
		background-color: beige;
		width: 90%;
		margin: -1% 5% 5% 5%;
	}

	.home,
	.motorenbau,
	.maschinenbau,
	.pumpentechnik,
	.beratung p {
		padding: 10%;
	}

  .kontakt p{
    padding: 10%;
  }


  .bg{
	position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			display: flex;
			background-color: #212931;
			background-image: url("../../images/overlay.png"), linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("../../images/bg.jpg");
			background-size: auto,								auto,														100% auto;
			background-position: center,								center,														top center;
			background-repeat: repeat,								no-repeat,													no-repeat;
			background-attachment: scroll,								scroll,														scroll;
			z-index: -1;
  }