@import url('https://fonts.googleapis.com/css?family=Lato:300,400');

@font-face {
    font-family: GoodTimes;
    src: url('../font/Typodermic - GoodTimesRg-Regular.ttf') format('truetype'), url('../font/Typodermic - GoodTimesRg-Regular.otf') format('opentype');
}

html, body {
    height: 100%;
}

body {
    font-family: 'Lato', sans-serif;
    background: #f5f7f8;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main-page {
    background: url('/images/background.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    flex: 1;
    padding-bottom: 10px;
}

a {
    color: #0051a9;
}

.logo {
    font-family: GoodTimes, Lato, sans-serif;
    text-transform: uppercase;
}
.page-navbar.navbar {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-navbar .navbar-nav .nav-item a {
    color: #000;
    font-size: 1.2em;
}

.page-navbar.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.page-navbar.navbar-dark .navbar-nav .nav-link {
    color: #000;
    font-size: 1.2em;
}

.page-navbar .logo {
    font-size: 1.5rem;
}

.page-navbar.fixed-top + .page {
    padding-top: 92px;
}

.gradient {
    background:  #f5f7f8dd;
    color: #000 !important;
}

.page-footer {
    margin-top: 20px;
    padding-top: 5px;
    text-align: center;
    padding-bottom: 5px;
    background: #f5f7f8;
}

.page-footer a {
    display: inline-block;
    margin: 0px 5px;
    color: #282b2d;
}

.band {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 20px;
    padding-top: 5%;
}

.title + .band {
    padding-top: 0%;
}

@media (min-width: 30em) {
    .band {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 60em) {
    .band {
        grid-template-columns: repeat(4, 1fr);
    }
}

.post {
    background: white;
    text-decoration: none !important;
    color: #444 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0;
    transition: all 0.1s ease-in;
    margin-top: 5px;
}
.post:hover {
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}
.post article {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.post h2 {
    font-size: 20px;
    margin: 0;
    color: #333;
}
.post p {
    flex: 1;
    line-height: 1.4;
    margin-top: 5px;
}
.post span {
    font-size: 12px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 2em 0 0 0;
}
.post .thumb {
    padding-bottom: 60%;
    background-size: cover;
    background-position: center center;
}

@media (min-width: 60em) {
    .item-1 {
        grid-column: 1 / span 2;
    }
    .item-2 {
        grid-column: 3 / span 2;
    }
    .item-1 h2, .item-2 h2 {
        font-size: 2em;
    }
}

.paginationbtn {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.paginationbtn:hover {
    opacity: 0.85;
}

.blogPost {
    background: #f5f7f8;
    padding: 30px;
}

.blogPost img:not(.blogPostImg) {
    float: right;
    margin: 10px;
}

.blogPost h3, h4 {
    clear: both;
}

.meta {
    color: #6c757d;
    opacity: 0.8;
}

.meta a {
    padding-left: 5px;
    text-decoration: none;
    color: #6c757d;
}

.title {
    margin-top: 3% !important;
    margin-left: 5%;
}

blockquote {
    border-left: 5px solid #2e64e6;
}

blockquote > * {
    margin-left: 10px;
}

img {
    max-width: 100%;
}

.toc {
    margin-left: -50%;
}

.toc > * {
    list-style-type: ' ';
}
.toc > * > * {
    list-style-type: ' ';
}

.brand-container {
    display: flex;
    flex-direction: column;
    margin-right: 50px;
}

.brand-container p {
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.brand-container h1 {
    margin-bottom: 0px;
    font-size: inherit;
}

.navbar > .container {
    align-items: flex-start;
}

.sidebar {
    background-color: #e4e4e4;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 15px;
}

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

.sidebar h3 {
    font-size: 1.3em;
    margin-top: 30px;
    word-break: break-all;
}

.blog-post-title {
    margin-top: 15px;
}
