:root {
  --color-verd: #4e6250;
  --color-terra: #a45925;
  --bg-verd: #e4e9e3;
  --color-groc: #f9a539;
  --header-height: 76px;
}

@media (max-width: 360px) {
  :root {
    --header-height: 54px;
  }
}

@media (min-width: 361px) and (max-width: 767px) {
  :root {
    --header-height: 61px;
  }
}

.serif {
  font-family: 'DM Serif Display', serif;
}

.text-cos-1 {
  font-family: 'Nunito Sans', sans-serif;
  max-width: 65ch;
  font-size: 1.25rem;
  margin: 0 auto;
  text-align: left;
}

.color-verd {
  color: var(--color-verd) !important;
}

.color-terra {
  color: var(--color-terra) !important;
}

.bg-verd-fosc {
  background-color: var(--color-verd);
  color: #ffffff;
}

.bg-verd {
  background-color: var(--bg-verd);
}

.citat {
  text-align: center;
  color: var(--color-verd);
  font-family: "DM Serif Display";
  max-width: 45ch;
  line-height: 1.25;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  font-size: clamp(1.5rem, 0.9545rem + 2.7273vw, 3rem);
}

.quadern {
  max-width: 950px;
  display: block;
  width: 100%;
  margin: 0px auto;
}

.fit-cover {
  object-fit: cover;
}

.link:hover {
  color: var(--bs-success-text-emphasis);
}

.link {
  color: var(--color-verd);
  font-size: 1.15rem;
}

.peu-foto {
  color: var(--color-verd);
  font-size: .7rem;
}

@media (max-width: 576px) {
  .vh {
    height: calc(65vh - var(--header-height));
  }
}

@media (min-width: 768px) {
  .vh {
    height: calc(100vh - var(--header-height));
  }
}

.text-cos {
  max-width: 55ch;
  font-family: 'Nunito Sans';
  font-size: 1.15rem;
}

.nav-rs {
  background-color: var(--color-verd) !important;
  color: #ffffff !important;
  z-index: 1;
}

@media (max-width: 767px) {
  .order {
    order: 1;
  }
}

@media (max-width: 425px) {
  .navbar-titol {
    letter-spacing: 2px !important;
  }
}

@media (max-width: 360px) {
  .logo {
    height: 33px !important;
  }
}

@media (max-width: 767px) {
  .logo {
    height: 45px;
  }
}

@media (min-width: 768px) {
  .logo {
    height: 60px;
  }
}

body {
  padding-top: var(--header-height);
  scroll-behavior: smooth;
}

.dropdown-menu {
  background-color: var(--color-verd);
}

@media (max-width: 767px) {
  .dropdown-item {
    white-space: pre-wrap;
  }
}

a.dropdown-toggle:hover, a.dropdown-toggle:focus {
  color: var(--color-groc);
}

a.dropdown-item:hover {
  color: var(--color-groc);
  background-color: var(--color-verd);
}

.navbar-nav .nav-link.show {
  color: var(--color-groc);
}

#plafo1, #plafo2, #plafo3, #plafo4, #plafo5, #plafo6, #plafo7, #plafo8, #plafo9, #plafo10, #timeline, #cita {
  scroll-margin-top: var(--header-height);
}

.navbar-titol {
  text-transform: uppercase;
  margin-bottom: 0;
  color: var(--bg-verd);
  font-weight: 700;
  font-family: 'DM Serif Display';
  letter-spacing: 4px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(0.875rem, 0.4286rem + 2.2321vw, 1.5rem);
  text-decoration: none;
}

.nav-rs a {
  color: var(--bg-verd);
}

.nav-rs a:hover {
  color: var(--color-groc);
}

.medium-zoom-overlay, .medium-zoom-image--opened {
  z-index: 2;
}

@media (max-width: 767px) {
  .navbar .container {
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .navbar .container {
    max-width: 98%;
  }
}

.no-grow {
  flex-grow: 0;
}

.fletxa {
  width: 70px;
}

.navbar-toggler {
  border: 0;
}

.dropdown-menu.show {
  border: none;
  left: auto;
  right: 0;
}

@media (max-width: 767px) {
  .dropdown-menu.show {
    text-align: right;
    right: auto;
  }
}

.navbar-toggler:focus {
  box-shadow: none;
}

.arrprev, .arrnext {
  cursor: pointer;
}

.arrprev svg, .arrnext svg {
  height: 24px;
}

.arrprev {
  margin-right: 15px;
}

.arrnext {
  top: 0;
  right: 0;
}

@media (max-width: 767px) {
  .arrprev, .arrnext {
    display: none !important;
  }
}

.figure-img:hover {
  transform: scale(1.02);
}

.fletxes {
  text-align: center;
}

.logo-credits {
  width: 100%;
  max-width: 87px;
}

.logo-credits-h {
  height: 100%;
  max-height: 42px;
  max-width: 100%;
}

.text-pretty {
  text-wrap: balance;
}

.text-balance {
  text-wrap: balance;
}

.citat-2 {
  max-width: 96ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
}

