/*CSS-Picture***************/

/*ANCHOR Body Style************/

body {
  --color-blue:#03bfee;
  --color-green:#13f270;
  --color-grey:#898989;
  --color-black:#191919;
  --color-white:#e1e1e1;
  --color-yellow: #c1de04;
  --color-purple:#cb06d9;
  --color-red: #FF0A0A;
  --line: 3ch;
  --font: IBM, sans-serif;
  --font-scale: 0.2vw;
 }

 *{
  box-sizing:border-box;
}

 body.invert {
  --color-blue:#0856af;
  --color-green:#1f864a;
  --color-grey:#6e6e6e;
  --color-black:#dcdcdc;
  --color-white:#191919;
  --color-yellow: #e37c02;
  --color-purple:#9e02e1;
  --color-red: #c61340;
 }

body {
    margin: 0;
    background: var(--color-black);
    font-family: var(--font);
    font-weight: 400;
    font-style: normal;
    font-size: calc(1rem + var(--font-scale));
    line-height:var(--line);
    color:var(--color-white);
}

 /*ANCHOR Link Colors***************/
.link-blue,
.link-green,
.link-purple,
.link-grey,
.link-white,
.link-red {
  cursor:pointer;
}

.link-blue{
  color: var(--color-blue);
   }

 .link-green{
   color: var(--color-green);
}

.link-purple{
  color: var(--color-purple);
   }

.link-grey{
  color: var(--color-grey);
     }

.link-white{
   color: var(--color-white);
       }

.link-red{
  color: var(--color-red);
         }

.link-red:hover{
   color: var(--color-blue);
   background: var(--color-red);
}

.text-green{
  color: var(--color-green);
}  

/*ANCHOR Fonts*****************/

@font-face{
 font-family:"IBM";
 src: url(./fonts/IBMPlexMono-Regular.ttf) format("truetype");
 font-weight: 400;
 font-style: normal;
 font-display: swap;
}

@font-face{
  font-family:"IBM";
  src: url(./fonts/IBMPlexMono-Italic.ttf) format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
 }

 @font-face{
  font-family:"IBM";
  src: url(./fonts/IBMPlexMono-ExtraLight.ttf) format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
 }

 @font-face{
  font-family:"IBM" ;
  src: url(./fonts/IBMPlexMono-ExtraLightItalic.ttf) format("truetype");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
 }

 @font-face{
  font-family:"UnifrakturCook" ;
  src: url(./fonts/UnifrakturCook-Bold.ttf) format("truetype");
  font-weight: 200;
  font-style: poppins;
  font-display: swap;
 }

 /*ANCHOR Header******************/
 
header {
  width: 100%;
  max-width: 1600px;
  padding-top: 24px;
  padding-bottom: 24px;
}

/*ANCHOR - Bildergallerie*/

.masonryholder{
  background: #888484;
  column-count: 4;
  column-gap: 10px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 8%;
  }

.masonryblocks{
  display: inline-block;
  background: #ddd;
  padding: 10px;
  margin: 0 0 20px;
  width: 100%;
  box-sizing: border-box;
  }

.masonryholder .masonryblocks{
  padding: 15px;
  margin-bottom:10;
  box-shadow: 0 3px 5px rgba(0,0,0,.3) ;
  break-inside: avoid;
}

.masonryholder .masonryblocks img{
    max-width: 100%;
    height: auto;
    object-fit: cover;
   }
  
/*ANCHOR - Media Query-Bildergalerie*/

  @media screen and (max-width:768px){
    .masonryholder{
      column-count: 1;
      padding: 20px;
    }
    }
  
  @media screen and (min-width:769px){
      .masonryholder{
        column-count: 2;
      }
      }
       
  @media screen and (min-width:1080px){
    .masonryholder{
      column-count: 3;
    }
    }
  
  @media screen and (min-width:1200px){
    .masonryholder{
      column-count: 4;
    }
    }

/*ANCHOR - Hover*******/

hover img {
	opacity: 1;
}


.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	background: rgba(0,0,0,.9);
	z-index: 1;
}


input[type=checkbox] {
     display: none;
}



/******** Hover Bild Eigenschaften*******/

input[type=checkbox]:checked ~ label img {
	position: absolute;
  top: 50%;
  max-width:40%;
	height: auto;
	left: 50%;
	margin-top: -300px;
	margin-left: -450px;
	border: 5px solid #fff;
	border-radius:10px;
	z-index: 2;
	-webkit-animation: fadeIn .6s linear;
	-moz-animation: fadeIn 1s linear;
	-o-animation: fadeIn 1s linear;
	-ms-animation: fadeIn 1s linear;
	animation: fadeIn 1s linear;
}

input[type=checkbox]:checked ~ label:hover .genericon-unzoom {
	position: fixed;
	opacity: 1;
	z-index: 9;
}

input[type=checkbox]:checked ~ .overlay {
	display: block;
}

@-webkit-keyframes fadeIn {
	from { -webkit-transform: scale(0); opacity: 0; }
	to { -webkit-transform: scale(1); opacity: 1; }
}

@-moz-keyframes fadeIn {
	from { -moz-transform: scale(0); opacity: 0; }
	to { -moz-transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
	from { transform: scale(0); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

@media screen and (max-width:900px){
  input[type=checkbox]:checked ~ label img {
    position:sticky;
    max-width: 100%;
	  height: auto;
    top: 50%;
    left: 50%;
    margin: auto;
    padding: auto;
    border: 5px solid #fff;
    border-radius:10px;
    z-index: 2;
    -webkit-animation: fadeIn .6s linear;
    -moz-animation: fadeIn 1s linear;
    -o-animation: fadeIn 1s linear;
    -ms-animation: fadeIn 1s linear;
    animation: fadeIn 1s linear;
    
  }}

  @media screen and (max-width:900px){
  input[type=checkbox]:checked ~ label:hover .genericon-unzoom {
    position: absolute;

    opacity: 1;
    z-index: auto;
  }}
  @media screen and (max-width:900px){
  input[type=checkbox]:checked ~ .overlay {
    display:inline-block;
    }}
  
 /*ANCHOR Navigation*******/
nav > ul  {
  margin: 0;
  position: sticky;
  top: 0;
  font-weight: 500;
  padding: 10px;
   justify-content:center; 
  flex-wrap: wrap;
 display: flex;
  list-style: none;
  gap: 10px;
  font: bolder;
  font-family:"IBM";
}
nav {
  position: sticky;
  top: 0;
  font-weight: 500;
}

footer,
nav {
  backdrop-filter: blur(8px);
}
/*ANCHOR Seitenstruktur********************/

.mitte {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

section {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px;
  box-sizing: border-box;
  line-height: 3ch;
}

/*ANCHOR Footer Styles************/

footer > ul{
  margin: 0;
  padding: 0;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   align-items: center;
   font-weight: 500;
   font-family:"IBM";
   font: bolder;}

   footer > ul li {
    list-style: none;
    color: var(--color-green);
    margin: 0;
    padding: 0;
  }

footer,
nav {
  backdrop-filter: blur(8px);
}

footer ul li
{
  padding: 10px;
}

/*ANCHOR Content Style****Styles-Überschriften*/

h1, h2{
font-family: "IBM";
color: var(--color-blue);
font-size: calc(1.6rem + var(--font-scale));
font-weight: 200;
line-height: var(--line);
margin: 0;
}

h4 {
  font-family:"UnifrakturCook";
  color: #210e87;
  }



  .masonryholder .masonryblocks .info h3{
  font-size: 20px;
  padding: 10px 0;
  color: #555;
  }
  .masonryholder .masonryblocks .info h3 span{
  color: deeppink;
  }

.masonryholder .masonryblocks .info h5{
  font-size: 10px;
  padding: 5px 0;
  color: red;
  }

  .masonryholder .masonryblocks .info p{
    color: #999;
    font-size: 14px;
  }
a {
  text-decoration: none;
}

 /*ANCHOR - Media Query**********/

 @media screen and (max-width:768px){
        h4 {
         font-size: 1.5rem;
         }}
       
 @media screen and (min-width:769px){
        h4 {
         font-size: 3rem;
         }}  

@media screen and (max-width:768px){
      .mitte img{
       width: 20%;
       height: 20%;
        }}   

@media screen and (min-width:769px){
     .mitte img{
       width: 30%;
       height: 30%;
          }}   
          
        



















