/* navigation */
.nav-font {
  font-family: Lato;
}

.nav-position {
  margin-top: 0 !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none !important;
  box-shadow: none !important;
}

.nav-logo {
  width: 45%;
}

/* ----- hero video/image ----- */
header {
  position: relative;
  height: 700px;
  width: 100%;
  overflow: auto;
  margin-bottom: 10px;
  box-shadow: 0px 0px 14px 0px #888888;
}

.hcf-overlay {
  --hcf-overlay-opacity: 0.25;
  --hcf-overlay-bg-color: var(--bs-black-rgb);
  position: relative;
}
.hcf-overlay::after {
  display: block;
  content: "";
  position: absolute;
  height: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(
    var(--hcf-overlay-bg-color),
    var(--hcf-overlay-opacity)
  );
  z-index: 0;
}
.hcf-overlay > * {
  position: relative;
  z-index: 1;
}

header section {
  background-image: url("../img/condos-hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: contain;
  height: 700px;
  width: 100%;
}

.hero-heading {
  transform: scale(1.45, 1.45);
}

.hero-heading p {
  font-family: "Montserrat", sans-serif !important;
  white-space: nowrap;
  color: white;
}

.hero-heading #hero-heading-1 {
  font-weight: 600;
  margin-bottom: 0 !important;
  line-height: 1;
  font-size: 1.52rem;
}

.hero-heading #hero-heading-2 {
  font-weight: 900;
  font-size: 3.25rem;
  margin-bottom: 0 !important;
  line-height: 1;
}

.hero-heading #hero-heading-3 {
  font-weight: 200;
  font-size: 1.35rem;
  margin-bottom: 0 !important;
  line-height: 1;
}

.condo-disclaimer {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 400;
  color: white;
  font-size: 0.83rem;
  opacity: 0.8;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.3;
  z-index: 1;
}

#condoLink {
  margin: 3rem 0;
}

/* ----- hero video/image ----- */

/* Media Query for devices with coarse pointers and no hover functionality */

/* This will use a fallback image instead of a video for devices that commonly do not support the HTML5 video element */

/* @media (pointer: coarse) and (hover: none) {
    header {
      background: url('https://source.unsplash.com/XT5OInaElMw/1600x900') black no-repeat center center scroll;
    }
  
    header video {
      display: none;
    }
  } */

@media (max-width: 576px) {
  .nav-logo {
    width: 35%;
  }
}

@media (max-width: 768px) {
  .hero-heading {
    transform: scale(1, 1);
  }

  #condoLink {
    margin: 1.5rem 0 3rem 0;
    width: calc(100% - 1.25rem) !important;
  }
}

@media (max-width: 600px) {
  header section {
    background-image: url("../img/condos-hero.jpg");
    background-position: -300px 0;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: contain;
    height: 700px;
    width: 100%;
  }
}

@media (max-width: 500px) {
  .hero-heading {
    transform: scale(0.85, 0.85);
  }

  .justify-content-end {
    justify-content: start !important;
  }

  .hcf-overlay {
    --hcf-overlay-opacity: 0.5;
    --hcf-overlay-bg-color: var(--bs-black-rgb);
  }

  #condoLink {
    margin: 1rem 0 3rem 0;
    width: calc(100% - 1.25rem) !important;
  }
}

@media (max-width: 430px) {
  .hero-heading {
    transform: scale(0.7, 0.7);
  }
}

@media (max-width: 371px) {
  .hero-heading {
    transform: scale(0.65, 0.65);
  }
}

@media (max-width: 315px) {
  .hero-heading {
    transform: scale(0.55, 0.55);
  }
}

@media (max-width: 280px) {
  .hero-heading {
    transform: scale(0.5, 0.5);
  }
}
