header { display: flex; flex-direction: row; justify-content: space-between; align-items: center; font-family: sans-serif; } header h1{ font-size: 30px; } header form{ display: none; } header div{ margin: 20px 50px 20px 0; display: flex; flex-direction: row; align-items: center; justify-content: space-between; } header input{ padding: 5px 10px; margin-left: 30px; } header button, header a{ padding: 10px 30px; margin-left: 20px; border: 2px solid black; border-radius: 5px; text-decoration: none; color: #000; cursor: pointer; } #mainContainer { display: flex; flex-direction: row; justify-content: space-between; padding: 30px 20px; } #aside { flex: 0 0 30%; } #aside > a{ display: block; font-family: sans-serif; font-size: 16px; text-decoration: none; cursor: pointer; color: black; margin-bottom: 10px; } #aside > a:hover{ text-decoration: underline; } main{ flex: 0 0 70%; } .item--main{ position: relative; } main img{ max-width: 100%; } table{ width: 100%; border-collapse: collapse; } table, th, td{ border: 1px solid black; text-align: center; align-items: center; } table img{ max-width: 80px; } .table-order-td{ display: flex; text-align: center; align-items: center; justify-content: center; } #cardIcon { border: 0; border-radius: 0; text-decoration: none; color: #000; cursor: pointer; display: flex; flex-direction: row; justify-content: center; align-items: center; } #cardIcon img{ max-height: 35px; margin-right: 10px; }