/* Adapted from LDRS Newton's Cradle, MIT, Copyright (c) 2022 Griffin Johnston.
   License: ./LDRS-LICENSE.txt */
.entry-cradle{--uib-size:100px;--uib-color:#006afd;--uib-speed:1.4s;display:flex;align-items:center;justify-content:center;width:var(--uib-size);height:30px;margin:0 auto 36px}
.entry-cradle__track{position:relative;top:28%;display:flex;align-items:center;justify-content:center;width:51%;height:51px}
.entry-cradle__dot{position:relative;display:flex;flex-shrink:0;align-items:center;height:100%;width:25%;transform-origin:center top}
.entry-cradle__dot::after{content:'';display:block;width:100%;height:25%;border-radius:50%;background:var(--uib-color)}
.entry-cradle__dot:first-child{animation:cradle-left var(--uib-speed) linear infinite}
.entry-cradle__dot:last-child{animation:cradle-right var(--uib-speed) linear infinite}
.entry-loader__title{font-size:18px;letter-spacing:.12em}
@keyframes cradle-left{0%{transform:rotate(0);animation-timing-function:ease-out}25%{transform:rotate(70deg);animation-timing-function:ease-in}50%,100%{transform:rotate(0);animation-timing-function:linear}}
@keyframes cradle-right{0%{transform:rotate(0);animation-timing-function:linear}50%{transform:rotate(0);animation-timing-function:ease-out}75%{transform:rotate(-70deg);animation-timing-function:ease-in}100%{transform:rotate(0)}}
@media(prefers-reduced-motion:reduce){.entry-cradle__dot:first-child,.entry-cradle__dot:last-child{animation:none}}
