@font-face {
    font-family: 'Inter';
    src: url(./fonts/Inter-Light.otf);
}

* {
    font-family: 'Inter', sans-serif;
}

html {
    background-color: #fff;
    color: #000;
}

body {
    margin: 0;
    overflow: hidden;
}

main {
    align-items: center;
    display: flex;
    height: 100vh;
    justify-content: center;
    flex-direction: column;
    width: 100vw;
}

.space {
    font-size: 2.5vh;
    font-style: italic;
    margin: 16px 0;
}

#inputVideo {
    flex-grow: 1;
    filter: brightness(80%) contrast(120%);
    
    @media (max-width: 900px) {
        max-height: 30vh;
        width: 100vw;
    }
}

canvas {
    display: none;
}

#outputText {
    color: black;
    display: flex;
    font-family: 'Inter', sans-serif;
    font-size: 10vh;
    justify-content: space-between;
    margin: 0 0 2.5vh;
    text-align: center;
    width: 95vw;
}

.line {
    align-self: center;
    background: #000;
    flex-grow: 1;
    height: 5px;
    margin: 20px 20px 0;
    position: relative;

    @media (max-width: 900px) {
        height: 1px;
    }
}

.dot {
    background: #000;
    border-radius: 100%;
    height: 25px;
    left: 0%;
    position: absolute;
    top: -175%;
    transform: translateX(25%);
    visibility: hidden;
    width: 25px;

    @media (max-width: 900px) {
        height: 5px;
        width: 5px;
    }
}

.dot.visible {
    visibility: visible;
}

.title {
    color: black;
    font-family: 'Inter', sans-serif;
    font-size: 5vh;
    font-weight: normal;
    margin: 32px 0;
    text-align: center;
}

.label {
    position: relative;

    @media (max-width: 900px) {
        font-size: 16px;
    }
}

.percentages {
    color: black;
    font-family: 'Inter', sans-serif;
    font-size: 5vh;
    position: absolute;
    text-align: center;
    top: -50%;
    width: 100%;

    @media (max-width: 900px) {
        font-size: 16px;
        top: -75%;
    }
}

.hidden {
    display: none;
}