* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  background: #f2efe9;
  padding: 40px 20px 60px;
  color: #2e2a23;
}

.page {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.demo h1 {
  font-size: 32px;
  margin: 0 0 8px;
}

.demo h2 {
  font-size: 20px;
  margin: 0 0 12px;
  font-weight: 600;
}

.container {
  width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 20px;
  border: 2px solid #2e2a23;
  background: #fffaf1;
}

.item {
  flex: 0 0 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d9c7a2;
  border: 2px solid #2e2a23;
  font-size: 18px;
  font-weight: 600;
}

.row-fixed {
  justify-content: space-between;
}

.column-stack {
  flex-direction: column;
  width: 300px;
  gap: 14px;
  align-items: stretch;
}

.column-stack .item {
  flex: 0 0 auto;
  height: 90px;
}

.wrap-grid {
  flex-wrap: wrap;
  gap: 12px;
  width: 620px;
  justify-content: flex-start;
}

.chip {
  flex: 0 0 120px;
  height: 80px;
  background: #c7dfd6;
  border: 2px dashed #2e2a23;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.justify-between {
  justify-content: space-between;
  width: 700px;
}

.tile {
  flex: 0 0 160px;
  height: 120px;
  background: #f0b6a6;
  border: 2px solid #2e2a23;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.align-demo {
  align-items: center;
  gap: 16px;
  width: 650px;
}

.panel {
  flex: 1 1 0;
  min-width: 140px;
  height: 120px;
  background: #b7c9f0;
  border: 2px solid #2e2a23;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.panel.tall {
  height: 180px;
}

.panel.short {
  height: 80px;
}
