#homeStrand{ display: flex; } .card{ margin: 0 15px; flex-grow: 1; height: 100%; background: white; } .card > *{ margin: 10px; } .card > p:first-of-type{ font-size: 14px; font-weight: bold; text-align: center; } .flexRow{ display: flex; justify-content: space-around; width: 100%; flex-basis: 100px; flex-grow: 1; margin: 15px 0; max-height: 43%; } #revenueCard{ display: flex; flex-direction: column; justify-content: center; align-items: center; } #revenue{ text-align: center; font-size: 30px; font-weight: bold; } #revenueChange{ display: flex; } #revenueChange > p{ font-weight: 100; } #revenueChange img{ height: 15px; width: 15px; margin-right: 10px; } #graphCard{ flex-grow: 5; display: flex; justify-content: center; } #inventoryCheckCard{ display: flex; flex-direction: column;; justify-content: space-between; flex-basis: 100px; flex-grow: 1; } #inventoryCheckCard ul{ list-style: none; } #inventoryCheckCard button{ margin-left: auto; } .ingredientCheck{ display: flex; align-items: center; margin: 5px 0; max-height: 50px; } .inventoryCheckIngredient{ width: 40%; font-weight: 300; font-size: 15px; margin-right: 25px; text-overflow: ellipsis; white-space: wrap; overflow: hidden; text-align: left; } .inventoryCheckUnit{ width: 20% } .numberInput{ display: flex; justify-content: center; width: 40%; margin-right: 25px; } .numberInput button{ width: 30%; font-size: 23px; background: rgb(0, 27, 45); border: none; color: white; font-weight: bold; cursor: pointer; } .numberInput button:first-of-type{ border-bottom-left-radius: 5px; border-top-left-radius: 5px; } .numberInput button:last-of-type{ border-bottom-right-radius: 5px; border-top-right-radius: 5px; } .numberInput input{ width: 55%; font-size: 15px; text-align: center; } .numberInput input::-webkit-outer-spin-button, .numberInput input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .numberInput input[type=number] { -moz-appearance: textfield; } #popularIngredientsCard{ display: flex; flex-direction: column; align-items: center; flex-basis: 100px; flex-grow: 2.5; padding: 5px; box-sizing: border-box; } #popularCanvas{ margin: 0 35px; } .notice{ color: red; font-size: 35px; font-weight: bold; }