@import url(normalize.css);
@import url(lightbox.min.css);
@import url(all.min.css);

*{
    box-sizing: border-box;
}

*:focus,
*:active{
  outline:none;
  outline: 0;
}

body{
    font-family: Tahoma, Verdana, Geneva, sans-serif;
    font-size: 1em;
    position: relative;
}

h1,h2,h3,h4,h5,h6{
    font-family: Tahoma, Verdana, Geneva, sans-serif;
}

a{
    text-decoration: none;
}

ul,ol{
    padding: 0;
    margin:0;
    list-style-type: none;
}

#wrapper{
    margin: 25px auto 0 auto;
}

figure{
    margin: 0;
}

/*innerbox*/
.innerbox{
    max-width: 980px;
    padding: 40px 20px;
    margin: auto;
}

/*CSS-Raster / Gestaltung / Layout */

/*CSS-Gestaltungsraster*/

.row{
    overflow: hidden;
}

.halbe{
    width: 49%;
    float:left;
    margin-right: 2%;
}

.drittel{
    width: 32%;
    float:left;
    margin-right: 2%;
}

.zweidrittel{
    width: 66%; 
    float:left;
    margin-right: 2%;
}

.viertel{
    width: 23.5%; 
    float:left;
    margin-right: 2%;
}

.fuenftel{
    width: 18.4%; 
    float:left;
    margin-right: 2%;
}

.sechstel{
    width: 15%; 
    float:left;
    margin-right: 2%;
}

.halbe:last-child, 
.drittel:last-child,
.zweidrittel:last-child,
.viertel:last-child,
.fuenftel:last-child,
.sechstel:last-child{
    margin-right: 0%;
}    

footer .innerbox{
    padding: 20px;
}

/*header*/

header{
  background-color: rgba(255, 255, 255, 0.9);
  position: sticky;
  top: 0;
  z-index: 9999;
}

header .innerbox{
    position: sticky;
    top: 0;
    padding:0;
}


/*nav*/
/* Style hamburger */
header i {
    color: #9c9e9f;
    font-size: 2em;
  }
  
  /* Turn cursor into pointer on hover */
  header i:hover {
    cursor: pointer;
  }
  
  /* Nav stretches entire top of page */
  .nav-container {
    width: 100%;
  }
  
  /* Contain AND center the nav items - set max width appropriately */
  nav {
    max-width: 980px;
    margin: 0 auto;
  
    /* Split nav into sections with CSS Grid */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    position:sticky;
  }
  
  /* Keep items in correct columns */
  .left-menu {
    grid-column: 1;
  }
  .logo {
    grid-column: 2;
    /* A little style for logo */
    color: #9c9e9f;
    text-decoration: none;
    font-weight: bold;
  }
  .right-menu {
    grid-column: 3;
  }
  
  /* Remove default ul padding */
  nav ul {
    padding: 0;
  }
  
  /* Make links horizontal on large screen */
  nav ul li {
    display: inline-block;
  }

  nav ul li:first-child {
    margin-left: 0.9em;
  }

  nav ul li:last-child {
    margin-right: 0.9em;
  }
  
  /* Hide hamburger icon on larger screens */
  #nav-toggle,
  .burger-menu {
    display: none;
  }
  
  /* Style the links */
  nav ul li a {
    color: #9c9e9f;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
  }

  nav #aktiv{
      color: rgba(0, 0, 0, 0.7);
  }
  
  /* Position menu items - spaces evenly both sides! */
  .left-menu a,
  .right-menu a {
    padding: 5px 0;
    margin-right:10px;
  }

  .right-menu a:last-child{
      margin-right: 0;
      margin-left:10px;
  }
  
  /* Size and position logo */
  .logo {
    font-size: 20px;
    padding: 1em;
  }
  
  /* Verticle center nav items */
  .left-menu,
  .right-menu {
    align-self: center;
  }
  
  /* Horizontal alignment for nav items */
  .left-menu {
    justify-self: start;
  }
  .right-menu {
    justify-self: end;
  }
  
  /* Align hamburger icon */
  .burger-menu {
    grid-column: 1;
    align-self: center;
    margin-left: 20px;
  }
  

  
.trennung{
    height: 2vh;
    background: #83b81a;
    border-radius: 10%;
    position: sticky;
}

.trennung-header{
  height: 2vh;
  background: #83b81a;
  border-radius: 10% 10% 0 0;
  position: sticky;
  z-index: 9999;
}

.trennung-hero{
  height: 0.5vh;
  background: #83b81a;
}

.trennung-2{
  height: 0.5vh;
  background: #83b81a;
}


.hero {
  position: relative;
  background: #222;
  background: url(../bilder/hauptbild/Praktica_0009.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  text-align: center;
  color: #222;
  letter-spacing: 2px;
  height: 600px;;
  height: 95vh;
}

.hero blockquote {
  background:rgba(255, 255, 255, 0.5);
  margin: 0;
  position: absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  padding:0.3em;
  letter-spacing: 1px;
}


.hero blockquote q#zitat {
  font-size: 1em;
  color:rgba(0, 0, 0, 0.9);
  font-weight: 700;
  display: block;
}

.hero blockquote cite#autor {
  font-size: 1em;
  color:rgba(0, 0, 0, 0.7);
  text-transform: none;
  font-weight: normal;
  display: block;
}


/*main*/

main{
  padding-bottom: 5em;
}

.halbe img{
    width: 100%;
    margin-top:1em;
}

.mySlides {display: none;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  text-align: center;
}

.kundenstimme{
  font-size: 1.2em;
  letter-spacing: 1px;
}

.autor{
  color: #9c9e9f;
  letter-spacing: 1px;
}
.dots{
  text-align:center
}


/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #9c9e9f;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #83b81a;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 0.5s;
  animation-name: fade;
  animation-duration: 0.5s;
}

@-webkit-keyframes fade {
  from {opacity: 0.5} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: 0.5} 
  to {opacity: 1}
}


/*Galerie 1*/

.galerie-1 {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
      
    -webkit-column-gap: 15px;
    -moz-column-gap: 15px;
    column-gap: 15px;
  }
  
  .galerie-item {
    display: inline-block;
    width: 100%;
  }
  
  .galerie-item img {
    display:block;
    width: 100%;
    margin-bottom: 15px;
  }


/*Über mich*/

figure{
  margin-left: 15px;
  margin-top: 1.9em;
}

figure img{
  margin-bottom:5px;
  
}

figure figcaption{
  display: block;
  line-height: 1.5em;
  font-size: 0.625em;
}

/*Skillbars*/

label {
  display: inline-block;
  margin-bottom: 5px;
  font-weight: 700;
  color: #777;
  text-transform: capitalize;
  letter-spacing: 2px;
  font-size: 0.7em;
}

.progress {
  height: 4px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
}

.progress-bar {
  width: 0;
  height: 100%;
  background-color: #83b81a;
}

/*Kontaktformular*/

.formular{
  margin-top:10vh ;
  margin-bottom: 10vh;
}

form{
  margin-top: 2vh;
}

#kontaktformular input[type=text],
#kontaktformular input[type=email],
#kontaktformular textarea{
  background: #f9f9f9;
  border: 1px solid #eee;
  padding:0.625em;
}

/* Beim Setzen des Cursors in die Eingabe-Felder soll...*/
#kontaktformular input[type=text]:focus,
#kontaktformular input[type=email]:focus,
#kontaktformular textarea:focus{
  background: #fff;
  border:1px solid #83b81a;
}

#kontaktformular textarea{
  width: 100%;
  height:250px;
}

#kontaktformular input[type=submit]{
  border:0;
  -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#kontaktformular input[type=submit]:hover{
    background-color: #83b81a;
  }

.quellen{
  margin-top: 3em;
}


/*footer*/

footer{
    background-color: #83B81A;
    border-radius: 10% 10% 0 0;
}

.kontakt footer{
  position: fixed;
  left: 0;
  bottom:0; 
  right:0;
  width: 100%;
}

footer .innerbox{
    overflow: hidden;
}

footer ul li a{
    color: #fff;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -ms-transition: all 0.325s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

footer ul li a:hover{
    color: #000;
}

ul#rechtliches{
    float: left;
}

ul#rechtliches li{
    display: inline;
    margin-right: 10px;
}

footer ul.social{
  float: right;
  margin-top: 0;
}

footer ul.social li{
  display: inline;
  font-size: 1.5em;
  margin-left: 0.625em;
}

/*  CSS-Weichen/Breakpoints/Mediaqueries //////////////////*/

/*  CSS-Weichen/Breakpoints/Mediaqueries //////////////////*/
@media only screen and (max-width: 1200px) {

  .galerie-1 {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
      
    -webkit-column-gap: 15px;
    -moz-column-gap: 15px;
    column-gap: 15px;
  }
  
  .galerie-item {
    display: inline-block;
    width: 100%;
  }
  
  .galerie-item img {
    display:block;
    width: 100%;
    margin-bottom: 15px;
  }

}/*ende Breakpoint bis 1200px*/

@media only screen and (max-width: 1025px) {
    .burger-menu {
      display: inline-block;
    }
  
    /* Place nav links */
    #nav-toggle:checked ~ .left-menu {
      display: grid;
      grid-row: 2;
    }
    #nav-toggle:checked ~ .right-menu {
      display: grid;
      grid-row: 2;
    }
  
    /* Stack items on mobile */
    ul li {
      display: block;
      padding: 0.5rem;
    }
  
    /* Right align mobile menu text on right menu */
    .right-menu ul {
      text-align: right;
    }
  
    /* Hide nav links on mobile */
    .left-menu,
    .right-menu {
        display: none;
    }
}

@media only screen and (max-width: 980px) {

  .galerie-1 {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
      
    -webkit-column-gap: 15px;
    -moz-column-gap: 15px;
    column-gap: 15px;
  }
  
  .galerie-item {
    display: inline-block;
    width: 100%;
  }
  
  .galerie-item img {
    display:block;
    width: 100%;
    margin-bottom: 15px;
  }

  .halbe,
  .drittel,
  .zweidrittel{
    width: 100%;
    float: none;
    margin-right: 0;
  }

  /*contact*/

  #kontaktformular input:first-child{
    margin-bottom:20px;
  }

}

@media only screen and (max-width: 866px) {

  nav {
    display: block;
    padding-top: 7.5em;
    text-align: center;
  }

  nav ul{
    margin-top:0.2em;
  }



  nav ul li{
    display: block;
    width: 100%;
    float:none;
    text-align: center;
    padding: 0.75em;
  }

  nav ul li:first-child {
    margin-left: 0;
  }

  nav ul li:last-child {
    margin-right: 0;
  }

  .burger-menu {
    position: absolute;
    left: 1em;
    top:2.2em;
  }

  .logo{
    position: absolute;
    right: 10px;
    top:10px;
    margin-bottom:1em;
  }

 .left-menu{
   float: none;
   width: 100%;
   text-align: center;
 }
 .right-menu{
  float: none;
  width: 100%;
  text-align: center;
 }

 .left-menu a,
  .right-menu a {
    padding:0;
    margin-right:0;
  }

  .right-menu a:last-child{
      margin-right: 0;
      margin-left:0;
  }


}/*ende Breakpoint bis 866px*/

