/* Theming */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

:root{
    --white: #f9f9f9;
    --black: #36383F;
	--purple: #4B0082;
    --grey: #85888C;
	--lside:  gold;
	--rside: #d3d3d3;
	}

/* Reset */
*{
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
	max-width: 1920px;
	
   
}

body{
    background-color: var(--white);
    font-family: 'Poppins', sans-serif;
	
    }

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

/* Header */
.header{
    background-color: var(--purple);
    box-shadow: 1px 1px 5px 0px var(--grey);
    position: absolute;
	top:0;
    width: 100%;
	z-index: 99;
	
}

/* Logo */
.logo{
    display: inline-block;
    color: var(--white);
    font-size: 40px;
    margin-left: 10px;
	
} 
	


/* Logo */
.HAPZM{
    display: inline-block;
    color: var(--white);
    font-size: 14px;
    margin-left: 5px;
	padding: 0px;
	font-weight: bold;
	}

.logo:hover, .HAPZM:hover {
   color: gold;
}	
	
.adresZM{
	/*display: inline-block;*/
    color: var(--purple);
	background-color: var(--white);
    font-size: 18x;
	margin-left: 5px;
	}
div#adresZM a:link { color: var(--purple); } 
div#adresZM a:visited { color: var(--purple); }
div#adresZM a:hover { color: var(--black); }
div#adresZM a:active { color: var(--purple); }

.phonespoed{
    color: red;
	background-color: var(--white);
    font-size: 14px;
}	

.horizontal_line {
            background-color:  var(--white);
        	width: 100%;
        	height: 5px;
            border-bottom: 5px solid var(--purple);
            line-height: 5px;
    	}


/* Nav menu */
.nav{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--black);
   overflow: hidden;
   top: 60px; 
}

.menu a,.menu p{
	font-size: 16px;
    display: block;
    padding: 20px;
    color: var(--white);

}

.menu a:hover{
    background-color: var(--grey);
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Sub nav */
.subnav-content {
    background-color:  var(--white);
    width: 100%;
    z-index: 2;
    padding: 20px;
    display: none;
  }
.subnav-content a {
    color: var(--black);
    text-decoration: none;
    padding: 0px;
    margin: 10px 0;
    text-align: center;
	
}
.subnav:hover .subnav-content {
    display: block;
}

/* Menu Icon */

.hamb{
    cursor: pointer;
    float: right;
    padding: 30px 20px;
}


.hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    
}

.hamb-line::before,
.hamb-line::after{
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}


.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}


/* Responsiveness */

@media (min-width: 1000px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;

    }

    .menu li{
        float: left;
    }

    .menu a:hover{
        background-color: transparent;
        color: gold;
        
    }
    
    .hamb{
        display: none;
    }

        /* Sub nav */
    .subnav-content {
		z-index:2;
        padding: 20px 0px;
		position: relative;
		top: -5px;
		display: none;
        background-color:  var(--purple);
    }
    .subnav-content a {
        color: white;
    }

}


.wrapper {
  display: flex;  
  flex-flow: row wrap;
  font-weight: regular;
  text-align: center;
  width: 100%;
  position: relative;
  top: 95px;
  z-index:1;  
}

.wrapper > * {
  padding: 0px;
  flex: 1 100%;
}


.footer {
  background: var(--purple);
  color: var(--white);
  font-weight:400;
  z-index: 0;
  text-align: center;
}

.main {
  font-weight:400;
  text-align: left;
  background: var(--white);
  z-index: 0;
  padding: 5px;
}

.mainbar{
  font-weight:400;
  text-align: left;
  background: red;
  z-index: 0;
}
.mainstatus{
  font-weight:400;
  text-align: left;
  background:  var(--white);
  z-index: 0;
  padding: 5px;
}

.aside-1 {
 font-weight:400;
  background: var(--lside);
  text-align: left;
  z-index: 0;
  padding: 5px;
}

.aside-2 {
  font-weight:400;
  background: var(--rside);
  text-align: left;
  z-index: 0;
  padding: 5px;
}

@media all and (min-width: 600px) {
  .aside { flex: 1 0 0; }
}

@media all and (min-width: 800px) {
  .main    { flex: 3 0px; }
  .aside-1 { order: 1; } 
  .main    { order: 2; }
  .aside-2 { order: 3; }
  .footer  { order: 4; }
}

/* popup venster */

.modalDialog {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999;
  opacity: 1;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: auto;
}

.modalDialog:target {
  opacity: 0;
  pointer-events: none;
}

.modalDialog > div {
  width: 330px;
  position: relative;
  margin: 10% auto;
  padding: 5px 20px 13px 20px;
  border-radius: 10px;
  background: #fff;
  
}

.close {
  background: #606061;
  color: #FFFFFF;
  line-height: 25px;
  position: absolute;
  right: -12px;
  text-align: center;
  top: -10px;
  width: 24px;
  text-decoration: none;
  font-weight: bold;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 3px #000;
}

.close:hover {
  background: var(--purple);
}

.top {
  --offset: 30px; 
  position: sticky;
  bottom: 30px;
  margin-left: 10px; 
  margin-top: calc(100vh + var(--offset));
  z-index: 2;

  /* visual styling */
  width: 80px;
  background: #4B0082;
  color: var(--white);
  border-radius: 10px;
  font-size: 30px;
}


.button {
  background-color: initial;
  background-image: linear-gradient(#8614f8 0, #760be0 100%);
  border-radius: 5px;
  border-style: none;
  box-shadow: rgba(245, 244, 247, .25) 0 1px 1px inset;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  height: 60px;
  line-height: 60px;
  margin-left: 5px;
  margin-top: 5px;
  outline: 0;
  text-align: center;
  transition: all .3s cubic-bezier(.05, .03, .35, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: bottom;
  width: 190px;
}

.imgbutton {

margin-left: auto;
margin-right: auto;
vertical-align: middle;
width: 160px;
}
|

.button:hover {
  opacity: .7;
}

@media screen and (max-width: 1000px) {
  .button{
    font-size: 14px;
    height: 50px;
    line-height: 55px;
    width: 170px;
  }

*{scroll-behavior: smooth;}

}