body { margin: 0; padding: 0; position: relative; } header { position: fixed; width: 100%; padding: 15px; top: 0; left: 0; display: flex; justify-content: space-between; z-index: 100; box-sizing: border-box; box-shadow: 0 10px 10px lightblue; background-color: white; } header > img { aspect-ratio: initial; height: 50px; } /*https://getcssscan.com/css-buttons-examples button 6*/ nav > a { align-items: center; justify-content: center; background-color: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0.25rem; box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0; box-sizing: border-box; color: rgba(0, 0, 0, 0.85); cursor: pointer; display: inline-flex; font-family: system-ui, -apple-system, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.25; margin: 0; min-height: 3rem; padding: calc(0.675rem - 1px) calc(1.2rem - 1px); position: relative; text-decoration: none; transition: all 250ms; user-select: none; vertical-align: baseline; width: auto; animation: 0.5s; } .current-tab { background-color: #bbbbbb !important; } nav > a:hover { background-color: #eeeeee; } nav { display: flex; gap: 20px; justify-content: space-between; } main { margin-top: 100px; } table { border: 1px solid black; border-collapse: collapse; gap: 0; } td { width: 33%; } td, th { border: 1px solid black; padding: 0; text-align: center; } td.great { background-color: green; } td.sad { background-color: red; } td.ok { background-color: yellow; }