/* Custom 199A Styles */

/* Body and Layout */
body {
    font-family: 'JetBrains Mono', monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container-fluid {
    flex: 1;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
    background-color: white;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Sans', sans-serif;
}

mark {
    background-color: #d7dde0ff;
    padding: 0.2em;
    border-radius: 3px;
}

/* Utilities */
.hover-underline:hover {
    text-decoration: underline !important;
}

/* Language Switcher - Button group styling */
.btn-group {
    position: relative;
    display: inline-flex !important;
    vertical-align: middle;
}

.btn-group > .lang-btn {
    position: relative;
    flex: 0 1 auto;
}

.btn-group > .lang-btn:not(:first-child) {
    margin-left: -1px !important;
}

.btn-group > .lang-btn:not(:last-child) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.btn-group > .lang-btn:not(:first-child) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.btn-group > .lang-btn:hover,
.btn-group > .lang-btn:focus {
    z-index: 1;
}

/* Background Arcs */
.background-arcs {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.arcs-svg {
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.arc {
    transform-origin: center;
    transition: none;
}

/* List Styles */
ul > li {
    margin: 0 10px 10px -30px;
}

/* Responsive */
@media (max-width: 768px) {
    .background-arcs {
        width: 100%;
        opacity: 1;
    }
}
