* {
    box-sizing: border-box;
  }
  
  
  @keyframes idle-animation {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(8px);
    }
    100% {
      transform: translateY(0);
    }
  }

  
  
  
  body {
    margin: 0;
    padding: 0;
     background: url(./fondo4k.png);
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
   
  }

  .subject-buttons{
 
      position: absolute;
      top: 60px;
      left: 50%;
      transform: translateX(-50%);
    
  }

  .desactive {
    opacity: 0.5; /* Cambia la opacidad del bot¨Žn desactivado */
    cursor: not-allowed; /* Cambia el cursor al hacer clic en el bot¨Žn desactivado */
    pointer-events: none; /* Evita que el bot¨Žn desactivado reciba eventos de clic */
  }
  .container {

    width: 500px;
    height: 500px;
    background-color: #ccc;
    border-radius: 50%;
    border: 15px solid #dde;
    position: relative;
    overflow: hidden;
    transition: 5s;
  }

  .bt{
    background: #490cfd;
    border-radius: 15px;
    height: 38px;
    width: 126px;
  }
  .container div {
    height: 50%;
    width: 200px;
    position: absolute;
    clip-path: polygon(100% 0, 50% 100%, 0 0);
    transform: translateX(-50%);
    transform-origin: bottom;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    font-family: sans-serif;
    color: #fff;
    left: 135px;
    transition: 1s;
  }
  
  .container .element1 {
    background-color: #3f51b5;
    left: 50%;
  }
  
  .container .element2 {
    background-color: #ff9800;
    transform: rotate(45deg);
  }
  
  .container .element3 {
    background-color: #e91e63;
    transform: rotate(90deg);
  }
  
  .container .element4 {
    background-color: #4caf50;
    transform: rotate(135deg);
  }
  
  .container .element5 {
    background-color: #009688;
    transform: rotate(180deg);
  }
  
  .container .element6 {
    background-color: #795548;
    transform: rotate(225deg);
  }
  
  .container .element7 {
    background-color: #9c27b0;
    transform: rotate(270deg);
  }
  
  .container .element8 {
    background-color: #f44336;
    transform: rotate(315deg);
  }

  
  
  .arrow {
          animation-name: idle-animation;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    position: fixed;
    z-index: 20;
    top: 187px;
    width: 150px;
    height: 150px;
    left: 46.6%;
    background-image: url('diamondSword.png');
    background-size: cover;
background-position: center center;
    transform: translateX(-50%);
    color: beige;
  }
  

  
  #spin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    
    text-transform: uppercase;
    border: none;
    font-weight: bold;
    font-size: 20px;
    color: #fff;
    width: 80px;
    height: 80px;
    font-family: sans-serif;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    letter-spacing: 1px;
    background-color: red;
    box-shadow: 0px 5px 0px 0px #8b0000;
  }
  
  #spin:active {
    box-shadow: 0px 3px 0px 0px #8b0000 inset;
    
    }
  
  
 #spinDesactive{
         position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    
    text-transform: uppercase;
    border: none;
    font-weight: bold;
    font-size: 20px;
    color: #fff;
    width: 80px;
    height: 80px;
    font-family: sans-serif;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    letter-spacing: 1px;
     box-shadow: 0px 3px 0px 0px #686960 inset;
     background-color: gray;
 }

  
  .container .selected {
    background-color: #f1c40f;
  }
  
  .container .selected:before {
    content: "Selected!";
  }
  