@keyframes progress {
  0% { --percentage: 0; }
  100% { --percentage: var(--max); }
}

@property --percentage {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

[role="progressbar"] {
  --percentage: var(--max);
  --primary: var(--color);
  --secondary: lightgray;
  --size: 100px;
  margin: 0px 5px;
  animation: progress 2s 0.5s forwards;
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

[role="progressbar"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: conic-gradient(var(--primary) calc(var(--percentage) * 1%), var(--secondary) 0);
  mask: radial-gradient(white 55%, transparent 0);
  mask-mode: alpha;
  -webkit-mask: radial-gradient(#0000 55%, #000 0);
  -webkit-mask-mode: alpha;
}

[role="progressbar"]::after {
  counter-reset: percentage var(--value);
  content: counter(percentage);
  font-family: Helvetica, Arial, sans-serif;
  font-size: calc(var(--size) / 5);
  color: var(--primary);
}


.form-barra h5{
  text-transform: uppercase;
  font-size: 13px;
  height: 5px;
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
}

.form-barra p{
  font-size: 13px;
  height: 5px;
  text-align: center;
  margin-bottom: 32px;
  padding: 0px 5px;
}

.form-barra .divbuttonestatus{
  width: 95%;
  text-align: right;
}

.form-barra .divbuttonestatus a{
  text-align: right;
  font-size: 13px;
  color: grey;
  border: solid;
  border-width: 1px;
  border-color: gray;
  border-radius: 5px;
  padding: 4px;
  text-decoration: none;
  position: absolute;
  margin-top: -10px;
  margin-right: 20px;
  cursor: pointer;
}
/***/

.btn-main{
  background-color: rgb(125, 0, 0);
  cursor: pointer;
  min-width: 100%;
  padding: 10px;
  text-decoration: none;
  border-radius: 30px;
  text-align: center;
}

.btn-main:hover { 
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
} 

#youtube {
  z-index: 2;
  display: block;
  width: 100px;
  height: 70px;
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: red;
  border-radius: 50% / 11%;
  transition: transform 0.5s;
}

#youtube:hover,
#youtube:focus {
  transform: scale(1.1);
}

#youtube::before {
  content: "";
  display: block;
  position: absolute;
  top: 7.5%;
  left: -6%;
  width: 112%;
  height: 85%;
  background: red;
  border-radius: 9% / 50%;
}

#youtube::after {
  content: "";
  display: block;
  position: absolute;
  top: 20px;
  left: 40px;
  width: 45px;
  height: 30px;
  border: 15px solid transparent;
  box-sizing: border-box;
  border-left: 30px solid white;
}

#youtube span {
  font-size: 0;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@media screen and (max-width: 600px) {
  
  [role="progressbar"] {
    --size: 80px;
  }
}

/* Customize the label (the container) */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.container span {
  color: red;
  font-weight: bold;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#myChart{
  width:100%; 
  height: 100%;
  margin-bottom: 30px;
}


/*SORTEO*/

#divGanador .divbuttondata{
  width: 92%;
  text-align: right;
}

#divGanador .divbuttondata a{
  text-align: right;
  font-size: 13px;
  color: grey;
  border: solid;
  border-width: 1px;
  border-color: gray;
  border-radius: 5px;
  padding: 4px;
  text-decoration: none;
  position: absolute;
  margin-top: -35px;
  margin-right: 20px;
  cursor: pointer;
}

#confetti { 
  left: 0; 
  position: fixed; 
  right: 0; 
  top: -160px; 
  z-index: 10000;
} 

#confetti .ball { 
  animation-iteration-count :infinite !important; 
  -webkit-animation-iteration-count :infinite !important; 
  border-radius: 50%; 
  cursor: default; 
  display: inline-block; 
  height: 10px; 
  user-select: none; 
  -webkit-user-select: none; 
  width: 10px;
} 
@-webkit-keyframes falling-left { 0% {-webkit-transform: translate3d(0,0,0);opacity: 1;} 10% { opacity: 0;} 20% { opacity: 1;} 30% { opacity: 0;} 40% { opacity: 1;} 50% { opacity: 0;} 60% { opacity: 1;} 70% { opacity: 0;} 80% { opacity: 1;} 90% { opacity: 0;} 100% {-webkit-transform: translate3d(0,120vh,0); opacity: 1;}} @keyframes falling-left { 0% {-webkit-transform: translate3d(0,0,0);opacity: 1;} 10% { opacity: 0;} 20% { opacity: 1;} 30% { opacity: 0;} 40% { opacity: 1;} 50% { opacity: 0;} 60% { opacity: 1;} 70% { opacity: 0;} 80% { opacity: 1;} 90% { opacity: 0;} 100% {-webkit-transform: translate3d(0,120vh,0); opacity: 1;}} #confetti .ball:nth-child(2n) { -webkit-animation: falling-left linear; animation: falling-left linear ;} @-webkit-keyframes falling-right { 0% {-webkit-transform: translate3d(0,0,0);opacity: 0;} 10% { opacity: 1;} 20% { opacity: 0;} 30% { opacity: 1;} 40% { opacity: 0;} 50% { opacity: 1;} 60% { opacity: 0;} 70% { opacity: 1;} 80% { opacity: 0;} 90% { opacity: 1;} 100% {-webkit-transform: translate3d(0,120vh,0); opacity: 0;}} @keyframes falling-right { 0% {-webkit-transform: translate3d(0,0,0);opacity: 1;} 10% { opacity: 0;} 20% { opacity: 1;} 30% { opacity: 0;} 40% { opacity: 1;} 50% { opacity: 0;} 60% { opacity: 1;} 70% { opacity: 0;} 80% { opacity: 1;} 90% { opacity: 0;} 100% {-webkit-transform: translate3d(0,120vh,0); opacity: 0;} } #confetti .ball:nth-of-type(2n+1) { -webkit-animation: falling-right linear ; animation: falling-right linear;}

