* { margin: 0; padding: 0; } :root { --color-green: #80c671; --color-red: #d56161; } body { height: 100vh; display: flex; flex-direction: column; padding: 0 40px 0 40px; background-color: rgba(236, 236, 236, 0.39); } .title-container { width: 100%; margin-top: 10px; display: flex; justify-content: center; } .title-container .title { letter-spacing: 5px; } .main-container { min-height: 0; flex: 1; display: flex; flex-direction: column; margin-bottom: 10px; } .tools-container { display: flex; justify-content: space-between; align-content: center; padding-top: 40px; padding-bottom: 20px; padding-left: 50px; padding-right: 50px; } .tools-container .add-item-button { width: 60px; height: 40px; background-color: var(--color-green); border: none; font-size: 18px; font-weight: 800; color: white; border-radius: 5px; } .tools-container .add-item-button:hover { cursor: pointer; } .tools-container input { width: 40%; height: 40px; padding-left: 10px; padding-right: 10px; font-size: 16px; border: 1px solid black; border-radius: 5px; } .tools-container input:focus { outline: 2px solid var(--color-green); border: 1px solid transparent; border-radius: 5px; } .tools-container .count { display: flex; justify-content: center; align-items: end; } .tools-container .count span { color: blue; } .table-container { min-height: 0; flex: 1; display: flex; flex-direction: column; } .table-header { height: 50px; display: flex; justify-content: space-between; align-items: center; background-color: var(--color-green); } .table-header div { width: 100%; text-align: center; font-size: 18px; font-weight: bold; color: white; } .table-outer-scrollable-container { min-height: 0; flex: 1; /*height: 700px;*/ overflow-y: scroll; scrollbar-color: var(--color-green) rgba(236, 236, 236, 0.89); } .table-container div { border-radius: 5px; } .table-items-container { display: flex; justify-content: space-between; margin-top: 3px; margin-bottom: 3px; } .table-items-container .more-platform-container { display: flex; justify-content: start; overflow-x: scroll; overflow-y: hidden; white-space: nowrap; scrollbar-width: thin; scrollbar-color: var(--color-green) rgba(236, 236, 236, 0.89); } .table-items-container .more-platform-container div { white-space: nowrap; } .table-items-container div { width: 100%; height: 50px; display: flex; justify-content: center; align-items: center; margin-top: 5px; margin-bottom: 5px; } .table-items-container .change-item-button { width: 50px; height: 30px; border: none; background-color: var(--color-green); color: white; border-radius: 5px; } .table-items-container .change-item-button:hover { cursor: pointer; } .table-items-container .white-space { width: 10px; } .table-items-container .delete-item-button { width: 50px; height: 30px; border: none; background-color: var(--color-red); color: white; border-radius: 5px; } .table-items-container .delete-item-button { cursor: pointer; }