.mw-md { max-width: 700px; min-height: 250px; min-width: 310px; } .bg-fit { background-size: cover; background-position: center center; } #main-wrapper { width: 100%; text-align: center; } .mark-wrapper { display: flex; justify-content: center; align-items: center; position: absolute; width: 100%; -webkit-transition: all 0.5s; transition: all 0.5s; transform: translateZ(0px); -webkit-backface-visibility: hidden; backface-visibility: hidden; } .mark-wrapper * { padding:0; margin:0 } .marksvg__circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 3; stroke-miterlimit: 10; stroke: #000; fill: none; animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards } .marksvg { width: calc(7rem + 3vw); min-width: 7rem; border-radius: 50%; border: rgba(var(--bs-light-rgb),var(--bs-bg-opacity)) 0.5rem solid !important; display: block; stroke-width: 3; stroke: #fff; stroke-miterlimit: 10; box-shadow: inset 0px 0px 0px #000; animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both } .marksvg__mark { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards } @keyframes stroke { 100%{ stroke-dashoffset: 0 } } @keyframes scale { 0%, 100%{ transform: none } 50%{ transform: scale3d(1.1, 1.1, 1) } } @keyframes fill { 100%{ box-shadow: inset 0px 0px 0px calc(3.5rem + 1.5vw) #000000 } } .move-up { top: calc(-6.25rem - 3vw) !important; } .info { opacity: 0; -webkit-transition: all 0.5s; transition: all 0.5s; transform: translateZ(0px); -webkit-backface-visibility: hidden; backface-visibility: hidden; } .info img { height: 200px; width: 200px; border-radius: 1rem; border: 1px #e9ecef solid !important; } .marksvg.valid { box-shadow: inset 0px 0px 0px #7ac142; animation: fill-valid .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both } .marksvg__circle.valid { stroke: #7ac142; } .marksvg.invalid { box-shadow: inset 0px 0px 0px #e04040; animation: fill-invalid .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both } .marksvg__circle.invalid { stroke: #e04040; } @keyframes fill-valid { 100%{ box-shadow: inset 0px 0px 0px calc(3.5rem + 1.5vw) #7ac142 } } @keyframes fill-invalid { 100%{ box-shadow: inset 0px 0px 0px calc(3.5rem + 1.5vw) #e04040 } }