h2 {
    font-weight: 300;
    background-color: #05c46b;
    color: white;
    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 5px;
}

body,html {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.conteneur {
    width: 100%;
    max-width: 600px;
    height: 100%;
    padding: 5px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    box-sizing: border-box;
}

/* #qr-video {
    width: auto;
    height: 100%;
} */


#qr-canvas, #qr-video {
    width: 100%;
    height: auto;
    max-height: 50%;
    background-color: #eeeeee;
    object-fit: contain;
}

button {
    width: 80px;
    height: 80px;
    background-color: #009EE0;
    border-radius: 50%;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    font-size: 18px;
}


.result {
    width: 100%;
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: black;
}

.result span {
    margin-top: 20px;
    font-weight: bolder;
    color: #05c46b;
}


.control {
    width: 100%;
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.warning {
    font-size: 20px;
    color: #b00020;
}