* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #262626;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.videoView::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #3fefef;
    background-size: 300px;
    animation: animate 3s ease-in-out infinite;
}

@keyframes animate {
    0%, 100% {
        top: 0;
    }
    50% {
        top: 100%;
    }
}

h3.loading-text {
    display: flex;
    width: 100%;
    font-size: 2em;
    margin-top: 50px;
    color: #3fefef;
    animation: animate_text 4s ease-in-out infinite;
    text-align: center;
    align-items: center;
    justify-content: center;
}

h3.face-detected {
    display: none;
    width: 100%;
    font-size: 2em;
    margin-top: 50px;
    color: #3fefef;
    text-align: center;
    align-items: center;
    justify-content: center;
}

@keyframes animate_text {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.face-webcam {
    position: absolute;
    width: 320px;
    height: 420px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}