:root {
    --font-color-primary: #e0e0e0;
    --desktop-menu-width: 15rem;
    --mobile-menu-width: 10rem;
    scrollbar-color: rgba(255, 0, 0, 0.6) rgba(0, 0, 0, 0.6);
}

::-webkit-scrollbar {
    width: auto;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 0, 0, 0.8); 
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 0, 0, 0.6);
}

* {
    box-sizing: border-box;
    color: var(--font-color-primary);
    font-family: 'audiowide';
    font-size: 1rem;
    text-decoration: none;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    border-radius: 10px;
}

a {
    color:rgb(255, 0, 0);
}

a.content-container {
    display: flex;
    height: 3rem;
    max-width: max-content;
    flex-direction: row;
    align-items: center; 
    flex-wrap: nowrap;
    gap: 0.5vw;
}

a.content-container img {
    height: 2.5rem;
    width: auto;
}

a.content-container:hover {
    box-shadow: 0 0 0.5rem 0.5rem rgba(255, 0, 0, 0.8);
}

a:hover, a:visited:hover {
    text-decoration: underline;
}

a:visited {
    color:rgb(255, 80, 80);
}

body, html {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.85);
    background-image: url("/images/branding/obsidian_core.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
    z-index: 0;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

code {
    background-color: rgba(73, 73, 73, 0.75);
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    text-align: center;
}

hr {
    border: none;
    height: 0.3rem;
    width: 100%;
    background-color: var(--font-color-primary);
    margin: 0.3rem auto;
}

h1 {
    display: flex;
    align-items: center;
    font-size: 4rem;
}

h2 {
    display: flex;
    align-items: center;
    font-size: 3.5rem;
}

h3 {
    display: flex;
    align-items: center;
    font-size: 3rem;
}

h4 {
    display: flex;
    align-items: center;
    font-size: 2.5rem;
}

h5 {
    display: flex;
    align-items: center;
    font-size: 2rem;
}

h6 {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.highlight {
    box-shadow: 0 0 10px rgba(255, 0, 0, 1);
    padding-left: 0.15rem;
    padding-right: 0.15rem;
}

header {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 1000;
}

li {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-family: 'Exo 2';
}

.link-panel > ul {
    margin-left: 1rem;
    margin-right: 0;
}

.link-panel > ul > li {
    text-indent: 0rem;
}

main {
    display: flex;
    flex: 1;
    flex-direction: row;
    padding: 0.25rem; /* Prevents content border glow from being cut off.*/
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 5rem;
    width: 100%;
    z-index: 0;
}

.no-indent {
    text-indent: 0rem;
}

.no-padding {
    padding: none;
}

ol, ul {
    margin-left: 4rem;
    margin-right: 4rem;
}

p {
    text-align: left;
    text-indent: 3rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-family: 'Exo 2';
}

strong {
    font-family: 'Exo 2';
}

/* Top indicator for mobile */
.top-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background-color: transparent; /* Default invisible */
    z-index: 1000;
    transition: background-color 0.3s ease-in-out;
}

.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.warning {
    color: red;
    text-decoration: underline;
}