html {
  overflow-y: scroll;
}

body {
  font-family: "Venus Plomb";
  font-size: 1.25em;
  line-height: 1.3;
  background-color: #fdfcf3;
  color: #080808;
  padding: 10px !important;
  background-color: #a1a6a3;
  background-image: url('../img/scan.gif');
  background-attachment: fixed;
  background-size: cover;

  display: flex;
  flex-direction: column;
  gap: 20px;
}

::-moz-selection { /* firefox */
background: rgba(255, 0, 204, 0.1);
}

::selection {
  background: rgba(255, 0, 204, 0.1);
}

@media screen and (max-width: 770px) {
  .gallery {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .resize-button {
    display: none;
  }
}

a {
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 2px;
  cursor: pointer;
  color: inherit;
}

/* h1, h2, h3 {
  font-size: 1.7em;
} */

s {
  text-decoration-thickness: 0.5px;
}

b {
  font-family: 'Venus Cormier';
}

img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

button {
  font-family: 'Venus Plomb';
  width: 30px;
  font-size: 100%;
  border: 1px solid black;
  border-radius: 50px;
  background-color: white;
  margin-left: 5px;
}

button:hover {
  font-family: 'Venus Cormier';
}

.resize-button {
  z-index: 99;
  position: fixed;
  top: 10px;
  right: 10px;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  justify-items: center;
  align-items: center;
}

.book {
  display: flex;
  justify-content: center;
  align-items: center;
  /* min-width: 350px; */
  /* width: 30%; */
  width: 100%;
  height: auto;
  min-height: 50px;
  max-height: 95vh;
  /* overflow: hidden; */
  position: relative;
  /* flex-grow: 1; */
}

.book__cover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  visibility: visible;
  width: 40%;
  max-height: 90vh;
  cursor: pointer;
}

.book__gif {
  width: 100%;
  height: auto;
  max-height: 90vh;
  /* display: none; */
  visibility: hidden;
  cursor: pointer;
}

.book__title {
  position: absolute;
  max-height: 100%;
  width: auto;
  /* display: none; */
  visibility: hidden;
  cursor: pointer;
  text-align: center;
}

/* .book:hover .book__gif {
  visibility: visible;
} */

footer {
  display: flex;
  margin-top: 30px;
  padding-bottom: 10px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  justify-items: left;
  align-items: flex-start;
}

details[open] .summary--hidden {
  visibility: hidden;
}