/* =========================================
   BASIC RESET
========================================= */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background-color: #111111;
    background-image:
        repeating-linear-gradient(
            45deg,
            #111111,
            #111111 10px,
            #171717 10px,
            #171717 20px
        );
    color: #eeeeee;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}
/* =========================================
   MAIN SITE
========================================= */
.site {
    width: 1150px;
    max-width: 94%;
    margin: 40px auto;
    background: #242424;
    border: 3px solid #9aff75;
    box-shadow:
        9px 9px 0 #ff6fba;
}
/* =========================================
   HEADER
========================================= */
.header {
    text-align: center;
    padding: 28px 20px;
    background: #0d0d0d;
    border-bottom:
        3px solid #9aff75;
}
.blinkie {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 12px;
    background: #ff6fba;
    color: #111111;
    font-size: 11px;
    font-weight: bold;
}
.header h1 {
    margin: 0;
    color: #ff76c8;
    font-family:
        Georgia,
        serif;
    font-size: 38px;
    text-shadow:
        2px 2px #9aff75;
}
.header p {
    margin-bottom: 0;
    color: #bbbbbb;
}
/* =========================================
   NAVIGATION
========================================= */
.main-nav {
    display: flex;
    background: #161616;
    border-bottom:
        2px solid #555555;
}
.nav-button {
    flex: 1;
    padding: 15px 8px;
    background: transparent;
    border: none;
    color: #eeeeee;
    font-weight: bold;
    cursor: pointer;
}
.nav-button:hover {
    color: #ff76c8;
    background: #2b2b2b;
}
.nav-button.active {
    background: #9aff75;
    color: #111111;
}
/* =========================================
   STATS
========================================= */
.stats {
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 12px;
    background: #191919;
    border-bottom:
        1px solid #444444;
    font-size: 12px;
}
.stats strong {
    color: #9aff75;
}
/* =========================================
   MAIN CONTENT
========================================= */
.content {
    display: grid;
    grid-template-columns:
        270px 1fr;
    min-height: 700px;
}
/* =========================================
   FILTER SIDEBAR
========================================= */
.filters {
    padding: 20px;
    background: #181818;
    border-right:
        2px solid #555555;
}
.filter-title {
    display: flex;
    align-items: center;
    justify-content:
        space-between;
}
.filter-title h2 {
    margin-top: 0;
    color: #ff76c8;
    font-family: Georgia, serif;
}
#clearFilters {
    padding: 5px 7px;
    background: #ff76c8;
    border: none;
    color: #111111;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
}
#clearFilters:hover {
    background: #9aff75;
}
/* =========================================
   SEARCH
========================================= */
.search-area {
    margin-bottom: 22px;
}
.search-area label {
    display: block;
    margin-bottom: 6px;
    color: #9aff75;
    font-size: 12px;
    font-weight: bold;
}
#searchBox {
    width: 100%;
    padding: 9px;
    background: #eeeeee;
    border: 2px solid #9aff75;
    color: #111111;
    outline: none;
}
#searchBox:focus {
    border-color: #ff76c8;
}
/* =========================================
   FILTER SECTIONS
========================================= */
.filter-section {
    margin-bottom: 24px;
}
.filter-section h3 {
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom:
        1px dotted #666666;
    color: #9aff75;
    font-size: 12px;
}
.filter-option {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 7px 0;
    color: #dddddd;
    font-size: 12px;
    cursor: pointer;
}
.filter-option:hover {
    color: #ff76c8;
}
.filter-option input {
    accent-color: #ff76c8;
}
.filter-count {
    margin-left: auto;
    color: #777777;
    font-size: 10px;
}
/* =========================================
   SORT
========================================= */
#sortSelect {
    width: 100%;
    padding: 8px;
    background: #eeeeee;
    border: none;
    color: #111111;
}
/* =========================================
   RESULTS
========================================= */
.results {
    padding: 25px;
}
.results-header {
    display: flex;
    align-items: center;
    justify-content:
        space-between;
    margin-bottom: 20px;
    border-bottom:
        2px solid #555555;
}
.results-header h2 {
    color: #ff76c8;
    font-family: Georgia, serif;
}
#resultCount {
    color: #9aff75;
    font-size: 12px;
    font-weight: bold;
}
/* =========================================
   FIC CARD
========================================= */
.fic-card {
    position: relative;
    margin-bottom: 22px;
    padding: 20px;
    background: #eeeeee;
    color: #222222;
    border-left:
        7px solid #ff76c8;
    box-shadow:
        5px 5px 0 #0b0b0b;
}
.fic-card:hover {
    border-left-color:
        #9aff75;
}
.fic-title {
    margin: 0 70px 5px 0;
    color: #8b2470;
    font-family: Georgia, serif;
    font-size: 23px;
}
.fic-author {
    margin-bottom: 14px;
    color: #666666;
    font-size: 13px;
}
.fic-fandom {
    margin-bottom: 7px;
    font-size: 13px;
}
.fic-relationship {
    margin-bottom: 12px;
    font-size: 13px;
}
/* =========================================
   METADATA
========================================= */
.metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
}
.metadata span {
    padding: 5px 7px;
    background: #d9ffc9;
    border:
        1px solid #75b65d;
    font-size: 11px;
    font-weight: bold;
}
/* =========================================
   TAGS
========================================= */
.tag-container {
    margin: 12px 0;
}
.tag {
    display: inline-block;
    margin: 3px;
    padding: 4px 7px;
    background: #f8cce5;
    border:
        1px solid #d47cae;
    color: #4d2140;
    font-size: 11px;
}
.warning-tag {
    background: #dddddd;
    border-color: #999999;
}
/* =========================================
   SUMMARY
========================================= */
.summary {
    margin: 15px 0;
    color: #444444;
    font-family: Georgia, serif;
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
}
/* =========================================
   ACTION BUTTONS
========================================= */
.fic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}
.action-button {
    padding: 8px 11px;
    border: none;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}
.ao3-button {
    background: #9aff75;
    color: #111111;
}
.read-button {
    background: #ff76c8;
    color: #111111;
}
.favorite-button {
    background: #222222;
    color: #eeeeee;
}
.favorite-button.is-favorite {
    background: #ff76c8;
    color: #111111;
}
.action-button:hover {
    opacity: .75;
}
/* =========================================
   FAVORITE STAR
========================================= */
.favorite-star {
    position: absolute;
    top: 17px;
    right: 20px;
    color: #ff76c8;
    font-size: 25px;
}
/* =========================================
   NO RESULTS
========================================= */
.no-results {
    display: none;
    padding: 60px 20px;
    text-align: center;
    color: #aaaaaa;
}
.big-symbol {
    color: #ff76c8;
    font-size: 40px;
}
#emptyClear {
    padding: 8px 12px;
    background: #9aff75;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 750px) {
    .content {
        grid-template-columns: 1fr;
    }
    .filters {
        border-right: none;
        border-bottom:
            2px solid #555555;
    }
    .main-nav {
        flex-direction: column;
    }
    .stats {
        flex-wrap: wrap;
        gap: 12px;
    }
    .header h1 {
        font-size: 27px;
    }
}