.layout {
  display: flex;
}

.side {
  width: 8rem;
  padding: 0.5rem 0;
  text-align: center;
  background-color: gold;
}

.main {
  width: calc(100% - 8rem);
  padding: 0.5rem 0;
  color: white;
  text-align: center;
  background-color: teal;
}