@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,700;1,400;1,700&family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined&icon_names=balance,content_copy,dark_mode,home,light_mode,menu,menu_open,search,smart_toy&display=block');
@import url('theme.css');

:root {
    --font: "Poppins", sans-serif;
}

code {
    font-family: "Ubuntu Mono", monospace;
    font-size: 1.1rem;
}

body {
    scroll-behavior: smooth;
}

body, nav, header {
    transition: background-color .7s;
}

h1 {
    font-weight: bold;
}

main {
    overflow-y: scroll;
    scrollbar-width: thin;
    padding-bottom: 4rem;
}

button {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

a.wrap article:hover {
    background-color: var(--secondary-container);
}

pre {
    overflow-y: auto;
}

#home .app-hero article {
    height: 100%;
}

#home .app-description article {
    height: 100%;
}

.app-navigation-rail .app-menu {
    margin-top: .2rem;
}

.app-navigation-rail .app-theme-switcher {
    margin-bottom: .9rem;
}

body.light #home img {
    filter: invert(1);
}

.app-law-list article {
    height: 100%;
}

.app-navigation-bar {
    z-index: 200 !important;
}

.app-navigation-drawer {
    z-index: 200;
}

.app-loading-indicator {
    height: 100%;
}

.app-xemantic-logo {
    width: 100%;
}

#german-law h6 {
    overflow: hidden;
    text-overflow: ellipsis;
}

#law-page .app-law-url-field .app-copy-button {
    z-index: 200;
}

.overlay {
    z-index: 200;
}
