.top-nav {
    width: 100vw;
    background: #23272a;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    overflow-x: auto;
}
.top-nav a {
    color: #8ab4f8;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
}
.top-nav a:hover {
    background: #8ab4f8;
    color: #181a1b;
}
.font-size-controls {
    position: fixed;
    top: 1.2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
}
.font-size-controls button {
    background: #23272a;
    color: #8ab4f8;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.font-size-controls button:hover {
    background: #8ab4f8;
    color: #181a1b;
}
body {
    background-color: #181a1b;
    color: #e0e0e0;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.container-row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    margin-top: 2.5rem;
}
@media (max-width: 800px) {
    .container-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .container {
        width: 90vw;
        max-width: 500px;
        min-width: unset;
    }
    .font-size-controls {
        right: 1rem;
        top: 0.7rem;
    }
    form[action*="brave"] {
        max-width: 95vw !important;
    }
}
 .container {
    background: #23272a;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.3);
    /* Removed margin-top so both containers align at the top */
}
h1 {
    margin-bottom: 1.5rem;
}
nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
a {
    color: #8ab4f8;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s;
}
a:hover {
    color: #bb86fc;
}
p {
    font-size: 1.1rem;
}
