/* = = = = = = = = = = = = = = = = = datei menue.css = = = = = = = = = = = = = = = = = = = = = = = = = */

/* ############################################################ */
/* diese datei enth�lt das hauptmen� */
/* alle anderen m�glichen men�s sowie auch allgemeine links im text bzw. eventuelle "Weiter-(Button-)Links"
sind in der Datei "format.css"  definiert */
/* ############################################################ */

nav {
  display: block;
  margin: 0 auto;
}

#menu1 {
  display: table;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 80%;
  margin: 0;
  margin-right: -200vw;
  padding: 0;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  transition: all 0.5s;
}

#menu1 ul {
  display: table-cell;
  vertical-align: middle;
  text-align: left;
  background: #fff;
  margin: 0;
  padding: 0rem 1rem 0rem 2rem;
}

#menu1 li {
  list-style-type: none;
  display: block;
  text-align: left;
  padding: 0rem 0.5rem;
  margin: 0rem;
}

#menu1 li a {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-size: 2rem;
  letter-spacing: 1px;
  padding: 0rem 0rem;
  margin: 0;
  background: transparent;
  color: #141d27;
  font-weight: normal;
  text-transform: uppercase;
}

/*  hover   */
#menu1 li a:hover {
  background: transparent;
  color: #141d27;
  text-decoration: underline;
}

/*  icon und icon-hover   */
#menu1 i {
  background: transparent;
  color: slategray;
}
#menu1 a:hover i {
  color: black;
}

/*  men�-oeffnen-schalter  formatierung  */

/* men�-�ffnen-schalter  formatierung */
/* TODO: Menü etwas größer machen */
nav label.button-open {
  display: inline-block;
  text-align: center;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0rem;
  background: transparent;
  color: dimgray;
  height: 3rem;
  width: 3rem;
  line-height: 3rem;
  font-size: 2rem;
  cursor: pointer;
}

/*  men�-schlie�en-schalter  formatierung  */

nav label.button-close {
  display: inline-block;
  text-align: center;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  padding: 0rem;
  background: transparent;
  color: firebrick;
  height: 3rem;
  width: 3rem;
  line-height: 3rem;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0;
  transition: all 0.5s;
}

/* checkbox versteckt */
input[type="checkbox"] {
  display: none;
}

/* schaltet menu ein/aus */
input#open-menue:checked ~ #menu1 {
  margin: 0;
  transform: scale(1);
  z-index: 2;
  transition: all 0.5s ease-out;
}

/*  menue-schlie�en-button EIN / AUS */
input#open-menue:checked ~ label.button-close {
  opacity: 1;
  transition: all 0.5s ease-out;
}

/* ############################################################ */
/* M E D I A   Q U E R I E S */
/* CSS Bildschirmabfragen */
/* ############################################################ */

/* ===================================== ab 960 pixel ================================= */
@media (min-width: 960px) {
  nav label.button-open,
  nav label.button-close {
    display: none;
  }

  nav {
    padding: 0rem 0rem;
  }

  #menu1 {
    width: 100%;
    margin: .1rem 0;
    font-size: 2em;
    box-shadow: none;
    position: relative;
  }

  #menu1 ul {
    background: transparent;
    height: 0;
    padding: 0 1rem;
    text-align: center;
  }

  #menu1 li {
    display: inline-block;
  }
  #menu1 li a {
    font-size: 1.2rem;
  }
}
