body {
    margin: 0;
    font-family: sans-serif;
    color: #00ff00; /* Bright green for default text */
    background-color: #000; /* Fallback for body */
}

.background-container {
    min-height: 100vh;
    background-image: url('https://v3b.fal.media/files/b/0a9f2e00/wp_3tsnxUF5P5fqEx6lgQ_cx1oqYHd.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align content to the top */
    padding-top: 20px; /* Some padding from the top */
    box-sizing: border-box;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent overlay */
    width: 100%;
    max-width: 800px; /* Constrain width for better readability on larger screens */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px;
    border-radius: 8px;
}

.webpage-header {
    width: 100%;
    margin-bottom: 20px;
}

.navigation {
    display: flex;
    justify-content: space-around;
    background-color: rgba(0, 0, 0, 0.8); /* Dark background for nav */
    padding: 10px 0;
    border-radius: 5px;
}

.nav-link {
    color: #00ff00; /* Bright green */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00cc00; /* Slightly darker green on hover */
}

.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.robot-banner-container {
    position: relative;
    width: 80%; /* Adjust size as needed */
    max-width: 300px;
    background-color: #fff; /* White background for the banner box */
    border: 1px solid #333; /* Thin dark border */
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.robot-banner {
    width: 100%;
    height: auto;
    display: block;
}

.banner-label {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 0.7em;
    color: #333;
    text-transform: uppercase;
    font-weight: bold;
}

.main-title {
    font-size: 2.5em;
    color: #00ff00; /* Bright green */
    text-transform: uppercase;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.sub-title {
    font-size: 1.0em;
    color: #90ee90; /* Lighter green/yellow-green */
    text-transform: uppercase;
    margin-bottom: 30px;
}

.data-boxes-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.data-box {
    background-color: #1a1a1a; /* Dark grey for boxes */
    border: 1px solid #00ff00; /* Bright green border */
    padding: 20px;
    flex: 1 1 45%; /* Flex-grow, flex-shrink, flex-basis */
    min-width: 280px; /* Minimum width before wrapping */
    box-sizing: border-box;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.box-title {
    font-size: 1.2em;
    color: #00ff00; /* Bright green */
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
}

.data-field {
    background-color: #0d0d0d;
    border: 1px solid #00ff00;
    padding: 10px;
    width: 80%;
    margin-bottom: 15px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
}

.data-field span {
    color: #00ff00;
}

.values-list, .system-status {
    color: #00ff00;
    margin-bottom: 10px;
}

.jarvis-scan-button {
    background-color: transparent;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
    margin-top: 15px;
}

.jarvis-scan-button:hover {
    background-color: #00ff00;
    color: #000;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .data-box {
        flex: 1 1 100%; /* Stack boxes vertically on smaller screens */
    }
    .main-title {
        font-size: 2em;
    }
    .sub-title {
        font-size: 0.9em;
    }
    .navigation {
        flex-direction: column;
        gap: 5px;
    }
}
