.desctription-heading{ font-size: medium; text-align: center; } .main-container { display: flex; gap: 20px; align-items: flex-start; } .scheme-image{ flex: 1; max-width: 400px; height: auto; object-fit: contain; } .controls-container { display: flex; flex-direction: column; gap: 20px; flex: 1; min-width: 300px; max-width: 400px; } .inputs{ min-width: 300px; } .outputs{ min-width: 300px; } .radio-label{ display: inline-block; } p{ line-height: 0; } .max-w{ width: 100%; } .bad-input-tooltip { display: block; background: #ffffff; color: #721c24; border: 1px solid #8f0c19; padding: 4px 8px; max-width: 220px; white-space: normal; } .bad-input-highlight { outline: 2px solid #990917; } .hidden{ display: none; } body{ display: flex; flex-direction: column; gap: 20px; } table { width: 100%; border-collapse: collapse; margin: 16px 0; } th, td { border: 1px solid #ccc; text-align: left; } th { background-color: #f5f5f5; font-weight: bold; } tr:nth-child(even) { background-color: #fafafa; } @media (max-width: 800px) { .main-container { flex-direction: column; align-items: center; } .scheme-image { max-width: 100%; width: 100%; } .controls-container { width: 100%; max-width: none; } .inputs, .outputs { min-width: unset; width: 100%; } }