/* CSS HEX
--steel-teal: #6a878a;
--light-sea-green: #24b4ab;
--magic-mint: #9de7be;
--white: #ffffff;
--rich-black-fogra-29: #040c11;
*/
* {
    box-sizing: border-box;
    padding: 0;

}

/* Style the body */
body {
    font-size: 16px;
    max-width: 576px;
    margin: auto;
    background-color: #6a878aff;
    color: #ffffff;
    font-family: "Verdana";
}


/* Go grab the h1,h2,h3,h4,h5,h6 from Exercise 2 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Tahoma";
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* don't forget paragraph if you need it! */


/* make sure to add selectors for the other semantic elements */

header {
    font-size: 40px;
    text-align: center;
    padding: 10px;
    font-family: "Tahoma";
}

/* Style the top navigation bar */
nav {
    width: 100%;
    height: 100px;
    background-color: #24b4abff;
}

nav ul {
    list-style: none;
    display: inline-block;
    float: left;
    margin-left: 20px;
}

nav ul li {
    list-style: none;
    display: inline-block;
    float: left;
    line-height: 70px;
}

nav li a {
    display: block;
    text-decoration: none;
    font-size: 20px;
    color: #ffffff;
    padding: 0 30px;
}

/* Change color on hover */
nav li a:hover {
    color: #9de7beff;
}

/* Don't forget your regular links */
a {
    text-decoration: none;
    color: #9de7beff;
}

a:hover {
    color: #040c11ff;
}

ul {
    list-style-type: circle;
}

/* Don't delete this container because you'll need this later*/
.container {}

.borderFun {
    border-bottom-style: ridge;
    border-top-style: ridge;
    border-width: 5px;
    border-color: #9de7beff;
    padding: 10px;
}


img {
    width: 450px;
    padding: 20px;
}


aside {
    padding: 10px;

}

/* Footer */
footer {
    border-top-style: solid;
    border-width: 2px;
    border-color: #040c11ff;
    padding: 5px;
    margin: 10px;

}

div .container {
    display: flex;
    flex-direction: column;
}

@media only screen and (min-width:768px) {
    body {
        max-width: 1200px;
    }

    .container section {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        justify-items: center;
    }

    .container img {
        display: flex;
        flex-direction: row;
        flex: 50%;
        align-content: center;

    }

    .container figure {
        display: flex;
        flex-direction: row;

    }

    .container h2,
    h3 {
        display: flex;
        flex-direction: row;
        flex: 10%;
        padding: 20px;
        
    }

      .container article {
        display: flex;
        flex-direction: column;
        flex: 40%;
        padding: 20px;
        
    }

}
