body {
    min-height: 100vh;
    max-width: 2545px;
    margin: 0;
    padding: 0%rem;
    border-left: 0px solid #333;
    border-right: 0px solid #333;
    background-color: #0000cd;
    color: #ffffff;
    overflow-x: hidden;
}

th,
td,
caption {
    border: 0px solid #333;
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: separate;
    padding: 0.5rem;
}

figure {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    overflow: hidden;
}

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

/* WebKit Browsers colorize scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #aa4e57;
}

::-webkit-scrollbar-thumb {
    background: #9b111e;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9b111e;
}

/* Scrollbar buttons */
::-webkit-scrollbar-button {
    background: black;
    /* Keep the arrows black */
}

::-webkit-scrollbar-button:increment,
::-webkit-scrollbar-button:decrement {
    display: block;
    /* Ensure the buttons are displayed */
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #9b111e #aa4e57;
}

/*end scrollbar colorize*/

/*breadcrumbs*/
.search-and-breadcrumb-table {
    width: 100%;
}

.hamburger-container {
    width: 5%;
}

.search-cell {
    padding-top: 1%;
    text-align: left;
}

.breadcrumb-cell {
    /*width: 78%;*/
    text-align: center;
    display: flex;
    align-items: left;
    transition: background-color 1.0s;
    color: #9b111e;
}

.breadcrumb-cell a {
    background-color: 807970;
    transition: background-color 1.0s;
}

.breadcrumb-cell a:hover {
    background-color: #ffffff;
    color: #0000cd;

}

.toggle-switch-cell {
    padding-top: 1%;
    text-align: right;
}

/*new scrolling text styling*/
#slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 50px;
}

#slider-text {
    position: absolute;
    white-space: nowrap;
}

/*mobile device hamburger menu*/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: #0000cdbb;
    backdrop-filter: blur(2px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
    height: 50px;
}

.sidebar-nest {
    position: absolute;
    visibility: hidden;
    text-align: center;
    align-items: center;
    height: 5%;
    width: 90%;
    background-color: rgba(51, 21, 21, 0.1);
}

.sidebar-main-content:hover .sidebar-nest {
    visibility: visible;
    display: flex;
}

/*breadcrumb styling*/
.search-and-breadcrumb-table {
    width: 100%;
}

.search-cell {
    width: 12%;
}

.breadcrumb-cell {
    width: 78%;
    display: flex;
    align-items: left;
    transition: background-color 1.0s
}

.breadcrumb-cell a {
    background-color: 0000cd;
    transition: background-color 1.0s;
}

.breadcrumb-cell a:hover {
    background-color: #ffffff;
    color: #0000cd;
}

/*nav to bottom buttons*/
.nav-to-bottom-right {
    text-align: right;
    size: 50%;
}

.nav-to-bottom-right a:hover {
    background-color: #0000cd !important;
}

.nav-to-bottom-left {
    text-align: left;
    size: 50%;
}

.nav-to-bottom-left a:hover {
    background-color: #0000cd !important;
}

/*nav to bottom table*/
.nav-to-bottom-table {
    margin: 0;
    text-align: left;
    float: right;
}

.nav-to-bottom-table a:hover {
    background-color: #ffffff;
    color: #0000cd;
}

/*content red*/
.content-red {
    box-shadow: 10px 10px 10px #000000;
    margin: 0;
    background-color: #9b111e;
    border-radius: 0 0 0 0;
    text-align: left;
    text-decoration: none;
    color: white;
    float: right;
}

.content-red a {
    position: relative;
    color: white;
    text-decoration: none;
}

.content-red a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: white;
    visibility: hidden;
    transition: all 0.6s ease-in-out;
}

.content-red a:hover::after {
    visibility: visible;
    width: 100%;
}

/*quick nav link click margin*/
#latest {
    scroll-margin-top: 125px;
}

#upcoming {
    scroll-margin-top: 125px;
}

#featured {
    scroll-margin-top: 125px;
}

#socials {
    scroll-margin-top: 125px;
}

/*linked paragraph to italicize on hover-over*/
.linked-paragraph:hover {
    font-style: italic;
}

/*content blue*/
.content-blue {
    margin-top: .75%;
    background-color: #0000cd;
    text-align: left;
    text-decoration: none;
    color: white;
    float: right;
}

.content-blue a:hover {
    background-color: #ffffff;
    color: #0000cd;
}

/*content text*/
.content-text {
    box-shadow: 10px 10px 10px #000000;
    background-color: #807970;
    text-align: left;
    text-decoration: none;
    color: white;
    float: right;
}

.content-td {
    padding-right: 5%;
    text-align: justify;
}

/*thumbs dynamic sizing*/
.thumbs {
    width: 100%;
    height: auto;
    max-width: 267px;
    border-radius: 5px;
}

/*button shine*/
.button-shine {
    width: 100%;
    height: auto;
    max-width: 267px;
    background-size: cover;
    border-radius: 0%;
    box-shadow: rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.button-shine::before {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    height: 200px;
    width: 60px;
    border-radius: 0%;
    left: -150%;
    transform: skewX(-30deg);
}

.button-shine:hover::before {
    animation: slide 1.3s;
}

@keyframes slide {

    0%,
    100% {
        left: -150%;
    }

    50% {
        left: 96%
    }
}

/*back to top*/
.back-to-top {
    padding-top: 1%;
    width: 100%;
    text-align: center;
}

/*html bottom links*/
#links-container {
    text-align: center;
}

#links a:hover {
    background-color: #ffffff;
    color: #0000cd;
}

/*fonts sizes*/
h1,
h2,
h3 {
    font-size: 1.2em;
}

table {
    font-size: 1em;
}

nav {
    font-size: .9em;
}

/*small tablet styles*/
@media screen and (min-width: 300px) {

    body {
        font-size: 8px;
    }

    p {
        padding-left: 0px;
        padding-right: 0px;
    }

    .hamburger {
        width: 48px;
        height: 48px;
    }

    .sidebar {
        width: 100%;
    }

    .back-img {
        max-width: 10%;
        max-height: auto;
    }

    .to-bottom-img {
        max-width: 10%;
        max-height: auto;
    }

    .content-red {
        width: 100%;
    }

    .nav-to-bottom-table {
        width: 100%;
    }

    .content-blue {
        width: 100%;
    }

    .content-text {
        width: 100%;
    }

    .recommended-links {
        text-align: center;
        margin: 20px auto;
        display: none;
    }

    /*random article styling phones */
    .dice {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .dice-img {
        margin-left: 10px;
        max-width: 20%;
        max-height: auto;
        cursor: pointer;
    }

    /*cascading menu*/
    .side-menu {
        width: 0%;
        background-color: #0000cd;
        /* border-right: 1px solid #000000; */
        position: absolute;
        top: 10%;
        height: 100%;
        overflow: hidden;
        z-index: 1000;
        /* Keep menu above other elements */
    }

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

    .side-menu ul li {
        padding: 10px;
        cursor: pointer;
    }

    .side-menu ul li:hover {
        background-color: #9b111e;
    }

    .sub-menu {
        padding-left: 20px;
    }

    /*text that appears below the main image*/
    .below-image-paragraph {
        display: none;
    }

    /*typed text animation text size*/
    .typed {
        font-size: 6px;
    }
}

/* large teablest and laptop styles*/
@media screen and (min-width: 860px) {

    body {
        font-size: 13px;
    }

    p {
        padding-left: 50px;
        padding-right: 50px;
    }

    .hamburger {
        width: 80px;
        height: 80px;
    }

    .sidebar {
        width: 50%;
    }

    .back-img {
        max-width: 30%;
        max-height: auto;
    }

    .to-bottom-img {
        max-width: 30%;
        max-height: auto;
    }

    .content-red {
        width: 100%;
    }

    .nav-to-bottom-table {
        width: 100%;
    }

    .content-blue {
        width: 100%;
    }

    .content-text {
        width: 100%;
    }

    .recommended-links {
        text-align: center;
        margin: 20px auto;
        display: none;
    }

    /*random article styling tablets */
    .dice {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .dice-img {
        margin-left: 10px;
        max-width: 50%;
        max-height: auto;
        cursor: pointer;
    }

    /*cascading menu*/
    .side-menu {
        width: 0%;
        background-color: #0000cd;
        /* border-right: 1px solid #000000; */
        position: absolute;
        top: 20%;
        height: 100%;
        overflow: hidden;
        z-index: 1000;
        /* Keep menu above other elements */
    }

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

    .side-menu ul li {
        padding: 7px;
        cursor: pointer;
    }

    .side-menu ul li:hover {
        background-color: #9b111e;
    }

    .sub-menu {
        padding-left: 20px;
    }

    /*text that appears below the main image*/
    .below-image-paragraph {
        display: none;
    }

    /*typed text animation text size*/
    .typed {
        font-size: 13px;
    }
}

/*desktop styles */
@media screen and (min-width: 1400px) {

    body {
        font-size: 18px;
    }

    p {
        padding-left: 100px;
        padding-right: 100px;
    }

    h3 {
        padding-left: 1.25%;
    }

    .hamburger {
        padding-left: 1%;
        width: 100px;
        /*was 0px*/
        height: 100px;
        /*was 0px*/
    }

    .sidebar {
        width: 50%;
        font-size: 1.5rem;
    }

    .sidebar li {
        padding-top: 5%;
    }

    .content-red {
        width: 100%;
        /*was 91%*/
    }

    .nav-to-bottom-table {
        width: 100%;
        /*was 91%*/
    }

    .content-blue {
        width: 100%;
        /*was 91%*/
    }

    .content-text {
        width: 100%;
        /*was 91%*/
    }

    .recommended-links {
        text-align: center;
        margin: 20px auto;
        display: contents;
    }

    /*random article styling desktop */
    .dice {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .dice-img {
        margin-left: 10px;
        max-width: 100%;
        max-height: auto;
        cursor: pointer;
    }

    /*cascading menu*/
    .side-menu {
        width: 0%;
        /*was 8%*/
        padding-right: 0%;
        /*was 1%*/
        padding-top: 0%;
        /*was 7%*/
        background-color: rgba(0, 0, 205, .0);
        /* position: absolute; */
        /* top: 30%; */
        height: 100%;
        overflow: hidden;
        z-index: 1000;
        /* Keep menu above other elements */
    }

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

    .side-menu ul li {
        margin-top: 10%;
        padding: 10px;
        cursor: pointer;
        box-shadow: 15px 5px 15px #000000;
    }

    .side-menu ul li:hover {
        background-color: #680c15;
    }

    .sub-menu {
        padding-left: 20px;
    }

    /* Applies to both main and submenu links */
    .side-menu a {
        position: relative;
        color: white;
        text-decoration: none;
        display: inline-block;
        width: 100%;
        /* Ensures full-width clickable area */
        padding-bottom: 2px;
        transition: color 0.3s ease;
    }

    /* Animated white underline */
    .side-menu a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 2px;
        background-color: white;
        transition: width 0.6s ease;
    }

    /* Animate underline on hover */
    .side-menu a:hover::after {
        width: 100%;
    }

    /*text that appears below the main image*/
    .below-image-paragraph {
        display: contents;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20%;
        padding-right: 15%;
    }

    /*typed text animation text size*/
    .typed {
        font-size: 22px;
    }
}