* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 20px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem;
  min-width: 600px;
  max-width: 1440px;
  min-height: 90vh;
}

.hex-container {
  flex: 0.5;
  margin: 1rem;
}

.hex-container > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  gap: 2rem;
}

.hex-container button,
.rgb-container button {
  background-color: gold;
  cursor: pointer;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: 0.25rem;
  box-shadow: 0 0 5px;
  transition: 0.3s;
}

.hex-container p,
.demo {
  font-size: 2rem;
  color: white;
  font-weight: 900;
}

.hex-container button:hover {
  background-color: rgb(230, 247, 5);
  transform: translateY(-3px);
}

.rgb-container {
  flex: 0.5;
  margin: 1rem;
}

.rgb-container div {
  display: flex;
  border: 2px solid rgb(180, 150, 150);
  margin: 0.5rem 1rem;
  padding: 0.25rem 0.5rem;
}

.rgb-container div label {
  flex: 1;
}

.rgb-container div input {
  flex: 0.5;
}

.rgb-container .buttons {
  margin: 2rem 1rem;
  justify-content: space-between;
  border: none;
}

.rgb-container button:hover {
  background-color: rgb(230, 247, 5);
  transform: translateY(-3px);
}