* {
    font-family: "Roboto", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: #161616;
    color: white;
}

table {
    width: 50%; /* Make the table take up the full width of the container */
    margin: 0 auto;
    font-size: 1rem; /* Adjust font size */
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

td, th {
    border-left: solid white 1px;
    border-top: solid white 1px;
}

th {
    background-color: gray;
    color: white; /* Dark text color for headers */
    padding: 10px; /* Add padding inside the headers */
    text-align: left; /* Left-align the text */
    font-weight: bold; /* Make the header text bold */
}

tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

th:first-child {
    border-top-left-radius: 10px;
    border-left-width: 1px;
}

th:last-child {
    border-top-right-radius: 10px;
}

/* Styling for table data cells */
td {
    padding: 10px; /* Add padding inside the cells */
    border: 1px solid #ddd; /* Light border for table cells */
    text-align: left; /* Left-align the text */
}

/* Responsive table: allow horizontal scrolling on small screens */
#randomResult {
    overflow-x: auto; /* Horizontal scroll if table overflows */
}

table th, table td {
    white-space: wrap;
}

h2 {

}

.topContent {
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

button {
    border-radius: 10px;
    background-color: #6e6b86;
    color: white;
    outline: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

input {
    outline: none;
    border-radius: 10px;
    border: none;
    padding: 5px;
    background-color: gray;
    color: white;
}

input::placeholder {
    color: white;
}

button:hover {
    background-color: #5a4fcf;
}

/* Media Queries for Mobile Devices */
@media (max-width: 600px) {
    h2 {
        font-size: 1.5rem;
    }

    table {
        font-size: 0.9rem;
    }

    button {
        width: 75%; /* Make buttons full-width on small screens */
        margin: 0.5rem auto;
        font-size: 1.5rem;
    }

    input {
        font-size: 1.5rem
    }
}

