/* the right column should be one-fourth of the screen size, except on small screens */
@media (min-width: 1000px) {
    div#right-column {
        margin-left: 1em;
        width: 25%;
    }
}





/* the entire footer should have a line across the top, followed by a gap */
footer {
    background-color: var(--header-footer-background);
    border-top: solid 1px var(--header-footer-border);
    padding-top: 1em;
}





/* footer segments should wrap automatically */
div.footer-segment {
    display: inline-block;
    vertical-align: top;
}

/* footer segments should have a margin beneath them on large screens */
@media (min-width: 1000px) {
    div.footer-segment {
        margin-bottom: 1em;
        padding-bottom: 1em;
    }
}

/* footer segments should only have horizontal rules between them when stacked vertically on small screens */
@media (min-width: 1000px) {
    footer hr {
        display: none;
    }
}

/* footer segments need specific sizes */
@media (min-width: 1000px) {
    div#about-us {
        width: 28%;
        margin-right: 1em;
    }
    div#sections-of-the-site {
        width: 32%;
        margin-right: 1em;
    }
    div#your-account,
    div#join-the-site {
        width: 25%;
    }
}
