body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    color: #fbfbfb;
    background-color: #2c2f34;
}

a {
    color: hotpink;
}

#breedingResultFinder, #breedingCombinationsExplorer, div#breedingMatrix, div#shortestPath {
    margin-bottom: 30px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-top: 15px;
    padding: 10px;
}

li iframe {
    width: 100%; /* Adjust the width as needed */
    max-width: 200px; /* Set a maximum width */
    height: auto; /* Maintain aspect ratio */
}

select, input, button {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

button {
    background-color: #f3ca63;
    color: black;
    border: none;
    cursor: pointer;
}

button:hover {
    text-decoration: underline;
}

button:disabled {
    text-decoration: none;
    background-color: #ddd;
}

div#breedingResult, div#combinationResults, div#matrixResults, div#shortestPathResult {
    margin-top: 15px;
    padding: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    border: 1px solid #ddd;
}

div#matrixResults {
    display: none;
}

.dropdowns-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly; /* Distributes space evenly around the elements */
    gap: 20px; /* Adds space between the child elements */
}

.dropdown-container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    
    width: 45%; /* Fixed width for each dropdown container */
    max-width: 300px; /* Adjust the maximum width as needed */
    
    padding: 20px;
}

.dropdown-container label {
    text-align: center;
    margin-bottom: 10px;
}

.dropdown-container > div {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Center the items horizontally */
    align-items: center; /* Align items vertically */
    width: 100%;
    gap: 5px; /* Adds a gap between the flex items */
}

#spawnWorkerBtn {
    flex-basis: 100%; /* Takes the full width */
    padding: 10px; /* Same padding as other inputs for consistency */
    margin-top: 10px; /* Same margin as other inputs */
    background-color: #f3ca63; /* Background color */
    color: black; /* Text color */
    border: none; /* No border */
    cursor: pointer; /* Cursor style */
    border-radius: 5px; /* Rounded corners */
}

#spawnWorkerBtn:disabled {
    text-decoration: none;
    background-color: #ddd;
}


@media screen and (max-width: 600px) {
    select {
        width: 60%; /* Adjust this value as needed */
        box-sizing: border-box; /* Ensures padding and border are included in the width */
    }
}
