body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    color: #333;
}

h3 {
    margin-bottom: 10px;
    color: #555;
}

canvas {
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.canvas-container {
    display: flex;
    align-items: center;
}

.simulation-container {
    display: flex;
    justify-content: space-between;
    width: 780px;
    gap: 10px;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 780px;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.button-control {
    display: flex;
    gap: 10px;
}

.controls label {
    margin-right: 10px;
    font-weight: bold;
}

.download-control {
    display: flex;
    flex-direction: column; /* Stacks the buttons vertically */
    gap: 10px; /* Space between the buttons */
    margin-left: 20px; /* Space between the canvas and the buttons */
}
.download-control button.active {
    background-color: #0056b3;
}


.speed-control {
    display: flex;
    gap: 10px;
}
.speed-control button.active {
    background-color: #0056b3;
}

.button-control button.active {
    background-color: #0056b3;
}

input[type="range"] {
    width: 80%;
    margin-bottom: 10px;
}

button {
    padding: 10px 15px;
    border: none;
    background-color: #007BFF;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 18px; /* Increase font size for better visibility of symbols */
    display: flex;
    align-items: center;
    justify-content: center;
}

button:hover {
    background-color: #0056b3;
}

button:active {
    background-color: #003d80;
}

#timestepCounter {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
}
#disclaimer {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: gray;
}