@import 'https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,700,800,900';

*,*::before,*::after{box-sizing:border-box;outline:none}

body{margin:0;background-color:#fff}

.container {
  max-width:90rem; /* = 1600px*/
  margin: 0 auto;
  padding: 4px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
}

.gallery-item {
  flex: 24rem;	/* = 384x*/
  margin: 4px;	/* Abstände rungherum. Zusammen mit padding in container machts gleichmässig! */
  /* box-shadow: 0.3rem 0.4rem 0.4rem rgba(0, 0, 0, 0.4); */
}

.gallery-image {
  display: block;
  width: 100%;
  height: auto;
}

#baguetteBox-overlay{display:none;opacity:0;position:fixed;overflow:hidden;top:0;left:0;width:100%;height:100%;z-index:1000000;background-color:#222;background-color:rgba(0,0,0,.8);transition:opacity .5s ease}
#baguetteBox-overlay.visible{opacity:1}
#baguetteBox-overlay .full-image{display:inline-block;position:relative;width:100%;height:100%;text-align:center}
#baguetteBox-overlay .full-image figure{display:inline;margin:0;height:100%}
#baguetteBox-overlay .full-image img{display:inline-block;width:auto;height:auto;max-height:100%;max-width:100%;vertical-align:middle;box-shadow:0 0 8px rgba(0,0,0,.6)}
#baguetteBox-overlay .full-image figcaption{display:block;position:absolute;bottom:0;width:100%;text-align:center;line-height:1.8;white-space:normal;color:#ccc;background-color:#000;background-color:rgba(0,0,0,.6);}
#baguetteBox-overlay .full-image:before{content:"";display:inline-block;height:50%;width:1px;margin-right:-1px}
#baguetteBox-slider{position:absolute;left:0;top:0;height:100%;width:100%;white-space:nowrap;transition:left .4s ease,transform .4s ease}
#baguetteBox-slider.bounce-from-right{animation:bounceFromRight .4s ease-out}
#baguetteBox-slider.bounce-from-left{animation:bounceFromLeft .4s ease-out}

.baguetteBox-button#previous-button,.baguetteBox-button#next-button{top:50%;top:calc(50% - 30px);width:52px;height:60px}
.baguetteBox-button{position:absolute;cursor:pointer;outline:none;padding:0;margin:0;border:0;border-radius:3px;background-color:#323232;background-color:rgba(50,50,50,.5);color:#fff;font:1.6em sans-serif;transition:background-color .4s ease}
.baguetteBox-button:focus,.baguetteBox-button:hover{background-color:rgba(50,50,50,.9);outline:none}
.baguetteBox-button#next-button{right:2%}
.baguetteBox-button#previous-button{left:2%}
.baguetteBox-button#close-button{top:20px;right:2%;right:calc(2% + 6px);width:30px;height:30px}
.baguetteBox-spinner{width:40px;height:40px;display:inline-block;position:absolute;top:50%;left:50%;margin-top:-20px;margin-left:-20px}
.baguetteBox-double-bounce1,.baguetteBox-double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#fff;opacity:.6;position:absolute;top:0;left:0;animation:bounce 2s infinite ease-in-out}
.baguetteBox-double-bounce2{animation-delay:-1s}

