/*
 * Template "Homepage" (page-homepage.php)
 * Wordt alleen op deze template geladen, ná Bootstrap.
 */

/* Intro met achtergrondvideo */
#homepageIntro {
  width: 100%;
  height: 100%;
  display: flex;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: center;
  align-content: center;
  flex-direction: column;
  justify-content: center;
  background-image: inherit;
}
#homepageIntro h1 {
  margin: 0 !important;
}
#homepageIntro .introText {
  margin: 1em 0 0 !important;
  position: relative !important;
  top: inherit !important;
  height: auto;
  display: block;
}

#homepageIntro video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  min-width: 100%;
  min-height: 56.25vw;
  object-fit: cover;
  object-position: center center;
}
#homepageIntro .videoMobile {
  display: none;
}
@media (max-width: 768px) {
  .videoDestop {
    display: none;
  }
  .videoMobile {
    display: block !important;
  }
}
@media (min-width: 768px) {
  .videoDestop {
    display: block !important;
  }
  .videoMobile {
    display: none !important;
  }
}

/* Submenu-items in de intro */
.entry {
  position: relative;
  display: inline-block;
}
.entry:hover .entry-submenu {
  display: block;
}
.entry-submenu {
  display: none;
  position: absolute !important;
  width: 100%;
  background-color: #000;
  left: 0;
  top: 50px;
}
.entry-submenu a,
.entry-submenu a:hover,
.entry-submenu a:active,
.entry-submenu a:focus {
  color: #fff;
}

/* Logo, ondertitel en tagline */
.introText h3 {
  font-size: 3em !important;
}
.introText h2 {
  font-size: 1.6em !important;
}
.darkbg {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 10px 0 10px;
}
#homepageIntro img {
  width: 440px !important;
  display: inline;
  margin: 0;
}
#homepageIntro h1 {
  display: block;
  margin: 15% auto 0;
  text-align: center;
}
#homepageIntro h1 span {
  height: 103px;
  display: block;
  width: 474px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  #homepageIntro h1 span {
    max-width: 90% !important;
    height: 80px !important;
  }
  #homepageIntro img {
    width: 90% !important;
    height: 60px !important;
  }
  .introText h3 {
    font-size: 2em !important;
  }
  .introText h2 {
    font-size: 1em !important;
  }
}

/* Sectietitels ("Onze Headwear", "Shop by type") */
#homepageLight .section-title {
  color: #000;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}
#homepageLight .section-title--spaced {
  margin-top: 50px;
}
