:root {
    --main-bg-color: #39373f;
    --darker-bg-color: #27262c;
    --text-color: #ffffff;
    --text-background-color: #bbb
}

@font-face {
    font-family: pcFont;
    src: url("/resources/Michroma.ttf");
}

html {
    color-scheme: light;
    height: 100%;
    margin: 0;
}

body {
    height: 100%;
    margin: 0;
}

body {
    background-color: var(--main-bg-color);
    margin: 0;
    min-height: 100vh;
    font-family: pcFont;
    display: flex;
    flex-direction: column;

    display: grid;
    grid-template-rows: auto 1fr auto;
}

main {
    width: 100%;
    max-width: 1000px;
    justify-content: center;
    margin: 100px auto 1rem auto;
    margin-bottom: 1rem;
    margin-top: 100px;
}

.j-text {
    width: 100%;
    margin: 2rem auto;
    padding: 0 1rem;
    box-sizing: border-box;
    border-top: 2px solid #000000;
    padding-top: 2rem;
}

.j-text h2 {
    font-size: xx-large;
    margin-bottom: 0.5rem;
    text-shadow: -1px 0 var(--text-background-color), 0 1px var(--text-background-color), 1px 0 var(--text-background-color), 0 -1px var(--text-background-color);
}

.j-text p {
    margin-bottom: 1rem;
    line-height: 2;
    max-width: 65ch;
    font-size: 1.2em;
    font-family: pcFont;
}

.j-text ul {
    margin: 2em 0;
    padding-left: 2em;
}

.j-text ul li {
    margin-bottom: 1em;
    line-height: 1.6;
}

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

.paragraphs {
    background-color: var(--text-background-color);
    padding-left: 15px;
    padding-right: 15px
}

.j-widget {
    max-width: 1400px;
    margin: 2rem auto;
}

.j-widget iframe {
    width: 100%;
    height: 850px;
    border: 0;
}

.siteHeader {
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    background-color: var(--darker-bg-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hnav {
    max-width: 1000px;
    margin: 0 auto;
    padding: 14px 20px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navLinks {
    display: flex;
    gap: 28px;
    margin-left: 60px;
}

/* Logo */
.logo img {
    width: 50px;
    height: 50px;
    display: block;
}

.navLinks a {
    color: var(--text-color);
    text-decoration: none;
    font-size: x-large;
    font-weight: 500;
    opacity: 0.85;
    position: relative;
    transition: opacity 0.2s ease;
    /* text-shadow: -1px 0 rgb(211, 211, 211), 0 1px rgb(211, 211, 211), 1px 0 rgb(211, 211, 211), 0 -1px rgb(211, 211, 211); */
}

.navLinks a:hover {
    opacity: 1;
}

/* Elegant underline */
.navLinks a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background-color: currentColor;
    transition: width 0.2s ease;
}

.navLinks a:hover::after {
    width: 100%;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Button style */
.dropbtn {
    cursor: pointer;
    text-decoration: none;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside dropdown */
.dropdown-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    font-size: large;
    color: black;
}

/* Hover effects */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* -------------------- */
/* 📱 Mobile layout */
/* -------------------- */
@media (max-width: 600px) {
    .hnav {
        flex-direction: column;
        gap: 12px;
    }

    .logo img {
        width: 36px;
        height: 36px;
    }

    .navLinks {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .navLinks a {
        font-size: 15px;
    }
}