/*	Author: Sascha Milivojevic (info@hey-sascha.de):
   
		------------------------------------------------------
   
		Birgit Kronshage v1 stylesheet
  
		----------------------------------------------------*/
		
/*	CSS Imports
  
		----------------------------------------------------
*/
@import url('fonts/fonts.css');

/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #000;
    color: #FFF;
    text-shadow: none;
}

::selection {
    color: #FFF;
    background: #000;
    text-shadow: none;
}


/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.invisible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;}
    
div img, figure img {
  max-width: 100%;
  width: auto\9; /* ie8 */} 

 
/* ==========================================================================
   VARIABLES
   ========================================================================== */
:root {
  --font-family-body: 'Apercu';
  --weiss: #FFF;
  --grau: #C6C6C5;
  --schwarz: #000;
}

.bg-weiss { background-color: var( --weiss); }

/* ==========================================================================
   Flex Layout
   ========================================================================== */
.flex-row, .flex-column, .flex-row-reverse, .flex-column-reverse { display: flex; flex-wrap: wrap;}   
.flex-row { flex-direction: row; }
.flex-row-reverse  { flex-direction: row-reverse; }
.flex-column { flex-direction: column; }


/* 
 justify-content
 This defines the alignment along the main axis. -> horizontal zueinander
 justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly | start | end | left | right
*/
.j-center { justify-content: center; }
.j-start { justify-content: flex-start; }
.j-end { justify-content: flex-end; }
.j-between { justify-content: space-between; }
.j-evenly { justify-content: space-evenly; }
.j-around { justify-content: space-around; }

/*
This defines the default behavior for how flex items are laid out along the cross axis on the current line. -> zueinander in der gleichen Zeile/Spalte bei unterschiedlicher ContainerhÃƒÆ’Ã‚Â¶he
  align-items: stretch | flex-start | flex-end | center | baseline | first baseline | last baseline 
*/

.ai-stretch { align-items: stretch; }
.ai-center { align-items: center; }
.ai-start { align-items: flex-start; }
.ai-end { align-items: flex-end; }
.ai-baseline { align-items: baseline; }

/* 
 align-content
This aligns a flex container's lines within when there is extra space in the cross-axis, similar to how justify-content aligns individual items within the main-axis.
  align-content: flex-start | flex-end | center | space-between | space-around | space-evenly | stretch | start | end | baseline | first baseline | last baseline 
*/
.ac-stretch { align-content: stretch; }
.ac-center { align-content: center; }
.ac-start { align-content: flex-start; }
.ac-end { align-content: flex-end; }
.ac-baseline { align-content: baseline; }
.ac-between { align-content: space-between; }
.ac-evenly { align-content: space-evenly; }
.ac-around { align-content: space-around; }
.wrapper {  padding: 0 20px;}

.w100 { width: 100%;}
.w100.grid-4columns { padding-bottom: 40px; }
.w80 { width: 80%;}
.w50 { width: calc(50% - 5px); }
.left, .right { width: 50%; padding: 5px;}
.left { padding-left: 5px;}
.w60 { width: calc(60% - 40px);   }
.w70 { width: 70%;   }
.w40 { width: 40%; }
.w30 { width: 30%;  }
.w25 { width: 25%;  }
.centerborder { width: 1px; background-color: var(--schwarz);}
.borderTop { width: 100%; border-top: 1px solid var(--schwarz); margin: 0 0 40px 0;}
figure { padding: 0; margin: 0 auto 20px auto; text-align: center;}

figcaption { padding-top: 5px; margin: 0; }
@media screen and (max-width: 1380px) {
.w50 { width: 70%; }
}
@media screen and (max-width: 1280px) {
.w50 { width: 80%; }
}

@media screen and (max-width: 820px) {
.w50 { width: 100%; }
}
@media screen and (max-width: 680px) {

.w50, .w60, .w40, .w30, .w80, .w70 { width: 100%; }
}
.nopointer { pointer-events: none; }
/* ==========================================================================
    GRID LAYOUT
   ========================================================================== */
.grid-2columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    z-index: 2;}    
.grid-3columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    z-index: 2;}
.wrapper.grid-3columns, .wrapper.grid-2columns { margin-bottom: 10px;}
.grid-4columns { 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;}
.grid-4columns-masonry { 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: masonry; 
    grid-column-gap: 40px;
    grid-row-gap: 60px;}
.grid-6columns { 
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;} 
.grid-3columns .grid-item.wide { grid-column: 2 / 4;  }
.grid-3columns .grid-item.high img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;}

@media screen and (max-width: 780px) {
.grid-3columns {grid-template-columns: repeat(2, 1fr); }
.wann.grid-3columns {grid-template-columns: repeat(3, 1fr); }
} 
@media screen and (max-width: 680px) {
.grid-2columns {grid-template-columns: repeat(1, 1fr); }
}
@media screen and (max-width: 580px) {
.artists .grid-3columns {grid-template-columns: repeat(1, 1fr); }    
} 
/* ==========================================================================
   HTML BODY BASICS
   ========================================================================== */
html, body {
    margin: 0 !important;
    padding: 0 !important;}
/* 
@media screen and (max-width: 780px) {
html, body {
  position: relative;
  overflow-x:hidden;}
}

@supports (-webkit-overflow-scrolling: touch) {
html, body {
  position: relative;
  overflow-x:hidden;} 
}
*/  
body {
    overflow-x: hidden; 
    font-family: var(--font-family-body);
    font-weight: 400;
    background-color: var( --weiss);
    color: var(--schwarz); } 
input {  font-family: var(--font-family-body);}
h1, h3, h4, h5, h6 { font-family: var(--font-family-body);}
i, em, q, blockquote, cite { font-family: var(--font-family-body); font-style: normal; }
/* ==========================================================================
   FONT COLORS
   ========================================================================== */
p, h1, h2, h3, h4, h5, h6 { color: var( --schwarz); }
a { color: var(--schwarz); cursor: pointer; text-decoration: none;}

/* ==========================================================================
   LINK BASICS
   ========================================================================== */    
p a, ul li a { color: var(--schwarz); text-decoration: none; position: relative;}
a {  }
.caption p a { text-decoration: underline;}
.caption p a:hover { text-decoration: none;}
ul { margin: 0 padding: 0;}

/* ==========================================================================
   FONT SIZES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-family-body); font-weight: 400; } 
p i {  font-weight: 400; }
p { font-weight: 400;}  
h1, h2, h3, h4, h5, h6 { margin-top: 0;}
p, ul { margin: 0 0 1.35em 0; }
p, li, blockquote,.menu-leiste-oben .menu-item, .menu-leiste-unten .menu-item, h1, h2, h3, h4, h5, h6 { font-size: 45px; line-height: 1.35em; }


@media screen and (max-width: 1680px) { 
p, li, blockquote,.menu-leiste-oben .menu-item, .menu-leiste-unten .menu-item, h1, h2, h3, h4, h5, h6 { font-size: 40px; line-height: 1.35em; }
}

@media screen and (max-width: 1380px) { 
p, li, blockquote,.menu-leiste-oben .menu-item, .menu-leiste-unten .menu-item, h1, h2, h3, h4, h5, h6 { font-size: 32px; line-height: 1.35em; }
}
@media screen and (max-width: 1024px) { 
p, li, blockquote,.menu-leiste-oben .menu-item, .menu-leiste-unten .menu-item, h1, h2, h3, h4, h5, h6 { font-size: 26px; line-height: 1.35em; }
}

@media screen and (max-width: 780px) {
p, li, blockquote,.menu-leiste-oben .menu-item, .menu-leiste-unten .menu-item, h1, h2, h3, h4, h5, h6 { font-size: 20px; line-height: 1.35em; }
}

@media screen and (max-width: 480px) {
p, li, blockquote,.menu-leiste-oben .menu-item, .menu-leiste-unten .menu-item, h1, h2, h3, h4, h5, h6 { font-size: 18px; line-height: 1.35em; }

}
.caption-wrapper p, .caption-wrapper h1, .caption-wrapper h2, .caption-wrapper h3, .caption-wrapper h4 { font-size: 16px; line-height: 1.35em; text-align: center;}
.caption-wrapper p:last-child { margin-bottom: 0;}
.themen ul { margin: 0; padding: 0; margin: 0; }
.themen  li { text-align: center; list-style: none;}
li.eigenes {margin-top: 1.35em;;}
/* ==========================================================================
   MASONRY
   ========================================================================== */
.masonry { /* Masonry container */
  width: 100%;
  padding: 100px 50px;  
  column-count: 4;
  transition: all .5s ease-in-out;
  column-gap: 50px;
  column-fill: initial;
}


/* Masonry item */
.masonry .item {
  margin-bottom: 50px;
  display: inline-block;
  margin: 0 0 1em;
  width: 100%;
  display: inline-block; /* Fix the misalignment of items */
  vertical-align: top; /* Keep the item on the very top */
  overflow:hidden;
}

/* Masonry image effects */
.masonry .item img {
  transition: all .4s ease-in-out;
  backface-visibility: hidden; /* Remove Image flickering on hover */
}

.masonry .item:hover img {
  transform: scale(1.025);
}
@media screen and (max-width: 1280px) {
.masonry { /* Masonry container */
  padding: 80px 30px;  
    column-gap: 30px;
  column-count: 3;}
.masonry .item { margin-bottom: 30px; }
}

@media screen and (max-width: 480px) {
.masonry { /* Masonry container */
  padding: 60px 20px;  
  column-count: 2;
    column-gap: 20px;}
.masonry .item { margin-bottom: 20px; }
}

 
 

/* ==========================================================================
    HEADER
   ========================================================================== */

    
/* ==========================================================================
   SECTIONS
   ========================================================================== */
.page { width: 100%; }   
   
section  {  margin: 0 auto; padding: 0;}
.screen { width: 100%; max-width: 2000px; height: 100%; min-height: 100vh; padding: 70px 45px;}
.wrapper, .text { width: 100%; max-width: 2000px;}
.text-wrapper { padding-top: 10px; }
.fancybox-wrapper, .caption { width: 60%;}
.text-wrapper { width: 62.5%; }
* {
--carousel-button-color: #000;
  --carousel-button-bg: #fff;
  --carousel-button-shadow: 0 2px 1px -1px rgb(0 0 0 / 20%),
    0 1px 1px 0 rgb(0 0 0 / 14%), 0 1px 3px 0 rgb(0 0 0 / 12%);
  --carousel-button-svg-width: 20px;
  --carousel-button-svg-height: 20px;
  --carousel-button-svg-stroke-width: 2.5;
  --f-arrow-pos: -46px;
  --f-carousel-dot-opacity: 1;
  --fancybox-backdrop-bg: rgba(255, 255, 255, .95);
   --fancybox-color: #FFF;
--f-button-color: #000;
    --f-button-hover-color: #000;
    --f-button-outline-color: rgba(0, 0, 0, .85);
    --f-button-bg: rgba(255, 255, 255, .5);
    --f-button-svg-stroke-width: 2.5;
    --f-button-svg-filter: none;
    --f-arrow-bg: rgba(255, 255, 255, .85);
    --f-close-button-color: #000;
    --f-close-button-hover-color: #000;
  --f-button-svg-width: 50px;
    --f-button-svg-height: 50px;
  
}
.fancybox__viewport { background-color: white;}
f-carousel__toolbar__column.is-right .f-button svg{
    width: 80px;
    height: 80px;
    stroke-width: 10;}
.f-carousel__slide.f-panzoom, .f-carousel__slide {
aspect-ratio: 3 / 2; margin-bottom: 10px; overflow: visible;
}

.f-carousel__slide.f-panzoom img, .f-carousel__slide img {  
    width: 100%;
  height: 100%;
  object-fit: contain;}
.f-carousel__dot:after { 
    background-color: var(--grau);
}
.f-carousel__dot:hover:after, .f-carousel__dot.is-selected:after {
    background-color: var(--schwarz);
}
.fancybox-wrapper {  }
.image-wrap img { width: auto !important; max-height: 100%; object-fit: contain; object-position: center center; }
.carousel-wrapper { padding: 60px 0; width: 100%;}
.flickity-page-dots .dot { background: var(--schwarz);}
.image-wrap-test { aspect-ratio: 3 / 2; margin-bottom: 10px; /*background-color: grey; */}
.image-wrap-test img { width: 100%; height: 100%; object-fit: contain; object-position: center center; }

.caption-wrapper { width: 100%; margin: 10px 0 0 0;}
.content-wrap { border: 1px solid transparent; /*padding: 7.5vh 0 0 0; margin: 0;*/}
.menu-leiste-oben { top: 0;  padding: 10px 20px; }
.menu-leiste-unten { bottom: 0; padding: 10px 20px;}
.menu-leiste-oben, .menu-leiste-unten { width: 100%;  position: fixed;  left: 0; z-index: 99;}

.text { justify-content: center}
@media screen and (max-width: 2000px) { 

}
@media screen and (max-width: 1580px) { 
.text-wrapper, .fancybox-wrapper, .caption {  width: 65%; }
}
@media screen and (max-width: 1280px) { 
.text-wrapper, .fancybox-wrapper, .caption {  width: 80%; }
.text-wrapper { padding-left: 50px;}
}
@media screen and (max-width: 1024px) { 
.text-wrapper {  width: 100%; padding: 90px 20px 0 20px; }
.fancybox-wrapper, .caption {  width: 82.5%; }
.menu-leiste-oben { background-color: var(--weiss);  }
}
@media screen and (max-width: 600px) { 
.screen { padding: 70px 5px;}
.fancybox-wrapper, .caption {  width: calc(100% - 20px); }
}
@media (max-aspect-ratio: 1/1) {
.image-wrap-test { aspect-ratio: 3 / 4; }
.f-carousel__slide.f-panzoom, .f-carousel__slide { aspect-ratio: 3 / 4; }
}
@media screen and (max-width: 720px) { 
.f-button.is-arrow {
    --f-button-width: var(--f-arrow-width, 30px);
    --f-button-height: var(--f-arrow-height, 30px);
}
* { --f-arrow-pos: -20px;}
}
/* ==========================================================================
    Footer
   ========================================================================== */
footer { width: 100%; padding: 85px 60px 65px 60px;}




/* ==========================================================================
   Animated Hamburger Icon Version 1
   ========================================================================== */


#hamburger-icon {
    z-index: 9999;
  position: fixed;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 36px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;}

 
#hamburger-icon span {  
  display: block;
  
  height: 6px;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;}

#hamburger-icon span {  
  -webkit-box-shadow: 0 0 0 0;
  -moz-box-shadow: 0 0 0 0;
  box-shadow: 0 0 0 0;}
#hamburger-icon span { background-color: var(--rot);}

#hamburger-icon span:nth-child(1) { top: 0px; width: 75%;}
#hamburger-icon span:nth-child(2),#hamburger-icon span:nth-child(3) { top:15px; width: 100%;}
#hamburger-icon span:nth-child(4) { top: 30px; width: 50%;}
#hamburger-icon:hover span:nth-child(1), #hamburger-icon:hover span:nth-child(4) { width: 100%;}
#hamburger-icon.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%; }
  
#hamburger-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#hamburger-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#hamburger-icon.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;  }  

/* ==========================================================================
   Position
   ========================================================================== */

.relative, .wrapper.relative { position: relative; }
.sticky { position: -webkit-sticky; position: sticky; top: 0px; }
.sticky2 { position: -webkit-sticky; position: sticky; top: 30px; }
.fixed { position: fixed; }
.absolute { position: absolute;}
img.alignleft { margin: 10px 30px 10px 0; }
img.alignright { margin: 10px 0 10px 30px; }
header.scrolled { visibility: hidden; top: -300px;}
nav.scrolled { visibility: visible; top: 0;}
@media screen and (max-width: 880px) {
.sticky2 {
        top: 10px;
    }
}
