/* Content must appear above pinned video */
html body .content-section,
html body .it-container,
html body .my-1,
html body .mb5,
html body .row,
html body section,
html body .col-lg-6,
html body body > *:not(.ParallaxITWrapper):not(.ParallaxITSticky) {
    position: relative !important;
    z-index: 5 !important;
}
/* Section height */
html body .ParallaxITWrapper {
    height: 100vh !important;
    position: relative !important;
}

html body .ParallaxITSticky {
    height: 100vh !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

/* Video default state before pin */
html body .ParallaxITVideo {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    min-width: 100% !important;
    height: 140% !important;
    object-fit: cover !important;
    z-index: 0 !important;
    pointer-events: none !important;
}
html body .ParallaxITVideo {
    display: block !important;
}
html body .ParallaxITVideo.fixed {
    position: fixed !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    height: 140% !important;
    width: auto !important;
    z-index: 1 !important; /* <-- avoid negative */
}
html body .it-container {
	min-width: 100% !important;
	margin: auto !important;
    z-index: 5 !important;	
}
html body .my-1 {
	min-width: 100% !important;
	margin: auto !important;
    z-index: 5 !important;	
}
html body .content-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 1320px !important;
  margin: auto !important;
  z-index: 5 !important;
}
html body .mb-5 {
    margin-bottom: 3rem !important;
    z-index: 5 !important;
}
html body .row {
    --bs-gutter-x: 1.5rem !important;
    --bs-gutter-y: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    margin-top: calc(-1 * var(--bs-gutter-y)) !important;
    z-index: 5 !important;
}

html body .further-back {
    z-index: 4 !important;
}

html body .PP {
    z-index: 4 !important;
}
html body .it-video-wrapper {
  display: flex !important;
  justify-content: center !important; /* horizontal center */
}
html body .center-it-video {
  width: 80% !important;
  height: auto !important;
  display: block !important;
  max-width: 80% !important;
}


html body .monitor-wrapper {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  z-index: 20 !important;
}

/* --- MONITOR FRAME --- */
html body .monitor-frame {
  aspect-ratio: 16 / 9;
  width: 840px !important;                 /* Fixed size, frame never grows */
  max-width: 80% !important;
  height: auto !important;
  padding: 20px !important;
  background: #333 !important;
  border-radius: 12px !important;
  position: relative !important;
  box-shadow: 0px 5px 25px rgba(0,0,0,0.4) !important;
  overflow: visible !important;            /* allow zoomed image to leave frame */
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 30 !important;
}

/* Monitor stand bar */
html body .monitor-frame::after {
  content: "" !important;
  position: absolute !important;
  bottom: -40px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 120px !important;
  height: 20px !important;
  background: #444 !important;
  border-radius: 4px !important;
}

/* Monitor base plate */
html body .monitor-frame::before {
  content: "" !important;
  position: absolute !important;
  bottom: -60px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 200px !important;
  height: 10px !important;
  background: #555 !important;
  border-radius: 5px !important;
}

/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100vw; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  z-index: 100;
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  max-width: 80vw;   /* allow full-resolution image */
  max-height: 80vh;
  width: auto;        /* <-- VERY important */
  height: auto;       /* <-- also important */
  object-fit: contain;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 80px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100vw;
  }
}