body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #222;
    color: white;
}

.simulator-container {
    display: flex;
    height: 100vh;
}

.weather-display {
    flex: 3;
    position: relative;
    overflow: hidden;
    background-color: #333;
}

.sky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to bottom, #87CEEB, #1E90FF);
    overflow: hidden;
z-index: 2;
}

.tree-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 2;
}

.ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to bottom, #8B4513, #2E8B57);
z-index: 1;
}

.control-panel {
    flex: 1;
    padding: 20px;
    background-color: #444;
    overflow-y: auto;
}

.control-group {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #555;
    border-radius: 5px;
}

.control-group h3 {
    margin-top: 0;
    color: #fff;
}

label {
    display: block;
    margin: 10px 0 5px;
}

input[type="range"] {
    width: 100%;
    margin-bottom: 15px;
}

select {
    width: 100%;
    padding: 5px;
    margin-bottom: 15px;
}

button {
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

/* Update the .cloud class in styles.css */
.cloud {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0.9; /* Increased from 0.8 */
    filter: blur(8px);
    z-index: 10; /* Higher than shadows */
    pointer-events: none; /* Prevent interaction */
z-index: 3;
}

.tree {
    position: absolute;
    bottom: 30%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 60px solid #2E8B57;
    z-index: 2;
}

.tree-trunk {
    position: absolute;
    bottom: 15%;
    left: -5px;
    width: 10px;
    height: 30px;
    background-color: #8B4513;
    z-index: 2;
}

.rain-drop {
    position: absolute;
    width: 1px;
    /*background-color: rgba(174, 194, 224, 0.5);*/
    background-color: rgba(240, 240, 240, 0.5);
    z-index: 3;
}

.snow-flake {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: white;
    border-radius: 20%;
    z-index: 3;
}

.hail-stone {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: white;
    border-radius: 50%;
    z-index: 3;
}

.fog-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0);
    pointer-events: none;
    z-index: 4;
}

.lightning {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0);
    pointer-events: none;
    z-index: 5;
}

.compass {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 10;
}

.compass-rose {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 1px solid white;
}

.compass-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background-color: red;
    transform-origin: left center;
}

.compass-label {
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    color: white;
}



/* Update the .shadow class */
.shadow {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(5px);
    z-index: 1; /* Lower than clouds */
    pointer-events: none;
z-index: 2;
}