/* Natural Selection Simulator (/natural-selection-simulator): the 4:3 picture (the habitat with the chart under it). Tiles,
   panels and buttons come from the app kit (css/app-kit, docs/app-kit.md). Loaded only on this app's page (StylePaths). */

.ns-landing-app .ns-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Click a beetle to catch it. */
.ns-landing-app .ns-canvas {
    display: block;
    width: 100%;
    max-width: 920px;
    aspect-ratio: 4 / 3;
    border-radius: var(--ak-radius, 8px);
    cursor: crosshair;
    touch-action: manipulation;
}

/* At generation does nothing without a later habitat. */
.ns-landing-app .ak-row.is-muted {
    opacity: 0.55;
}

/* Phones: a square picture, so the habitat and the chart keep enough height for the beetles and the bars. */
@media (max-width: 640px) {
    .ns-landing-app .ns-canvas {
        aspect-ratio: 1 / 1;
    }
}
