*{
  margin: 0;
  padding: 0;
}

body {
  font-family: KaiseiDecol-Regular;
  padding: 2px;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  padding: 12px 8px;
}

.page-header h1 {
  margin: 0;
  font-size: 3em;
}

h1{
  font-size: 1rem;
}

img{
  max-width: 2000px;
}

.image-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  cursor: zoom-out;
}

.image-overlay.active {
  display: flex;
}

.image-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.katalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.card {
  position: relative;
  display: block;
  overflow: visible;
  height: fit-content;
}

.card-title {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 1.5em;
}

.card-content {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}

.card-title h1 {
  margin: 0;
}

.card-image {
  display: block;
  position: relative;
  z-index: 1;
}

.card-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  cursor: zoom-in;
}