width: calc((100% - (4 * 20px)) / 5)



.container {
  display: flex;
  gap: 20px;
  width: 100%;
  height: 300px;
}

.section-1 {
  width: calc((100% - 60px) * 0.2); /* 20% */
  background: #ffebee;
}

.section-2 {
  width: calc((100% - 60px) * 0.25); /* 25% */
  background: #e8f5e8;
}

.section-3 {
  width: calc((100% - 60px) * 0.15); /* 15% */
  background: #e3f2fd;
}

.section-4 {
  width: calc((100% - 60px) * 0.4); /* 40% */
  background: #fff3e0;
}