/* ==========================================================================
   1. GLOBAL STYLES & BACKGROUND
   ========================================================================== */
body {
    background-image: url("https://foursoulsspoiler.net/wp-content/uploads/2021/06/black-background.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat;
}

#main.site-main {
    background-color: rgba(0, 0, 0, 0.80);
}

#content, 
#content input, 
#content textarea,
.wp-block-latest-posts.wp-block-latest-posts__list {
    color: #ededed;
}

#content {
    padding-top: .5em;
}

/* Link Colors */
.entry-content a, 
.entry-content a:visited {
    color: #B4B4B4;
    text-decoration: none;
}

.entry-content a:hover, 
.entry-content a:focus, 
.entry-content a:active {
    color: #BE1F1C;
}


/* ==========================================================================
   2. NAVIGATION & HEADERS
   ========================================================================== */
.main-navigation {
    background: #080808;
}

.main-navigation li.menu-item a {
    color: #ededed;
}

/* Sticky Header (Large Desktop Only) */
@media screen and (min-width: 2000px) {
    #masthead {
        height: 288px;
        z-index: 170;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    #primary {
        padding-top: 280px;
    }
}


/* ==========================================================================
   3. TITLES & META LAYOUTS
   ========================================================================== */
.page .entry-header,
.entry-title,
figcaption {
    text-align: center;
}

.page .entry-header {
    font-weight: normal;
}

figcaption {
    font-size: 12pt;
}

.page-title {
    font-size: 2.00em;
    text-align: center;
    color: #BE1F1C;
    margin: 5px;
    display: none; /* Hides Title Category on Updates */
}

/* Hide Layout Elements On Specific Templates */
.featured-image img,
.post-navigation,
.single .entry-header,
.single .entry-meta-wrap {
    display: none;
}

/* Centering Main Layout Content blocks */
.single .entry-meta-wrap {
    float: none;
    margin-right: 0%;
    width: 0%;
}

.single .entry-header {
    float: none;
    margin-left: 0;
    width: 100%;
}

.single .entry-content-wrap {
    float: none;
    overflow: hidden;
    width: 80%;
}

.entry-content-wrap {
    margin: auto;
}

#comments {
    width: 90%;
}


/* ==========================================================================
   4. PORTFOLIO & IMAGES
   ========================================================================== */
#projects article {
    background: #000000;
    margin: 4px 0px; 
    width: 20%;
}

.project-thumbnail {
    background: none;
    clip-path: inset(1% 4% round 4%);
}

.entry-content .wp-block-image.roundedCorners img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
    clip-path: inset(3% 4.5% round 4%);
}

.wp-block-media-text__media img {
    clip-path: inset(2% 4% round 4%);
}


/* ==========================================================================
   5. TABLES & CARD ELEMENTS
   ========================================================================== */
span.healthBox {
    display: inline-block;
    margin-top: 4px;
    margin-bottom: 8px;
    padding-left: 4px;
    padding-right: 4px;
    border: 2px solid #999999;
    font-size: 18pt;
}

td.cardText {
    height: 100px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

div.rewardSection {
    display: flex;
    justify-content: space-between;
    padding-left: 25%;
    padding-right: 25%;
}

div.setTitles {
    display: flex;
    justify-content: center;
}

.asp_w_container_5 {
    width: 100%;
}

/* Table Blueprint: Basic Tables */
table.basicTable {
    font-size: 16px;
    line-height: 1.4;
    table-layout: fixed;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #303030;
    border-collapse: collapse;
    background-color: #383838;
}

table.basicTable th, 
table.deckRatios th {
    background-color: #181818;
}

table.basicTable th {
    text-align: center;
}

table.basicTable td {
    background: #404040;
    border: 2px solid #303030;
    padding: 4px;
    vertical-align: middle;
    color: #ededed;
    text-align: center;
}

table.basicTable td:nth-child(1) {
    background: #383838;
}

/* Table Blueprint: Card Descriptions */
table.cardDescription {
    font-size: 16px;
    border-collapse: collapse;
    line-height: 1.4;
}

table.cardDescription td, 
table.cardDescription th,
table.deckRatios td, 
table.deckRatios th {
    border: 2px solid #303030;
    padding: 4px;
    vertical-align: middle;
    color: #ededed;
}

table.cardDescription td:nth-child(odd) {
    width: 40%;
    background: #383838;
    text-align: center;
}

table.cardDescription td:nth-child(even) {
    width: 60%;
    text-align: center;
    background: #404040;
}

/* Table Blueprint: Deck Ratios */
table.deckRatios {
    font-size: 16px;
    background-color: #383838;
    width: 80%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}

table.deckRatios td {
    padding: 4px 8px;
}

table.deckRatios td:nth-child(odd) {
    width: 40%;
    background: #383838;
    text-align: right;
}

table.deckRatios td:nth-child(even) {
    width: 60%;
    text-align: left;
    background: #404040;
}

/* Table Blueprint: Double Card Displays */
table.doubleTable td {
    font-size: 14px;
    border: none;
    vertical-align: top;
}

table.doubleTable td:nth-child(odd) {
    width: 50%;
    background: none;
    border-right: 2px solid #303030;
}


/* ==========================================================================
   6. RESPONSIVE MOBILE OVERRIDES (MAX-WIDTH: 800PX)
   ========================================================================== */
@media screen and (max-width: 800px) {
    #projects article {
        margin: 4px 0px 4px; 
        width: 33%;
    }

    .main-navigation {
        background-color: #252525;
        border: 2px solid #000000;
    }

    .menu-toggle {
        color: #ededed;
    }

    .main-navigation li.menu-item {
        background-color: #CC3333 !important;
    }

    .main-navigation li.menu-item a {
        background-color: #0e0e0e;
        color: #ededed;
    }

    .main-navigation .current-menu-item a {
        background-color: #252525 !important;
        color: #BE1F1C !important;
    }

    table.basicTable {
        width: 100% !important;
    }

    table.cardDescription {
        font-size: 14px;
    }

    table.cardDescription td:nth-child(odd) {
        width: 20%;
    }

    table.cardDescription td:nth-child(even) {
        width: 80%;
    }

    div.rewardSection {
        padding-left: 10%;
        padding-right: 10%;
    }
}