html, body {
    background-color: #202020;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #F5F5F5;
    min-height: 100vh;
    font-size: 1.125rem;
}

.title-container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.issues-title {
    text-align: center;
    font-size: 1.25rem;
}

.sub-title {
    display: flex;
    justify-content: center;
    border-radius: 1rem;
    margin: 0.5rem auto;
    padding: 0.5rem;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 0.5rem;
    justify-content: center;
    margin: 0 auto;
}

#image-changer-panel {
    display: flex;
    flex-direction: column;
}

.menu-btn {
    font: inherit; /* Inherit the font size from the parents. */
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #F5F5F5;
    color: #F5F5F5;
    padding: 5px 10px;
    cursor: pointer;
    text-decoration: none;
    margin: 5px;
}

.menu-btn:hover {
    border-bottom-color: #6151b3;
    transition: border-bottom-color 0.15s ease-out;
}

.selected {
    border-bottom-color: #6151b3;
    font-weight: bold;
}

.container {
    max-width: 90%;
    margin: 2.5rem auto;
    padding: 2.5rem;

    background: linear-gradient(145deg, #404040 0%, #303030 100%);
    color: #F5F5F5;

    display: flex;
    justify-content: center;
    flex-direction: column;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.main-container {
    border-radius: 0.5rem;
}

.credits-container {
    border: 2px solid black;
}

/* Styled links */
a { text-decoration: none; }
a:link { color: #73A5C6; }
a:visited { color: #8f82cb; }
a:active { color: #c673a5; }
a:hover {
    cursor: pointer;
    text-decoration: underline;
}

.top-content-wrapper {
    display: flex;
    justify-content: space-between;

    flex-direction: column-reverse;
    align-items: center; /* Center image on mobile */

    gap: 2.5rem;
    flex-shrink: 0;
}

.content-left {
    flex: 1; /* Space the items equally */
    min-width: 50%;
}

.main-img {
    display: block;
    margin: auto;
    width: 300px;

    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

.sidebar {
    display: block;
    height: auto;
    outline: 1px solid #3c2a68;
    background-color: #202020;
    padding: 1.5rem;

    width: 70%;
}

.info-table {
    outline: 1px solid #3c2a68;
    border-collapse: collapse;
    table-layout: fixed;
    background-color: #202020;
}

.info-table tr:nth-child(even) {
    background-color: #303030;
}

.table-list {
    margin: 0;
    padding: 0;
    list-style: none; /* Removes bullet points */
}

.table-list li + li {
    margin-top: 4px; /* Adds spacing between items */
}

.info-header {
    background-color: #5c4595;
    text-align: center;
}

.table-item {
    padding: 0.5rem;
}

.table-note {
    font-family: sans-serif;
    font-size: 14px;
    color: #a0a0a0;
    margin-top: 8px;
}

.note-title {
    color: #ffffff;
}

.note-text {
    font-weight: bold;
    color: #ff79c6;
}

.hero {
    border-radius: 1rem;
    border: 2px solid #202020;
    background-color: #303030;
}

.video-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

table {
    border-collapse: collapse;
    table-layout: fixed;
}

.img-desc {
    padding: 0.75rem;
    text-align: left;
}

.main-title {
    display: flex;
    justify-content: center;
    background-color: #5c4595;
    margin: 0.5rem auto;
    padding: 0.5rem;
    text-align: center;
    outline: 4px solid #3c2a68;
}

.tag-container {
    display: flex;
    flex-wrap: wrap; /* Wraps tags to next line if space is tight */
    gap: 8px;
    font-family: 'Courier New', monospace; /* Professional dev look */
}

.extra-gap {
    padding-top:1em;
}

/* Desktop properties */
@media (min-width: 1024px) {
    html, body {
        font-size: 1rem;
    }

    .menu-btn {
        font-size: 0.95rem;
    }

    .container {
        max-width: 62.5%;
    }

    .main-img {
        width: auto;
    }

    body {
        font-size: 1rem;
    }

    .top-content-wrapper {
        flex-direction: row;
        align-items: flex-start;
        flex-shrink: 0;
    }

    .sidebar {
        width: 35%;
    }
}