[solved] Videos don't show up

Was a z-index conflict with Bricks Video Element

Hi,
this is more a “Why” than a “How” question, but I’m using this Custom CSS on my website and when it is active videos are not loaded anymore on my page. I don’t understand why this CSS prevents videos from being loaded on the page!?

/* Basics */
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container styles */
.BlockMenu-Container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative; 

.Code-Wrapper {
  width: 100%;
}

/* Navigation Menu Styles */
.edge-menu-wrapper {
  width: 100%;
  color: #ffffff30;
  font-family: 'Cormorant', serif;
  font-size: 1.3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.33s ease;
  position: relative;
  z-index: 999;
    pointer-events: none;
padding-top: 0px;
}

.edge-menu-wrapper.active {
  opacity: 1;
  visibility: visible;
      pointer-events: auto; 
}

/* Burger Menu Styles */
.burger-toggle {
    position: absolute; 
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    padding: 10px;
}

.burger-button {
  background-color: #000000;
  border: 1px solid #ffffff30;
  cursor: pointer;
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 5px;
}

.burger-button span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s ease;
}

.burger-button.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-button.active span:nth-child(2) {
  opacity: 0;
}

.burger-button.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Menu Container */
.edge-menu-buttons {
    background-image: url('https://../wp-content/uploads/menu-bg-picture.jpg');
    border-left: 1px solid #3c3a35;
    border-right: 1px solid #3c3a35;
    border-bottom: 1px solid #3c3a35;
    border-top: 0px;
    border-radius: 0 0 16px 16px;
    width: 100%;
    padding: 60px 20px 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%); 
}


/* Menu sections */
.menu-left,
.menu-right {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.menu-left {
   margin-right: 40px;
}

.menu-right {
  margin-left: 40px;
}

/* Menu Items */
.menu-item {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.3s ease;
}

.menu-right .menu-item {
  transform: translateX(50px);
}

.edge-menu-wrapper.active .menu-item {
  opacity: 1;
  transform: translateX(0);
}

/* Menu Links */
.edge-menu-buttons a img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.edge-menu-buttons a p {
  position: absolute;
  width: 100%;
  font-size: 1.3rem;
  opacity: 0;
  left: 0;
  top: 0.5rem;
  padding: 0.3rem;
  text-align: center;
  transition: all 150ms ease-in-out 0ms;
  outline: none;
  translate: 0 -10px;
}

.edge-menu-buttons a:hover p {
  opacity: 1;
  translate: 0;
  transition: all 300ms ease-in-out 150ms;
}

.edge-menu-buttons a:focus-visible,
.edge-menu-buttons a:hover {
  transform: scale(1.15);
  z-index: 10;
  color: #fff;
  background-color: #1a1a1a;
}

.edge-menu-buttons:has(a:focus-visible) a:not(:focus-visible),
.edge-menu-buttons:has(a:hover) a:not(:hover) {
  opacity: 50%;
  scale: 85%;
  z-index: -10;
}

/* Sequential animation delays */
.menu-item:nth-child(1) { transition-delay: 0.05s; }
.menu-item:nth-child(2) { transition-delay: 0.1s; }
.menu-item:nth-child(3) { transition-delay: 0.15s; }

/* Scale Up Animation */
@media (prefers-reduced-motion: no-preference) {
  :root {
    --d: 0;
    --ani-speed: 100ms;
  }
  
  [scale-up] {
    scale: 0;
    animation: scale-up var(--ani-speed) forwards;
    animation-delay: calc(var(--order, 0ms) * var(--ani-speed));
  }
}

@keyframes scale-up {
  0% { scale: 0; }
  60% { scale: 1.15; }
  100% { scale: 1; }
}