


/* = = = = = = = = = = = = = = = = = datei menue.css = = = = = = = = = = = = = = = = = = = = = = = = = */


/* ############################################################ */
/* diese datei enthält das hauptmenü */
/* alle anderen menüs sowie auch allgemeine links im text bzw. eventuelle "weiter-Links"
sind in der datei "format.css" direkt beim jeweiligen abschnitt  definiert */
/* ############################################################ */



/* - - - - - MENU FORMATIERUNG - - - - - */

#nav {margin:0;color:#fff;
padding:0;overflow:hidden;
}

#menu1 {display:table;
position:fixed;
z-index:2;
top:0%;right:0%;
height:100vh;
width:100%;
margin-top:-200vw;
padding:0;
background:transparent;
transition: 3s ease-out;
}

#menu1 ul {display:table-cell;
background:#1B2527;/*IE9*/
background:linear-gradient(to right,#3D4F58, #13181C);
vertical-align:middle;
text-align:center;
margin:0;
padding:0rem;
overflow:hidden;
}

#menu1 li {list-style-type : none;display:block;
margin:.8rem 2rem .8rem 2rem;
text-align:left;
padding:0rem;
}


#menu1 li a {display:inline-block;
text-align:left;
text-decoration : none;
font-size:1.5rem;
letter-spacing:0px;
padding:.6rem 1rem ;
margin: -2px;
background:#577380;
color:#D9E1E6;
text-shadow:none;
text-transform:uppercase;
width:100%;
transition:transform 3s;
}

/* hover und aktuell angezeigter link */

#menu1 li a:hover {color:#fff;
background:#88A2AE;
}

#menu1 #aktuell a {
color:#0C0D0E;
background:#E9EAEC;
}


/* - - - menü-oeffnen-schalter  formatierung - - - */

#nav label.button-open  {display:inline-block;
position: fixed;
top:1rem;right:1rem;
z-index:3;
text-align:center;
margin:0;
padding:0rem;
background:transparent;
cursor:pointer;
color:#EAEBEC;
font-size:2.6rem;
width:3rem;
height:3rem;
line-height:3rem;
transition:top 2s ease-out, transform 1s ease-out;
}


/* - - - menü-schließen-schalter  formatierung - - - */

#nav label.button-close  {display:inline-block;
position: fixed;
top:1rem;right:1rem;
margin-right:-100vw;
z-index:3;
cursor:pointer;
background:transparent;
text-align:center;
vertical-align:middle;
color:#E3E4E6;
font-size:3rem;
width:4rem;
height:4rem;
line-height:4rem;
transition:margin 2s ease-out,transform 1s ease-out;
}

/* - - - hover bei den menü-schaltern - - - */


#nav label.button-open:hover {
color:gold;
transform:rotate(-1080deg);
}


#nav label.button-close:hover {
color:#fff;
transform:rotate(-360deg);
}

/* - - - toggle-funktion - - - */

/* checkbox versteckt */
input[type=checkbox]{
display: none;
}



/*  menue-schließen-button EIN / AUS */
input#open-menue:checked ~  label.button-close  {
margin-right:0;
}

/*  menue-oeffnen-button EIN / AUS */
input#open-menue:checked ~  label.button-open  {
top:-5rem;
}

/* schaltet menu ein/aus */
input#open-menue:checked ~ #menu1  {
margin:0;
transition: 1s ease-out;
}

/* schaltet animation bei den links ein  */
input#open-menue:checked ~ #menu1 li {
animation: fade-in  1s  ease-out backwards;
}
/* schaltet animation bei den links ein  */
input#open-menue:checked ~ #menu1 li  a {

}

/* schaltet die animation-verzögerung bei den links ein  */
input#open-menue:checked ~
#menu1 li:nth-child(1)    {animation-delay:200ms; transform:rotate(360deg);}
input#open-menue:checked ~
#menu1 li:nth-child(2)    {animation-delay:400ms; }
input#open-menue:checked ~
#menu1 li:nth-child(3)    {animation-delay:600ms; }
input#open-menue:checked ~
#menu1 li:nth-child(4)    {animation-delay:800ms; }
input#open-menue:checked ~
#menu1 li:nth-child(5)    {animation-delay:1000ms; }
input#open-menue:checked ~
#menu1 li:nth-child(6)    {animation-delay:1200ms; }
input#open-menue:checked ~
#menu1 li:nth-child(7)    {animation-delay:1400ms; }


/* ############################################################ */
/* M E D I A   Q U E R I E S - RESPONSIVE-BILDSCHIRMABFRAGEN*/
/* ############################################################ */

/* ==================================== ab 480 pixel ================================== */

@media (min-width: 480px) {

#menu1 li {  width:30rem;}

}



/* ==================================== ab 580 pixel ================================== */

@media (min-width: 580px) {

#menu1  { width:70vw;}

}

/* ==================================== ab 768 pixel ================================== */

@media (min-width: 768px) {

#menu1  { width:50vw;}

}


/* ==================================== ab 960 pixel ================================== */
@media (min-width: 960px) {

#menu1  { width:34rem }

}


/* = = = = = = = = = = = = = = = = = = = = = Code Ende = = = = = = = = = = = = = = = = = = = = = */