* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
      background-color: #ccc;
  }
  
  body {
      background-color: #f1f1f1; 
      color: #222;
      font-family: 'Merriweather', serif;
      font-size: .9rem;
      line-height: 1.5rem;
      font-weight: 400;
  }
  
  i, em {font-style: italic;}
  
  
  
  label img {
      position: relative;
      margin:10px 18px;
      top: 35px;      
      width:20px;
      float:right;
      display:none;
      cursor: pointer;
      z-index: 10;
  }
  
  header {
      top:0;
      position: relative;    
      background-color: #f1f1f1; 
      z-index: 2;
  }
  
  .header-container{
      position:relative;
      max-width:1200px;
      height: 80px;
      margin: 0 auto;
      
  }
  
  .logo {
      position: absolute;
      margin: 0 10px;
      bottom:10px;
      float:left;}

  
  
  nav {
      position: absolute;
      font-family: 'Open Sans Condensed', sans-serif;
      letter-spacing: 0.2rem;
      margin:0 10px;
      bottom:0;
      right:0;
      }
  
  nav ul li {
      display:inline-block;    
      padding: 10px 8px;
      font-size: 0.9rem;
      font-weight: 700;}
  
  nav ul li a{
      color: #666;
      text-decoration: none;
      }
      
      nav ul li a:hover, nav ul li a:active {
    color: #6BB092;
      text-decoration: underline;
      }

nav ul li p {color: #6BB092;cursor: pointer;}
  
  
  
  .mob-nav {
      position:absolute;
      font-family: 'Open Sans Condensed', sans-serif;
      top:-206px;
      width:100%;
      text-align: center;
      background-color: #666;
      transition: all .3s ease-in-out;
      -webkit-transition: all .3s ease-in-out;
      -ms-transition: all .3s ease-in-out;
      -o-transition: all .3s ease-in-out;
      z-index: 1;}
  .mob-nav ul {line-height: 30px;}
  .mob-nav li {display: block;}
  .mob-nav a, .mob-nav p {display: block;padding: 10px; color:#ccc;border-bottom:1px dotted #777;text-decoration: none;
      font-size: .75rem;
      font-weight: 700;}
  .mob-nav a:hover, .mob-nav a:active {
      background-color: #777;
      color:white;
      text-decoration:underline;}

   .mob-nav p {color:#6BB092}   
  
  .container {
      position:relative;
      max-width: 1200px;
      margin: 0 auto;
      top: 20px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      transition: all .3s ease-in-out;
      -webkit-transition: all .3s ease-in-out;
      -ms-transition: all .3s ease-in-out;
      -o-transition: all .3s ease-in-out;
  }  
  
    .text-box {
      margin-bottom: 10px;
      text-align: left;
      background:#ddd;
      padding: 20px;
    } 
  
  
  .content-static{
      color:#444;
      padding: 0 10px 10px 10px;
  }
  
  .content{
      color:#fff;
      padding: 15px 20px 20px 20px;
      -webkit-transform:translateX(30px);
      -ms-transform:translateX(30px);
      transform:translateX(30px);
      transition:all .7s ease;
      -webkit-transition:all .7s ease;
      -ms-transition:all .7s ease;
      -o-transition:all .7s ease
  }
  
  .content a, .content-static a{
      color:#6BB092;
      text-decoration: none;
      font-style: italic;
  }

  span.arrow {
      position: relative;
      color: #6BB092;      
      font-size: 1.4rem;
      font-weight: 700;
      left:0;
      opacity: 0;
      
      -webkit-transition: all 0.2s ease 0s;
      -moz-transition: all 0.2s ease 0s;
      -o-transition: all 0.2s ease 0s;
      transition: all 0.2s ease 0s; }

.content-static a:hover span.arrow{
    left: 10px;
    opacity:1;
} 
.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;padding-bottom:500px;z-index:1;pointer-events:auto;content:"";}
  
.content p.trenner{padding-top: 15px;border-top: 1px dotted #777}
.content-static p.trenner{padding-top: 15px;border-top: 1px dotted #aaa}

h1 {
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 15px 0 20px 0;
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

  
.content h2, .content-static h2{
    padding: 10px 0 10px 0;
    color: #fff;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    line-break: normal;
    line-height: 1.4rem;
    letter-spacing: 0.1rem;
}
  
.content h3, .content-static h3 {   
      font-size:1.2rem;
      line-height: 1.8rem;
      padding: 5px 0 10px 0;
  }

strong {font-weight: 700;}

h3 strong {
    font-size:1.3rem;
    
  }

a strong {
    font-size:1rem;
  }
  
  
  .content h4, .content-static h4{
      padding-bottom:10px;
      color: #6BB092;
      font-family: 'Open Sans Condensed', sans-serif;
      font-size: .8rem;
      font-weight: 700;    
      letter-spacing: 0.04rem;
  }

  .quote{text-align: center;}
  
  
  .gallery {
  width:100%;
  height:100%;}
  
  
  
   /* clearfix */
   .gallery:after {
      content: '';
      display: block;
      clear: both;
    }   
  
  .gallery_item {
      float: left;
      margin:10px;
  }  
  
  
  .c-1 {width:279px;}
  .c-2 {width:578px;}
  .c-3 {width: 877px;}
  .c-4 {width:1177px;}
  .r-1 {height:280px;}
  .r-2 {height:578px;}
  .r-3 {height:877px;}
  .r-4 {height:1176px;}
  
  
  .inner-box img {
      object-fit: cover;
      display:block;
      width:100%;
      height:100%;
  }
  
    .inner-box {
      position:relative;
      height: 100%;
      width: 100%;
      overflow:hidden;
  }

.start-pic {
    position:relative;
    text-shadow: 1px 1px 5px black;
    background-color: #6BB092;
    background-image: url(../img/Arbeitsplatz-Kommunikationsdesign-Trier.jpg);
    object-fit: cover;
    height: 100%;
    width: 100%;
    overflow:hidden;
    padding: 40px 15px;
}

.start-pic h1 {
    font-size: 3rem;
    line-height: 4.5rem;
}

.start-pic h2 {
    font-size: 1rem;
    line-break: normal;
    line-height: 1.4rem;
    letter-spacing: 0.2rem;
}
  
  .overlay-box{
      position:absolute;
      left:0;
      top:0;
      width:100%;
      height:100%;
      display:block;
      opacity:0;
      transition:all .3s ease;
      -webkit-transition:all .3s ease;
      -ms-transition:all .3s ease;
      -o-transition:all .3s ease;
      background-color:rgba(60, 60, 60, 0.7);
      overflow:hidden;}
  
  .inner-box:hover .overlay-box, .inner-box:active .overlay-box{
      opacity:1;
  }

  .inner-box:hover .gallery_img, .inner-box:active .gallery_img{
      filter:  blur(3px) grayscale(100%);    
      transform: scale(1.1);
      -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
    transition:all 0.6s ease;
    -webkit-transition:all .6s ease;
      -ms-transition:all .6s ease;
      -o-transition:all .6s ease;
}
  
  .inner-box:hover .content, .inner-box:active .content{
      -webkit-transform:translateX(0);
      -ms-transform:translateX(0);
      transform:translateX(0)
  }
  
  .back2top {
      max-width:1200px;
      margin: 10px auto;
  }
  .back2top a {
      float:right;
      padding:4px 5px 0 5px;
      margin:10px;
      background-color: #ccc;
      border-radius: 100%;
  }
  .back2top a:hover, .back2top a:active {background-color: #bbb;}
  .back2top a img{width:20px;}  
  
  footer {    
      width:100%;
      background-color: #ccc;
      min-height: 100px;
      margin-top: 60px;
      bottom: 0px;
      color: #666;
      padding: 20px; 
      font-size: 0.8rem;
      font-weight: 300;  
  }
  
  .footer-container {
      max-width:1200px;
      margin: 0 auto;
      padding: 0 30px;
  }
  .socialmedia {float:left;}  
  
  .socialmedia ul li{display:inline-block;}
  
  .socialmedia ul li a img{
      width:30px;
        padding:5px;
  }
  
  .socialmedia ul li a:hover img, .socialmedia ul li a:active img{
      background-color: #ddd;
      border-radius: 5px;}
  
   
  
  .copyright {
      padding:10px;
      line-height: 2rem;
      float: right;
      }
  
  .copyright a {
          color:#666;
      text-decoration: none;}
  
      .copyright a:hover, .copyright a:active {
          color: #6BB092;
      text-decoration: underline;} 
      .copyright p em {position:relative;bottom:-.125rem;font-style: normal;} 
  
  /**
  * @section Inline-Glossareinträge
  */
  a.glossary-term {
      color: #777 !important;
      background-color: transparent;
      text-decoration: none;
      padding: 10px;
    }
  a.glossary-term:before {
      content: "\2192\00A0";
      font-size: 1.1em;
    }
  
        /* Glossar-Popup */
  .glossary-description {
      width: 300px;
      color: #444;
      font-size: 1rem;
      padding: 0;
      border-radius: 0;
      z-index: 3;
    }
  .glossary-description strong, .glossary-description span {
      display: block;
      margin: 0;
    }
  .glossary-description strong {
      color: #6BB092;
      font-size: .9rem;
      font-weight: bold;
      background-color: rgba(200, 200, 200, 0.85);
      padding: 10px 20px;    
    }
  .glossary-description span {
      color: inherit;
      background-color: rgba(200, 200, 200, 0.85) ;
      margin: 0;
      padding: 0 20px 10px 20px;
      font-size: 0.7rem;
      line-height: 1.6;
    }
  
    @media (max-width: 1214px){
        .header-container, .gallery, .footer-container, .back2top {max-width:899px}      }
  
      @media (max-width: 915px){
        .gallery, .back2top {width:600px;}
          .footer-container{width:100%;}
          nav ul li{padding:10px 5px;}
          .c-3 {width:578px;}
          .r-2 {height: auto;}
        }  
  
  
  
  
  /* Tablet View */
  
  
  @media (max-width:768px){
  
    
    nav {display: none;}
      label img {display: block;}
  
      #menuToggle:checked ~ .mob-nav {top: 80px;}
      #menuToggle:checked ~ .container {padding-top:200px;}
      
      .socialmedia {float:none;}
      .socialmedia ul li a img{width:36px;
    }
      
      .copyright {
          padding:30px;
          float:none;
          }
      .footer-container {text-align: center;}    
  }
  
  @media (max-width: 616px){
      .gallery, .back2top, .gallery_item{width:300px;}
      .gallery_item {margin:10px 0}

      .start-pic {
        height:300px;
        overflow:hidden;
        padding: 10px 0;
        background-size: cover;}

    .start-pic h1 {
        font-size: 2rem;
        line-height: 3rem;
        margin-left: -20px;
    }
    }  
  

  