@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: lightgreen;
  max-width: 1200px;
  margin: 10px auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  word-spacing: 6px;
  letter-spacing: 1px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.colorContainer {
  padding: 10px;
  background-color: white;
  border-radius: 10px;
}

.colorBox {
  width: 200px;
  height: 200px;
  background-color: black;
  border-radius: 10px;
}

.codeBox {
  font-size: 24px;
  margin-top: 10px;
  text-align: center;
}

.refreshBtn {
  width: 150px;
  height: 50px;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: black;
  background-color: transparent;
  border: 3px solid black;
  border-radius: 5px;
  cursor: pointer;
}

.refreshBtn:hover {
  color: white;
  background-color: black;
}

.refreshBtn:active {
  transform: scale(0.95);
}
