


/* = = = = = = = = = = = = = = = = = 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:-18rem;margin-left:-15rem;
width:30rem;height:36rem;
background:transparent;
padding:0rem;
background:rgba(0,0,0,.5);
border-radius:0;
opacity:0;
transition:all 2s ;
transform:scale(0);
}

#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:2;
top:50%;right:50%;
margin-top:-2.5rem;margin-right:-2.5rem;
text-align:center;
border-radius:0rem;
background:rgba(0,0,0,.5);
cursor:pointer;
color:white;
box-shadow:none;
border:none;
font-size:2.6rem;
width:4rem;
height:4rem;
line-height:4rem;
transition:all 1s;
}


/* - - - menü-schließen-schalter  formatierung - - - */

nav label.button-close  {display:block;
position: absolute;z-index:2;
top:50%;right:50%;
margin-top:-2rem;margin-right:-15rem;
cursor:pointer;
background:none;
border:none;
color:white;
text-align:center;
border-radius:0rem;
font-size:3rem;
width:4rem;
height:4rem;
line-height:4rem;
opacity:0;
}


/* - - - hover bei den menü-schaltern - - - */

nav label.button-open:hover {
background:#000;
color:tomato;
}

nav label.button-close:hover {
color:tomato;
}


/* - - - toggle-funktion - - - */

/* checkbox versteckt */
input[type=checkbox]{
display: none;
}


/* schaltet menu ein/aus */
input#open-menue:checked ~ #menu  {
opacity:1;z-index:2;
transform:scale(1);
transition:all 1s ;
}

/*  menue-oeffnen-button EIN / AUS */
input#open-menue:checked ~  label.button-open  {
opacity:0;
transition:opacity 1s;
}


/*  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  {
margin-top:-15rem;height:30rem;
}


nav label.button-open  {display:block;
position:fixed;
top:0%;right:0%;
margin-top:0rem;margin-right:0rem;
}



/*  menue-schliessen-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;
transition:all 3s;
top:50%;right:50%;
margin-top:-2rem;margin-right:-19rem;
}


}