html {
    font-size: 14px;
}

.h2, h2 {
    font-size: 1.75rem !important;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 600px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* remove the gap so it doesn't close */
        right:0;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.help-container #help-toggle {
    z-index: 100;
}


.help-container #help-content {
    margin-top: 1rem;
    max-width: 300px;
    background-color: var(--bs-body-bg);
    z-index: 101;
}

#apps-content {
    margin-top: 1rem;
    max-width: 300px;
    background-color: var(--bs-body-bg);
    z-index: 101;
}

.app-icon {
    width: 1.5em;
    fill: white;
}

.todocategory {
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

.handle {
    cursor: move;
}

.spiciness-indicator {
    position: absolute;
    font-size: 0.6rem;
    transform: translateY(-100%);
}
.strikethrough {
text-decoration: line-through;
}

.progress-00 {
    background: var(--bs-body-bg) !important;
}
.progress-10 {
    background: linear-gradient(to right, var(--bs-tertiary-color) 0%, var(--bs-tertiary-color) 10%, var(--bs-body-bg) 10%, var(--bs-body-bg) 100%) !important;
}
.progress-20 {
    background: linear-gradient(to right, var(--bs-tertiary-color) 0%, var(--bs-tertiary-color) 20%, var(--bs-body-bg) 20%, var(--bs-body-bg) 100%) !important;
}
.progress-30 {
    background: linear-gradient(to right, var(--bs-tertiary-color) 0%, var(--bs-tertiary-color) 30%, var(--bs-body-bg) 30%, var(--bs-body-bg) 100%) !important;
}
.progress-40 {
    background: linear-gradient(to right, var(--bs-tertiary-color) 0%, var(--bs-tertiary-color) 40%, var(--bs-body-bg) 40%, var(--bs-body-bg) 100%) !important;
}
.progress-50 {
    background: linear-gradient(to right, var(--bs-tertiary-color) 0%, var(--bs-tertiary-color) 50%, var(--bs-body-bg) 50%, var(--bs-body-bg) 100%) !important;
}
.progress-60 {
    background: linear-gradient(to right, var(--bs-tertiary-color) 0%, var(--bs-tertiary-color) 60%, var(--bs-body-bg) 60%, var(--bs-body-bg) 100%) !important;
}
.progress-70 {
    background: linear-gradient(to right, var(--bs-tertiary-color) 0%, var(--bs-tertiary-color) 70%, var(--bs-body-bg) 70%, var(--bs-body-bg) 100%) !important;
}
.progress-80 {
    background: linear-gradient(to right, var(--bs-tertiary-color) 0%, var(--bs-tertiary-color) 80%, var(--bs-body-bg) 80%, var(--bs-body-bg) 100%) !important;
}
.progress-90 {
    background: linear-gradient(to right, var(--bs-tertiary-color) 0%, var(--bs-tertiary-color) 90%, var(--bs-body-bg) 90%, var(--bs-body-bg) 100%) !important;
}
.progress-100 {
    background: var(--bs-tertiary-color) !important;
}
@media (max-width: 1200px) {
    /* Define the grid for the first unordered list in the collapsed menu */
    .navbar-collapse .navbar-nav:first-of-type {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Adjust number of columns as needed */
        gap: 10px; /* Gap between the grid items */
        padding: 10px;
    }

    /* Style each menu item in the first unordered list as a square button */
    .navbar-nav:first-of-type .nav-item {
        display: flex;
        align-items: center;
        justify-content: center;
        border-width: 2px !important;
        width: 100px; /* Adjust width for square size */
        height: 100px; /* Adjust height for square size */
    }

        .navbar-nav:first-of-type .nav-item .nav-link {
            display: flex; /* Use flexbox for centering */
            align-items: center; /* Center vertically */
            justify-content: center; /* Center horizontally */
            width: 100%;
            height: 100%;
            text-align: center;
            padding: 0;
        }

    /* Make the menu float downwards from the navbar */
    .navbar-collapse {
        position: absolute;
        right:10px;
        top: 100%; /* Align with the bottom of the navbar */
        width: 100%; /* Make sure the menu takes the full width of its container */
        max-width: 230px;
        background-color: var(--bs-body-bg); /* Set an appropriate background color */
        z-index: 1000; /* High z-index to ensure it's above other content */
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for better separation from content */
    }
}
