


html, body {

  display: flex;
  justify-content: center;
  align-items: center;
 

}
div{
  display: flex;
}

canvas{
  display: flex;

}
.my-chart{
  display: flex;
}
canvas.my-chart{
    display: flex;
  }

.container {
  width: 800px;
  height: 800px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.my-chart {
    display: flex;
    box-sizing: border-box;
    height: 500px;
    width: 500px;
}

.linearHoy{
    display: block;
    box-sizing: border-box;
    height: 800px;
    

}
.linearDiaActual{
    display: block;
    box-sizing: border-box;
    height: 400px;
    width: 1000px;
}



.linearMes{
      width: 500px;
      display: inline-flex;
      margin-left: 10px;



}
.linechart{
    height: auto;
    margin-left: 40px;

}
canvas.linearDiario{

    margin-left: 30px;


}

p {
  position: absolute;
  font-size: 80px;
  font-weight: 800;
  color: white;
}

svg {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.programming-stats{
  margin-top: 100px;
}

@keyframes percent1 {
  to {
    stroke-dasharray: calc(2 * var(--pi) * 300 * var(--a1) / 100) calc(2 * var(--pi) * 300 * calc(1 - var(--a1) / 100));
  }
}

@keyframes percent2 {
  to {
    stroke-dasharray: calc(2 * var(--pi) * 300 * var(--a2) / 100) calc(2 * var(--pi) * 300 * calc(1 - var(--a2) / 100));
  }
}

@keyframes percent3 {
  to {
    stroke-dasharray: calc(2 * var(--pi) * 300 * var(--a3) / 100) calc(2 * var(--pi) * 300 * calc(1 - var(--a3) / 100));
  }
}

@keyframes percent4 {
  to {
    stroke-dasharray: calc(2 * var(--pi) * 300 * var(--a4) / 100) calc(2 * var(--pi) * 300 * calc(1 - var(--a4) / 100));
  }
}

.donut {
  transform-origin: center center;
  transition: 0.5s ease-in-out;
  stroke-dashoffset: 0;
  cursor: pointer;
}

.donut:nth-child(1) {
  transform: rotateZ(-90deg);
  animation: percent1 1s ease-in-out forwards;
}

.donut:nth-child(2) {
  transform: rotateZ(calc(-90deg  + calc(var(--a1) * 360deg / 100)));
  animation: percent2 1s ease-in-out forwards;
}

.donut:nth-child(3) {
  transform: rotateZ(calc(-90deg  + calc(var(--a1) * 360deg / 100) + calc(var(--a2) * 360deg / 100)));
  animation: percent3 1s ease-in-out forwards;
}

.donut:nth-child(4) {
  transform: rotateZ(calc(-90deg  + calc(var(--a1) * 360deg / 100) + calc(var(--a2) * 360deg / 100) + calc(var(--a3) * 360deg / 100)));
  animation: percent4 1s ease-in-out forwards;
}

.donut:hover {
  stroke-width: 100;
}
/* 
@media only screen and (max-width: 1000px) {
  body {
    width:90%;
    margin-left:auto;
    margin-right:auto;
    text-align: center;
  }

  div.chart-container{
    width: 60vh;
    height: 60vh;
  }


.my-chart{
    flex-direction: column;
  }

  .linearHoy{
    display: none;
  }
  .linearDiaActual{
    display: none;
  }
  .linearMes{
    display: none;
  }
  .programming-stats {
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    
    width: 60vh;
    height: 60vh;
}


}*/