:root {
  --background: #b7e0ff;
  --white: #fff;
}

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

html {
  font-size: 62.5%;
}

body {
  background: var(--background);
}

i {
  line-height: 0;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px;
}
.container .color {
  list-style: none;
  margin: 1.3rem;
  padding: 0.7rem;
  background: var(--white);
  border-radius: 0.6rem;
  text-align: center;
  box-shadow: 0 1rem 2rem rgba(52, 87, 220, 0.08);
  cursor: pointer;
  transition: 0.5s ease;
}
.container .color:active {
  transform: scale(0.95);
}
.container .color .rect-box {
  width: 18.5rem;
  height: 18.5rem;
  background: #8a6cff;
  border-radius: 0.5rem;
  overflow: hidden;
}
.container .color:hover .rect-box {
  filter: brightness(106%);
}
.container .color .hex-value {
  display: block;
  margin: 1.2rem 0 0.8rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.refresh-btn {
  position: fixed;
  padding: 0;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  outline: none;
  height: 5rem;
  padding: 0 2rem;
  width: -moz-fit-content;
  width: fit-content;
  color: #fff;
  background: #8a6cff;
  border: none;
  border-radius: 45rem;
  box-shadow: 0 1.5rem 2rem rgba(52, 87, 220, 0.2);
  font-size: 1.6rem;
  font-weight: 500;
  cursor: pointer;
  background-color: #398eea;
}
.refresh-btn:active {
  filter: brightness(106%);
}/*# sourceMappingURL=style.css.map */