body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f0f0;
  margin: 0;
}

.button-container {
  position: relative;
  width: 100px;
  height: 100px;
}

.circle-button {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #ff9900;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 2;
  border: 10px solid #fff; /* Added white border */
}

.pie-button {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  transform: scale(0);
  transition: all 0.3s ease;
  z-index: 1;
}

.circle-button:hover + .pie-button {
  transform: scale(2);
}

.slice {
  position: absolute;
  width: 50%;
  height: 50%;
  background-color: transparent;
  overflow: hidden;
  clip-path: polygon(0% 0%, 99% 0%, 99% 99%, 0% 99%);
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: 100% 100%;
  /* border-right: 1px solid #fff; */
}

.slice1 {
  background-color: #be8644;
  transform: rotate(0deg);
}
.slice2 {
  background-color: #be8644;
  transform: rotate(90deg);
}
.slice3 {
  background-color: #be8644;
  transform: rotate(180deg);
}
.slice4 {
  background-color: #be8644;
  transform: rotate(270deg);
}

.slice span {
  transform: rotate(-50deg);
  position: absolute;
  top: 40%;
  left: 20%;
  color: white;
  text-align: center;
  font-size: 8px;
}
