body {
    font-family: 'IBM Plex Sans', sans-serif;
    margin: 0;
    background-color: #000000;
    color: #000000;
}

html, body { margin: 0 }

* {
    box-sizing: border-box;
}

#container {
    max-width: 1070px;
    margin: 0 auto;
}

a {
    color: #0066cc;
    font-weight: normal;
    text-decoration: none;
}

a:hover {
    color: #75b3f1;
}

#header {
    width: 100%;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    background-color: #d4d4d4;
    height: 150px;
}

main {
    background-color: #fff;
    padding: 20px 20px 20px 80px; /* RESTORED */
    text-align: justify;
}

/* HEADINGS */

h1 {
    text-align: left;
    font-size: 40px;
    border-bottom: none;
    margin-bottom: 20px;
}

h2 {
    text-align: left;
    font-size: 25px;
    border-bottom: 1px solid black; /* KEEP GREY LINE */
    margin-bottom: 10px;
}

h4 {
    text-align: left;
    font-size: 19px;
    margin: 0px;
    width: 100%;
    font-weight: 100;
}

/* Profile */

.characterprofile {
    float: right;
    width: 300px;
    margin: 0px 0px 30px 30px;
    background-color: #E7E9EB;
}

.charactermain-image {
    height: 350px;
    width: 300px;
    margin-left: auto;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    border: 1px solid black;
}

/* TABLE */

table {
    border-collapse: collapse;
    width: 300px;
    background-color: #E7E9EB;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

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

td:nth-child(odd) {
    font-weight: 600;
    text-align: right;
}

tr:nth-child(odd) {
    background-color: #e0e2e4;
}

/* Gallery */

.gallery {
    padding: 10px;
    overflow: hidden;
}

.galleryimage {
    float: left;
    width: 170px;
    height: 170px;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    margin: 10px;
    border: 1px solid black;
}

/* Footer */

footer {
    background-color: #E7E9EB;
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
}

/* MEDIA */

@media only screen and (max-width: 1100px) {
    table, .characterprofile {
        float: left;
        width: 100%;
        margin: 10px 0px 0px 0px;
    }

    .characterprofile {
        margin: 0px 0px 30px 0px;
    }

    main {
        padding: 20px;
    }

    .charactermain-image {
        width: 100%;
        margin: 0px 0px 10px 0px;
    }
}