/*
 Theme Name:     Interly Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Interly Streetwise Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
/*----- CHEATSHEET -----*/
/* Media Queries */
/*
@media only screen and (max-width: 980px) { -- Tabled
@media only screen and (max-width: 480px) { -- Mobile
*/

/* Row + Column systeem */
/*
.rij-block:after {
  content: "";
  display: table;
  clear: both;
}

.block-1 {
  float: left !important;
  width: 50%!important;
}

.block-2 {
  float: left !important;
  width: 50%!important;
}
*/

@font-face {
  font-family: Bernierregular;
  src: url(https://pannenkoekenhuizen.com/wp-content/themes/divi-child/fonts/BERNIERRegular-Regular.otf);
  font-weight: normal;
font-display:swap;}

@font-face {
  font-family: PrequelDemo;
  src: url(https://pannenkoekenhuizen.com/wp-content/themes/divi-child/fonts/PrequelDemo-Regular.ttf);
  font-weight: normal;
font-display:swap;}

@font-face {
  font-family: OTF;
  src: url(https://pannenkoekenhuizen.com/wp-content/themes/divi-child/fonts/OTF_File.otf);
  font-weight: normal;
font-display:swap;}

/*----- TOPBAR -----*/



/*----- HEADER -----*/

/* Sticky mobile menu */
@media screen and (max-width: 980px) {
  .et_fixed_nav #main-header.et-fixed-header {
    position: fixed;
    height: 80px;
    margin-top: -55px;
  }
}

/*----- EXTRA -----*/

#et-boc .ph-bg-video-section {
  position: relative;
  z-index: -1;
}

#et-boc .ph-custom-z-row {
  position: relative;
  height: 600px;
}

#et-boc .ph-custom-z-row .ph-custom-z-column-1 {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 65%;
  transform: translate(-50%, -50%);
  width: 100%;
  margin-right: 0;
}

#et-boc .ph-custom-z-row .ph-custom-z-column-2 {
  position: relative;
  z-index: 1;
  top: -150px;
  width: 125% !important;
  height: 100%;
}

#et-boc .video-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  position: relative;
}

/* Add the overlay using the ::before pseudo-element */
#et-boc .video-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(43, 45, 66, 0.4);
  /* Overlay color */
  z-index: 1;
  /* Ensure overlay is above the video but below text */
}

#et-boc .video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

/* Media queries voor de Vimeo video */
/* @media (min-width: 1255px) {
  #et-boc .video-wrapper {
    top: -140px;
  }
} */
@media (min-width: 1900px) {
  #et-boc .ph-custom-z-row .ph-custom-z-column-2 {
    top: -300px;
  }
}


@media (max-width: 1400px) {
  #et-boc .video-wrapper {
    width: 130%;
    left: -8%;
  }
}



@media (max-width: 1000px) {
  #et-boc .video-wrapper {
    width: 177%;
    left: -16%;
  }
}

@media (max-width: 750px) {
  #et-boc .video-wrapper {
    width: 260%;
    left: -50%;
  }
}

@media (max-width: 550px) {
  #et-boc .video-wrapper {
    width: 330%;
    left: -86%;
  }
}

@media (max-width: 420px) {
  #et-boc .video-wrapper {
    width: 450%;
    left: -130%;
  }
}




.pkh-cta-section .et_pb_with_border.et_pb_column_1_3.et_pb_column.et_pb_css_mix_blend_mode_passthrough {
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
}

.pkh-cta-section .et_pb_module.et_pb_code.et_clickable.et_pb_text_align_center {
  margin-bottom: 0 !important;
}

/* HERO VIDEO */



/*----- FOOTER -----*/

/* Divi footer */
#main-footer {
  display: none !important;
}

/*----- FORMS -----*/