
:root {
--randomshift: 5px;
}

body {
  background-image: url("../img/website_background.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: contain;
  overscroll-behavior: contain;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}

h1 {
  font-family: 'FluxischElse-Bold';
  text-align: center;
  position: sticky;
  top: 22px;
  font-size: 65pt;
  rotate: 5deg;
  line-height: 32%;
  margin: 60px;
  margin-left: 102px;
  z-index: +3;
}

h2 {
  font-family: FluxischElse-Bold;
}

.book {
  position: fixed;
  top: 20px;
  right: 50px;
  z-index: +5;
}

.overlay {
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  opacity: 0;
  transition: .5s ease;
}

.book:hover .overlay {
  opacity: 1;
}

.copytext {
  font-family: Georgia;
  display: grid;
  grid-template-columns: 150px 450px;
  grid-auto-flow: row;
  column-gap: 250px;
  justify-content: space-around;
  height:400px;
  width: 100%;
  overflow: visible;
  margin-left: 100px;
}

.pisstext {
  font-family: FluxischElse-Bold;
  font-size: 150%;
  rotate: -2deg;
  white-space: nowrap;
  margin-top: -55px;
}

.introtext {
  display: grid;
  grid-template-columns: 125px 225px;
  column-gap: 50px;
  grid-auto-flow: row;
  z-index: +2;
  font-size: 90%;
  padding-top: 40px;
}

.container {
  width: 300px;
  display: flex;
  flex-direction: column-reverse;
  align-content: center;
  flex-wrap: wrap;
  height: 1900px;
  overflow-x: hidden;
  overflow-y: scroll;
  z-index: +1;
  margin-top: -700px;
}

.base-image {
  margin: 10px;
  background-color: transparent;
}

.base-image img{
  max-width: 175px;
  max-height: 175px;
  background-color: transparent;
}

button {
  border: transparent;
  background-color: transparent;
  cursor: pointer;
}

:popover-open {
  padding: 25px;
  min-height: 250px;
  max-height: 500px;
  max-width: 650px;
  overflow: scroll;
  overscroll-behavior: contain;
  display: flex;
}

.card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 1000px;
  justify-content: center;
  margin: 10px;
}

.card-block {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: 4px;
  padding: 10px;
  padding-bottom: 25px;
}

.card-author {
  writing-mode: vertical-lr;
  text-orientation: upright;
  margin-left: -12px;
  margin-top: -24px;
  text-transform: uppercase;
  font-size: 105%;
  z-index: +1;
}

.card-image img {
  max-width: 450px;
  max-height: 450px;
  margin-left: -6px;
  z-index: -1;
}

.card-description {
  text-align: right;
  font-family: 'FluxischElse-Bold';
  font-size: 16pt;
  margin: 10px;
  margin-top: 25px;
  line-height: 90%;
  letter-spacing: 4px;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.card-information {
  margin: 12px;
  margin-bottom: 70px;
  margin-top: -12px;
  margin-left: 50px;
  font-family: 'Georgia';
  text-align: justify;
  font-size: 11pt;
  z-index: +1;
}

.imprint {
  font-family: Georgia;
  font-size: 90%;
  display: grid;
  grid-auto-flow: row-reverse;
  padding: 15px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}