body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 40px;
    background: linear-gradient(90deg, rgba(228, 122, 40, 1) 0%, rgba(219, 45, 42, 1) 100%);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 320px;
    /* grow, shrink, base width */
    box-sizing: border-box;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.4rem;
}

label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
    color: #555;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

input:focus {
    border-color: #4CAF50;
    outline: none;
}

#pitchDisplay {
    margin: 15px 0;
    padding: 12px;
    background: #e3f2fd;
    border: 1px solid #2196F3;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    color: #1976D2;
    display: none;
}

#result1,
#result2 {
    margin-top: 25px;
    padding: 20px;
    background: #e8f5e8;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #2E7D32;
}

.error {
    background: #ffebee !important;
    border-color: #f44336 !important;
    color: #c62828;
}

.small {
    font-size: 14px;
    font-weight: normal;
    color: #666;
    margin-top: 5px;
}

.resultDetails {
    font-size: 16px;
    font-weight: normal;
    color: #333;
    margin-top: 8px;
    white-space: pre-line;
}

ul {
    list-style-type: none;
    margin: 20px auto 0;
    padding: 0;
    text-align: center;
}

ul li {
    display: inline;
    margin: 0 10px;
}

ul a {
    color: #fff;
    text-decoration: underline;
}

footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    /* adjust as needed */
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 9999;
}

.high-waste {
    color: red;
    font-weight: bold;
}