@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Licorice&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: rgb(144, 93, 192);
}

h1 {
  text-align: center;
  margin-top: 4rem;
  font-family: "Dancing Script", cursive;
}

.inner-div-sketch {
  display: flex;
}

#slider {
  transform: rotate(270deg);
  width: 18rem;
  background-color: #fff;
}

.size {
  margin-left: 1rem;
  font-size: 1.5rem;
}

.number-of-square {
  /* width: 265px; */
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.div-squares {
  border: 1px solid black;
  width: 60%;
  margin-top: 2rem;
  height: 35rem;
  margin-bottom: 3rem;
  background-color: #fff;
  /* border-radius: 1rem; */
}

.boxes {
  width: 100%;
  height: 100%;
  border: 1px solid black;
  background-color: #fff;
  /* margin: 0.3rem; */
}

.div-squares {
  display: grid;
  width: 60%;
  height: 35rem;
  border: 1px solid black;
  margin: 2rem auto;
  background-color: white;
}

.number-of-range {
  position: relative;
}

.size {
  position: absolute;
  left: 2rem;
}

.buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  gap: 3rem;
}

.red-btn {
  background-color: rgb(221, 36, 36);
  padding: 0.5rem;
  width: 5rem;
  display: flex;
  justify-content: center;
  border-radius: 1rem;
}

.clear-btn {
  background-color: #f5eeee;
  padding: 0.5rem;
  width: 5rem;
  display: flex;
  justify-content: center;
  border-radius: 1rem;
}

.eraser-btn {
  background-color: #f5eeee;
  padding: 0.5rem;
  width: 5rem;
  display: flex;
  justify-content: center;
  border-radius: 1rem;
}

.random-btn {
  background-color: rgb(45, 45, 237);
  padding: 0.5rem;
  width: 10rem;
  display: flex;
  justify-content: center;
  border-radius: 1rem;
}

.color {
  border-radius: 1rem;
  padding: 0.1rem;
}
