@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #333333;
}

.container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container .spinBtn {
  position: absolute;
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 50%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-weight: 600;
  color: #333333;
  letter-spacing: 0.1em;
  border: 4px solid #000000bf;
  cursor: pointer;
  user-select: none;
}

.container .spinBtn::before {
  content: '';
  position: absolute;
  top: -28px;
  width: 20px;
  height: 30px;
  background: #ffffff;
  clip-path: polygon(50% 0%, 20% 100%, 80% 100%);
}

.container .wheel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333333;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 5px #333333,
  0 0 0 15px #ffffff,
  0 0 0 18px  #111;
  transition: transform 5s ease-in-out;
}

.container .wheel .content{
  position: absolute;
  width: 50%;
  height: 50%;
  background: var(--clr);
  transform-origin: bottom right;
  transform: rotate(calc(45deg * var(--i)));
  clip-path: polygon(0 0, 60% 0, 100% 100%, 0 60%);
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  cursor: pointer;
}

.container .wheel .content span{
  position: relative;
  transform: rotate(45deg);
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  text-shadow: 3px 3px 2px rgb(0,0,0,0.15);
}

header {
  padding: 20px;
  position: absolute;
  top: 0;
  width: 100%;
  background: #505050;
  color: #ffffff;
  z-index: 1;
  text-align: center;
}

.swiffy-slider {
  position: absolute;
  z-index: 11;
  top: 800px;
  bottom: 0;
  left: 0;
  justify-content: center;
  align-items: center;
}

.itensLegend {
  padding: 30px;
  list-style: none;
  background: #ffffff;
  text-align: center;
}