html,
body {
    margin:0;
    font-family: 'Bitter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
}

/* typography */

h1,
h2,
h3,
strong {
    color: #013a06;
}

h1 {
    margin-bottom: 0rem;
}

h3 {
    font-size: 1rem;
}


a {
    width:100%;
    text-decoration: none;
}

nav ul a {
    color: #013a06;
    font-weight: 400;
}

nav ul a:hover,
nav ul a:focus,{
    color: white;
    text-decoration: underline;
}

/* Layout */

header,
footer {
    background: #5fb642;
}

footer {
    color: #013a06;
}

.site-title {
    border-bottom: 2px #013a06 solid;
}

/* Navigation */
nav ul {
    display: flex;
    list-style-type: none;
    padding:0;
    text-align: center;
}

nav ul li {
    margin:0;
    padding:0 0.75rem;
}

.current-page {
    text-decoration: underline;
}

 /* Article Header and Posts */
.article-header {
    text-align: center;
}

.article-header-image {
    width: 60%;
    object-fit: cover;
    border-radius:10px;
}

.article-headshot-image {
    width: 40%;
    object-fit: cover;
    border-radius:5px;
}

.article-header-text {
    padding-bottom: 1em;
    border-bottom: 2px #013a06 solid;
    margin-bottom: 3em;
}

.article-experience {
    display:flex;
    flex-direction: column;
    margin-bottom:2em;
}

.article-experience-title {
    margin:0;
}

.article-experience-pic {
    width:100%;
    max-height:500px;
    border-radius: 5px;
    margin: 0.5em auto;
}


.container {
    width:90%;
    max-width: 800px;
    margin:0 auto;
}

.container-header-flex,
.container-flex {
    padding:0;
    margin:0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.container-flex {
    text-align: center;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

.tagline {
    font-family: cursive;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-bottom: 1em;
    
}

/* secondary pages */

.secondary-page-container {
    width:90%;
    max-width: 600px;
    padding:0.5em;
    margin: 2em auto;
    border-bottom: 2px #013a06 solid;
    align-items: start;
}
.secondary-page-container h2 {
    font-size: 1em;
    width:100%;
}

.image-sidebar-flex {
    display:flex;
    flex-direction: column;
    width:100%;
}

.secondary-image {
    width:100%;
    margin: 0.5em auto;
    border-radius:5px;
}

/* footer */

.contact-info {
    text-align: center;
    padding: 0.25rem;
}

.contact-me {
    text-decoration: underline;
}

.contact-info h3 {
    padding:0;
    margin:0.5rem;
}

.experience-section {
    width:100%;
}

 /* media queries */
@media (min-width: 600px) {
    .container-header-flex {
        flex-direction: row;
        justify-content:space-between;
    }

    .container-flex {
        flex-direction: row;
        justify-content:space-between;
        flex-wrap: wrap;
    }

    nav ul li {
        margin:0;
        padding:0 0.5rem;
    }

    .site-title {
        max-width: 30%;
        margin-bottom: 2rem;
        padding:1rem 0 0.5rem;
    }

    .container {
        width:100%;
    }

    a {
        order:-1;
    }

    .article-experience {
        width:45%;
        padding:0;
        display:flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    .article-experience-title {
        font-size: 1rem;
        height:40px;
    }

    .article-experience-pic {
        margin: 0;
        order: -1;
        height:200px;
        object-fit:cover;

    }

    /* secondary pages */
    .secondary-page-container {
        flex-direction: row;
        margin: 1em auto;
        justify-content: space-around;
    }

    .image-sidebar-flex {
        display:flex;
        flex-direction: column;
        width:40%;
    }

    .secondary-image {
        width:100%;
        padding:0;
    }
    .sidebar {
        width:55%;
        font-size: 0.75rem;
    }

}