/*!
Theme Name: Sofia wp
Author: Fernando Cassiano
Author URI: http://www.fernandocassiano.com.br
Theme URI: http://www.fernandocassiano.com.br/sofia
Version: 1.0
Description: Sofia is a clean, free, and responsive blog theme. Its modern design is great for personal websites.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: left-sidebar, right-sidebar, custom-colors, custom-header, custom-menu, editor-style, featured-images, sticky-post, threaded-comments, blog
Text Domain: sofia-wp
*/

/**
 * Table of Contents
 *
 *  1.0 - Normalize
 *  2.0 - Typography
 *  3.0 - Forms
 *  4.0 - Menu
 *  5.0 - Posts
 *  6.0 - Author
 *  7.0 - Sidebar
 *  8.0 - Footer
 *  9.0 - Comments
 * 10.0 - Pagination
 * 11.0 - Widgets 
 */

/*--------------------------------------------------------------------------------------*/

/* 1.0 Normalize                                                                        */

/*--------------------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, figure table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/*--------------------------------------------------------------------------------------*/

/* 2.0 - Typography                                                                     */

/*--------------------------------------------------------------------------------------*/

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Poppins Regular'), local('Poppins-Regular'), url(https://fonts.gstatic.com/s/poppins/v9/pxiEyp8kv8JHgFVrJJbecmNE.woff2) format('woff2');
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}

/* latin-ext */

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Poppins Regular'), local('Poppins-Regular'), url(https://fonts.gstatic.com/s/poppins/v9/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Poppins Regular'), local('Poppins-Regular'), url(https://fonts.gstatic.com/s/poppins/v9/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



main {
    width: 100%;
    margin-bottom: 65px;
    margin-top: 30px;
}

@media screen and (min-width: 1024px) {
    main {
        width: 75%
    }
}

a:hover {
    color: #232323;
}

p, label {
    line-height: 1.5em;
    word-spacing: 5px;
    font-size: 14px;
    margin: 1.5em 0;
}

h1 {
    font-size: 42px;
    word-break: break-all;
    line-height: 1.5;
}

h2 {
    font-size: 24px;
    word-break: break-all;
    color: black;
    line-height: 1.5;
}

h3 {
    font-size: 34px;
}

h4 {
    font-size: 30px;
}

h5 {
    font-size: 26px;
}

h6 {
    font-size: 22px;
}

img {
    max-width: 100%;
    height: auto;
}

strong {
    font-weight: 800;
}

body {
    font-family: 'Poppins';
}

.content {
    background-color: #f0f0f0;
}

.entry, .entry-content {
    display: flex;
    flex-direction: column;
}

.entry-header {
    display: flex;
    flex-direction: row;
    height: 100%;
}

@media screen and (min-width:1024px) {
    .entry {
        display: flex;
        max-width: 1206px;
        padding: 0 10px 0 10px;
        height: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .entry-content {
        margin-top: 100px;
    }
    .entry-header, .entry-footer {
        flex-direction: row;
        margin-top: auto;
        margin-bottom: auto;
    }
}

small {
    font-size: 12px;
}

.margin-bottom-3 {
    margin-bottom: 30px;
}

.wp-caption-text {
    text-align: center;
    max-width: 96%;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute!important;
    height: 1px;
    width: 1px;
    overflow: hidden
}

.screen-reader-text:active, .screen-reader-text:focus, .screen-reader-text:hover {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
    clip: auto!important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: .875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}

.gallery-caption {
    color: #707070;
    color: rgba(51, 51, 51, .7);
    display: block;
    font-size: 11px;
    font-size: 1.1rem;
    line-height: 1.5;
    padding: .5em 0
}

.sticky-post h1 {
    font-weight: bolder;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.sofia-line::before {
    content: "";
    display: block;
    height: 3px;
}

/*--------------------------------------------------------------------------------------*/

/* 3.0 Forms                                                                            */

/*--------------------------------------------------------------------------------------*/

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="tel"], input[type="url"], textarea {
    padding: 0.8em;
    width: 100%;
    background: #EEEDE8;
    color: #7C7D7F;
    border: none;
    font-family: "Poppins";
    font-size: 0.813em;
    border-radius: 10px;
    -webkit-appearance: none;
}

input[type="submit"] {
    padding: 0.8em;
    color: white;
    width: 100%;
    outline: none;
    border: none;
    max-width: 13.875em;
    font-family: "Poppins";
    font-size: 0.813em;
    line-height: 1.85;
    border-radius: 3px;
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease;
    -webkit-appearance: none;
}

input[type="submit"]:hover {
    cursor: pointer;
    opacity: 0.8;
}

/*--------------------------------------------------------------------------------------*/

/* 4.0 Menu                                                                             */

/*--------------------------------------------------------------------------------------*/

.principal {
    background-color: white;
    min-width: 100px;
    width: 100%;
    vertical-align: middle;
    justify-content: center;
    box-shadow: 0 5px 10px 0 rgba(38, 38, 38, 0.25);
}

@media screen and (min-width: 1024px) {
    .principal {
        position: fixed;
        top: 0;
        z-index: 9999;
        height: 100px;
    }
}

.div-menu {
    display: none;
}

@media screen and (min-width: 1024px) {
    .div-menu {
        display: flex;
        flex-direction: row;
    }
}

.div-menu {
    margin: auto 20px;
}

.menu li {
    position: relative;
    float: left;
    list-style: none;
}

.menu li a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
    padding: 10px 15px;
    line-height: 26px;
    border-bottom: 0.5px solid transparent;
    transition: border 0.5s ease;
}

.menu li ul {
    position: absolute;
    left: 0;
    background-color: #f8f8f8;
    display: none;
}

.menu li ul li ul {
    top: 0;
    left: 100%;
    display: none;
}

.menu li:hover>ul {
    display: block;
}

.menu li ul li {
    border-width: thin;
    border-style: solid;
    border-color: #c0c0c0;
    display: block;
    width: 200px;
}

.menu li ul li a:hover {
    border-color: transparent;
}

.div-logo {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.div-logo a {
    margin: auto auto;
    text-decoration: none;
    color: #232323
}

.div-logo h1 {
    margin: auto auto;
}

.icons {
    margin-top: auto;
    margin-bottom: auto;
    float: right;
}

.icons i {
    margin: auto 30px auto 20px;
}

@media screen and (min-width: 1024px) {
    .icons i {
        display: none;
        float: right;
    }
}

.menu_mobile {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-size: var(--font-size-p);
    height: calc(100vh - 98px);
    margin: 20px 0;
    text-align: center;
    transition: all 200ms ease-in-out;
    z-index: 50;
}

@media screen and (min-width: 1024px) {
    .menu_mobile {
        display: none;
    }
}

.menu_mobile li a {
    color: #333;
    text-decoration: none;
    opacity: 1;
    transition: opacity 150ms ease-in-out;
}

.menu_mobile__hidden {
    height: 0;
    margin: 0;
    overflow: hidden;
}

.menu_mobile__hidden li a {
    opacity: 0;
}

.menu_mobile__open {
    overflow: hidden;
}

/*--------------------------------------------------------------------------------------*/

/* 5.0 Posts                                                                            */

/*--------------------------------------------------------------------------------------*/

.post-categories {
    list-style: none;
    margin: 10px 10px 0 0;
}

.post-categories li {
    display: inline-block;
}

.card-info small {
    display: inline-block;
}

.card-list {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-decoration: none;
}

.card-img {
    flex-shrink: 0;
    background-position: center;
    background-size: cover;
    height: 240px;
    width: 100%;
    margin: 0 0 0 0px;
    border-radius: 3px;
}

@media screen and (min-width: 1024px) {
    .card-img {
        height: auto;
        width: 280px;
    }
    .card-list {
        margin-bottom: 30px;
    }
}

.card-content {
    margin: 0;
}

.card-link {
    display: inline-flex;
    font-weight: bold;
    width: fit-content;
}

@media screen and (min-width: 1024px) {
    .card-content {
        margin-left: 20px;
    }
}

.card {
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    padding: 20px;
}

@media screen and (min-width: 1024px) {
    .card {
        flex-direction: row;
        padding: 0;
        min-height: 240px;
    }
}

.card-content-date {
    margin: 10px 0 0 0;
}

.card-excerpt {
    flex-grow: 1;
    color: #232323
}

.card:hover {
    cursor: pointer;
    box-shadow: 0 5px 10px 0 rgba(38, 38, 38, 0.25);
}

.header-post {
    background-size: cover;
    background-position: top;
    padding: 40px 20px 30px 20px;
}

@media screen and (min-width: 768px) {
    .header-post {
        background-attachment: fixed;
    }
}

.header {
    display: flex;
    flex-direction: column-reverse;
}

@media screen and (min-width: 1024px) {
    .header-post, .header-post-container {
        display: flex;
        flex-direction: row;
        height: 400px;
        margin-top: 100px
    }
}

.header-post-container {
    margin: 0 auto;
    max-width: 1206px;
    justify-content: space-between;
}

.header-post-title {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-end;
    color: white;
}

.header-post-date {
    display: flex;
    flex-direction: row-reverse;
    align-items: center
}

.header-post-title h1 {
    margin-bottom: 30px;
    margin-top: 30px;
    padding-left: 20px;
    width: 80%;
}

@media screen and (min-width: 1024px) {
    .header-post-title h1 {
        font-size: 60px;
    }
}

article {
    background-color: #f8f8f8;
    border-radius: 3px;
}

.post-content {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: 30px;
    margin-right: 30px;
}

article h2 {
    padding: 10px 0 10px 0;
}

article p {
    padding-bottom: 1em;
}

article ul {
    padding-left: 20px;
}

.tag {
    padding: 10px;
}

/*--------------------------------------------------------------------------------------*/

/* 6.0 Author                                                                           */

/*--------------------------------------------------------------------------------------*/

.author {
    padding: 20px;
    background-color: #f8f8f8;
}

.author h5 {
    margin-bottom: 20px;
}

.author img {
    width: 100px;
    height: 100px;
}

.author_bio {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 1024px) {
    .author_bio {
        display: flex;
        flex-direction: row;
    }
}

@media screen and (min-width: 1024px) {
    .author_description {
        margin-left: 20px;
        padding: 10px;
    }
}

/*--------------------------------------------------------------------------------------*/

/* 7.0 Sidebar                                                                          */

/*--------------------------------------------------------------------------------------*/

aside {
    width: 100%;
    margin-top: 30px;
}

@media screen and (min-width: 1024px) {
    aside {
        width: 25%;
        flex-shrink: 0;
    }
}

aside div {
    padding: 10px;
}

#sidebar {
    list-style: none;
}

#sidebar>li {
    background-color: #f8f8f8;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-align: center;
    list-style: none;
}

#sidebar li {
    list-style: none;
    padding-bottom: 10px;
}

#sidebar>li h2 {
    color: white;
    margin-bottom: 10px;
}

/*--------------------------------------------------------------------------------------*/

/* 8.0 Footer                                                                           */

/*--------------------------------------------------------------------------------------*/

.footer-div {
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: auto auto;
}

/*--------------------------------------------------------------------------------------*/

/* 9.0 Comments                                                                         */

/*--------------------------------------------------------------------------------------*/

@media screen and (min-width: 1024px) {
    .comments-area {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
}

.comments-area {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    background-color: #f8f8f8;
}

.comment-form-author, .comment-form-url, .comment-form-email, .comment-form-comment {
    display: flex;
    flex-direction: column;
    width: 100%;
}

ol.comment-list, ol.comment-list ul {
    list-style: none;
}

ol.comment-list ul li {
    margin: 20px 20px 20px 40px;
}

.bypostauthor article {
    padding: 10px;
}

/*--------------------------------------------------------------------------------------*/

/* 10.0 Pagination                                                                      */

/*--------------------------------------------------------------------------------------*/

.navigation {
    display: flex;
    flex-direction: row;
    margin: 30px 20px;
}

.navigation div {
    font-weight: 800;
    text-transform: uppercase;
    line-height: 20px;
    letter-spacing: 2px;
}

.nav-alignleft {
    width: 50%;
    text-align: center;
}

.nav-alignright {
    width: 50%;
    text-align: center;
}

/*--------------------------------------------------------------------------------------*/

/* 11.0 Widgets                                                                         */

/*--------------------------------------------------------------------------------------*/

#about_me, #recent_posts {
    margin: 0;
    padding: 0;
}

#about_me p {
    padding-left: 10px;
    padding-right: 10px;
}

#about_me_img {
    width: 150px;
    height: 150px;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 90px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

#recent_posts li {
    text-align: left;
    padding: 10px;
}

#recent_posts li::before {
    content: "\2714 ";
}

#social ul li a {
    padding: 0 5px 0 5px;
    text-decoration: none;
}

#social ul li {
    list-style: none;
    display: inline-block;
    padding-bottom: 5px;
}

#social ul {
    margin-bottom: 0;
    padding: 0;
}

#social li a span {
    display: none;
}

#social li a[href*="facebook.com"]>i:before {
    font-family: 'Font Awesome\ 5 Brands';
    content: "\f39e";
}

#social li a[href*="linkedin.com"]>i:before {
    font-family: 'Font Awesome\ 5 Brands';
    content: "\f0e1"
}

#social li a[href*="twitter.com"]>i:before {
    font-family: 'Font Awesome\ 5 Brands';
    content: "\f099"
}

#social li a[href*="youtube.com"]>i:before {
    font-family: 'Font Awesome\ 5 Brands';
    content: "\f167"
}

#social li a[href*="instagram.com"]>i:before {
    font-family: 'Font Awesome\ 5 Brands';
    content: "\f16d"
}

#social li a[href*="pinterest.com"]>i:before {
    font-family: 'Font Awesome\ 5 Brands';
    content: "\f0d2"
}

#social li a[href*="spotify.com"]>i:before {
    font-family: 'Font Awesome\ 5 Brands';
    content: "\f1bc"
}

#social li a[href*="foursquare.com"]>i:before {
    font-family: 'Font Awesome\ 5 Brands';
    content: "\f180"
}

#social li a[href*="github.com"]>i:before {
    font-family: 'Font Awesome\ 5 Brands';
    content: "\f09b"
}

#social li a[href*="vimeo.com"]>i:before {
    font-family: 'Font Awesome\ 5 Brands';
    content: "\f194"
}

#social li a[href*="plus.google.com"]>i:before {
    font-family: 'Font Awesome\ 5 Brands';
    content: "\f0d5"
}