@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
/* font-family: 'Roboto', sans-serif; */
:root {
  --white: #ffffff;
  --heart: #fa0707;
  --gray: #6c757d;
  --black: #212529;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif;
}

/* default icon color and style */
.icon-area {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.icon-area i {
  cursor: pointer;
  margin-top: 8px;
  font-size: 24px;
  color: var(--gray);
}

/* start custom code */
.generate-color-area {
  max-width: 464px;
  padding: 32px;
}
.generate-color-area .generated-color {
  background-color: var(--white);
  height: 100px;
  margin-bottom: 1rem;
}
h4 {
  position: relative;
}
h4.copy-area {
  position: absolute;
  top: 2%;
  left: 1%;
  width: fit-content;
  padding: 0.5rem 1rem;
  transform: translateX(-200%);
  transition: transform 0.5s ease;
}
h4.copid {
  transform: translateX(0);
}

.save-color-area {
  display: none;
  max-width: 464px;
}

.color-control {
  padding: 10px 32px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.color-control .reset-asec {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.color-control i.fa-trash-can {
  color: var(--heart);
}

.save-color-area .item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
#color-list {
  padding: 20px 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
