@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
    --primary-color: #33c856;
    --secondary-color: #10cbff;
    --text-color: #333;
    --background-color: #f4f4f4;
}

body {
    font-family: 'Nunito', sans-serif !important;
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
}

.navbar-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-grow: 1 !important;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.navbar-nav .nav-item .nav-link {
    padding: 10px 15px;
    color: var(--text-color) !important;
    font-weight: 500;
    transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

.navbar-auth {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px !important;
    white-space: nowrap;
}

#username-expanded {
    color: inherit !important;
    font-weight: bold;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}

#username-expanded:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

.navbar-auth #logout-expanded {
    white-space: nowrap;
}

.navbar-toggler {
    border: 0 !important;
    outline: none !important;
    background-color: transparent !important;
    padding: 4px !important;
    width: 40px !important;
    height: 40px !important;
    transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.navbar-toggler .navbar-toggler-icon {
    width: 30px !important;
    height: 30px !important;
}

.navbar-toggler:hover {
    border: 1px solid rgba(0, 0, 0, 0.4) !important;
    border-radius: 6px !important;
}

.navbar-toggler:focus {
    border: 1px solid rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2) !important;
}

.btn-outline-success {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-success:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-outline-success,
.btn-outline-danger {
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border 0.3s ease-in-out;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://example.com/hero-image.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

footer {
    margin-top: auto;
}

.sort-asc::after {
    content: " ↑";
}

.sort-desc::after {
    content: " ↓";
}

@media (min-width: 992px) {
    .navbar-nav.no-wrap {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-nav.no-wrap .nav-item {
        white-space: nowrap;
    }

    .navbar-nav.no-wrap::-webkit-scrollbar {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .navbar-auth {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 10px !important;
        white-space: nowrap !important;
    }

    .navbar-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-grow: 1 !important;
    }
}

@media (max-width: 991px) {
    .navbar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .navbar-brand {
        margin-left: 15px !important;
    }

    .navbar-toggler {
        margin-right: 15px !important;
    }
}
