/* Self-hosted fonts */
@font-face {
    font-family: 'Crimson Pro';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/static/fonts/crimson-pro.woff2') format('woff2');
}

@font-face {
    font-family: 'Crimson Pro';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('/static/fonts/crimson-pro-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300 500;
    font-display: swap;
    src: url('/static/fonts/roboto.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 300 500;
    font-display: swap;
    src: url('/static/fonts/roboto-italic.woff2') format('woff2');
}

/* Base Styles */
body {
    font-family: "Crimson Pro", serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5em;
    color: #454545;
    min-height: 100vh;
    background: url("/static/img/subtle_dots.png");
}

.color-border:hover {
    border-color: var(--random-color) !important;
}

/* Typography */
h1,
h2,
h3 {
    color: #696969;
    font-weight: normal;
}

h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

h2,
h3 {
    margin-bottom: 5px;
}

/* Links */
a,
a:link,
a:active {
    color: #1F3663;
    text-decoration: none;
}

a:hover {
    color: #a2a2a2;
    text-decoration: underline;
}

p a {
    font-weight: bold;
}

.author-link a {
    font-weight: 400;
}

/* Layout */
.color-block {
    height: 150px;
    margin-bottom: -145px;
    z-index: -1;
}

.main-layout {
    padding-top: 10px;
    margin-top: 30px;
    background-color: #fff;
}

.fixed-sidebar {
    position: fixed;
    margin-top: 15%;
}

/* Navigation */
.navbar {
    background-color: transparent !important;
}

.navbar-burger {
    color: white !important;
}

.sidebar-nav {
    margin: 0;
    padding: 0;
}

.sidebar-nav li {
    margin: 0;
    list-style: none;
    font-weight:500;
}

.sidebar-nav li::before {
    content: "»";
    margin-right: 0.5em;
}

/* Social Icons */
.social {
    display: block;
    margin: 10px 0;
}

.social ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.social ul li {
    display: inline-block;
    margin: 0 5px;
}

.social li a {
    color: #969394;
    display: inline-flex;
    align-items: center;
}

.social li a svg {
    width: 16px;
    height: 16px;
}

.social li a:hover {
    color: #6D6D6D;
}

/* Book Display */
.book-columns > .column {
    display: flex;
}

.related-books h3 {
    color: #363636;
    font-weight: 600;
    line-height: 1.125;
    margin-bottom: 15px;
}

/* Search */
#search-input {
    width: 100%;
    max-width: 100%;
    padding: 8px;
    border: 1px solid;
    border-radius: 3px;
}

.bookSearch {
    margin: auto;
    padding-top: 1px;
}

/* Components */
.goodreads {
    border: 2px solid;
}

.rule {
    height: 2px;
}

.system-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #000;
}

.is-transparent {
    background-color: transparent !important;
}

.mobile-about {
    padding: 25px;
    background-color: #fff;
}

.mobile-nav-column {
    margin-top: -30px;
}

.PageNavigation {
    margin-top: 35px;
}

.footer {
    margin-top: 10px;
    margin-bottom: 3em;
    padding-top: 30px;
    padding-bottom: 10px;
    font-size: 15px;
    color: #202020;
    background-color: transparent;
    bottom: 0;
}

/* Utility Classes */
span.time,
span.categories {
    color: #9a9a9a;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .color-block {
        height: 200px;
        margin-bottom: -200px;
    }

    .sidebar-nav {
        text-align: center;
        margin-bottom: 15px;
    }

    .sidebar-nav > li {
        padding: 5px;
        display: inline;
    }
}

