*{margin:0;padding:0} .bold-text{ font-weight: bold; } .container{ display: flex; flex-direction: column; align-items: center; } .container *{ margin: 10px; } th{ border: 2px solid #ff626b; background: #001b2d; color: darkgray; padding: 3px; min-width: 150px; cursor: pointer; } .container th:nth-of-type(5){ border: none; background: none; color: white; min-width: 0; cursor: auto; } td{ border: 1px solid black; text-align: center; padding: 1px 10px; } .container td:nth-of-type(5n){ border: none; } .input-new{ display: flex; flex-wrap: nowrap; } .edit-button{ padding: 0; margin: 0; } .add-ingredient{ position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(11, 20, 8, 0.79); opacity: 1; visibility: hidden; transform: scale(1.1); } .modal-content{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; border-radius: 25px; display: flex; background-size: cover; padding: 50px; max-height: 75%; overflow-y: auto; } th{ cursor: auto; } .modal-content th:nth-of-type(4){ background: none; border: none; min-width: 0; }