.container {
    display: flex;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.animation-container {
    width: 66.67%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    background-color: #2A2A2A;
}

.controls-container {
    width: 33.33%;
    height: 100%;
    padding: 20px;
    background-color: #2A2A2A;
    border-left: 1px solid #404040;
    box-sizing: border-box;
}

.renderer-canvas {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.gui-container {
    width: 100%;
}

.speed-control {
    padding: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px;
}

.speed-button {
    padding: 10px 20px;
    font-size: 16px;
    border: 2px solid #4CAF50;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.speed-button:hover {
    background: rgba(76, 175, 80, 0.2);
}

.speed-button.active {
    background: #4CAF50;
    color: white;
}

.track-options {
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #333;
    border-radius: 5px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    color: white;
    font-family: Arial, sans-serif;
    padding: 10px 0;
}

.track-checkbox {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

label {
    cursor: pointer;
}

.facts-panel {
    margin-top: 20px;
    padding: 15px;
    background-color: #333;
    border-radius: 5px;
    color: white;
    font-family: Arial, sans-serif;
}

.facts-panel h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #4CAF50;
    border-bottom: 1px solid #4CAF50;
    padding-bottom: 8px;
}

.fact-item {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fact-label {
    font-weight: bold;
    color: #ccc;
}

.fact-value {
    color: white;
    text-align: right;
}

.hurricane-name-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #4CAF50;
}

.hurricane-name-label span:first-of-type {
    font-weight: bold;
    margin-right: 5px;
}

.hurricane-name-label span:last-child {
    color: #4CAF50;
}

.current-year {
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
    border-bottom: 1px solid rgba(76, 175, 80, 0.3);
    padding-bottom: 5px;
}

.dim-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 50;
    pointer-events: none; /* Allow clicks to pass through */
    display: none; /* Start hidden and stay hidden */
}

.year-selector {
    margin: 20px 0;
    padding: 15px;
    background-color: #333;
    border-radius: 5px;
}

.year-selector h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #4CAF50;
    font-family: Arial, sans-serif;
}

.year-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.year-input {
    flex: 1;
    padding: 10px;
    background-color: #444;
    color: white;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
}

.year-input:focus {
    border-color: #4CAF50;
}

.year-input::placeholder {
    color: #aaa;
}

.year-button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.year-button:hover {
    background-color: #3d9140;
}

.year-dropdown {
    display: none;
}

/* Popup Styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Start hidden, JS will set to flex */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #333;
    color: white;
    padding: 30px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: left;
    border-left: 5px solid #4CAF50;
}

.popup-content h2 {
    color: #4CAF50;
    margin-top: 0;
    margin-bottom: 20px;
}

.popup-content p {
    line-height: 1.5;
    margin-bottom: 15px;
}

.popup-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.popup-content li {
    margin-bottom: 10px;
}

.download-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #3d9140;
}

.close-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #555;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.close-button:hover {
    background-color: #666;
}

/* Info Button */
.info-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-weight: bold;
    font-size: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: all 0.3s ease;
}

.info-button:hover {
    background-color: #3d9140;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.info-button:active {
    transform: scale(0.95);
} 