input[type="submit"] {
    background-color: var(--color_hover_font);
    border: 1px solid black;
    border-radius: 5px;
    padding: 0.5dvh 0.5dvw;
}
input[type="submit"]:hover {
    filter: brightness(0.8);
    color: white;
}
input[type="text"] {
    background-color: var(--color_th);
    opacity: 1;
    border-radius: 5px;
    border: 1px solid black;
    color: black;
    padding: 0.5dvh 0.5dvw;
}
input[type="text"]:focus, input[type="text"]:hover {
    outline: none;
    filter: brightness(1.1);
}

input[type="checkbox"] {
    color: var(--color_hover_font);
    width: auto;
    height: 1.5dvw;
}
.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.header svg {
    fill: var(--color_hover_font);
    width: 25dvw;
    height: auto;
}
.header h1 {
    font-size: 8dvh;
}
.adresses {
    overflow-x: auto;
    max-height: 60dvh;
}
.search {
    display: flex;
    flex-direction: row;
    font-size: 5px;
}
table {
    font-size: 3dvh;
    min-width: 100%;
}
table, th, td {
    border-bottom: 1px solid var(--color_bg_font);
    border-collapse: collapse;
}
thead, th {
     background-color:  var(--color_th);
     color: var(--color_th_font);
     position: sticky;
     top: 0;
}
tbody {
    background-color: var(--color_bg);
    color: var(--color_bg_font);
    overflow-y: auto;
}
th, td {
    padding: 1dvw 1dvh;
    text-align: left;
    text-wrap: nowrap;
}
tbody tr:hover {
    background-color: var(--color_hover_font);
    color: white;
}

.header, .search {
    padding: 5dvh 3dvw;
}
.adresses {
    font-size: clamp(0.5rem, 0.3125rem + 0.8333dvw, 0.9375rem);
}
form {
    display: flex;
    flex-direction: column;
}
label, input {
    font-size: 3dvh;
    text-wrap: nowrap;
}
form div {
    margin-bottom: 3dvh;
}
#searchText {
    width: 40dvw;
}
input {
    margin-right: 1dvw;
}
.checkbox_element {
    display: flex;
    align-items: center;
    margin-bottom: 2dvh;
}
#checkbox_group {
    display: grid;
    grid-template-columns: 20dvw 20dvw 20dvw 20dvw;
    grid-template-rows: repeat(auto-fill, 5dvh);
}

@media only screen and (max-width: 576px) {
    .header, .search {
        padding: 2dvh 3dvw;
    }
    .header h1 {
        font-size: 4dvh;
    }
    #checkbox_group {
        grid-template-columns: 33dvw 33dvw 33dvw;
    }
    input[type="checkbox"] {
        width: auto;
        height: 3dvh;
    }
    #searchText {
        width: 50dvw;
    }
}