* p,
a,
ul {
    font-family: 'Lato', serif;
    font-weight: 400;
    color: #333333;
}

* h,
h2,
h3 {
    font-family: 'Lora', serif;
    font-weight: 300;
}

.flex-container {
    padding-left: 15em;
    padding-right: 15em;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 5px;
    padding: 20px;
}

.title a {
    text-decoration: none;
    color: #000;
    font-size: 26px;
}

.title a:hover {
    color: #b49543;
}

.title h3 {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 10px;
    color: #7e7e7e;
}

.title h4 {
    font-family: 'Lato', serif;
    font-weight: 400;
    color: #333333;
    font-size: 13px;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    flex-flow: row wrap;
    flex-wrap: wrap;
    border: solid;
    border-color: #d8d8d8;
    border-width: 1px;
    border-right-color: #fff;
    border-left-color: #fff;
}

nav ul {
    display: inline-flex;
    text-decoration: none;
    flex-wrap: wrap;
    list-style: none;
    padding: 7px;

}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

nav a:hover {
    color: #b49543;
}

.nav-item.active a {
    color: #b49543;
    display: list-item;
    list-style-type: disc;
    list-style-position: inside;

}

.social-top {
    display: flex;
    align-self: flex-end;
}

.social-top img {
    width: 13px;
}

.social-top img:hover {
    opacity: 0.5;
}

main {
    display: flex;
}

main p {
    font-size: 13px;
    letter-spacing: 0.8px;
    line-height: 20px;
}

article {
    padding-right: 20px;
}

article img {
    width: 665px;
    height: 435px;
}

article img:hover {
    opacity: 0.8;
}

article ul {
    font-size: 13px;
    letter-spacing: 0.8px;
    line-height: 20px;
}

article h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px
}

.article-title a {
    font-size: 24px;
    font-family: 'Lora', serif;
    font-weight: 300;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;

}

.article-title a:hover {
    color: #b49543;
}

.read-more {
    font-size: 12px;
    font-family: 'Lora', serif;
    font-weight: 700;
    text-decoration: none;
    color: #b49543;
    border: solid 1px;
    padding: 10px;
    display: flex;
    align-content: flex-end;
    justify-content: flex-end;
    margin-left: 81%;
}

.read-more:hover {
    color: #000;
}

.line-separator {
    height: 0.5px;
    background: #d8d8d8;
    border-bottom: 0.2px solid #d8d8d8;

}

aside {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    border: solid;
    border-color: #d8d8d8;
    border-width: 1px;
    border-right-color: #fff;
    border-top-color: #fff;
    border-bottom: #fff;
    max-width: 29%;
}

aside ul {
    padding-left: 0;
}

#author-img {
    width: 262px;
    border-radius: 50%;
    padding: 20px;
}

aside p {
    font-size: 13px;
}

.social h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #000;
    color: #fff;
    font-size: 15px;
}

.social img {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 25px;
    margin: 5px;
}

.social img:hover {
    opacity: 0.5;
}

.social ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}

.contact {
    display: flex;
    flex-direction: column;
    margin: 10px;
}

.contact input {
    width: 150%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-family: 'Lato', serif;
    font-weight: 400;
    color: #333333;
}

::placeholder {
    font-family: 'Lato', serif;
    font-weight: 400;
    color: #333333;
    opacity: 0.7;
}

.contact textarea {
    width: 150%;
    height: 150px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

.contact button {
    background-color: #b49543;
    border: none;
    color: #fff;
    padding: 12px 15px;
    text-align: center;
    font-size: 16px;
    transition: 0.3s;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    margin: 5px;
    margin-left: 0;
}

.contact button:hover {
    opacity: 0.8;
}

footer a {
    display: flex;
    align-content: center;
    justify-content: center;
    text-decoration: none;
    margin: 20px;
    font-size: 13px;
}

footer a:hover {
    color: #b49543
}

@media screen and (max-width: 800px) {
    .flex-container {
        padding-left: 0;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    main {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: center;
    }

    article {
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
    }

    .social-top {
        align-self: baseline;
    }

    .social-top img {
        margin-right: 40px;
    }

    article {
        padding-right: 0;
        padding-left: 0;
    }

    aside {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: none;
        padding-left: 0;
        margin: 50px;
    }

    .contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    @media screen and (max-width: 430px) {
        article {
            margin-left: 10px;
            margin-right: 10px;
            max-width: 300px;
        }

        .article-title a {
            width: 90%;
            font-size: 20px;
        }

        article img {
            max-width: 300px;
            max-height: 230px;
        }

        .read-more {
            margin-left: 59%;
        }

        aside img {
            max-width: 200px;
        }

    }
