@font-face {
  font-family: 'Norwester';
  src: url('../fonts/Norwester.woff2') format('woff2');
}

@font-face {
  font-family: 'Kollektif';
  src: url('../fonts/Kollektif.woff2') format('woff2');
  font-weight: normal;
}

@font-face {
  font-family: 'Kollektif';
  src: url('../fonts/KollektifBold.woff2') format('woff2');
  font-weight: bold;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: #f5f5f5;
  overflow-x: hidden;
}

.home-container {
}

.svg-header {
  position: fixed;
  top: 25vh;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.svg-header svg {
  width: 50vh;
  min-width: 200px;
  max-width: 600px;
  height: auto;
}

.svg-header.border {
  z-index: 5;
  filter: blur(0px) opacity(1);
  transform: scale(1.045) translateY(0px);
}

#coverGrid {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.row-wrapper {
  width: 100vw;
  overflow: hidden;
  position: relative;
}

.cover-row {
  display: flex;
  width: 100vw;
  will-change: transform;
}

.book-cover {
  height: 14.625vw;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Row direction styling */
.row-A .book-cover,
.row-C .book-cover {
  margin-right: 0.5vw;
}

.row-B .book-cover,
.row-D .book-cover {
  margin-left: 0.5vw;
}

@media screen and (max-width: 1080px) {

  .home-container {
    padding-top: 2rem;
  }

  .svg-header svg {
    width: 30vh;
    min-width: 200px;
    max-width: 600px;
    height: auto;
  }

}