/*  Fonts
-----
font-family: 'Lora', serif;
font-family: 'Ubuntu', sans-serif;
*/

body {
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.125rem;
    color: #707070;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}


h1,
h2,
h3 {
    font-family: 'Lora', serif;
    font-weight: 400;
    color: #143774;
    margin-top: 0;
}

h1 {
    font-size: 2rem;
    margin: 0;
}

h3 {
    font-weight: bold;
    font-size: .75rem;
}

.subtitle {
    font-weight: 700;
    color: #1792d2;
    font-size: .75rem;
    margin: 0;
}


/* Layout */

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

.container-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    background: #f8f8f8;
    padding: 2em 0;
    text-align: center;
    margin-bottom: 2em;
}

/* big screens */
@media (min-width: 675px) {
    .container-nav {
        flex-direction: row;
    }
    
    .columns {
        display: flex;
        justify-content: space-between;
    }
    
    .col-3 {
        width: 70%;
    }
    
    .col-1 {
        width: 25%;
        min-width: 200px;
        margin-left: 1em;
    }

}

/* navigation */

nav ul {
    list-style: none;
    padding: 0;
    justify-content: center;
}

nav li {
    margin-left: 2em;
    margin-bottom: 1em;
}

nav a {
    text-decoration: none;
    color: #707070;
    font-weight: 700;
    padding: .25em 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover,
nav a:focus {
    color: #1792d2;
}

.current-page {
    border-bottom: 1px solid #707070;
}

.current-page:hover {
    color: #707070;
}

@media (min-width: 675px) {

    nav ul {
        list-style: none;
        padding: 0;
        display: flex;
        justify-content: center;
    }

}

/* Main */

.article-title {
    font-size: 1.5rem;
    margin-top: 0;
}

.article-main {
    padding-bottom: 2em;
    border-bottom: 2px solid #707070;
    margin-bottom: 2em;
}

.article-body {
    font-weight: 400;
}

.bold-text {
    font-weight: bold;
    color: #707070;
}

.text-link {
    color: #1792d2;
}

.text-link:hover,
.text-link:focus {
    color: #143774;
}

.article-more,
.article-detail {
    font-size: 0.875rem;
}

.article-more  {
    text-decoration: none;
    color: #1792d2;
    font-weight: bold;
    letter-spacing: 1px;
}

.article-more:hover,
.article-more:focus {
    text-decoration: underline;
    color: #707070;
}

.article-detail  {
   font-weight: 400;
   margin: 1.5em 0;
}

.article-recent {
    margin-bottom: 2em;
}

@media (min-width: 675px) {

    .article-recent {
        display: flex;
        justify-content: space-between;
        margin: 25px 0;
    }

    .article-sec-content {
        width: 25%;
    }
    
    .article-pry-content {
        width: 70%;
    }

    .article-image-main {
        width: 100%;
        height: 400px;
        object-fit: cover;
    }


    .article-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .article-image-3 {
        object-position: left;
    }

}

/* sidebar */

@media (min-width: 675px) {

    .sidebar-article-img {
        width: 100%;
        
    }
    
    .sidebar-grp1,
    .sidebar-grp2 {
        padding: 2em;
        border: .7em #d3d1d1 solid;
        margin-bottom: 2em;
    }
    
    .sidebar-posts-title {
        font-weight: bold;
        font-size: 1rem;
        font-family: 'Ubuntu', sans-serif;
        letter-spacing: 1px;
    }
    
    .sidebar-article-content {
        font-size: .85em;
        margin-bottom: 0;
    }
    
    .sidebar-grp2-article-title {
        margin: .75em 0;
        letter-spacing: 1px;
    }

    .sidebar-grp2-article-content {
        border-bottom: 1px #707070 solid;
        margin-bottom: 1em;
    }

    .sidebar-grp2-article-content:last-child {
        margin: 0;
        border: 0;
    }

}

/* About-me */
.about-me-main {
    font-size: 1rem;
    margin-bottom: 5em;
}


.about-me-heading {
    font-weight: 400;
    font-size: 1.5em;
    color: #143774;
    margin-top: 1.5em;
}

.about-me-img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 1em;
}

.about-me-subheading {
    font-size: 1em;
    color: #1792d2;
}


/* footer */
footer {
    text-align: center;
    background: #143774;
    color: rgba (255,255,255 .65);
    padding: 1em;
    font-size: 1rem;
}
