@media only screen and (min-width: 200px) and (max-width: 599px) {
    div#links {
        position: inherit;
        text-align: left;
        line-height: 1em;
        gap: 7px;
    }

    div#links a img {
        float: left;
        padding-right: 5px;
    }
}

@media only screen and (min-width: 600px) {
    div#links {
        position: absolute;
        right: 0;
        text-align: right;
    }
}
