/* Google Font Link */
@import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Poppins&family=Roboto&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-family: "Poppins", sans-serif;
  font-family: "Roboto", sans-serif;
}

h1 {
  text-align: center;
  background: #000;
  padding: 10px;
  color: aliceblue;
  margin-bottom: 10px;
}

body {
  background: #e3f2fd;
}

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

.container .color {
  background: #fff;
  list-style: none;
  margin: 15px;
  text-align: center;
  padding: 15px;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(52, 87, 220, 0.8);
  transition: transform 0.3s ease;
}
.container .color:active {
  transform: scale(0.95);
}

.color .rect-box {
  width: 185px;
  height: 188px;
  border-radius: 10px;
  background: #8a6cff;
}

.color:hover .rect-box {
  filter: brightness(106%);
}

.color .hex-value {
  font-size: 1.15rem;
  font-weight: bold;
  padding-top: 10px;
  text-transform: uppercase;
  color: #444;
  display: inline-block;
}

.refresh-btn {
  position: fixed;
  left: 50%;
  bottom: 50px;
  padding: 12px 20px;
  font-size: 1.1rem;
  border: transparent;
  outline: none;
  color: aliceblue;
  cursor: pointer;
  background: rgb(131, 58, 180);
  background: linear-gradient(
    90deg,
    rgba(131, 58, 180, 1) 0%,
    rgba(253, 29, 29, 0.9724264705882353) 50%,
    rgba(252, 176, 69, 1) 100%
  );
  border-radius: 7px;
  box-shadow: 0 15px 25px rgba(220, 142, 52, 0.8);
  transform: translateX(-50%);
}
