@property --p{
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
  }
  
  .pie {
    --p:20;
    --b:10px;
    --c:darkred;
    --w:150px;
    
    width:var(--w);
    aspect-ratio:1;
    position:relative;
    display:inline-grid;
    margin:5px;
    place-content:center;
    font-size:18px;
    font-weight:bold;
    font-family:sans-serif;
    color: white;
    cursor: pointer;
  }

  .pointAh{
    text-align: center;
    font-size: 24px;
    color: white;
    transition: 0.15s ease-in-out;
  }

  .nameAh{
    text-align: center;
    font-size: 12px;
    color: rgb(99, 99, 99);
    word-wrap: break-word;
    transition: 0.15s ease-in-out;
  }

  .pie:hover .pointAh{
    font-size: 28px;
    color: rgb(186, 255, 186);
  }

  .pie:hover .nameAh{
    font-size: 14px;
    color: rgb(230, 230, 230);
  }
  .pie:before,
  .pie:after {
    content:"";
    position:absolute;
    border-radius:50%;
  }
  .pie:before {
    inset:0;
    background:
      radial-gradient(farthest-side,var(--c) 98%,#0000) top/var(--b) var(--b) no-repeat,
      conic-gradient(var(--c) calc(var(--p)*1%),#0000 0);
    -webkit-mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
            mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
  }
  .pie:after {
    inset:calc(50% - var(--b)/2);
    background:var(--c);
    transform:rotate(calc(var(--p)*3.6deg)) translateY(calc(50% - var(--w)/2));
  }
  .animate {
    animation:p 1s .5s both;
  }
  .no-round:before {
    background-size:0 0,auto;
  }
  .no-round:after {
    content:none;
  }
  @keyframes p {
    from{--p:0}
  }

  @media screen and (max-width: 560px)
 {
    .pie{
        --p: 10;
        --b:7px;
        --w: 115px;
    }

    .pie:hover .pointAh{
      font-size: 26px;
      color: rgb(186, 255, 186);
    }
  
    .pie:hover .nameAh{
      font-size: 10px;
      color: rgb(230, 230, 230);
    }
 }
