/* The body rule applies to everything in the body of the page. This rule should be first. */
body {
    color: #333333;
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
}

/* Typography - add rules for your HTML text elements here */

h1, h2, h3, h4, h5, h6 {
    color:#58b4f5;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.25rem;
    font-weight: normal;
}

h3 {
    text-transform: uppercase;
}

link {
    color: #a7320b;
}

ul {
    list-style-type: square;
}

.myinfo {
    color: #F2AA52;
    font-style: italic;
    line-height: 1.5;
}
/* .hero, header, main, and footer rules - don't edit these */

.hero {
    background-color: bisque;
    padding: 10%;
    text-align: center;
}
header img {
    border: 1px solid burlywood;
    max-width: 50%;
}
main {
    padding: 4rem;
    margin: 0 auto;
    max-width: 35rem;
}
footer {
    background-color: #333;
    color: white;
    padding: 2rem;
    text-align: center;
}

/* This is an advanced kind of CSS rule called a media query. It will cause the page layout to change when resized for a smaller screen (like a phone). */
@media (min-width: 768px) {
    .hero {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        justify-content: space-around;
    }
}