html {
  scroll-behavior: smooth;
}

p, li, blockquote, small {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

nav li {
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

#flag {
  font-size: 2em;
  line-height: 1em;
  vertical-align: middle;
}

a                 { color: #DE3318; }
a:hover, a:active { color: #B4240E; }

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,0.85);
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
color: rgba(255,255,255,1);
}

section {
  padding-top: 3.5rem;
}

.carousel {
  background-color: #222;
}

@supports(background-blend-mode: overlay) {
  #mainCarousel {
    background-image: url('./images/1080w/guesthouse_outside.jpg');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-blend-mode: overlay;
  }
}

#mainCarousel .carousel-inner {
  max-width: calc(80vh * 1.5);
  margin: auto;
}

ol.d-flex li.card {
  width: 20rem;
}

/* Layout the rooms section with CSS Grid, if supported. */
/* Mainly because it's an easy way to force equal width on this uneven number of children. */
@supports(display: grid) {
  @media(min-width: 576px) {
    ol.d-flex {
      display: grid !important; /* WTF why is Bootstrap putting !important on that many statements?? Have to overwrite it like this */
      grid-template-columns: repeat(auto-fit, minmax(20rem, auto));
      grid-gap: 0.5rem;
    }

    ol.d-flex li.card {
      width: initial;
      margin-right: initial !important;
      margin-left: initial !important;
      margin-bottom: initial !important;
    }
  }
}
