.card-container{flex-direction:column;height:400px;display:flex;position:relative;overflow:hidden}.card-header{justify-content:center;align-items:center;height:10%;padding:1rem;display:flex}.card-animation{height:50%;position:relative;overflow:hidden}.card-animation-once .ball,.card-animation-once .ball-first{animation-iteration-count:1;animation-fill-mode:forwards}.card-content{z-index:3;justify-content:center;height:40%;padding:1rem;position:relative}.heart-rate,.ball,.ball-first{z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}.fade-in,.fade-out{width:100%;height:100%;position:absolute;top:0}.fade-in{background-color:hsl(var(--background));animation:2.5s linear infinite heartRateIn;right:0}.fade-out{background:linear-gradient(to right, hsl(var(--background)) 0%, hsl(var(--background)) 80%, transparent 100%);width:120%;animation:2.5s linear infinite heartRateOut;right:-120%}@keyframes heartRateIn{0%{width:100%}50%{width:0}to{width:0}}@keyframes heartRateOut{0%{left:-120%}30%{left:-120%}to{left:0}}.ball-first{background-color:var(--about-triage,hsl(var(--primary)));width:1.2rem;height:1.2rem;animation:move-horizontal-first var(--animation-duration) infinite linear;border-radius:50%}.ball1-first{--animation-duration:14s;--y-offset:26%}.ball2-first{--animation-duration:9s;--y-offset:42%}.ball3-first{--animation-duration:17s;--y-offset:58%}.ball4-first{--animation-duration:12s;--y-offset:72%}.ball5-first{--animation-duration:11.5s;--y-offset:84%}@keyframes move-horizontal-first{0%{left:0%;top:var(--y-offset);opacity:0}10%{opacity:1}90%{opacity:1}to{left:100%;top:var(--y-offset);opacity:0;background-color:var(--about-doctor)}}.ball{width:1.2rem;height:1.2rem;animation:meet-and-move var(--animation-duration) infinite ease-in-out;border-radius:50%}.ball1{--animation-duration:14s;--initial-top:26%;--final-top:50%}.ball2{--animation-duration:9s;--initial-top:42%;--final-top:50%}.ball3{--animation-duration:17s;--initial-top:58%;--final-top:50%}.ball4{--animation-duration:12s;--initial-top:72%;--final-top:50%}.ball5{--animation-duration:11.5s;--initial-top:84%;--final-top:50%}@keyframes meet-and-move{0%{background-color:var(--about-surgeon,hsl(var(--primary)));left:0%;top:var(--initial-top);opacity:0}10%{opacity:1}45%,55%{top:50%;left:50%}90%{opacity:1}to{background-color:var(--about-coordinator,hsl(var(--accent)));left:90%;top:var(--final-top);opacity:0}}.keyboard{grid-template-columns:repeat(10,20px);justify-content:center;gap:6px;margin-top:16px;display:grid}.key{opacity:.3;background-color:#333;border-radius:4px;width:20px;height:20px;animation:1.5s ease-in-out infinite keyPress}@keyframes keyPress{0%,to{opacity:.3;transform:scale(1)}50%{opacity:1;transform:scale(1.2)}}.key:first-child{animation-delay:.1s}.key:nth-child(2){animation-delay:.2s}.key:nth-child(20){animation-delay:2s}.about-root{--about-surgeon:#5199cd;--about-coordinator:#323f5d}
