@import 'main.css';

/* Bold */
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://s0.wp.com/wp-content/themes/pub/blockbase/assets/fonts/ibm-plex-mono/ibm-plex-mono-Bold.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;
}

/* Italic Regular */
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(https://s0.wp.com/wp-content/themes/pub/blockbase/assets/fonts/ibm-plex-mono/ibm-plex-mono-latin-ext-Regular-italic.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;
}

/* Regular */
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://s0.wp.com/wp-content/themes/pub/blockbase/assets/fonts/ibm-plex-mono/ibm-plex-mono-cyrillic-Regular.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.navbar .navbar-brand,
.navbar .navbar-nav > li > a,
.filterable-portfolio .nav-pills a,
.portfolio-item img,
.posts .post img,
.posts .post-excerpt .post-meta a,
.widget_benawp-recent-projects img {
    -webkit-transition: all 200ms ease;
    transition: all 200ms ease;
}

html {
    padding: 2rem;
    background: currentcolor url("../img/abstract-bg.svg") right bottom no-repeat;
    height: 100%;
    background-attachment: fixed;
    overflow-y: scroll;
}

body {
    background: none;
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1.5;
    color: #f5f5f5;
    font-size: 1.05rem;
}

h1,
h2,
h3 {
    font-family: 'IBM Plex Mono', monospace;
    color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

p {
    margin-bottom: 1rem;
}

.navbar .navbar-brand,
.navbar .navbar-nav > li > a {
    color: #f5f5f5;
    font-weight: bold;
}

@media ( max-width: 767px ) {
    .navbar .navbar-nav > li > a {
        color: #111;
    }
}

.navbar .navbar-nav > li > a {
    font-size: 1em;
    padding: 10px 25px;
    font-weight: 400;
}

.nav > li.active > a:hover {
    text-decoration: none;
}

.navbar .navbar-nav > li > a:hover {
    color: #F5F0E5;
    text-decoration: underline;
    background: none;
}

.nav > li > a:hover {
    color: #ddd;
    background-color: transparent;
}

.nav > li > a:focus {
    background-color: transparent;
    outline: none;
}

@media ( min-width: 768px ) {
    .navbar-nav > li.contact-menu-item {
        background-color: #3858e9;
        border-radius: .2rem;
    }

    .navbar-nav > li.current-menu-item a::before {
        display: inline-block;
        content: '';
        -webkit-border-radius: 0.375rem;
        border-radius: 0.375rem;
        height: 0.75rem;
        width: 0.75rem;
        margin-right: 0.5rem;
        background-color: #f5f2f0;
    }
}

.navbar .navbar-brand .bloginfo {
    padding-bottom: 1em;
}

.navbar .navbar-brand .bloginfo:hover {
    border-bottom: 2px solid #F5F0E5;
}

.navbar-nav > li:last-child > a:after {
    content: '';
}

.navbar-brand.has-not-custom-log {
    display: flex;
    gap: 1.5rem;
}

.navbar-brand.has-not-custom-log .tagline {
    font-size: .98em;
    font-weight: 400;
    color: #F5F0E5;
}

.navbar-brand.has-not-custom-log .bloginfo {
    font-size: 1.1em;
}

.navbar-toggle {
    background: #f5f5f5;
}

.navbar-toggle .icon-bar {
    background: #111;
}

@media (max-width: 768px) {
    .navbar-nav > li > a {
        background: #f5f5f5;
        border-radius: 4px;
        margin-bottom: 3px;
    }
}

@media (max-width: 768px) {
    .navbar-nav > li > a:after {
        content: '';
    }
}

.container-fluid .jumbotron {
    padding-left: 0;
    padding-right: 0;
}

.jumbotron {
    background: none;
    margin-top: 54px;
    margin-bottom: 54px;
}

.jumbotron h1 {
    font-size: 120px;
}

.jumbotron .lead {
    font-size: 32px;
}

@media (max-width: 992px) {
    .jumbotron h1 {
        font-size: 72px;
    }
}

@media (max-width: 768px) {
    .jumbotron h1 {
        font-size: 40px;
    }

    .jumbotron .lead {
        font-size: 20px;
    }
}

.portfolio-title {
    padding: 10px 15px;
    padding-left: 0;
    font-weight: bold;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    background: #f5f5f5;
    color: #111;
}

.nav-pills > li.active > a {
    font-weight: 700;
}

.nav-pills a {
    color: #f5f5f5;
}

.filterable-portfolio .nav-pills {
    margin-bottom: 2rem;
}

.portfolio-items {
    display: flex;
    flex-wrap: wrap;
}

.portfolio-item {
    margin-bottom: 2rem;
}

.portfolio-item img {
    border-radius: 4px;
}

.portfolio-item:hover img {
    box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.05);
    -webkit-filter: grayscale(50%);
    filter: grayscale(50%);
}

.filterable-portfolio,
.single-post.container-fluid {
    margin-bottom: 4rem;
}

.posts {
    margin-bottom: 3rem;
}

.post {
    margin-bottom: 1rem;
}

.post img {
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.post:hover img {
    -webkit-filter: grayscale(50%);
    filter: grayscale(50%);
}

.post-excerpt header {
    text-align: center;
}

.post-excerpt header h3 {
    margin-bottom: 0.25rem;
}

.post-excerpt header a {
    color: #f5f5f5;
}

.post-excerpt header a:hover {
    text-decoration: none;
}

.post-excerpt .post-meta {
    color: #f5f5f5;
}

.post-excerpt .post-meta a {
    color: #f5f5f5;
}

.post-excerpt .post-meta a:hover {
    border-bottom: 0;
    border-bottom: 1px dotted #111;
}

.sidebar {
    margin-bottom: 1rem;
}

.sidebar .widget {
    margin-bottom: 1rem;
}

.sidebar ul {
    padding: 0;
    list-style: none;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar li a {
    color: #f5f5f5;
}

.sidebar li a:hover {
    text-decoration: none;
    border-bottom: 1px dotted #838383;
}

.widget_benawp-recent-projects ul {
    padding: 15px 0;
}

.widget_benawp-recent-projects li {
    margin-bottom: 2rem;
}

.widget_benawp-recent-projects img {
    border-radius: 4px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.widget_benawp-recent-projects img:hover {
    -webkit-filter: grayscale(50%);
    filter: grayscale(50%);
}

a {
    color: #4e9af3;
}

.site-footer {
    /*margin-bottom: 3rem;*/
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.site-footer span {
    margin-right: 0.5em;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media ( max-width: 767px ) {
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.post-meta i {
    margin-right: 0.3rem;
    font-size: .9rem;
    position: relative;
    bottom: 1.9px;
}

.post-author i {
    margin-right: .3rem;
}

.post-date i {
    margin-right: 4px;
}

.more-link {
    font-style: italic;
    border-bottom: 1.5px solid #F5F0E5;
    color: #F5F0E5;
}

.more-link:hover {
    color: #F5F0E5;
    border-bottom: none;
    text-decoration: none;
}

/* Contact form */
/* For the demo purpose*/

#contact-form-wprap {
    width: 50%;
    max-width: 50%;
    background: #3858e9;
    padding-top: 1em;
    padding-bottom: 1em;
    border-radius: 4px;
    margin-bottom: 3rem;
}


#contact-form-wprap .row {
    padding-left: 4em;
    padding-right: 4em;
}

#contact-form-wprap textarea,
#contact-form-wprap input {
    width: 100%;
    max-width: 100%;
}

#contact-form-wprap label {
    color: #f5f5f5;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
    line-height: 1.5;
    font-size: 14px;
}

#contact-form-wprap label.wpforms-error {
    color: red;
}

#contact-form-wprap button {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

@media (max-width: 991px) {

    #contact-form-wprap {
        width: 100%;
        max-width: 100%;
    }

    #contact-form-wprap .row {
        padding-left: 1em;
        padding-right: 1em;
    }

    .navbar .navbar-brand {
        flex-direction: column;
        gap: 0;
    }

    .navbar .navbar-brand .bloginfo {
        padding-bottom: 0;
    }

    .navbar .navbar-brand .tagline {
        font-size: 0.7em;
    }

    .navbar-header {
        padding-bottom: 10px;
    }
}

.site-footer .contact-infos .phone-number,
.site-footer .contact-infos .email-address {
    font-family: 'IBM Plex Mono', monospace;
}

.site-footer .contact-infos i {
    margin-right: .5rem;
}

.wp-form-link {
    color: #fff;
}

.wp-form-link:hover {
    color: #fff;
}

@media ( max-width: 767px ) {
    .site-footer > .row {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .copyright {
        text-align: left !important;
    }
}

@media ( max-width: 991px ) {
    .blog-home-container {
        display: flex;
        flex-direction: column-reverse;
    }
}

.copyright {
    text-align: right;
}

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

/*	12. Comments
/* -------------------------------------------------------------------------- */


/* Comment Headers ----------------------------- */

#comments .reply {
    margin: 1rem 0;
}

.comments-wrapper {
    margin-top: 5rem;
}

.comment-reply-title {
    margin: 0 0 4rem 0;
    text-align: center;
}

#commentform {
    width: 100%;
    max-width: 100%;
    background: #3858e9;
    padding: 2.5rem 4em;
    border-radius: 4px;
    margin-bottom: 3rem;
}

@media ( max-width: 767px ) {
    #commentform {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

#commentform input,
#commentform textarea {
    width: 100%;
}

#commentform input[ type="checkbox" ] {
    width: auto;
}

#commentform input[ type="submit" ] {
    width: max-content;
}

.logged-in-as a {
    font-style: italic;
    color: #fff;
}

.logged-in-as a:hover {
    color: #fff;
}

#comments .avatar {
    border-radius: 2rem;
}

.comment-author.vcard {
    margin: 1rem 0;
}

.comment-author.vcard a.url,
#cancel-comment-reply-link {
    color: #fff;
}

.comment-author.vcard a.url:hover {
    color: #fff;
}

/* Comment Item ----------------------------- */

/* COMMENT HEADER */

.comments .comment,
.comments .pingback,
.comments .trackback,
.comments .review {
    padding-top: 3.5rem;
}

.comments .comment {
    padding-top: 0.5rem;
}

div.comment:first-of-type {
    margin-top: 3.5rem;
    padding-top: 0;
}

.comments .comments-header + div {
    margin-top: 0;
    padding-top: 0;
}

.comment-body {
    position: relative;
}

.comment .comment {
    padding-left: 5%;
}

.comment-meta {
    line-height: 1.1;
    margin-bottom: 1.5rem;
    padding-left: 0;
    position: relative;
    font-size: 12px;
}

.hide-avatars .comment-meta {
    min-height: 0;
    padding-left: 0;
}

.comment-meta a {
    color: inherit;
}

.comment-author {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.027777778em;
}

.comment-author a {
    text-decoration: underline;
}

.comment-author a:hover,
.comment-author a:focus {
    text-decoration: none;
}

.comment-meta .avatar {
    height: 4rem;
    left: 0;
    top: 0;
    width: 4rem;
}

.comment-author .url {
    text-decoration: underline;
}

.comment-metadata {
    position: absolute;
    left: 5rem;
    bottom: 0;
    color: #6d6d6d;
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 0.6rem;
}

.comment-metadata a {
    text-decoration: none;
    color: #fff;
    font-style: italic;
    font-size: .8rem;
}

.comment-metadata a:focus,
.comment-metadata a:hover {
    text-decoration: underline;
}


/* COMMENT CONTENT */

.comment-content.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    width: 100%;
}

.comment-content.entry-content .alignleft {

    /*rtl:ignore*/
    margin-left: 0;
}

.comment-content.entry-content .alignright {

    /*rtl:ignore*/
    margin-right: 0;
}

/* COMMENT FOOTER */

.comment-footer-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 1.2rem;
    font-weight: 600;
    justify-content: flex-start;
    letter-spacing: 0.030833333em;
    line-height: 1;
    margin: 1.5rem 0 -1rem -1.5rem;
    text-transform: uppercase;
}

.comment-footer-meta > * {
    margin: 0 0 1rem 1.5rem;
}

.comment-reply-link {
    background-color: #3858e9;
    color: #fff;
    display: block;
    padding: 0.7rem;
    width: max-content;
    border-radius: 0.2em;
}

.comment-reply-link:hover {
    color: #fff;
}

.bypostauthor .comment-footer-meta .by-post-author {
    display: block;
}

.comment-footer-meta a {
    text-decoration: none;
}

.comment-footer-meta a:focus,
.comment-footer-meta a:hover {
    text-decoration: underline;
}


/* Pingbacks & Trackbacks ------------------------- */

.pingback .comment-meta,
.trackback .comment-meta {
    padding-left: 0;
}


/* Comments Pagination ---------------------------- */

.comments-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 6rem;
    text-align: center;
}

.comments-pagination.only-next {
    justify-content: flex-end;
}

.comments-pagination .page-numbers {
    display: none;
    text-decoration: none;
}

.comments-pagination .page-numbers:focus,
.comments-pagination .page-numbers:hover {
    text-decoration: underline;
}

.comments-pagination .prev,
.comments-pagination .next {
    display: block;
}

.comments-pagination .prev {
    left: 0;
}

.comments-pagination .next {
    right: 0;
    text-align: right;
}


/* Comment Respond ---------------------------- */

.comment-respond::after {
    clear: both;
    content: "";
    display: block;
}

.comment-respond .comment-notes,
.comment-respond .logged-in-as {
    color: #6d6d6d;
    font-size: 1.6rem;
    line-height: 1.4;
    margin: -3rem 0 4rem 0;
    text-align: center;
}

.comment-respond .comment-notes a,
.comment-respond .logged-in-as a {
    color: inherit;
    text-decoration: none;
}

.comment-respond .comment-notes a:focus,
.comment-respond .comment-notes a:hover,
.comment-respond .logged-in-as a:focus,
.comment-respond .logged-in-as a:hover {
    text-decoration: underline;
}

.comment-respond p {
    line-height: 1.1;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.comment-respond p:not(.comment-notes) {
    max-width: 58rem;
}

.comment-form-cookies-consent {
    align-items: baseline;
    display: flex;
}

.comment-respond > p:last-of-type {
    margin-bottom: 0;
}

.comment-respond label {
    display: block;
}

.comment-respond input[type="checkbox"] + label {
    font-size: 1.5rem;
    line-height: 1.25;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond textarea {
    margin-bottom: 0;
}

.comment-respond textarea {
    height: 15rem;
}

.comment-respond #submit {
    display: block;
}

.comment-respond .comments-closed {
    text-align: center;
}


/* Reply Respond ---------------------------- */

.comments .comment-respond {
    padding: 3rem 0 0;
}

.comments .comment-respond .comment-reply-title,
.comments .comment-respond .comment-notes,
.comments .comment-respond .logged-in-as {
    text-align: left;
}

.comment-reply-title small {
    display: block;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.0277em;
    margin: 0.5rem 0 0 0;
    white-space: nowrap;
}

.comment-reply-title small a {
    text-decoration: none;
}

.comment-reply-title small a:focus,
.comment-reply-title small a:hover {
    text-decoration: underline;
}

/*---- Post Tag style --------*/
.tag {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    margin-left: -15px;
    margin-top: 15px;
}

.tag a {
    color: #fff;
}

.single .post-thumbnail {
    margin-bottom: 54px;
}

/**
* Recommanded classes by the Theme Checker
 */
.wp-caption {
}

.wp-caption-text {
}

.sticky {
}

.gallery-caption {
}

.aligncenter {
}