﻿h1 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color, #1e293b);
    margin-bottom: 25px;
    font-weight: 800;
}

.description {
    margin-bottom: 30px;
    color: #64748b;
    font-size: 1.05rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
:root {
    --primary-color: #1e293b;
    --accent-color: #3b82f6;
    --bg-color: #f1f5f9;
    --panel-bg: #ffffff;
    --text-color: #334155;
    --border-color: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container { margin: 20px; }

.card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    padding: 40px;
    border: 1px solid var(--border-color);
    position: relative;
}

h1 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 800;
}

.description {
    margin-bottom: 30px;
    color: #64748b;
    font-size: 1.05rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sim-wrapper {
    justify-content: center;
    margin: 30px 0;
    overflow: visible;
}

#total {
    width: 500px;
    height: 400px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    overflow: hidden;
    flex-shrink: 0;
    transform-origin: center center;
}

#canvas {
    width: 500px;
    height: 400px;
}

.footer-info {
    text-align: center;
    margin-top: 40px;
    font-size: 0.85rem;
    color: #94a3b8;
}

@media (max-width: 850px) {
    #total { /* scale removed */ }
    .sim-wrapper { height: 380px; align-items: center; }
}
@media (max-width: 750px) {
    #total { /* scale removed */ }
    .sim-wrapper { height: 340px; }
}
@media (max-width: 650px) {
    #total { /* scale removed */ }
    .sim-wrapper { height: 280px; }
    .card { padding: 30px 20px; }
}
@media (max-width: 500px) {
    #total { /* scale removed */ }
    .sim-wrapper { height: 220px; }
    h1 { font-size: 1.5rem; }
}

