body {
  background:#a5c1c9;
  margin: 0;
  position: relative;
}

@font-face {
  font-family: "Messina";
  src: url("fonts/MessinaSansWebTrial-Book.woff") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

p {
  font-family: Messina;
}

button {
  font-family: Messina;

}



.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18rem;
  font-weight: bold;
  color: rgba(168, 165, 152, 0.5);
  z-index: -1;
  pointer-events: none;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
  word-wrap: break-word;

  font-family: Arial, Helvetica, sans-serif;
}

.headline {
  width: 100%;
  margin: 0;
  display: flex;
  gap: 16px;
  margin-top: 1em;
  margin-bottom: 1em;
  
  font-family: Messina;
  
}

.headline img {
  width: 200px;
  height: auto;
}  

.marginLeft { 
  margin-left: auto; 
  text-align: left;
  position: relative;
  z-index: 1;
  
  margin-top: 1em;

  cursor: pointer; 
  }

.marginLeft img {
  width: 200px;
}



.folder-button {
  background:none;
  border: none;
  size: 2em;
  margin: 3em;
}


.folder-icon {
  width: 6em;
}

.layout {
  width: auto;
  max-width: calc(100vw - 5em);
  box-sizing: border-box;

  display: grid;
  grid-template-rows: repeat(auto-fit, 0.5fr);
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin: 2em auto;
  gap: 0rem;
}


.layout img {
  width: 120px;
  height: 77px;
  object-fit: cover;
  
  display: block;
  margin-bottom: 5em;
}



.img-1 {
  /* räumliche Wirkung */
  transform: rotateX(-10deg) rotateY(18deg) rotateZ(10deg) translateY(-20px);
  
}

.img-2 {
  /* räumliche Wirkung */
  transform: rotateX(-40deg) rotateY(30deg) rotateZ(10deg) translateY(20px);
}

.img-3 {
  /* räumliche Wirkung */
  transform: rotateX(60deg) rotateY(-18deg) rotateZ(60deg)translateY(-10px);
}

.img-4 {
  /* räumliche Wirkung */
  transform: rotateX(-50deg) rotateY(20deg) rotateZ(70deg) translateY(-30px);
}

.img-5 {
  /* räumliche Wirkung */
  transform: rotateX(-20deg) rotateY(60deg) rotateZ(60deg) translateY(-20px);
}

.img-6 {
  /* räumliche Wirkung */
  transform: rotateX(-50deg) rotateY(50deg) rotateZ(20deg) translateY(-30px);
  padding-right: 0;
}

.img-7 {
  /* räumliche Wirkung */
  transform: rotateX(-50deg) rotateY(30deg) rotateZ(30deg)translateY(-5px);
}

.img-8 {
  /* räumliche Wirkung */
  transform: rotateX(-50deg) rotateY(-20deg) rotateZ(40deg) translateY(20px);
}

.img-9 {
  /* räumliche Wirkung */
  transform: rotateX(-50deg) rotateY(40deg) rotateZ(40deg)translateY(30px);
}

.img-10 {
  /* räumliche Wirkung */
  transform: rotateX(-50deg) rotateY(60deg) rotateZ(80deg) translateY(-5px);
}  

.layout img:hover {
  transform: none;
  transition: 0.5s;
}

/* einzelne DIVS ansprechen */


/* FILTER */
button {
  position: relative;
  z-index: 1;
  background-color: #d3e141;
  background-color: #f3cde3;
  padding: 0.5em;
  border-width: 1px;
  border: none;
  border-radius:10px;
  height: 25px;
  margin-top: 1.5em;
  font-size: 12px;
  
}

.infos {

  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.8rem;
 
  padding-left: 40px;
  padding-right: 3em;

}

.infos button {
  background-color: #f3cde3;
  background-color: #d3e141;
}
.none {
  visibility: hidden;
}


/* Zentriere die Filter-Buttons */
.filter-buttons {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  
  gap: 0.8rem;
  margin: 1rem 0;
}


/* Einzelne Seiten css*/

.visitenkarte {
  border-width: 2px;
  border-style: solid;
  width: 25em;
}

.uebersicht {
  width: 100%;

  display: grid;
  grid:
    "sidebar body" 1fr
    / auto 400px;
  gap: 8px;
}

.sidebar { grid-area: sidebar; }
.body { grid-area: body; }


/* Einelansicht */

.einzelansicht {
  overflow: hidden;
}

.container {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 70vw;
  height: 600px;
  transform: translate(-50%, -50%);
  perspective: 1200px;
}

#card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  z-index: 2;
 
  display: block;
}

.side {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  pointer-events: none;
  object-fit: cover;
}

.back {
  transform: rotateY(180deg);
}

.background-images {
  width: 50%;

  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: 1fr 1fr 2fr;
  gap: 50px;
  grid-auto-flow: column;
    
  z-index: 0;
  
  position: absolute;
  top: 0;
}

  .background-images img {
    width:20em;
    height: auto;
  }

.background {
  width: 100%;

  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  
  position: absolute;
  top: 4em;

}

.text {
  padding-left: 100px;
}

