* {
    box-sizing: content-box;
    padding:5px;
}
body, html {
    font-family:Arial, Helvetica, sans-serif;
    background-image: url("images/sbwneuemedienv2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;  
    background-attachment: fixed;
    color:white;
}
#app{
    margin: 3rem auto;
    max-width: 60rem;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.26);
}
.title {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    margin-top:10px;
}
table {
    width: 95%;
    border-collapse: collapse;
    border-width:2px;
    margin-bottom: 40px;
    border-color:white;
    margin-top: 20px;
}
td, th {
    border: 1px solid white;
    background-color:rgba(87, 87, 87);
    text-align: left;
    padding: 8px;
}
th {
    background-color:rgb(70, 70, 70);
}
.input {
    align-items:center;
    border-radius: 20px;
    border-color:rgb(164, 164, 164);
    height:25px;
    background-color:rgba(87, 87, 87);
    color:white;
}
.input:hover {
    border-color:white;
    background-color:rgb(52, 52, 52);
}
select {
    border-radius: 20px;
    border-color:rgb(164, 164, 164);
    background-color:rgba(87, 87, 87);
    color:white;
    height:30px;
    margin-right:5px;
}
select:hover {
    border-color:white;
    background-color:rgb(52, 52, 52);
}
#searchbar {
    background-color:rgba(87, 87, 87);
    color:white;
    border-radius:20px;
    height:28px;
    border-color:gray;
}
#searchbar:hover {
    border-color:white;
    background-color:rgb(52, 52, 52);
}
.columnbox {
    display: flex;
    flex-direction: column;
    width:48%;
}
form {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom:60px;
    width: 100%;
}
.submit {
    display: flex;
    border-radius:20px;
    background-color:rgb(48, 106, 48);
    border-color:rgb(115, 145, 115);
    color:white;
    margin: 0 auto;
    width: 75%;
    justify-content: center;
    height: 40px;
    align-items:center;
    font-size:20px;
    font-weight:bold;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}
.submit:hover{
    border-color:white;
    background-color:rgb(26, 57, 26);
}
.delete {
    border-radius: 20px;
    height:30px;
    background-color:rgb(106, 48, 48);
    color:white;
    border-color:gray;
}
.delete:hover {
    border-color:white;
    background-color:rgb(69, 32, 32);
}
.base {
    margin:0 auto;
    margin-top: 75px;
    align-items: center;
    background-color: rgba(87, 87, 87, 0.642);
    padding: 20px;
    border-radius:30px;
    padding-top:0;
    justify-content: center;
}
.header {
    background-color:rgba(87, 87, 87, 0.642);
    margin-top:0 auto;
    border-radius:30px;
    margin-left:115px;
    margin-right:115px;
    align-items: center;
    display:flex;
}
.footer {
    background-color:rgba(87, 87, 87, 0.642);
    margin-left:115px;
    margin-right:115px;
    margin-top:0 auto;
    align-items: center;
    display:flex;
    max-height: 100px;
    justify-content:space-evenly;
    border-radius:30px;
}
#footerlogo {
    align-items: end;
}
img {
    max-width: 200px;
}
.caption {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: start;
    margin-top:10px;
    align-self:center;
}
.buttonbox {
    flex-direction:end;
    width: 100%;
    margin:20px;
}
h1 {
    text-decoration:underline;
    margin-left:10px;
}
@media (max-width: 800px) and (min-width: 501px) {
    .header, .footer {
        margin:0 auto;
    }

    .caption, .title {
        font-size: 25px;
    }
}
@media (max-width: 500px) {
    #app {
        width: 90%;
        margin: 1rem auto;
    }
    form {
        flex-direction: column;
        width: 90%;
    }
    .columnbox, input {
        width:100%;
        margin-bottom:10px;
    }
    .submit, .base {
        width: 100%;
    }
    .header {
        margin-left:10px;
        margin-right:10px;
        height: 50px;
    }
    .footer {
        margin-left:10px;
        margin-right:10px;
        height: 100px;
        align-items:center;
    }
    img {
        max-width:200px;
    }
    select {
        margin: 10px;
        margin-left:0px;
    }

    td, th {
        font-size: 12px;
    }
    table {
        width: 80%;
        min-width:0;
    }
    .buttonbox {
        margin:0;
    }
    .caption, .title {
        font-size: 18px;
    }
}