/*
==================================================
 FILE: modal.css
 PURPOSE: Overrides, quick fixes, experiments
 AUTHOR: Arkadiusz Wawer
==================================================
*/

/* © Arkadiusz Wawer - All rights reserved */



/* =========================
   MODAL BASE
========================= */




.art-modal {
  position: fixed;
  inset: 0;
  z-index: -1; /* 👈 ważne */

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  visibility: hidden;

  transition: opacity 0.3s ease;
}

.art-modal.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  z-index: 9999;
}

/* overlay */
.art-modal-overlay {
  position: absolute;
  
  inset: 0;

  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(6px);
  z-index: 1;
}

/* content */
.art-modal-content {
  position: relative;

  width: 100vw;
  height: 100vh;


  border-radius: 18px;
  overflow: hidden;

/*

  background: #0f0d0b;

*/

  background: #000; 

  box-shadow:
    0 40px 100px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.05);
	
  z-index: 2;
  
}

/* iframe */
#art-frame {
  width: 100%;
  height: 100%;
  background: #0f0d0b;
  border: none;
}

/* close */
.art-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  
  z-index: 10000;
  
  pointer-events: auto;  

  font-size: 22px;
  color: #fff;  
  background: rgba(0,0,0,0.6);
  border: none;
  cursor: pointer;
  
  border-radius: 8px;
  padding: 8px 12px;
 
}

.art-modal-content * {
  pointer-events: auto;
}