html,
body {
  margin: 0;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "EB Garamond", serif;
  font-weight: bold;
}

p {
  font-family: "EB Garamond", serif;
  font-size: x-large;
}

a {
  color: black;
}

img {
  max-width: 100%;
  height: auto;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.row > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

#header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

#header picture,
#header img {
  display: block;
  width: 100%;
  height: 100vh;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
}

#header img {
  border: 0;
}

.header-banner-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header-banner-trigger:focus {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.sicarinelletenebre-carousel {
  background: #0b0b0a;
}

.sicarinelletenebre-carousel .carousel-item {
  height: 65vh;
}

.sicarinelletenebre-carousel .carousel-item img {
  width: 100%;
  height: 65vh;
  object-fit: contain;
}

.sicarinelletenebre-carousel .carousel-indicators {
  margin-bottom: 0.75rem;
}

.sicarinelletenebre-carousel .carousel-control-prev-icon,
.sicarinelletenebre-carousel .carousel-control-next-icon {
  filter: drop-shadow(0 0 3px #000);
}

.sicarinelletenebre-cover {
  max-height: 55vh;
  margin-bottom: 1.5rem;
}

.sicarinelletenebre-modal-intro {
  font-size: 1.25rem;
}

.sicarinelletenebre-reading-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

#sicarinelletenebre {
  background: #11100f;
  color: #f4eee5;
}

#sicarinelletenebre .sicarinelletenebre-cover-column {
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: #0b0b0a;
}

#sicarinelletenebre .sicarinelletenebre-section-cover {
  width: auto;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5);
}

#sicarinelletenebre .sicarinelletenebre-copy .elemento {
  width: min(calc(100% - 3rem), 65ch);
  padding: 2.5rem;
  border-left: 0.35rem solid #a22f2f;
  background: #f4eee5;
  color: #171514;
}

#sicarinelletenebre .sicarinelletenebre-copy h2 {
  color: #6f1f24;
}

#sicarinelletenebre .sicarinelletenebre-copy .btn {
  align-self: flex-start;
  border-color: #6f1f24;
  color: #6f1f24;
}

#sicarinelletenebre .sicarinelletenebre-copy .btn:hover,
#sicarinelletenebre .sicarinelletenebre-copy .btn:focus {
  background: #6f1f24;
  color: #fff;
}

.sezione {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.elemento {
  margin: auto;
  display: flex;
  flex-direction: column;
}

#cirivedremoallalba .sezione,
#lamaledizionedellapecora .sezione {
  background-color: rgba(0, 0, 0, 0.5);
}

#cirivedremoallalba .elemento,
#lamaledizionedellapecora .elemento {
  background-color: rgba(255, 255, 255, 0.9);
}

.book-section .book-cover {
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 2rem;
}

.book-section .book-cover img {
  position: sticky;
  top: 80px;
  width: auto;
  max-height: calc(100vh - 6rem);
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.35);
}

.book-section .book-copy .elemento {
  width: min(calc(100% - 3rem), 65ch);
  padding: 2.5rem;
}

#eventi,
#friday18 {
  padding-top: 60px;
}

#eventi {
  background-color: aliceblue;
}

#navbar {
  top: -56px;
  transition: top 0.3s;
}

@media (max-width: 900px) {
  h1 {
    font-size: 2rem;
  }

  .sezione {
    min-height: auto;
    margin-bottom: 25px;
  }

  .book-section .book-cover img {
    position: static;
    max-height: 70vh;
  }

  .book-section .book-copy .elemento {
    width: calc(100% - 2rem);
    padding: 1.5rem;
  }

  #sicarinelletenebre .sicarinelletenebre-cover-column {
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  #sicarinelletenebre .sicarinelletenebre-section-cover {
    max-height: 70vh;
  }

  #sicarinelletenebre .sicarinelletenebre-copy .elemento {
    width: calc(100% - 2rem);
    padding: 1.5rem;
  }
}
