


/* = = = = = = = = = = = = = = = = = datei menue.css = = = = = = = = = = = = = = = = = = = = = = = = = */



/* ############################################################ */
/* diese datei enthält das hauptmenü */
/* ############################################################ */


nav {
overflow:hidden;
color:#fff;
padding:0;margin:0;
}

#menu  {display:table;POSITION:absolute;z-index:-1;
top:50%; left:50%;
margin-top:-13rem;margin-left:-13rem;
width:26rem;height:26rem;
background:transparent;
padding:0rem;
background:rgba(90,145,200,.8);
border-radius:1.6rem;
border:solid 1px #fff;
box-shadow:0 0 0 10px rgba(90,145,200,.8);
opacity:0;
transition: 1s ease-out;
}

#menu ul {height:100%;width:100%;
display:table-cell;vertical-align:middle;
padding:0 ;
margin:0;
}

#menu  li {list-style-type : none;display:block;
padding: .4rem .2rem ;
margin:0;
font-size:1.7rem;
}

#menu li span {cursor:pointer;
}

#menu  li span:hover {letter-spacing:1px;
color: white;
}

/* - - - menü-oeffnen-schalter  formatierung - - - */

nav label.button-open  {display:block;
position: absolute;z-index:1;
top:50%;left:50%;
margin-top:-2.5rem;margin-left:-2.5rem;
text-align:center;
border-radius:1rem;
background:#00A0FF;
cursor:pointer;
color:white;
box-shadow:0 0 1px black;
border:solid 1px white;
font-size:2.6rem;
width:5rem;
height:5rem;
line-height:5rem;
transition:left 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:#00A0FF;
border:solid 1px white;
color:white;
text-align:center;
border-radius:1rem;
font-size:2rem;
width:4rem;
height:4rem;
line-height:4rem;
opacity:0;
transition:all 1s;
}


/* - - - hover bei den menü-schaltern - - - */

nav label.button-open:hover {
background:#fff;
color:#00A0FF;
}

nav label.button-close:hover {
background:#89CFFA;
color:#fff;


}


/* - - - toggle-funktion - - - */

/* checkbox versteckt */
input[type=checkbox]{
display: none;
}


/* schaltet menu ein/aus */
input#open-menue:checked ~ #menu  {
opacity:1;z-index:100;
transition:all 1s ease-out;
}

/*  menue-oeffnen-button EIN / AUS */
input#open-menue:checked ~  label.button-open  {
opacity:0;
transition:all 1s;
}



/*  menue-schließen-button EIN / AUS */
input#open-menue:checked ~  label.button-close  {
opacity:1;z-index:101;
transition:all 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;
}

nav label.button-open {margin-left:13.8rem;border:solid 1px white;font-size:2rem;
width:4rem;
height:4rem;
line-height:4rem;
}

/* schaltet menu ein/aus */
input#open-menue:checked ~ #menu  {
opacity:0;
transition: all 1s ease-out;
}

/*  menue-oeffnen-button EIN / AUS */
input#open-menue:checked ~  label.button-close  {
opacity:0;
transition:all 1s;
}

/*  menue-oeffnen-button EIN / AUS */
input#open-menue:checked ~  label.button-open  {
opacity:1;
position:fixed;
top:3rem;left:-13rem;
transition:all 3s;
}


}


