/* Ensure full viewport coverage and center content */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5; /* Light gray background */
    overflow: hidden; /* Prevents unnecessary scrolling */
}

/* Center and scale the iframe properly */
.contentIframeClass {
    width: 90vw;  /* 90% of the viewport width */
    height: 90vh; /* 90% of the viewport height */
    max-width: 1200px; /* Ensures iframe doesn’t get too wide */
    max-height: 100%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
    border-radius: 10px;
    transform-origin: top left; /* Ensures proper scaling */
}

/* Hide unnecessary frames */
.dummyFrameClass {
    display: none;
}

/* Navigation arrows */
.prev, .next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 12px;
    border-radius: 5px;
    z-index: 1000; /* Ensures arrows stay on top */
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* Make the iframe scale responsively for mobile screens */
@media (max-width: 1024px) {
    .contentIframeClass {
        width: 95vw; /* Increase width for smaller screens */
        height: 95vh; /* Increase height */
    }
}

@media (max-width: 768px) {
    .contentIframeClass {
        width: 100vw; /* Full width */
        height: 100vh; /* Full height */
        border-radius: 0;
        box-shadow: none;
    }

    .prev, .next {
        font-size: 18px;
        padding: 8px;
    }
}
