@font-face {
    font-family: "NotoSans";
    src: url("/assets/NotoSans-Medium.ttf") format("truetype");

    font-weight: normal;
    font-style:  normal;
}

* {
    font-family: "NotoSans";
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #0a0a0c;
    color: white;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

h1 {
    font-size: 40px;
}

p {
    color: #ccc;
    font-size: 17px;
}

button {
    cursor: pointer;
    transition: 0.2s;
}

#input-panel {
    height: 30%;
    width: calc(min(80%, 500px) - 50px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    //padding: 50px;
    //background-color: rgba(0, 0, 255, 0.2);
    //border-radius: 50px;
}

.code-input-method {
    position: relative;
    display: inline-block;
    width: 100%;
    min-height: 60px;
    max-height: 60px;
    border-radius: 14px;
    cursor: pointer;
    border: none;
    text-align: center;
    color: white;
    font-size: 17px;
    font-weight: 600;
    transition: 0.2s;
}
.code-input-method:hover {
    filter: brightness(120%);
}

.input-icon {
    height: 40%;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    filter: brightness(0) invert(1);
}

#text-input {
    border: none;
    margin: 0;
    padding: 0;
    background: #2a2a34;
}
::placeholder {
    color: white;
}

#voice-input {
    background: #26333b;
}

.mic-on {
    filter: invert(14%) sepia(91%) saturate(7486%) hue-rotate(1deg) brightness(108%) contrast(108%);
}

#scan-input {
    background: #2d2e2b;
}

#qrcode-overlay {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

#qrcode-container {
    min-width: 80%;
}

#qrcode-reader {
    width: 100%;
    height: 100%;
}

video, #qr-shaded-region {
    border-radius: 50px;
}

#qstudio-button {
    padding: 16px 32px;
    color: black;
    background: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
}
#qstudio-button:hover {
    filter: brightness(80%);
}
