/* Full screen layout - SVG fills entire viewport */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.page-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}

svg {
    width: 100vw;
    height: 100vh;
    display: block;
    object-fit: contain; /* Maintains aspect ratio while filling screen */
}

/* Clickable rectangles */
rect[onclick] {
    cursor: pointer;
    transition: opacity 0.2s;
}

rect[onclick]:hover {
    opacity: 0.8;
}


/* For mobile devices */
@media (max-width: 768px) {
    html, body {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    svg {
        width: 100vw;
        height: 100vh;
        object-fit: contain;
    }
}
