html {
    background-color: #2a2a2e;
}

body {
    background-color: #2a2a2e;
    color: #f2f4f4;
}

h1, h2, h3, h4, h5, h6, b, strong {
    font-weight: 600;
}

hr {
    margin: .8rem 0 .5rem !important;
}

.container-header {
    background-color: #1e1e1e;
    background-image: none;
}

.container-header .navbar-brand > * {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.container-header .navbar-brand img {
    width: 32px;
    min-width: 32px;
    margin-right: .5rem;
}

.text-muted {
    color: #aaa !important;
}

.category-desc {
    margin: 1rem 0 2rem;
    padding: .8rem 1rem;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,.15);
    background-color: rgba(0,0,0,.05);
}

.category-desc > * + * {
    margin-top: .5rem;
}

.masonry {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .masonry {
        grid-template-columns: repeat(3, 1fr);
    }
}

@supports (grid-template-rows: masonry) {
    .masonry {
        grid-template-rows: masonry;
    }
}

.blog-item {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.blog-item .item-image {
    margin-top: 0;
    margin-bottom: 0;
}

.blog-item .content-image {
    position: relative;
}

.pos-abs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.2s ease;
}

.blog-item a.pos-abs:hover {
    background-color: rgba(0,0,0,0.15);
}

.blog-item .content-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 1rem .8rem;
}

.blog-item .content-item:first-child {
    padding-top: .8rem;
}

.blog-item h2 {
    margin-bottom: 1rem;
}

.blog-item .content-item .text {
    flex: 1;
    margin-bottom: 1rem;
}

.blog-item p:last-child {
    margin-bottom: 0;
}

.blog-item .create {
    display: flex;
    align-items: center;
    height: 14px;
    font-size: 13px;
    line-height: 1;
}

.blog-item .create > * {
    opacity: .6;
    transition: opacity 0.2s ease;
}

.blog-item .create time {
    flex: 1;
    display: inline-block;
}

.blog-item .readmore {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -.5rem;
    padding: .5rem;
    text-decoration: none;
}

.blog-item .readmore:hover {
    opacity: 1;
    text-decoration: none;
}


.full-image {
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.full-image-bg {
    background-size: cover;
    background-position: center center;
    opacity: .9;
}

.blur {
    filter: blur(10px);
    margin: -10px;
}

.full-image-front {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-item.disabled .page-link,
.page-link {
    background-color: rgba(0,0,0,.1);
    border: 1px solid rgba(0,0,0,.15);
}

.page-link:focus, .page-link:hover {
    color: #fff;
    background-color: rgba(0,0,0,.3);
}
.page-link:hover {
    z-index: 2;
    border-color: rgba(0,0,0,.3);
}
.page-link, .page-link:hover {
    color: #fff;
    opacity: .6;
}

.back-to-top-wrapper {
    right: auto;
    left: 1.5rem;
}

.back-to-top-link {
    color: #999;
    background-color: rgba(0,0,0,.1);
    border: 1px solid rgba(0,0,0,.15);
}

.back-to-top-link:focus, .back-to-top-link:hover {
    color: #999;
    background-color: rgba(0,0,0,.1);
    border-color: #777;
}
