html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}



body {
    font-family: sans-serif;
    font-weight: 400;
    font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: #505050;
  background: #f9f9f9;
  background-repeat: repeat;
  overflow-y: scroll;
  /* Fonts on Macs look bad without these */
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

h1, .h1-style, h2, h3, h4, h5, h6, .heading-font {
    font-family: Oswald, sans-serif;
    font-weight: 400;
    font-style: normal;
  color: #262626;
  line-height: 1.2;
}

h1,
.h1-style {
  font-size: 32px;
}


h2,
.h2-style {
    font-size: 28px;
}

h3,
.h3-style {
    font-size: 26px;
}

h4,
.h4-style {
    font-size: 23px;
}

h5,
.h5-style {
    font-size: 20px;
}

h6,
.h6-style {
    font-size: 17px;
}

@media (max-width: 767.98px) {
  h1,
  .h1-style {
    font-size: 26px;
  }
  
  h2,
  .h2-style {
        font-size: 24px;
  }
  h3,
  .h3-style {
        font-size: 22px;
  }
  h4,
  .h4-style {
        font-size: 20px;
  }
  h5,
  .h5-style {
        font-size: 18px;
  }
  h6,
  .h6-style {
        font-size: 15.92px;
  }
}

h1, .h1-style, h2, .h2-style, h3, .h3-style, h4, .h4-style, h5, .h5-style, h6, .h6-style {
  text-transform: uppercase;
}

.hl-style {
  font-size: 26px;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .hl-style {
    font-size: max(48px * 0.7, 26px);
    line-height: 1.2;
  }
}
@media (min-width: 1100px) {
  .hl-style {
    font-size: 48px;
  }
}

a {
  text-decoration: none;
}

header.main {
  background-color: #fff;
  color: #262626;
  z-index: 4000;
  margin: 8px;
  transition: box-shadow .25s ease-out, background-color 175ms ease-in;
}

header .inner {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  text-transform: uppercase;

  display: flex;
  justify-content: center;
  align-items: center;
}

header.main .text {
  height: 70px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
}

.logo {
  position: absolute;
  left: 16px;
  padding: 10px 16px;
}

.logo img{
  width: 120px;
}

.rounded {
  border-radius: 5px;
  overflow: hidden;
}

.selector {
  position: absolute;
  right: 10px;
  padding: 10px 16px;
  font-family: inherit;
}

.selector select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: no-repeat center right;
  background-image: url(arrow-down.svg);
  padding: 5px;
  padding-right: 20px;
  border: 0;
}

@media screen and (max-width: 600px) {
  .logo {
    position: relative;
    left: 0;
  }

  header.main .inner {
    justify-content: flex-start;
  }
  
  header.main .text {
    display: none;
    height: auto;
  }
}

main.content {
  padding-left: 10px;
  padding-right: 10px;
}

.gallery {
  display: grid;
  grid-template-rows: 300px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 10px;
}

.image-with-text {
  /* width: 50%; */
  position: relative;
  height: auto;
  object-fit: contain;
  overflow: hidden;
}

.background-image--outer {
  object-fit: contain;
}

.image-with-text .background-image {
  background: var(--url) center center no-repeat;
  background-size: cover; 
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;

  transition: transform .55s linear;
}

.image-with-text .background-image img {
  position: absolute;
}

.image-with-text .background-image.coming-soon {
  filter: brightness(.5);
}


.image-with-text:hover .background-image {
  transform: scale(1.03);
}

.image-with-text .overlay-text h2{
  color: #fff;
}

.overlay-text {
  position: relative;
  height: 100%;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-text .inner {
  padding: 24px;
  
}

@media screen and (max-width: 767px) {
  .gallery {
    grid-template-rows: repeat(3, 250px);
    grid-template-columns: 1fr;
  }
}

.coming-soon-banner {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(255, 0, 0, 0.8); /* semi-transparent red */
  color: white;
  padding: 8px 12px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 5px;
  z-index: 10;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
}