@charset "utf-8";

* {
    box-sizing: border-box;
}
html {
    background-color: lightslategray;
    font-family: Arial, Helvetica, sans-serif;
}
body{
    margin-left: 0;
    
}
section, article, aside, footer, header {
    padding: 0.5rem;
}
header, footer {
    background-color: black;
    color: white;
    text-align: center;
}
aside {
    background-color: tan;
}
nav {
    display: flex;
    flex-direction: column;
    background-color: #585858;
    padding: 4px 0;
}
nav a{
    flex: auto;
    text-align: center;
    background: tan;
}

@media screen and (min-width: 30rem) {
    body {
        display: flex;
        flex-direction: column;
        max-width: 75rem;
        margin:auto;
    }
    main section {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 0.5rem solid;
    }
    nav, header {
        order: -1;
        flex-direction: row;
    }
    nav a {
        border-top: solid black 1px;
    }
    article {
        flex: 33%;
        border-right: solid black 1px;
    }
    aside {
        flex: 33%;
    }
    .singleColumn {
        flex: 100%;
    }
    .doubleColumn {
        flex: 50%;
    }
}
.floatRight {
    float: right;
    padding-right: 15px;    
}
.clearRight{
    clear: right;
}
