/*

    CSS PARA LOS BOTONES

*/

.moveri{
    right: 7svw;
}
.moverr{
    right: 1svw;
}

.botones {
    position: absolute;
    right: 0.2svw;
    top: 0.2em;
    display: flex;
    width: 270px;
    gap: 10px;
    --b: 5px;   /* the border thickness */
    --h: 6.4svh; /* the height */
  }
  
  .botones button {
    --_c: black;
    flex: calc(1 + var(--_s,0));
    min-width: 0;
    font-size: 40px;
    font-weight: bold;
    height: var(--h);
    cursor: pointer;
    color: var(--_c);
    border: var(--b) solid var(--_c);
    background: 
      conic-gradient(at calc(100% - 1.3*var(--b)) 0,var(--_c) 209deg, #0000 211deg) 
      border-box;
    clip-path: polygon(0 0,100% 0,calc(100% - 0.577*var(--h)) 100%,0 100%);
    padding: 0 calc(0.288*var(--h)) 0 0;
    margin: 0 calc(-0.288*var(--h)) 0 0;
    box-sizing: border-box;
    transition: flex .4s;
  }
  .botones button + button {
    --_c: black;
    flex: calc(1 + var(--_s,0));
    background: 
      conic-gradient(from -90deg at calc(1.3*var(--b)) 100%,var(--_c) 119deg, #0000 121deg) 
      border-box;
    clip-path: polygon(calc(0.577*var(--h)) 0,100% 0,100% 100%,0 100%);
    margin: 0 0 0 calc(-0.288*var(--h));
    padding: 0 0 0 calc(0.288*var(--h));
  }
  .botones button:focus-visible {
    outline-offset: calc(-2*var(--b));
    outline: calc(var(--b)/2) solid #000;
    background: none;
    clip-path: none;
    margin: 0;
    padding: 0;
  }
  .botones button:focus-visible + button {
    background: none;
    clip-path: none;
    margin: 0;
    padding: 0;
  }
  .botones button:has(+ button:focus-visible) {
    background: none;
    clip-path: none;
    margin: 0;
    padding: 0;
  }
  button:hover,
  button:active:not(:focus-visible) {
    --_s: .75;
  }
  button:active {
    box-shadow: inset 0 0 0 100vmax var(--_c);
    color: #fff;
  }
  

/*
.mover {
    text-align: center;
    position: absolute;
    font-size: 5.6svh;
    font-family: system-ui, sans-serif;
    cursor: pointer;
    padding: .04em .4em;
    font-weight: bold;  
    border: none;
  }

  .mover {
    --c:  #229091;
    
    box-shadow: 0 0 0 .1em inset var(--c); 
    --_g: linear-gradient(var(--c) 0 0) no-repeat;
    background: 
      var(--_g) calc(var(--_p,0%) - 100%) 0%,
      var(--_g) calc(200% - var(--_p,0%)) 0%,
      var(--_g) calc(var(--_p,0%) - 100%) 100%,
      var(--_g) calc(200% - var(--_p,0%)) 100%;
    background-size: 50.5% calc(var(--_p,0%)/2 + .5%);
    outline-offset: .1em;
    transition: background-size .4s, background-position 0s .4s;
  }
  .mover:hover {
    --_p: 100%;
    transition: background-position .4s, background-size 0s;
  }
  .mover:active {
    box-shadow: 0 0 9e9q inset #0009; 
    background-color: var(--c);
    color: #fff;
  }*/

/*

    CSS PARA EL CLICK DERECHO

*/

  .context-sub-menu,
  .context-menu {
    position: fixed;
    background: #fff;
    z-index: 9999999;
    width: 120px;
    margin: 0;
    padding: 5px 0;
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    font-size: 12px;
  }
  
  .context-menu .context-menu-item {
    height: 30px;
    display: flex;
    align-items: center;
    padding: 6px 10px;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #f2f2f2;
  }
  
  .context-menu .context-menu-item span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .context-menu-item:last-of-type {
    border-bottom: none;
  }
  
  .context-menu .context-menu-item:hover {
    background: #f2f2f2;
  }
  
  .context-menu .context-sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
    width: 100px;
  }
  
  .context-menu .context-menu-item:hover > .context-sub-menu {
    display: block;
  }
  
  .context-menu.left .context-sub-menu {
    left: 0;
    transform: translateX(-100%);
  }
  
  .context-menu.top .context-sub-menu {
    top: 100%;
    transform: translateY(-100%);
  }
  
  .context-menu.left.top .context-sub-menu {
    transform: translate(-100%, -100%);
  }