/* tiles for home page gallery */

.companies__tile {
  grid-area: companies;
  background-image: url(../img/Companies_Masonry.jpg);
  background-position: center;
  background-size: cover;
  height: 100%;
}

.realEstate__tile {
  grid-area: realEstate;
  background-image: url(../img/RealEstate_Masonry.jpg);
  background-position: center;
  background-size: cover;
  height: 100%;
}

.entrepreneur__tile {
  grid-area: entrep;
  background-image: url(../img/Entreprenuer_Masonry.jpg);
  background-position: center;
  background-size: cover;
  height: 100%;
}

.careers__tile {
  grid-area: careers;
  background-image: url(../img/Careers_Masonry.jpg);
  background-position: center;
  background-size: cover;
  height: 100%;
}

.media__tile {
  grid-area: media;
  background-image: url(../img/Media_Masonry.jpg);
  background-position: center;
  background-size: cover;
  height: 100%;
}

.contact__tile {
  grid-area: contact;
  background-image: url(../img/GetInTouch_Masonry.jpg);
  background-position: center;
  background-size: cover;
  height: 100%;
}

.header__grid--overlay {
  height: 100%;
  width: 100%;
  object-fit: cover;
  background-color: rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.header__grid--overlay:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.header__grid--overlay:hover .overlay--text {
  transform: translateY(0px);
}

.header__grid--overlay:hover .overlay--text p {
  opacity: 1;
}

.overlay--text {
  transform: translateY(10px);
  transition: 0.3s;
}

.overlay--text h2 {
  color: white !important;
}

.overlay--text p {
  color: white;
  opacity: 0;
  transition: 0.3s;
}

@media only screen and (max-width: 500px) {
  .overlay--text h2 {
    font-size: 20px;
  }

  .overlay--text p {
    font-size: 11px;
  }
}

/* container for home page gallery */

.header__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "companies entrep media realEstate"
    "companies careers contact realEstate";
  background-color: black;
  height: 100%;
  overflow: hidden;
}

@media only screen and (max-width: 1000px) {
  .header__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "companies entrep"
      "companies careers"
      "media realEstate"
      "contact realEstate";
  }
}

#intro {
  height: 100vh;
}

/* adjust height of logo in nav bar */
.logo a {
  height: 45px !important;
}

/* Helper class to add 100vh */
.vh-100 {
  height: 100vh !important;
}

/* ABOUT STYLES ============================================================= */

#about__header {
  background-image: linear-gradient(75deg, rgba(36, 36, 36, 0.9) 45%, rgba(255, 255, 255, 0.1) 45.1% 100%),
    url(../img/AboutHeader_Background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.client-logo {
  height: 130px;
}

/* IPAD STYLES ======== */

@media only screen and (max-width: 768px) {
  #about__header {
    background-position: 50%;
    background-image: linear-gradient(85deg, rgba(36, 36, 36, 0.9) 52%, rgba(255, 255, 255, 0.1) 52.1% 100%),
      url(../img/AboutHeader_Background.jpg);
  }

  .about__secondaryImg {
    overflow: hidden;
    display: flex;
    justify-content: center;
  }
}

/* MOBILE STYLES ====== */

@media only screen and (max-width: 576px) {
  #about__header {
    background-position: 70%;
    background-image: linear-gradient(8deg, rgba(36, 36, 36, 0.9) 65%, rgba(255, 255, 255, 0.1) 65.1% 100%),
      url(../img/AboutHeader_Background.jpg);
    min-height: 180vh !important;
  }

  .header__text h1 {
    font-size: 30px;
  }
  .header__text h2 {
    font-size: 22px;
  }
  .header__text h4 {
    font-size: 15px;
  }
  .header__text p {
    font-size: 10px;
  }

  .header__text--container {
    margin-top: 70vh;
  }

  .about__header--text {
    line-height: 15px;
  }

  .removeOnMobile {
    display: none;
  }

  #client-logos {
    padding-top: 0px;
    padding-bottom: 0px;
  }
}

/* END ABOUT STYLES ========================================================= */

/* COMPANIES STYLES ========================================================= */

.header__text--left {
  width: 450px;
}

/* IPAD STYLES ====== */
@media only screen and (max-width: 768px) {
  .companiesHeader__text--container {
    flex-direction: column;
  }

  .header__text--right ul {
    text-align: center !important;
  }
}

/* MOBILE STYLES ====== */
@media only screen and (max-width: 576px) {
  .header__text--left {
    width: 300px;
  }
  .header__text--left h1,
  .header__text--right h1 {
    font-size: 30px;
  }
  .header__text--left h5,
  .header__text--right ul {
    font-size: 10px;
  }

  .companiesStory__text--p {
    margin-right: 15px;
    margin-left: 15px;
  }
}

/* END COMPANIES STYLES ===================================================== */

/* REAL ESTATE STYLES ======================================================= */

.requestInfoLink {
  color: white;
}

.requestInfoLink:hover {
  color: #e6ae49;
}

/* END REAL ESTATE STYLES =================================================== */

/* STYLES FOR BACKGROUND VIDEO */

.bg_video {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bg_video--container {
  height: 347.35px;
}

@media only screen and (max-width: 1200px) {
  .bg_video--container {
    height: 287.35px;
  }
}

@media only screen and (max-width: 992px) {
  .bg_video--container {
    height: 207.35px;
  }
}

@media only screen and (max-width: 767px) {
  .bg_video--container {
    height: 287.35px;
  }
}

@media only screen and (max-width: 540px) {
  .bg_video--container {
    height: 205.35px;
  }
}
/* END BACKGROUND VIDEO STYLES */
