@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");

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  background: #eb5c1c;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

/**/
.contain-rulette {
  width: 550px;
  height: 550px;
  display: grid;
  align-items: center;
  justify-items: center;
  justify-content: center;
  background-color: #7c2c12;

  transition: transform 2s ease-in-out;
}

.spin {
  animation: spin 1s linear infinite; /* Aplica la animación de giro */
}

.cone-text {
  display: inline-block;
  transform: rotate(-100deg);
  margin-left: 32%;
  margin-top: 16%;
  color: #f1f1f1;
}

.cone-img {
  display: inline-block;
  transform: rotate(-100deg);
  margin-left: 32%;
  margin-top: 16%;
  color: #f1f1f1;
}

.cone1 {
  background: #eb5c1c;
  clip-path: polygon(70% 0, 50% 50%, 0 0);
}

.cone2 {
  background: #f9e7db;
  clip-path: polygon(70% 0, 50% 50%, 0 0);
  transform: rotate(60deg);
}

.cone3 {
  clip-path: polygon(70% 0, 50% 50%, 0 0);
  transform: rotate(120deg);
  background: #eb5c1c;
}

.cone4 {
  clip-path: polygon(70% 0, 50% 50%, 0 0);
  transform: rotate(180deg);
  background: #f9e7db;
}

.cone5 {
  clip-path: polygon(70% 0, 50% 50%, 0 0);
  transform: rotate(240deg);
  background: #eb5c1c;
}

.cone6 {
  clip-path: polygon(70% 0, 50% 50%, 0 0);
  transform: rotate(300deg);
  background: #f9e7db;
}

.size {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  grid-column: 1/2;
  grid-row: 1/2;
}

/*ARROW*/
.background-arrow {
  position: absolute;
  margin: 0px;
  left: -35px;
  width: 73px;
  height: 120px;
  background: #b4b4b0;
  border: solid 1px transparent;
  z-index: -1;
}
.arrowText {
  position: relative;
  margin: 0px;
  width: 10px;
  height: 120px;
  background: transparent;
  border: solid 1px transparent;
  z-index: 1;
}
.arrowText:before,
.arrowText:after {
  content: " ";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
}

.arrowLeft:before,
.arrowLeft:after {
  border-top: 60px solid transparent;
  border-bottom: 60px solid transparent;

  top: -1px;
}
.arrowLeft:after {
  border-right: 60px solid #f1f1f1;
  right: -30px;
  z-index: 2;
}
.arrowLeft:before {
  border-right: 60px solid #f1f1f1;
  right: -30px;
  z-index: 2;
}

/**/

.center-rulette {
  position: fixed;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-color: black;
  z-index: 5;
}

.center-img {
  position: fixed;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  background-color: transparent;
  z-index: 5;
}

.message {
  width: 100px;
  transition: transform 3s ease;
  animation: message 3s linear forwards;
}

/*ANIMATION*/

@keyframes spin {
  0% {
    transform: rotate(0deg); /* Comienza sin rotación */
  }
  100% {
    transform: rotate(360deg); /* Rota 360 grados */
  }
}

@keyframes message {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(3);
  }
}

@media screen and (max-width: 600px) {
  .center-rulette {
    position: fixed;
    left: 47% !important;
    transform: translate(-47%, -50%) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: black;
    z-index: 5;
  }

  .center-img {
    position: fixed;
    left: 45%;
    transform: translate(-45%, -50%);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    background-color: transparent;
    z-index: 6;
  }

  .cone-text {
    display: inline-block;
    transform: rotate(-100deg);
    margin-left: 30%;
    margin-top: 13%;
    color: #f1f1f1;
    font-size: 12px;
  }

  .contain-rulette {
    width: 90vw;
    height: 90vw;
  }

  .size {
    width: 80vw;
    height: 80vw;
  }

  .center-rulette {
    width: 30px;
    height: 30px;
  }

  .center-img {
    width: 80px;
    height: 80px;
  }

  .message {
    width: 60px;
  }
}
