.ScannerVideo {
    position: relative;
    padding: .5rem;
    width: 100%;
}

.ScannerVideo video {
    width: 100%;
    overflow: hidden;
    vertical-align: bottom;
    background-color: #fff;
    border-color: #555;
    border-radius: .5rem;
    border-style: solid;
    border-width: 0.1rem;
    box-sizing: border-box;
    /* aspect-ratio: 5/3; */
}

.ScannerLine {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #f88;
    width: 100%;
    height: .15rem;
    opacity: 0;
    /* aspect-ratio: 5/3; */
}

.Animation {
    opacity: 1;
    animation: move infinite ease-in-out 1s alternate;
}

.Preview {
    width: 320px;
    height: 240px;
}

@keyframes move {
    0% {
        top: 10%;
    }

    100% {
        top: 90%;
    }
}