.rotary-dial-container {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rotary-dial {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #FA00B8;
  border-radius: 50%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center;
}

.rotary-dial::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  background: #333;
  border-radius: 50%;
  z-index: 10;
}

.numbers {
  position: absolute;
  width: 100%;
  height: 100%;
}

.numbers span {
  position: absolute;
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  text-align: center;
  justify-content: center;
  align-items: center;
  line-height: 40px;
  font-weight: bold;
  color: #333;
}

.rotary-ring {
  position: absolute;
  width: 90%;
  height: 90%;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: grab;
}

.rotary-ring:active {
  cursor: grabbing;
}

.selection-window {
  position: absolute;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

@media (max-width: 1000px){
  .rotary-dial-container{
    width: 200px;
    height: 200px;
  }
  .numbers span{
    width: 70px;
    height: 70px;
  }
  .selection-window{
    width: 70px;
    height: 70px;
  }
}