@media (min-width: 1500px) {
    body {
        background-color: #fdf9ee;
        line-height: 1.2;
        scrollbar-width: thin !important;
    }

    #Tablediv {
        padding: 1%;
        width: 75%;
        position: relative;
        left: 12.5%;
        box-shadow: 10px 10px 40px;
        font-size: larger;
    }

    #addForm {
        z-index: 10;
        display: none;
        position: absolute;
        left: 40%;
        top: 20%;
        border-radius: 10px;
        box-shadow: 5px 5px 10px;
        background-color: #f2f2f2;
        padding: 20px;
        width: 450px;
        font-weight: bold;
    }

    #loginForm {
        z-index: 10;
        display: none;
        position: absolute;
        left: 40%;
        top: 20%;
        border-radius: 10px;
        box-shadow: 5px 5px 10px;
        background-color: #f2f2f2;
        padding: 20px;
        width: 450px;
        font-weight: bold;
    }

    #resetForm {
        z-index: 10;
        display: none;
        position: absolute;
        left: 40%;
        top: 20%;
        border-radius: 10px;
        box-shadow: 5px 5px 10px;
        background-color: #f2f2f2;
        padding: 10px;
        width: 500px;
        font-weight: bold;
    }
}

@media (max-width: 1499px) {
    body {
        background-color: #fdf9ee;
        line-height: 1.2;
        scrollbar-width: thin !important;
        padding: 1%;
    }

    #Tablediv {
        font-size: x-large;
        width: 100%;
    }

    #addForm {
        z-index: 10;
        display: none;
        position: absolute;
        left: 25%;
        top: 20%;
        border-radius: 10px;
        box-shadow: 5px 5px 10px;
        background-color: #f2f2f2;
        padding: 20px;
        width: 450px;
        font-weight: bold;
    }

    #loginForm {
        z-index: 10;
        display: none;
        position: absolute;
        left: 25%;
        top: 20%;
        border-radius: 10px;
        box-shadow: 5px 5px 10px;
        background-color: #f2f2f2;
        padding: 20px;
        width: 450px;
        font-weight: bold;
    }

    #resetForm {
        z-index: 10;
        display: none;
        position: absolute;
        left: 25%;
        top: 20%;
        border-radius: 10px;
        box-shadow: 5px 5px 10px;
        background-color: #f2f2f2;
        padding: 10px;
        width: 500px;
        font-weight: bold;
    }
}

.scrollable-element {
    scrollbar-width: thin;
}

#dm {
    color: black !important;
}

.bi-sun {
    position: absolute;
    top: 3px;
}

.bi-moon {
    position: absolute;
    top: 3px;
}

#Tablediv label {
    color: transparent;
    width: 100% !important;
}

input {
    border-radius: 8px;
    width: 90% !important;
}

svg {
    cursor: pointer;
}

#add {
    position: relative;
    top: 0px;
    float: right;
}

#login {
    position: relative;
    top: 0px;
    float: right;
    padding-left: 2%;
}

span {
    padding-left: 4px;
    font-size: 1em;
    vertical-align: inherit;
}

.opacity {
    opacity: 0.5;
}

#addForm input {
    padding: 2%;
}

td, th {
    min-width: 60px;
}

#qtable {
    height: 600px;
    overflow-y: scroll;
}

#buttonHeader {
    display: table;
    width: 96%;
    padding: 1%;
    padding-left: 5.5%;
}

#switch {
    display: table-cell;
    width: 5%;
}

#thekenbuch td{
    white-space: nowrap;
}