
/* = = = = = = = = = = = = = = = = = datei menue.css = = = = = = = = = = = = = = = = = = = = = = = = = */


/* ############################################################ */
/* diese datei enthaelt das hauptmenue */
/* ############################################################ */


nav {}

#menu1 {display:table;
width:100%;height:100vh;
z-index:1;
POSITION:fixed;
top:-200%;
background:#f0f4e8;
padding: 0;margin:0 auto;
transition:all 2s;
}

#menu1 ul {
display:table-cell;
vertical-align:middle;
padding:0rem 1rem;
}

#menu1 li {list-style-type: none;
display:block;
padding: 0 2vw;
}

#menu1 li a {display:inline-block;width:100%;
background:transparent;
border-bottom:solid 1px #d2d2a4;
color:#4E4558;
text-align:left;
text-decoration : none;
font-size:1.6rem;
letter-spacing:2px;
padding: .5rem .5rem .5rem 1.5rem;
margin: 0;
font-weight:normal;
text-transform:uppercase;
}

/* letzter link - border-linie unsichtbar  */
#menu1 li:last-child a {border-bottom:solid 1px transparent; }



/*  hover   */
#menu1 li a:hover {background:transparent;
color:#000;
text-decoration:none;
}

/* angezeigter link  */

#menu1  li#aktuell a {background:transparent;
color:#4E4558;
font-weight:bold;
text-decoration:none;
}

#menu1  li#aktuell a:hover {background:transparent; }


/* menue oeffnen schalter  formatierung */
nav label.button-open {display:inline-block;
text-align:center;
POSITION:absolute;
top:1.5rem;left:50%;
margin-left:-1.6rem;
z-index:2;
padding:0rem;
background:whitesmoke;
color:#9f9f9f;box-shadow: 0 0 0 1.5rem white;
height:3.2rem;
width:3.2rem;
line-height:3.2rem;
font-size:1.6rem;
border-radius:36rem;
cursor:pointer;
transition:all 2s ;
}

/* menue schliessen schalter  formatierung */

nav label.button-close  {display:inline-block;
text-align:center;
POSITION:fixed;
top:-10rem;left:50%;
margin-left:-1.5rem;
z-index:3;
padding:0rem;
background:#d2d2a4;
color:#fff;
height:3rem;
width:3rem;
line-height:3rem;
font-size:1.8rem;
border-radius:36rem;
cursor:pointer;
transition: 2s ease-out;
}


/* checkbox versteckt */
input[type=checkbox]{
display: none;
}

/* schaltet menue ein/aus */
input#open-menue:checked ~ #menu1  {
z-index:2;
transition:all 3s ;
top:0%;
}

/* menue schliessen button  formatierung */
input#open-menue:checked ~  label.button-close  {
opacity:1;top:1rem;
transition:all 2s ease-out;
}

/*  menue oeffnen button EIN  AUS */
input#open-menue:checked ~  label.button-open  {
top:-10%;
transition: all 2s ;
}

/*  mausberuehrung (hover) bei menu-schalter */

nav label.button-open:hover {
transform:rotate(180deg);transition: .4s ease-out;
}

nav label.button-close:hover {
background:#1f1f1f;
}


/* ############################################################ */
/* M E D I A   Q U E R I E S */
/* CSS Bildschirmabfragen */
/* ############################################################ */




/* ==================================== ab 480 pixel ================================== */
@media (min-width: 480px) {

#menu1 li {padding: 0 10vw; }

}


/* ==================================== ab 760 pixel ================================== */
@media (min-width: 760px) {

/* menue oeffnen schalter  formatierung */
nav label.button-open {
margin-left:-2.3rem;
height:4.6rem;
width:4.6rem;
line-height:4.6rem;
font-size:1.8rem;
}

}



/* ==================================== ab 960 pixel ================================== */
@media (min-width: 960px) {

#menu1 {height:auto;top:0;padding:3rem 0; fbox-shadow:0px 0px 3px rgba(0,0,0,.3);position:absolute;border-bottom:solid 1rem white;}

#menu1 ul {display:block;padding:0 }

#menu1 li {display:inline-block;padding:0; }

#menu1 li a {font-size:1.4rem;background:transparent;
padding:0 .6rem;
border-bottom:none;
}


/* menue oeffnen und close schalter  ausgestellt */
nav label.button-open {display:none; }
nav label.button-close {display:none; }


}