


/* = = = = = = = = = = = = = = = = = datei menue.css = = = = = = = = = = = = = = = = = = = = = = = = = */



/* ############################################################ */
/* HAUPT-MENUE */
/* ############################################################ */

/* - - - - - MENU FORMATIERUNG - - - - - */

#nav {margin:0;
padding:0;
}

#menu1 {display:table;
position:absolute;
z-index:2;
top:0%;right:0%;
height:100vh;
width:100%;
margin-right:-200vw;
padding:0;
background:transparent;
transition:all 3s ease-out;
}

#menu1 ul {display:table-cell;
vertical-align:middle;background:#1f1f1f;
text-align:center;
margin:0 auto;
padding:0rem 1rem;
}

#menu1 li {list-style-type : none;display:block;
margin:0rem;
text-align:center;
padding:0;
font-weight:bold;
}

#menu1 li a {display:inline-block;
text-align:center;
text-decoration : none;
font-size:1.6rem;
letter-spacing:6px;
padding:.4rem 1rem ;
margin: 0 -4px;
background:transparent;
color:#fff;
text-shadow:none;
text-transform:uppercase;
}

#menu1 li a:hover {background:transparent;
color:#F44336;
}


/* - - - menü-oeffnen-schalter  formatierung - - - */

/* menü-öffnen-schalter  formatierung */

#nav label.button-open {display:block;
text-align:left;
position:absolute;
top:1rem; left:2rem;
z-index:2;
margin:0;
padding:0rem;
background:transparent;
cursor:pointer;
color:#fff;
text-shadow:0 0 1px black;
font-size:3rem;
transition:opacity 2s ;
}


/* - - - menü-schließen-schalter  formatierung - - - */

#nav label.button-close  {display:block;
position: absolute;
top:1rem; right:2rem;
z-index:3;
cursor:pointer;
background:transparent;
text-align:center;
vertical-align:middle;
opacity:0;
color:#fff;
font-size:3rem;
transition:transform 4s , opacity 2s ;
}

#nav  .fas ,
#nav  .fab ,
#nav  .far  {display:inline;
margin:0rem;
padding: 0;
width:5rem;
height:5rem;
line-height:5rem;
font-size:3.4rem;
background:transparent;
}


/* checkbox versteckt */
input[type=checkbox]{
display: none;
}

/* schaltet menu ein/aus */
input#open-menue:checked ~ #menu1  {
margin:0;
transition:all 1s ease-out;
}

/* wechselt zw. menue-öffnen-button und menue-schließen-button */
input#open-menue:checked ~  label.button-open  {
opacity:0;
}

/*  menue-schließen-button EIN / AUS */
input#open-menue:checked ~  label.button-close  {
opacity:1;transform:rotate(720deg);
}


input#open-menue:checked ~  #menu1 li a  {
transform:rotateX(720deg) ;
transition:transform 2s ease-out;
}





/* ############################################################ */
/* M E D I A   Q U E R I E S - RESPONSIVE-BILDSCHIRMABFRAGEN*/
/* ############################################################ */

/* ==================================== ab 580 pixel ================================== */

@media (min-width: 580px) {

#menu1  {position:fixed; width:60vw;height:100vh;box-shadow:0 0 3px black;}

#nav label.button-close  {
position: fixed;
}

}



/* ==================================== ab 960 pixel ================================== */
@media (min-width: 960px) {

/* menu-schalter versteckt */
#nav label.button-open ,
#nav label.button-close {display:none;
}


/* menu sichtbar */
#menu1 {position:fixed;z-index:4;
background:transparent;
top:0;left:0;
height:0%;width:100%;
margin:0;
padding:0rem;text-align:center;
box-shadow:none;
}

#menu1 ul  {
margin:0rem;width:100%;
padding:.5rem 0;text-align:center;
border-radius:0;
}

#menu1 li  {display:inline-block;
margin:0rem -.24rem ;
padding: 0rem ;vertical-align:top;
}

#menu1 li a {display:inline-block;
width:100%;
text-decoration : none;
font-size:1.3rem;
letter-spacing:.1rem;
padding:1rem 1rem ;
margin: 0;
color:#fff;
}

#menu1 li a:hover {background:red;
color:#fff;box-shadow:none;
}



}


/* = = = = = = = = = = = = = = = = = = = = = Code Ende = = = = = = = = = = = = = = = = = = = = = */