.barcode,
.mbarcode {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    background: rgba(255, 255, 255, .6);
}

.barcode>div:nth-child(1) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.barcode>div:nth-child(1)>div {
    display: block;
    max-width: 400px;
    text-align: center;
}

.barcode>div:nth-child(1)>div>span {
    font-weight: 500;
    animation: fadeInOut 2s infinite;
}

.barcode>div:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
}

.barcode>div:nth-child(2)>div>span {
    display: block;
}

@keyframes fadeInOut {
    0% {
        opacity: 1;
    }
    40% {
        opacity: .2;
    }
    60% {
        opacity: .2;
    }
    100% {
        opacity: 1;
    }
}

.mbarcode>video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mbarcode>div:nth-child(2) {
    position: relative;
    display: block;
    max-height: 100vh;
    padding: 6px 10px;
    overflow: auto;
}

.mbarcode>div:nth-child(2)>div {
    margin: 2px 0;
}

.mbarcode>div:nth-child(2)>div>span {
    position: relative;
    display: inline-block;
    font-size: 16px;
    color: white;
    text-shadow: 0 0 6px rgba(0, 0, 0, .2);
}

.mbarcode>div:nth-child(3) {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
}

.mbarcode>div:nth-child(3)>div {
    position: relative;
    display: inline-block;
    width: calc(100% / 3);
    text-align: center;
    vertical-align: middle;
}

.mbarcode>div:nth-child(3)>div>a {
    position: relative;
    display: inline-block;
    font-size: 56px;
    color: white;
    text-shadow: 0 0 6px rgba(0, 0, 0, .2);
    text-decoration: none;
}

.mbarcode>div:nth-child(3)>div:nth-child(2)>a {
    font-size: 72px;
}
