body {
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

h1 {
    margin: 0;
    padding: 10px 0;
    text-align: center;
    width: 100%;
}

h2{
    margin-top: 5px;
    margin: 0;
    /*padding: 20px 0;*/
    text-align: center;
    width: 100%;
    font-size: small;
}

#main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    max-width: 400px;
}

#camera-feed {
    width: 75%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
}

button {
    margin: 15px 0;
    background-color: white;
    border: solid 1px black;
    border-radius: 5px;
    color: black;
    width: 30vw;
    height: 6vh;
}

input {
    margin: 10px 0;
    width: 70vw;
}

#loading-spinner {
    display: none;
    border: 16px solid #f3f3f3;
    border-top: 16px solid #2b8f5d;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 40%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}