@charset "utf-8";

/* ======================
   IFRAME STYLING - CUSTOMIZABLE
   ====================== */

:root {
  --iframe-width: 90%;          /* Container width (90% of parent) */
  --iframe-max-width: 1400px;    /* Maximum container width */
  --iframe-height: 600px;       /* Default height */
  --iframe-bg-color: #ffffff;   /* Background color */
  --iframe-border: 2px solid #333; /* Border style */
  --iframe-radius: 8px;         /* Border radius */
  --iframe-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow */
  --iframe-margin: 20px auto;   /* Vertical | Horizontal margins */
}

.iframe-container {
    /* Layout */
    width: var(--iframe-width);
    max-width: var(--iframe-max-width);
    height: var(--iframe-height);
    margin: var(--iframe-margin);
    
    /* Visual Styling */
    background: var(--iframe-bg-color);
    border: var(--iframe-border);
    border-radius: var(--iframe-radius);
    box-shadow: var(--iframe-shadow);
    
    /* Technical */
    position: relative;
    overflow: hidden;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .iframe-container {
        --iframe-height: 500px;  /* Shorter height on tablets */
        --iframe-width: 95%;
    }
}

@media (max-width: 480px) {
    .iframe-container {
        --iframe-height: 400px;  /* Mobile height */
        --iframe-width: 100%;
        --iframe-radius: 0;      /* Full-width on mobile */
        --iframe-border: none;   /* Optional: remove border */
    }
}



--iframe-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Subtle shadow */
/* OR */
--iframe-shadow: 0 0 15px rgba(0,0,0,0.2); /* Strong shadow */

--iframe-radius: 12px; /* More rounded */
/* OR */
--iframe-radius: 0;    /* Square corners */

/* Glow Effect */
.iframe-container {
    transition: box-shadow 0.3s ease;
}
.iframe-container:hover {
    box-shadow: 0 0 100px rgba(0,150,255,0.3);
}

/* Animated Border */
.iframe-container {
    position: relative;
}
.iframe-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    animation: borderGlow 2s infinite;
}
@keyframes borderGlow {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}/* CSS Document */

