* {
    box-sizing: border-box;
}

/* Your css goes here */
header{
    background-image: url(junkshelf.jpg);
    height: 200px;
    background-size: contain;
}
h1{
    margin: 0;
    color: white;
    text-align: center;
    font-size: 6em;
    line-height: 2em;
}
footer{
    margin-top: 20px;
    border-top: 3px red solid;
    font-style: italic;
    text-align: center;
}


table {
    width: 90%;
    margin: 20px auto;
    background: whitesmoke;
    border-collapse: collapse;
}

th, td {
    border: 1px solid black;
    padding: 10px;
    text-align: left;
}

thead {
    background: black;
    color: white;
}

tfoot {
    background: ivory;
    font-weight: bold;
    text-align: center;
}

@media screen and (max-width: 720px) {
    table, thead, tbody, th, td, tr{
        display: block;
    }
      thead {
        display: none;
    }

    tr {
        margin-bottom: 15px;
        border: 1px solid #333;
    }

    td {
        border: none;
        border-bottom: 1px solid #ccc;
        position: relative;
        padding-left: 45%;
    }

    td:before {
        display: inline-block;
        width: 40%;
        font-weight: bold;
    }

    td.item:before {
        content: "Item";
    }

    td.description:before {
        content: "Description";
    }

    td.value:before {
        content: "Value";
    }

    td.date:before {
        content: "Date Acquired";
    }
}
