:root {
    --navbar-height: 56px;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    overflow-x: hidden;
}

body {
    padding-top: var(--navbar-height);
    /*overflow-x: hidden;*/
}

.root {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--navbar-height));
}

#content-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

main {
    flex-grow: 1;
}

.mpp-navbar {
    --bs-navbar-color: rgba(255, 255, 255, 0.65);
    padding-right: 0 !important;
}

.mpp-nav {
    --bs-link-color: rgba(255, 255, 255, 0.65);
    --bs-nav-link-hover-color: rgba(255, 255, 255, 0.75);
}

.modal-open {
    overflow: auto;
    padding-right: 0 !important;
}

.min-height-200 {
    min-height: 200px;
}

.min-height-300 {
    min-height: 300px;
}

section[id] {
    scroll-margin-top: var(--navbar-height);
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: white;
    padding: 100px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/frontpage_bg.jpeg') no-repeat center center;
    background-size: cover;
    filter: blur(4px) brightness(50%);
    z-index: -1;

    margin: -10px;
}

.hero-text-box {
    background-color: rgba(0, 0, 0, 0.0);
    padding: 2rem;
    border-radius: .5rem;
    display: inline-block;
}

.section-title {
    margin-bottom: 50px;
}

.feature-icon {
    font-size: 3rem;
    color: var(--bs-primary);
}

.table-features {
    min-width: 700px;
    table-layout: fixed;
}

.table-features td {
    text-align: center;
}

.table-features th:first-child {
    width: 35%;
}

.table-markdown {
    max-height: 600px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.table-markdown table {
    margin-bottom: 0;
}

.table-markdown thead {
    position: sticky;
    top: 0;
    background-color: darkgray;
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 60px 0;
    }
}

.changelog-badge-col {
    width: 1%;
    white-space: nowrap;
    text-align: end;
}

.sticky-offset {
    top: 80px;
}

.docs-nav-scroll {
    max-height: calc(100vh - var(--navbar-height) - 3rem);
    overflow-y: auto;
    overflow-x: hidden;
    word-wrap: break-word;
    word-break: break-word;
    scrollbar-color: transparent transparent;
}

.docs-nav-scroll:hover {
    scrollbar-color: auto;
}

.docs-nav-scroll::-webkit-scrollbar {
    width: 8px;
}

.docs-nav-scroll::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 4px;
}

.docs-nav-scroll:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
}

.docs-nav-scroll .nav-link.active {
    color: var(--bs-primary) !important;
    font-weight: 600;
}

.activation-code {
    font-family: 'Courier';
}

.dialog-button {
    min-width: 100px;
}

.form-check-input {
    flex-shrink: 0;
}

#screenshotCarousel .carousel-control-prev-icon,
#screenshotCarousel .carousel-control-next-icon {
    filter: invert(1);
}

#screenshotCarousel .carousel-indicators button {
    background-color: #999999;
    opacity: 0.5;
}

#screenshotCarousel .carousel-indicators .active {
    background-color: #000000;
    opacity: 1;
}

.accordion-button {
    white-space: normal;
}

.alert p:last-child {
    margin-bottom: 0;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
    border-radius: 0;
}
