/**
 * Name: Jie Zhang
 * ID: jiez12@illinois.edu
 */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f4;
    margin: 0;
}

h1 {
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}


#sceneTitle {
    font-size: 20px;
    margin-bottom: 10px;
}

#progressBar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.step-circle {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background-color: #ccc;
    color: white;
    font-weight: bold;
    transition: background 0.3s;
}

.step-circle.active {
    background-color: #007bff;
}


#controls {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}


#viz-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}


#viz {
    width: 100%;
    height: auto;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 20px;
    transition: box-shadow 0.3s ease;
}

#viz:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}


#controls button {
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

#controls button:hover:not(:disabled) {
    background-color: #0056b3;
}


.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    pointer-events: none;
}

#yearSlider {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.grid line {
    stroke: #ddd;
    stroke-opacity: 0.7;
}


#yearSlider {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.grid line {
    stroke: #ddd;
    stroke-opacity: 0.7;
}

input[type=range] {
    width: 200px;
}