


/* = = = = = = = = = = = = = = = = = datei menue.css = = = = = = = = = = = = = = = = = = = = = = = = = */



/* ############################################################ */
/* diese datei enthält das hauptmenü */
/* ############################################################ */


nav {margin:0;color:#fff;
padding:0;overflow:hidden;
}

#menu  {display:table;POSITION:absolute;z-index:-1;
top:50%; left:50%;
margin-top:-13rem;margin-left:-13rem;
width:26rem;height:26rem;
background:lightskyblue;
background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,.2) 20px, rgba(255,255,255,.2) 40px);
padding:0rem;
border-radius:36rem;
box-shadow:0px 0px  2px #316480;
opacity:0;
transition: 2s ease-out;
}

#menu ul {height:100%;width:100%;display:table-cell;vertical-align:middle;
padding:0 ;
margin:0;
}


#menu  li {list-style-type : none;
padding:0 ;
margin:0;font-size:1.7rem;
}

#menu li span {display:inline-block;
width:100%;
height:3.4rem;
line-height:3.4rem;
font-weight:bold;
color: #112437;
text-shadow:1px 1px 2px #89CFFA;
padding:0rem 0rem;
text-decoration:none;
text-align:center;cursor:pointer;
}

#menu  li span:hover {
color: maroon;
}





/* - - - menü-oeffnen-schalter  formatierung - - - */

nav label.button-open  {display:block;
position: absolute;
top:50%;left:50%;
margin-top:-2.5rem;margin-left:-2.5rem;
text-align:center;
border-radius:1rem;
background:firebrick;
cursor:pointer;
color:white;
box-shadow:0 0 1px black;
font-size:2.6rem;
width:5rem;
height:5rem;
line-height:5rem;
transition:opacity 1s;
}


/* - - - menü-schließen-schalter  formatierung - - - */

nav label.button-close  {display:block;
position: absolute;
top:50%;right:50%;
margin-top:-2rem;margin-right:-15rem;
z-index:-1;
cursor:pointer;
background:firebrick;
color:white;
text-align:center;
border-radius:1rem;
font-size:2rem;
width:4rem;
height:4rem;
line-height:4rem;
opacity:0;
transition:opacity 1s;
}


/* - - - hover bei den menü-schaltern - - - */

nav label.button-open:hover {
background:#DF0000;
color:white;
}

nav label.button-close:hover {
background:yellow;
color:black;
}


/* - - - toggle-funktion - - - */

/* checkbox versteckt */
input[type=checkbox]{
display: none;
}

/*  menue-oeffnen-button EIN / AUS */
input#open-menue:checked ~  label.button-open  {
opacity:0;
transition:opacity 1s;
}

/* schaltet menu ein/aus */
input#open-menue:checked ~ #menu  {
opacity:1;z-index:100;
transition: 1.2s ease-out;
}

/*  menue-schließen-button EIN / AUS */
input#open-menue:checked ~  label.button-close  {
opacity:1;z-index:101;
transition:opacity 1s;
}


/* ############################################################ */
/* M E D I A   Q U E R I E S - RESPONSIVE-BILDSCHIRMABFRAGEN */
/* ############################################################ */

/* ==================================== ab 760 pixel ================================== */
@media (min-width: 760px) {

#menu  {opacity:1;z-index:100;
background:transparent;
background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,.4) 20px, rgba(255,255,255,.4) 40px);
}

nav label.button-open , nav label.button-close{display:none; }



}