/* =========================================================
   GLOBAL
========================================================= */

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    padding: 1rem;
    text-align: center;
}

body.mx-5 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.row {
    max-width: 100%;
}


/* =========================================================
   HEADINGS
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-family: Georgia, serif;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: break-word;
}

h1 {
    color: #eb0e0e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 2px 3px 2px #adaaaa;
}

.sub-h1 {
    font-family: "Courier New", Courier, monospace;
    font-size: .85rem;
    font-weight: 700;
}


/* =========================================================
   SITE HEADER
========================================================= */

header {
    width: 100%;
    margin: 0 auto 5vh;
    border-bottom: 4px solid #808080;
}

header > div {
    width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.index-hero-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    overflow-wrap: break-word;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.main-heading {
    padding: .5rem 0;
    color: #000;
    border-top: 4px solid #808080;
    border-bottom: 4px solid #808080;
    overflow-wrap: break-word;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

#main-content {
    width: 100%;
    margin: 2rem auto;
    border-bottom: 3px solid #000;
}

#main-post {
    width: 100%;
}

#main-post > .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}


/* =========================================================
   POSTS
========================================================= */

.post-title {
    margin-bottom: 1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 800;
    line-height: 1.1;
    overflow-wrap: break-word;
}

.post-text {
    font-family: Courier, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: break-word;
}

.postlink {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
    color: #fff;
    background-color: blue;
}


/* =========================================================
   FEATURED SLIDER
========================================================= */

.index-feature-slider {
    width: 100%;
}

.carousel,
.carousel-inner {
    width: 100%;
}

.carousel-inner {
    min-height: 38vh;
    max-height: 38vh;
    overflow: hidden;
}

.carousel-inner img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 38vh;
    max-height: 38vh;
    margin: 0 auto;
    object-fit: contain;
}


/* =========================================================
   CAROUSEL CONTROLS
========================================================= */

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    background-color: #000;
    border-radius: 50%;
    opacity: 1;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: .5rem;
}

.carousel-control-next {
    right: .5rem;
}


/* =========================================================
   BLOGROLL
========================================================= */

.side-borders {
    border-left: none;
    border-right: none;
}

#blogroll,
#americanblogroll,
#ai {
    width: 100%;
}

#blogroll > .row,
#americanblogroll > .row,
#ai > .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

#blogroll .section-heading {
    width: 100%;
}

#blogroll .blogroll-content {
    width: 100%;
    margin: 0 auto;
}


/* =========================================================
   ADS
========================================================= */

.ad {
    width: 100%;
    height: 35vh;
    margin: 25vh auto;
    overflow: hidden;
}


/* =========================================================
   NAVIGATION ICONS
========================================================= */
.bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    background: blue;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: color .2s ease, transform .2s ease;
}

.nav-link .bi{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    color: #000;
    font-size: 1rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: color .2s ease, transform .2s ease;
}

.nav-link:hover .bi {
    color: blue;
    transform: scale(1.1);
}


/* =========================================================
   INDEX NAVIGATION
========================================================= */

.index-modern .navbar-nav {
    gap: 0;
}

.index-modern .nav-link {
    gap: 0;
    padding: 1px 2px;
}

.index-modern .nav-link .bi {
    width: auto;
    height: auto;
    font-size: 1rem;
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 575.98px) {

    body {
        padding: .5rem;
    }

    header {
        margin-bottom: 2rem;
    }

    h1 {
        font-size: clamp(2.4rem, 13vw, 4rem);
        line-height: 1;
        letter-spacing: -0.03em;
    }

    .sub-h1 {
        font-size: .72rem;
        line-height: 1.3;
    }

    .index-hero-title {
        font-size: clamp(2rem, 10vw, 3.2rem);
        line-height: .98;
        letter-spacing: -0.035em;
    }

    section > .text-center.p-4 {
        padding: 1rem !important;
    }

    .main-heading {
        font-size: 1.35rem;
        line-height: 1.2;
    }

    .post-title {
        font-size: 1.65rem;
    }

    #main-post .col-md-10 {
        width: 100%;
    }

    .index-feature-slider {
        padding: .25rem !important;
    }

    .carousel-inner {
        min-height: 32vh;
        max-height: 32vh;
    }

    .carousel-inner img {
        height: 32vh;
        max-height: 32vh;
    }

    .ad {
        height: 25vh;
    }

    #krakenCode {
        display: inline-block;
        margin-top: 25vh;
        margin-bottom: 25vh;
        overflow-wrap: anywhere;
    }
}


/* =========================================================
   TABLETS / SMALL DESKTOP
========================================================= */

@media (min-width: 576px) {

    h1 {
        font-size: clamp(3rem, 8vw, 6rem);
        line-height: 1.1;
        letter-spacing: normal;
    }

    .carousel-inner {
        min-height: 42vh;
        max-height: 42vh;
    }

    .carousel-inner img {
        height: 42vh;
        max-height: 42vh;
    }

    .side-borders {
        border-left: 2px solid #000;
        border-right: 2px solid #000;
    }
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 992px) {

    header {
        margin-top: 10vh;
    }

    h1 {
        font-size: 8vw;
    }

    .index-hero-title {
        font-size: clamp(2.7rem, 4vw, 3rem);
    }

    #navhead {
        min-height: 25vh;
    }

    .carousel-inner {
        min-height: 50vh;
        max-height: 50vh;
    }

    .carousel-inner img {
        height: 50vh;
        max-height: 50vh;
    }
}