
html, body {
    min-height: 100%;
    font-size: 16px;
}

#txtBox {
    justify-content: center;
   
    margin-top: 2em;
    max-width: 780px;
    margin: auto;
    padding-bottom: 1em;
    padding-right: 1em;
    padding-left: 1em;
}

.main {   
     display: flex;
    justify-content: center;
    align-items: center;
}
.main2 {   
    
     font-size: 1.0em;
     max-width: 850px;
     margin: auto;
    justify-content: center;
    align-items: center;    
}
#HomeText {
    
     margin-left: 3em;
     max-width: 400px;
     float: left;
}
h2 {
 
    margin-bottom: 0.5em;
    margin-top: 0.5em
}

#ProfilPic {
    max-width: 300px;
    margin-left: 3em;
    margin-top: 3.5em;
}

#ProfilPic2 {
    max-width: 300px;
    float: right;   
    display: inline;
    margin-left: 2em;
    margin-bottom: 1em;
}
#akt-text {
    display: inline;
}
        
#zentriert {
    margin: 2em;
    display: grid;
    grid-gap: 1em;
    grid-template-columns: auto auto auto;
}
.Aktuelles {
    background-color: #FAFAFA;
    margin-left: 3em;
    margin-right: 3em;
    margin-bottom: 1em;
    max-width: 850px;
    
    padding: 50px;
    box-sizing: border-box;
    border-radius: 3px 15px 5px 30px;
}

.Aktuelles h3{margin: 0.5em;}

.bg1 {
    background: url(images/back.jpg?rnd=1423429127) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.bg2 { background: url(images/head2.jpg?rnd=833143959) no-repeat left top fixed; }
.bg3 { background: url(images/head3.jpg?rnd=1160230413) no-repeat left top fixed; }
.bg4 { background: url(images/head4.jpg?rnd=2032939045) no-repeat left top fixed; }
.bg5 { background: url(images/head5.jpg?rnd=2113657478) no-repeat left top fixed; }
.bg6 { background: url(images/head6.jpg?rnd=2087562669) no-repeat left top fixed; }
.bg7 { background: url(images/head7.jpg?rnd=80446960) no-repeat left top fixed; }
.bg8 { background: url(images/head8.jpg?rnd=1) no-repeat left top fixed; }
.head {
    background-size: 100% auto;
    margin: 0;
    padding: 0;
    padding-bottom: 7em;
    width: 100%;
    display: inline-block;
}

#clear {
	clear: both;
}
* {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
}



/* Add a black background color to the top navigation */
.topnav { 
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 1.1em;
  vertical-align: text-bottom;
  font-weight: bold;  
  margin-top: 0.4em;
}

a.Titel {
    font-size: 1.6em;    
  margin-top: 0;
  margin-right: 1.6em;
  font-weight: bold;  
   
}


/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 1.1em;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  margin-top: 0.4em;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 300px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 1.1em;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a.Menu:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
  
  font-size: 1.1em;
}


/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
  
  font-size: 1.1em;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}


/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 700px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
    min-width: 300px;  
    background-color: #808080;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 700px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
   
     min-width: 300px;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    background-color: #808080;
    color:white;
    font-size: 1.1em;
  }
  .topnav.responsive .dropdown {float: none;
    background-color: #808080;}
  .topnav.responsive .dropdown-content {position: relative;
    background-color: #808080;}
  .topnav.responsive .dropdown-content a {margin-left: 20px;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
     min-width: 300px;
    text-align: left;
  background-color: #808080;
  color: white;
  font-size: 1.1em;
  }
}




.thumbnail {
  width: 15em;
  margin: 0.1em;
}
/** LIGHTBOX MARKUP **/

.lightbox {
	/** Default lightbox to hidden */
	display: none;

	/** Position and style */
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
}

.lightbox img {
	/** Pad the lightbox image */
	max-width: 90%;
	max-height: 75%;
	margin-top: 5%;
}

.lb-text {
    color: white;
    text-decoration: none;
    font-weight: normal;
}

.lightbox:target {
	/** Remove default browser outline */
	outline: none;

	/** Unhide lightbox **/
	display: block;
}


/* Declarations for the responsive menu */

@media screen and (max-width: 1024px) {
  
* {
  font-size: 18px;
}
  
  #zentriert {
    margin: 1em;
     display: grid;
        grid-gap: 1em;
        grid-template-columns: auto auto auto;
}
  
label.responsive-nav-label {
    position: relative;
  display: block;
  padding: 20px;
  background: #222;
  cursor: pointer;
  color: #fff;
}
  
label.responsive-nav-label span {
  margin-right: 10px;  
}
.title {
    display: none;
    color: white;
    font-size: 2em;
}
nav {
  position: absolute;
  top: -9999px;
  padding: 10px;
}

input#responsive-nav[type=checkbox]:checked ~ nav {
  position: relative;
  top: 0;
}

nav a:after {
  display: none;
  
}

nav li {
  float: none !important;
  width: 100% !important;
  border-bottom: none !important; 
}
  
nav li a {
  margin-bottom: 10px !important;
  padding: 10px 20px !important; 
  background: #4a4a4a;
}
  
nav ul li:hover {
  background: none;
}
  
nav ul li a:hover {
  background: #4096ee;
}
  
nav ul ul {
  position: relative !important;
  width: 100%;
  left: 0 !important;
  top: 0 !important;
  background: none !important;
  box-shadow: none;
}
  
nav ul ul li {
  padding-left: 20px;
}


}

@media screen and (max-width: 900px) { 
    * {
  font-size: 18px;
}
  
  #zentriert {
    margin: 1em;
     display: grid;
        grid-gap: 1em;
        grid-template-columns: auto auto;
}
  
label.responsive-nav-label {
    position: relative;
  display: block;
  padding: 20px;
  background: #222;
  cursor: pointer;
  color: #fff;
}
  
label.responsive-nav-label span {
  margin-right: 10px;  
}
.title {
    display: none;
    color: white;
    font-size: 2em;
}
nav {
  position: absolute;
  top: -9999px;
  padding: 10px;
}

input#responsive-nav[type=checkbox]:checked ~ nav {
  position: relative;
  top: 0;
}

nav a:after {
  display: none;
  
}

nav li {
  float: none !important;
  width: 100% !important;
  border-bottom: none !important; 
}
  
nav li a {
  margin-bottom: 10px !important;
  padding: 10px 20px !important; 
  background: #4a4a4a;
}
  
nav ul li:hover {
  background: none;
}
  
nav ul li a:hover {
  background: #4096ee;
}
  
nav ul ul {
  position: relative !important;
  width: 100%;
  left: 0 !important;
  top: 0 !important;
  background: none !important;
  box-shadow: none;
}
  
nav ul ul li {
  padding-left: 20px;
}

}

@media screen and (max-width: 600px) { 
    * {
  font-size: 18px;
}
  
  #zentriert {
    margin: 1em;
     display: grid;
        grid-gap: 1em;
        grid-template-columns: auto ;
}
  
label.responsive-nav-label {
    position: relative;
  display: block;
  padding: 20px;
  background: #222;
  cursor: pointer;
  color: #fff;
}
  
label.responsive-nav-label span {
  margin-right: 10px;  
}
.title {
    display: none;
    color: white;
    font-size: 2em;
}
nav {
  position: absolute;
  top: -9999px;
  padding: 10px;
}

input#responsive-nav[type=checkbox]:checked ~ nav {
  position: relative;
  top: 0;
}

nav a:after {
  display: none;
  
}

nav li {
  float: none !important;
  width: 100% !important;
  border-bottom: none !important; 
}
  
nav li a {
  margin-bottom: 10px !important;
  padding: 10px 20px !important; 
  background: #4a4a4a;
}
  
nav ul li:hover {
  background: none;
}
  
nav ul li a:hover {
  background: #4096ee;
}
  
nav ul ul {
  position: relative !important;
  width: 100%;
  left: 0 !important;
  top: 0 !important;
  background: none !important;
  box-shadow: none;
}
  
nav ul ul li {
  padding-left: 20px;
}
}