body{
    background: #4d1b80;
    background: linear-gradient(0deg,rgba(77, 27, 128, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

main{
    width: 99w;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-bottom: 170vw;
}


h1, h2, button{
    margin: auto;
    display: block;
    justify-self: center;
    text-align: center;
}

h2{
    margin-top: 10px;
}

label{
    display: block;
    justify-self: center;
}

button{
    display: block;
    justify-self: center;
    background-color: #9963ce;
    width: 70vw;
    height: 15vw;
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 3px;
    border-radius: 5px;
}

input,select{
    display: block;
    justify-self: center;
    margin:auto;
    border-radius: 5px;
}

select{
    height: 10vw;
    width: 30vw;
}

.alert-success{
    background-color: rgb(175, 227, 175);
    margin: 5px;
}

.alert-danger{
    background-color: rgb(227, 172, 172);
    margin: 5px;
}

#display-search{
    display: block;
    justify-self: center;
    text-align: center;
    margin: auto;
    background-color: grey;
    border: 1px solid black;
    margin-top: 5px;
    width: 70vw;
    height: fit-content;
}

table{
    border: 1px solid black;
    border-collapse: collapse;
    padding: 3px
}

tr, td, th{
    border: 1px solid black;
    padding: 3px;
    padding-right: 20px;
    padding-left: 20px;
}

.logo{
    margin: 15vw;
}

@media (min-width:850px){
    button{
        width: 30vw;
        height: 7vw;
    }

    .logo{
        width: 40%;
        height: 40%;
        margin-top: 2vw;
        margin-left: 30vw;
    }

    select{
        height: 2vw;
        width: 10vw;
    }
    
    table{
        margin:5vw;
        margin-right: 10vw;
        margin-left: 10vw;
    }

    hr{
        width: 17vw;
    }

    .qrcode-display{
        width:25vw;
        height: 25vw;
        margin: auto;
    }
}