:root{
    --color-primary: #497166;
    --color-secondary: #639687;
    --color-hightlight: #e6fdf2;
    --color-surface: #ffffff;
    --color-sumpfi: #FC0101;
    --color-dark: #202124;
}
html,
body{
    margin:0;
    padding:0;
    box-sizing: border-box;
    height:100%;
    width:100%;
    background-color: var(--color-dark);
    color:white;
}
.container{
    display:grid;
    justify-items: center;
    height:100%;
    width:100%;
}
main{height:100%;}
.wrapper{
    height:100%;
    width:80%;
    display:grid;
    align-items:center;
    justify-items:center;
}
.hidden{
    display:none;
}
#scanButton{
    background-color: var(--color-sumpfi);
    color:white;
}

#video-container {
    width:100%;
    height: auto;
}
#qr-video{
    width:100%;
    height:auto;
}
#loginButton{
    background:var(--color-sumpfi);
}
#loginButton:hover{
    background: var(--color-surface);
    color:black;
}
#loginButton:active{
    background: var(--color-hightlight);
    color:black;
}

.badqr{
    background:var(--color-sumpfi);
}
.badqrbtn{
    background:var(--color-dark);
}
.goodqr{
    background:green;
}
.goodqrbtn{
    background:var(--color-sumpfi);
}


/* Style the navigation menu */
a {
    text-decoration: none;
}
nav {
    width:5.5rem;
    padding: 1.5rem 2rem;
    background-color: var(--color-sumpfi);
    color: #fff;
}
.checkbtn {
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}
#check{
    display: none;
}
#check:checked ~ .nav-mobile {
    display: block;
}
.nav-mobile {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 0;
    background: var(--color-sumpfi);
    z-index: 1;
    width: 200px;
}
.nav-mobile a {
    color: #fff;
    padding: 1rem 1.5rem;
    display: block;
}
.nav-mobile a:hover{
    background: var(--color-surface);
    color: var(--color-dark);
}
#inputholder{
    width:25%;
    margin-left:37.5%;
    padding:15px;
}
@media screen and (max-width: 600px) {
    #inputholder {
      width:100%;
      margin-left:0;
    }
}