@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


:root {
  --graudunkel: #B5B5B5;
  --grauhell: #EEF1F0;
  --rot: #792C28;
  --eisluft: #B9E3E0;
  --gruen: #267A73;
  --schwarz: #2C2C2C;
  --grauhell: #EEF1F0;
  --dunkelbeige: #878786;
  --hellrot: #efd4c5;
  --mainwidth: 70vw;
}



body, html {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 1vw;
}

a {
  text-decoration: none;
  color: inherit;
}

/*. HEADER  */
.mainheader {
  background-color: var(--grauhell);
  padding-top: 1rem;
}


.mainheader section {
  width: var(--mainwidth);
  color: var(--dunkelbeige);
  margin: 0 auto;
  text-align: right;
  font-size: 1.2rem;
  font-weight: 300;
}

.headerLogo {
  text-align: center;
  padding: 0 0 1.5rem 0;
  width: 65%;
  margin: 0 auto;
}
.headerLogo img {
  height: 100%;
}

.language .active {display: none;}

.nav-container {
  width: 100%;
}

.mainheader nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
  justify-content: space-between;
}


.menu-button-container {
  display: none;
  height: 100%;
  width: 3rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: var(--graudunkel);
  position: absolute;
  height: .5rem;
  width: 3.4rem;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 0;
}

.menu-button::before {
  content: '';
  margin-top: -1rem;
}

.menu-button::after {
  content: '';
  margin-top: 1rem;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

.mainheader nav .menu-item {
  margin: 0  1rem 0 0;
  text-decoration: none;
  color: inherit;
  text-transform: uppercase;
}

.mainheader nav .language {
  text-transform: none;
}

.mainheader nav .menu-item.active {
    font-weight: 500;
}
/* NEWSLETTER */

.newsletter {
  background-color: var(--grauhell);
  display: block;
  padding: 1.2rem .1rem 1.3rem .5rem;
}

.newsletter form {
  display: flex;
  line-height: 2.6rem;
  font-size: 1.4rem;
  width: var(--mainwidth);
margin: 0 auto;
}

.newsletter form span {
  margin-right: auto;
}

.newsletter input {
   border: none;
}

.newsletter input:not([type='checkbox']) {
  background-color: #fff;
  color: #888;
  font-size: 1.5rem;
  padding: 3px;
  margin-left: .2rem;
  margin-right: .4rem;
  padding-left: .5rem;
}

.newsletter input[type = submit] {
  background-color: #fff;
  color: #888;
  margin-right: .2rem;
  padding: 0 1rem;
  border-radius: .5rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

/*. MAIN  */

main { 
  width: var(--mainwidth);
  margin: 0 auto;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--dunkelgrau);
  line-height: 2rem;
  margin-bottom: 15rem;
}

.mainText  {
  padding-top: 3rem;
}

.mainText p {
  margin: .5rem 0 .5rem 0;
}

.mainText figure {
  float: left;
  margin: .9rem 1rem 1rem 0;
}

.mainText figure.right {
  float: right;
  margin: 0 1rem 1rem .9rem;
}

#galerie .mainText img {
  width: 21vw;
}

.mainImage {
  height: 32vw;
  position: relative;
  overflow: hidden;
  background-color: #fff;
  margin: 0;
}


.mainImage .slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 4s ease-in-out;
}

.mainImage .slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.mainImage .slideshow.active {
  opacity: 1;
  z-index: 10;
}

.mainImage .artistname {
  position: absolute;
  color: #fff;
  font-size: 3rem;
  font-weight: 500;
  bottom: .5rem;
  margin-left: 2rem;
  z-index: 100;
  text-transform: uppercase;
}

#kuenstler-innen {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-flow: dense;
  gap: 2rem;
  margin-top: 2rem;
}

#kuenstler-innen .artist {  
  width: 22.3vw;
  height: 34vw;
  position: relative;
  margin-bottom: 1.5rem;
}

#kuenstler-innen .artist:nth-child(3n+2) {
  height: 20vw;
}

#kuenstler-innen .artist .slidecontainer {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
}


#kuenstler-innen .slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 4s ease-in-out;
  object-fit: cover;
}

#kuenstler-innen .slideshow img {
  width: 100%;
  height: 100%;
  
}


#kuenstler-innen .slideshow.active {
  opacity: 1;
  z-index: 10;
}

#kuenstler-innen h1 {
  position: absolute;
  color: #fff;
  bottom: 0;
  padding: 0;
  margin: 0 0 .3rem 1rem;
  font-size: 1.6rem;
  font-weight: 500;
  z-index: 20;
}


.blog-article {
  padding: 2rem;
  font-size: 1.2rem;
  line-height: 1.7rem;
  display: flex;
  margin-top: 1rem;
}

.articleimg {
  width: 110vw;
  display: block;
  margin-right: 2rem;
}

.articleimg img {
  object-fit: cover;
height: 100%;
width: 100%;
}


#desktop {
  width: 100%;
  background-color: var(--graudunkel);
  display: block;
}

.artist-desktop {
  position: relative;
  height: 34vw;

}

.artist-desktop .picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  object-fit: cover;
  text-align: center;
}

.artist-desktop .picture div {
  display: none;
  
}

.artist-desktop .picture.active {
  opacity: 1;
  z-index: 10;
}

.artist-desktop .picture img {
  height: 30vw;
  max-width: var(--mainwidth);
  box-shadow: 0 0 5px rgba(0,0,0,.2);
  margin: 2em 0 2em 0;
  cursor: zoom-in;
}

#desktop nav {
  width: var(--mainwidth);
  display: flex;
  justify-content: center;
  margin: 0rem auto 3rem auto;
  z-index: 100;
}



#desktop nav > div {
  height: 2.2rem;
  width: 2.2rem;
  margin: 1rem;
  cursor: pointer;
  object-fit: cover;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 0 1rem rgba(255,255,255,.2);
  z-index: 100;
}

#desktop nav div.active  {
   box-shadow: 0 0 1.2rem rgba(255,255,255,.6);

}

#desktop nav > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}


#desktop .info {
  width: var(--mainwidth);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

#desktop .info div {
  width: 50%;
}


#desktop .info .left {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 2rem;
  color: var(--grauhell);
}


#desktop .info span {
  display: block;
  margin-bottom: .5rem;
  letter-spacing: .1rem;
}

#desktop .info .title {
  margin-bottom: 3rem;
}

#desktop .info .right p {
  margin-top: 0;
}



#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  z-index: 9999;
  overflow-y: scroll;
}

/* Klickbereiche */
.lightboxclickzone {
  position: absolute;
  top: 0;
  width: 35vw;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

.lightboxclickzone.left {
  left: 0;
  cursor: w-resize;
}

.lightboxclickzone.right {
  right: 0;
  cursor: e-resize;
}

/* Container für Bild und Info */
.lightboxcontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Bild mit Abstand oben und unten */
.lightboxcontainer figure {
  margin: 5rem 0;
}

/* Bildgrößensteuerung */
.lightboxcontainer img {
  max-width: 80vw;
  max-height: 70vh;
  height: auto;
  width: auto;
  display: block;
  cursor: zoom-out;
}

/* Info-Sektion, gleiche Breite wie das Bild */
.lightboxinfo {
  box-sizing: content-box;
  padding: 0 5rem;
  max-width: calc(80vw + 10rem);
  width: fit-content;
  color: white;
  text-align: left;
  font-weight: 100;
  font-size: 2.7rem;
  line-height: 3rem;
   padding-bottom: 5rem;

}

.lightboxinfo h2 {
  font-weight: 100;
  font-size: 2.7rem;
  line-height: 3rem;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

.lightboxinfo article:last-child {
  margin-top: .5rem;
  font-size: 1.8rem;
  line-height: 2.2rem;
  
}


/*. FOOTER  */

.mainfooter {
  position: fixed;
  bottom: 0;
  width: 100vw;
  background-color: var(--hellrot);
  padding: .5rem 0;
  z-index: 100;
  
}

.footercontainer {
  width: var(--mainwidth);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.mainfooter .date span {
  font-weight: 500;
}


#artist {
  width: var(--mainwidth);
}

.bio h2 {
  font-size: 3rem;
  font-weight: 100;
  color: var(--dunkelbeige);
  padding: 10rem 0 1rem 0;
}

.bio img {
  width: 30%;
  float: left;
  margin: 0 1rem 1rem 0;
}

#artistgallery img {width: calc(25% - 15px); margin-bottom: 15px;}


@media (max-width: 700px) { 
  
  :root {
    --mainwidth: 95vw;
  }
  
  body, html {
  font-size: 2.5vw;
}
  .headerLogo img {
    width: 100%;
    height: auto;
  }
  .mainheader section {
    font-size: 1.5rem;
  }
  
  .mainheader nav {
    justify-content: flex-end;
  }
  
  .headerLogo {
    margin-top: 2rem;
  }
  
  .mainheader .headline {
      display: none;
  }
  
  .mainheader nav .nav-container {
    position: relative;
    margin: 3.4vw 1vw 0 0;

  }
  
  .mainheader nav .menu-item {
    display: block;
    margin: .2rem 0 .2rem 0;
    z-index: 100;
  }
  
 .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 2.9rem;
    right: -1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    flex-direction: column;
    width: 100vw;
    justify-content: end;
    align-items: right;
    background-color: var(--grauhell);
    z-index: 100;
  }
  #menu-toggle ~ .menu {
    display: none;
  }
  #menu-toggle:checked ~ .menu {
    display: flex;
  }

  .mainImage {
    border: .5rem solid #fff;
    margin: 1em 0 1em 0;
  }
  
  .mainImage .artistname {
    font-size: 2rem;
  }
  
  .newsletter form {
    flex-direction: column;
    padding-top: .6rem;
  }
  
  .newsletter input:not([type='checkbox']) {
    margin-left: 0;
    margin-bottom: .5rem;
  }
  
  .newsletter input[type = submit] {
    margin-right: .4rem;
    padding: .2rem 1rem;
  }
  
  #blog {
    width: 100vw;
  }
  
  .blog-article {
    flex-direction: column;
  }
  
  .articleimg {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  #kuenstler-innen .artist {
    width: 100%;
    height: 90vw;
    margin-bottom: 1rem;
  }
  
  #kuenstler-innen .artist:nth-child(3n+2) {
    height: 90vw;
  }
  
  #kuenstler-innen .artist h1 {
    font-size: 1.5rem;
  }
  
  .artist-desktop {
  height: 45vw;
}

.artist-desktop .picture img {
  height: 35vw;
  border: .5rem solid #fff;
}
}



