﻿.robot-details {
    padding: 20px;
    font-family: Arial, sans-serif;
    margin-top: 6.5rem;
}

.robot-header {
    display: flex;
    justify-content: space-between;
    gap: 40px; /* gap between text and image */
    margin-bottom: 30px;
}

.robot-info,
.robot-image {
    flex: 1; /* equal width */
}

    h1 {
        font-family: 'Saira Stencil One', sans-serif;
        margin-bottom: 10px;
        font-size: 4em;
    }

    .robot-info p {
        font-size: 1.1em;
        color: #444;
    }

    .robot-image img {
        max-width: 100%;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

.specs-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.specs-table {
    margin-top: 5rem;
}

.specs-table th {
    text-align: left;
    padding: 6px 12px; /* reduced padding */
    font-weight: bold;
    width: 20%; /* smaller width for label column */
}

.specs-table td {
    padding: 6px 8px; /* less padding, smaller gap */
}

/* alternating row colors */
.specs-table tr:nth-child(odd) {
    background: #f9f9f9;
}

.specs-table tr:nth-child(even) {
    background: #ffffff;
}
@media (max-width: 600px) {
    .robot-header {
        flex-direction: column;
    }
}