@charset "UTF-8";
:root {
  --bs-primary: #d9bc3a;
}

.btn-primary {
  background-color: hsl(49 68% 54%);
  border-color: hsl(49 68% 54%);
  color: hsl(0 0% 98%);
}
.btn-primary:hover {
  background-color: hsl(49 68% 54% / 0.5);
  border-color: hsl(49 68% 54% / 0.5);
  color: hsl(0 0% 2%);
}
.btn-primary:active {
  background-color: hsl(49 68% 54% / 0.75);
  border-color: hsl(49 68% 54% / 0.75);
  color: hsl(0 0% 2%);
}
.btn-primary:focus {
  background-color: hsl(49 68% 54% / 0.75);
  border-color: hsl(49 68% 54% / 0.75);
  box-shadow: 0 0 0 0.25rem hsl(49 68% 54% / 0.5);
  color: hsl(0 0% 2%);
}

html,
body {
  height: 100%;
}

body {
  background: hsl(0 0% 97.5%);
  text-wrap: balance;
}

a {
  color: hsl(0 0% 2%);
  transition: color 300ms ease-in-out;
}
a:hover, a:focus {
  color: hsl(49 68% 54%);
}

.nav-link {
  color: hsl(0 0% 2%);
  text-decoration: underline;
  transition: color 300ms ease-in-out;
}
.nav-link:hover, .nav-link:focus {
  color: hsl(49 68% 54%);
}

article {
  margin-bottom: 1.5rem;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  hyphens: auto;
  margin-bottom: 1rem;
  white-space: normal;
}

h1, .h1, h2, .h2, h3, .h3 {
  font-weight: 400;
}

.header {
  background: hsl(49 58% 87%/0.25);
  border-bottom: 0.125rem solid hsl(49 68% 54%);
}

.header__content {
  align-items: center;
  background: hsl(0 0% 98%);
  display: flex;
  justify-content: space-around;
  padding: 0 0 1rem;
}

.navigation {
  background: hsl(0 0% 98%);
  display: flex;
  justify-content: center;
}
.navigation .nav {
  padding: 1rem 0;
}

.navigation--main .nav-link {
  position: relative;
  text-decoration: underline;
  transition: color 300ms ease-in-out, transform 300ms ease-in-out;
}
.navigation--main .nav-link::before {
  box-shadow: 0 0 0.5rem 0 hsl(0 0% 2% / 0.25);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 300ms ease-in-out;
}
.navigation--main .nav-link:hover, .navigation--main .nav-link:focus {
  color: hsl(49 68% 54%);
  transform: translate3d(0, -0.2rem, 0);
}
.navigation--main .nav-link:hover::before, .navigation--main .nav-link:focus::before {
  opacity: 1;
}

.navigation--meta {
  background: hsl(0 0% 98% / 0.95);
}
.navigation--meta .nav {
  padding: 1rem 0 2rem;
}

.footer {
  background: hsl(49 58% 87%/0.25);
  border-top: 0.125rem solid hsl(49 68% 54%);
}

.footer__content {
  align-items: center;
  background: hsl(0 0% 98%);
  display: flex;
  justify-content: space-around;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.opening-hours {
  padding: 0.5rem 1rem;
  text-align: center;
}

.opening-hours__day {
  hyphens: auto;
  white-space: normal;
}
@media screen and (min-width: 576px) {
  .opening-hours__day {
    white-space: nowrap;
  }
}

.page-wrapper {
  background: hsl(49 68% 54%);
  overflow: hidden;
  position: relative;
}
.page-wrapper::before, .page-wrapper::after {
  content: "";
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}
.page-wrapper::before {
  background: url("/assets/img/market-bck.jpg") no-repeat fixed;
  background-blend-mode: soft-light;
  background-color: hsl(49 68% 54% / 0.25);
  background-size: cover;
  filter: blur(11px) sepia(40%);
  perspective-origin: bottom right;
  transform: scale(1.15) translate3d(30px, 30px, 0);
  transform-origin: bottom right;
}

.page {
  position: relative;
  z-index: 20;
}

.page-section {
  position: relative;
}

.page-section__content {
  background: hsl(0 0% 98%);
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.page-section__content--full-width {
  padding-left: 0;
  padding-right: 0;
}

.page-section--farmers-market .opening-hours {
  background: hsl(49 58% 87%);
}

.page-section--merchants {
  background: hsl(49 68% 54% / 0.25);
}

.table-container {
  overflow-x: scroll;
  width: 100%;
}
@media screen and (min-width: 576px) {
  .table-container {
    overflow-x: auto;
  }
}

.table-merchants thead,
.table-merchants tfoot {
  background: hsl(49 68% 54% / 0.25);
}
.table-merchants.table-hover > tbody > tr:hover {
  --bs-table-accent-bg: hsl(49 68% 54% / 0.25);
}

.how-to-reach-us__map-container {
  margin-bottom: 1rem;
}

.how-to-reach-us__map-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.icon-modal {
  height: 100%;
  width: auto;
}

.merchants__icon-modal {
  height: 1rem;
  margin: 0 0.25rem;
}

.has-modal {
  cursor: pointer;
}

.quote {
  color: hsl(49 68% 54%);
  display: inline-block;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: bold;
  left: 50%;
  padding: 0.5rem 1rem 0.5rem 2rem;
  position: relative;
  transform: translate3d(-50%, 0, 0);
}
.quote::before {
  color: hsl(0 0% 2% / 0.1);
  content: "“";
  font-size: 5rem;
  font-weight: bold;
  left: 0;
  position: absolute;
  top: 0.2rem;
}

.modal-body__image {
  height: auto;
  margin-bottom: 1rem;
  width: 100%;
}
.modal-body__company {
  font-weight: bold;
}
.modal picture {
  display: inline-block;
  width: 100%;
}
