/* ---------------------------------------- Reseteamos y limpiamos todos los margenes internos y externos ---------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: #C9CBCD;
}

/* ---------------------------------------- Dise���o para celulares ---------------------------------------- */

@media (max-width: 500px) {
    
    .contenedorPrincipal{
        Position: relative;
        width:calc(100% - 0px);
        height:calc(100% - 0px);
        left:50%;
        top:50%;
        transform: translate(-50%, -50%);
        
        background-image: url("../imagenes/Index.webp");
      background-size: cover;
      background-repeat: no-repeat;
      background-position: top;
        
        /*
        background: radial-gradient(
          circle at 0% 0%,
          rgba(246, 241, 162, 1) 0px,
          rgba(223, 227, 228, 1) 200px,
          rgba(212, 217, 217, 1) 50%,
          rgba(213, 213, 213, 1) 100%
        );
        */
        
        overflow:hidden;
        
        z-index:1;
        
    }
    
  .contenedorImagen {
    position: absolute;
    width: 100%;
    height: calc(100% - 0px);
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
    overflow:hidden;
    
    z-index:2;
  }
  
  .cuadroRojo {
    position: absolute;
    width: 95%;
    height: 30%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    border-radius: 0px 50px 0px 50px;
    background-color: #c01c2d;
    mix-blend-mode: multiply;
    z-index:3;
  }

  .puntitos {
    position: absolute;
    width: 50%;
    height: 170%;
    left: 3%;
    top: 3%;

    /* patrón de circulitos */
    background-image: radial-gradient(white 2px, transparent 2px);
    background-size: 20px 20px; /* separación entre puntos */
    z-index:3;
  }

  .nombre {
    position: absolute;
    width: 100%;
    left: 0px;
    top: -100%;
    
    font-size: 6rem;
    text-align:center;
    font-weight: bold;
    opacity: 0.3;
      color: transparent;
      -webkit-text-stroke: 2px white;
      
      transition: opacity 0.3s ease, transform 0.3s ease;
  }


  .raya1 {
    position: absolute;
    width: 5px;
    height: 80%;
    right: 60px;
    top: 10%;
    background-color: #2c2c2c;
    
  }

  .raya2 {
    position: absolute;
    width: 5px;
    height: 80%;
    right: 50px;
    top: 10%;
    background-color: #2c2c2c;
  }

  .raya3 {
    position: absolute;
    width: 5px;
    height: 80%;
    right: 40px;
    top: 10%;
    background-color: #2c2c2c;
  }
  
  .siu{
      position:absolute;
      right:17px;
      bottom:-65px;
      color:#2c2c2c;
  }
  
  .jugador {
      position: absolute;
    width: 50vw;
    height: calc(50vw * 1.5424);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    
    background-image: url("../imagenes/Copa.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    z-index:4;
  }
  
  .contenedorBoton{
      position:absolute;
      width:90px;
      height:90px;
      right:9px;
      top:135%;
      z-index:9;
  }
  
  .button {
    position:absolute;
    width: 90px;
    height: 90px;
    cursor: pointer;
    border: none;
    background: #f9e828;
    color: #000;
    
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    display: grid;
    place-content: center;
    transition:
      background 300ms,
      transform 200ms;
    font-weight: 600;
    
  }

  .button__text {
    position: absolute;
    inset: 0;
    animation: text-rotation 8s linear infinite;

    > span {
      position: absolute;
      transform: rotate(calc(19deg * var(--index)));
      inset: 7px;
    }
  }

  .button__circle {
    position: relative;
    width: 40px;
    height: 40px;
    overflow: hidden;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .button__icon--copy {
    position: absolute;
    transform: translate(-150%, 150%);
  }

  .button:hover {
    background: #2c2c2c;
    color: #fff;
  }

  .button:hover .button__icon {
    color: #000;
  }

  .button:hover .button__icon:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
  }

  .button:hover .button__icon--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
  }

  @keyframes text-rotation {
    to {
      rotate: 360deg;
    }
  }
  

}

/* ---------------------------------------- Dise���o para PC ---------------------------------------- */

@media (min-width: 501px) {
}
