
    
h1,h2 {
    color: #c7d8f3;
}

h1 {
    font-size: 70px ;
    font-family: Cambria;
}

h2 {
    font-size: 25px;
    text-align: center;
    font-family: Tahoma;
    font-weight: lighter;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #141e37;
  color: #111111;
  font-family: sans-serif;
}

.kopf {
  text-align: center;
  padding: 0 16px 24px;
}

.regal {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
  max-width: 1361px;
  padding: 20px 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.buch {
  flex: 0 0 auto;
  width: 64px;
  display: flex;
  align-items: left;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: bolder;
  letter-spacing: 4px;
text-transform: uppercase;
  transition: transform 0.2s ease;
  scroll-snap-align: start;
}

.buch span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 35px;
  white-space: nowrap;
    font-family: Geneva;
    font-size: 20px;
}

/* Verschiedene Höhen und Farben für jedes Buch */
.buch-1 {
  height: 500px;
    width: 100px;
  background-color: #6e98d7;
}
.buch-2 {
  height: 390px;
  width: 80px;
  background-color: #f2a6b3;
  transform: rotate(-3deg);
}

/* Das Bild-Objekt zwischendrin */
.objekt-bild {
  color:#ffffff;
  text-decoration: none;
  display: block;
  text-align: center;
  background-color: #1d3557;
  transition: transform 0.2s ease;
    position: relative;
  flex: 0 0 auto;
}

.objekt-bild img {
  display: block;
  height: 398px;
  width: auto;
}

.bild-titel {
  position: absolute;
  font-size: 23px;
  font-family: monospace;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%);
  color: #ffffff;
  font-weight: bold;
  text-align: left;
  width: 48%;
}

.bild-mit-text:hover {
  transform: translateY(-10px);
}


.buch-3 {
  height: 480px;
    width: 100px;
  background-color: #ffffff;
    color:#163174;
}

.buch-4 {
  height: 500px;
    width: 82px;
  background-color: #617197;
    transform: rotate(-2deg);
}
.buch-5 {
  height: 118px;
  width: 419px;
  background-color: #f2a6b3;
}

.buch span.quer-text {
  writing-mode: horizontal-tb;
  transform: none;
  white-space: normal;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: left;
  margin-left: 35px;
  width: 100%;
  height: 100%;
}


.buch-6 {
  height: 469px;
    width: 55px;
  background-color: #6e98d7;
  transform: rotate(2deg);
}

.buch-7 {
  height: 497px;
    width: 95px;
  background-color: #b9c5d5;
}

/* Reaktion beim Drüberfahren mit der Maus */
.buch:hover,
.objekt-bild:hover {
  transform: translateY(-10px);
}
