/**Sections**/
.page-article {
  background-color: #b0b0b0; 
  font-family: Verdana;
  color: #fff;
  margin: 0;
  text-decoration: none;
}
#startimg{
  position: relative; 
  max-width:600px;
  margin-right: 10%;
  margin-left: 10%;
}
#header .container {
  position: relative; 
  max-width: 700px;
  margin-right: 10%;
  margin-left: 10%;
  padding-top: 12px;
  padding-bottom: 12px;
}
.mainbody {
  position: relative;
  display:block;
  width: 100%;
}
#mainbody .container {
  max-width: 700px;
  margin-left: 10%;
  margin-right: 10%;
  padding-top: 5%;
  padding-bottom: 5%;
}
footer {
  background-color: #fff; 
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}
#footer .container {
  max-width: 700px;
  margin-left: 10%;
  margin-right: 10%;
}

/**Navigation**/
.navbar {
  width: 100%;
  background: #fff;
  background-color: #b0b0b0;
  position: relative;
  z-index: 20;
  border-color: #fff;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.mainmenu {
  max-width: 700px;
  margin-left: 10%;
  margin-right: 10%;
  min-height: 48px;
  background: 0 0;
  border: 0;
  padding: 0;
  text-shadow: none;
  box-shadow: none;
}
.mainmenu a {
  float: left;
  display: block;
  color: #000;
  text-align: left;
  text-decoration: none;
  font-size: 13px;
  padding: 16px 0;
  padding-right: 30px;
}
.submenu {
  float: left;
  overflow: hidden;
}
.submenu-btn {
  font: 13px Verdana;  
  color: #000;
  background-color: #b0b0b0;
  border: none;
  outline: none;
  padding: 0;
}
.submenu-btn a {
  padding: 16px 0;
  padding-right: 30px;
  text-align: left;
}
.submenu-content {
  display: none;
  position: absolute;
  background-color: #b0b0b0;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.submenu-content a {
  float: none;
  color: #000;
  padding: 12px 12px;
  text-decoration: none;
  display: block;
  text-align: left; 
}
.mainmenu .icon {display: none; padding: 16px 0; font-size: 13px;}
.active {color: #fff;}
.mainmenu a:hover, .submenu:hover .submenu-btn {color: #fff;}
.mainmenu a.active,  .submenu-btn.active{color: #fff;}
.submenu-content a:hover {color: #fff;}
.submenu:hover .submenu-content {display: block;}

/**Images**/
#img-space, #img-genug {
  display: block; 
  margin-left: auto; 
  margin-right: auto; 
  width: 100%;
}
#img-aller {display: block; width: 70%;}

/**Tables**/
#proj-table {width: 100%;}
#proj-table td {max-width: 350px; vertical-align: top;}
#proj-table img {width: 80%;}

/**Gallery**/
#lback {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all ease 0.5s;
}
#lback.show {
  opacity: 1;
  visibility: visible;
}
#lfront {
  text-align: center;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
#lfront img {
  max-width: 80vw;
  max-height: 80vh;
}
#gallery {width: 100%;}
#gallery img {
  box-sizing: border-box;
  width: 200px;
  height: 200px;
  padding: 5px;
  object-fit: cover;
  cursor: pointer;
}

/**Text formatting**/
h1, h2, p, .pbig, .pfoot {line-height: 1.5; text-align: justify;}
h1 {font-size: 16px; color: #000;}
h2 {font-size: 15px; font-weight: normal;}
p.pbig {font-size: 14px;}
p {font-size: 13px;}
p.pfoot{font-size: 12px; color: #b0b0b0;}

/**Make it responsive**/
@media screen and (max-width: 700px) {
  /*Navigation*/
  .navbar a:not(:first-child), .submenu .submenu-btn {
    display: none;
  }
  .mainmenu {
      min-height: 32px;
  }
  .mainmenu a {
      padding-top: 8px;
  }
  .mainmenu a.icon {
    padding: 8px;
    float: right;
    display: block;
  }
  .mainmenu.responsive {
    position: relative;
  }
  .mainmenu.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .mainmenu.responsive a {
    float: none;
    display: block;
    text-align: left;
    padding-top: 8px;
	padding-bottom: 8px;
  }
  .mainmenu.responsive .submenu {
    float: none;
	display: block;
  }
  .mainmenu.responsive .submenu-content {  
    position: relative;
    display: block;
    padding-left: 15px;
    box-shadow: none;
  }
  .mainmenu.responsive .submenu .submenu-btn {
    display: block;
    width: 100%;
    text-align: left;
  }
  /*Text formatting*/
  h1 {font-size: 14px;}
  h2 {font-size: 13px;}
  p.pbig {font-size: 12px;}
  p {font-size: 11px;}
  p.pfoot {font-size: 10x;}
  /*Gallery*/
  #gallery img {
  width: 250px;
  height: 250px;
  }
}