body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

.container {
    display: flex;
    width: 90%;
    height: 80vh;
    justify-content: space-between;
    align-items: center;
}

/* Left Panel - Adjust positioning */
.left-panel {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Moves everything to the vertical center */
    align-items: center;
    position: relative;
}

.witness-right-panel {
    width: 40%;
    text-align: center;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.selection-container {
    margin: 20px 0;
}

/* UFO Space */
.ufo-space2 {
    width: 300px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 50px; /* Moves the UFO space up */
}

/* Landing Pad - Allows Free Positioning */
.landing-pad {
    width: 250px;
    height: 50px;
    background-color: #bbb;
    border-radius: 50%;
    position: relative;
    overflow: visible; /* Allows stickmen to go above it */
}

@keyframes landOnPad {
    0% { transform: translateY(-30px) scale(1); opacity: 0; }
    70% { transform: translateY(5px) scale(1.05); opacity: 1; }
    100% { transform: translateY(0px) scale(1); opacity: 1;}
}

.stickman {
    width: 120px;
    position: absolute;
    opacity: 1;
    animation: landOnPad 0.7s;
}


@keyframes flyIn {
    0% { transform: translateY(-100px) scale(0.8); opacity: 0; }
    100% { transform: translateY(0px) scale(1); opacity: 1; }
}

@keyframes hover {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.ufo2 {
    width: 80px;
    position: relative;
    animation: flyIn 0.7s ease-out forwards, hover 2s infinite ease-in-out;
}

/* Percentage Bar Container */
.percentage-container {
    width: 80%;
    height: 20px;
    background-color: #ddd;
    border-radius: 10px;
    margin: 10px auto;
    overflow: hidden;
    position: relative;
}

/* Percentage Fill */
.percentage-bar {
    height: 100%;
    width: 100%; /* Will update dynamically */
    background-color: #4CAF50;
    border-radius: 10px;
    position: absolute;
    transition: width 0.5s ease-in-out;
}


/* Default Button Styling */
.button-group button {
    margin: 5px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ddd;
    transition: background-color 0.2s, color 0.2s;
}

/* Button Hover Effect */
.button-group button:hover {
    background-color: #bbb;
}

/* Active (Selected) Button - Stays Dark */
.button-group .selected {
    background-color: #333; /* Dark color when active */
    color: white;
    font-weight: bold;
}