.hovia-loading {
 --uib-size: 35px;
 --uib-speed: 0.8s;
 --uib-color: var(--hovia-loading-color, #0060f1);
 position: relative;
 display: inline-block;
 height: var(--uib-size);
 width: var(--uib-size);
 animation: hovia-loading-spin calc(var(--uib-speed) * 2.5) infinite linear;
}

.hovia-loading__dot {
 position: absolute;
 height: 100%;
 width: 30%;
}

.hovia-loading__dot:after {
 content: '';
 position: absolute;
 height: 0%;
 width: 100%;
 padding-bottom: 100%;
 background-color: var(--uib-color);
 border-radius: 50%;
}

.hovia-loading__dot:nth-child(1) {
 bottom: 5%;
 left: 0;
 transform: rotate(60deg);
 transform-origin: 50% 85%;
}

.hovia-loading__dot:nth-child(1)::after {
 bottom: 0;
 left: 0;
 animation: hovia-loading-wobble1 var(--uib-speed) infinite ease-in-out;
 animation-delay: calc(var(--uib-speed) * -0.3);
}

.hovia-loading__dot:nth-child(2) {
 bottom: 5%;
 right: 0;
 transform: rotate(-60deg);
 transform-origin: 50% 85%;
}

.hovia-loading__dot:nth-child(2)::after {
 bottom: 0;
 left: 0;
 animation: hovia-loading-wobble1 var(--uib-speed) infinite
    calc(var(--uib-speed) * -0.15) ease-in-out;
}

.hovia-loading__dot:nth-child(3) {
 bottom: -5%;
 left: 0;
 transform: translateX(116.666%);
}

.hovia-loading__dot:nth-child(3)::after {
 top: 0;
 left: 0;
 animation: hovia-loading-wobble2 var(--uib-speed) infinite ease-in-out;
}

@keyframes hovia-loading-spin {
 0% {
  transform: rotate(0deg);
 }

 100% {
  transform: rotate(360deg);
 }
}

@keyframes hovia-loading-wobble1 {
 0%,
  100% {
  transform: translateY(0%) scale(1);
  opacity: 1;
 }

 50% {
  transform: translateY(-66%) scale(0.65);
  opacity: 0.8;
 }
}

@keyframes hovia-loading-wobble2 {
 0%,
  100% {
  transform: translateY(0%) scale(1);
  opacity: 1;
 }

 50% {
  transform: translateY(66%) scale(0.65);
  opacity: 0.8;
 }
}

.hovia-loading-host {
 position: relative;
}

.hovia-loading-overlay {
 position: absolute;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 z-index: 99;
 display: flex;
 align-items: center;
 justify-content: center;
 background-color: transparent;
 -webkit-backdrop-filter: blur(4px);
 backdrop-filter: blur(4px);
 cursor: progress;
 border-radius: inherit;
 box-sizing: border-box;
}

.hovia-loading-overlay .hovia-loading {
 flex: 0 0 auto;
 margin: auto;
}
