/* Write your CSS here! */

* {
    box-sizing: border-box;
}

.no-margin {
    margin: 0px 0px 0px 0px;
}

body {
    width: 100%;
	max-width: 1200px;
    margin: 8px auto;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    color: #4b4b4b;
}

header, nav, article, aside, footer {
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 8px 10px 8px 10px;
}

header, aside, footer {
    background-color: #f0f0f0;
}

header {
    text-align: center;
}

nav {
    text-align: center;
}

.menu-button {
    display: inline-block;
    color: inherit;
    text-transform: capitalize;
    text-decoration: none;
    margin: 0px 10px 0px 10px;
    padding: 3px;
}
.menu-button:hover {
    background-color: #ababab;
}

main {
    overflow: auto;
}

article {
    float: left;
    width: 70%;
}

aside {
    float: left;
    width: 30%;
    height: 100%;
}

@media only screen and (max-width: 800px) {
    article, aside {
      width: 100%; 
    }
}

figure {
    float: right;
}

figcaption {
    text-align: center;
    font-style: italic;
}

.artcl-img {
    width: 100%;
    max-width: 474px;
}

aside img {
    float: top;
    width: 100%;
    max-width: 237px;
}

footer {
    display: flex;
    flex-wrap: wrap;
}

.footer-elem {
    flex: 0 0 50%;
    max-width: 50%;
}

#copy {
    text-align: left;
    padding-left: 10px;
}
.to-top{
    text-align: right;
    padding-right: 10px;
}

h2 {
    text-align: center;
    text-transform: uppercase;
    margin: 5px 0px 5px 0px;
}

h3 {
    text-align: left;
    text-transform: capitalize;
    padding-left: 50px;
    margin-bottom: 0px;
}

#mainHeading {
    color: red;
}

.funParagraph {
    color: green;
}