body {
    max-width: 1000px;
    margin: auto;
    margin-top: 10vh;
    padding-left: 5vw;
    padding-right: 5vw;
}

#theme-switcher {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

#theme-select {
    background: transparent;
    color: var(--text-color) !important;
    background-color: var(--card-bg);
    border: none;
    outline: none;
    font-size: 0.9rem;
    cursor: pointer;
}

.content {
    position: relative;
    height: 60vh;
    left: 0;
    overflow-y: auto;
    /* ✅ enables vertical scroll when content overflows */
    overflow-x: hidden;
    /* optional — prevents horizontal scrollbars */
    scroll-behavior: smooth;
    /* optional — adds smooth scroll effect */
}

/* Container */
.content {
    text-align: center;
    line-height: 1.6;
    padding: 2rem;
}

/* Heading */
.content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Paragraph */
.content p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-color);
}

/* Responsive adjustments */
/* Default font sizes */
.content h1 {
    font-size: 2rem;  /* 32px if root=16px */
}

.content h2 {
    font-size: 1.6rem; /* 25.6px */
}

.content p {
    font-size: 1rem;  /* 16px */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1024px) {
    .content h1 { font-size: 2.2rem; }
    .content h2 { font-size: 1.75rem; }
    .content p  { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .content h1 { font-size: 2rem; }
    .content h2 { font-size: 1.6rem; }
    .content p  { font-size: 1rem; }
}

@media (max-width: 480px) {
    .content h1 { font-size: 1.8rem; }
    .content h2 { font-size: 1.4rem; }
    .content p  { font-size: 0.9rem; }
}

@media (max-width: 360px) {
    .content h1 { font-size: 1.6rem; }
    .content h2 { font-size: 1.2rem; }
    .content p  { font-size: 0.85rem; }
}

