@font-face {
    font-family: 'signature';
    src: url('/Fonts/3d_unicode.ttf') format('truetype');
}

@font-face {
    font-family: 'nino_mtavruli_bold';
    src: url('/Fonts/bpg_nino_mtavruli_bold.ttf') format('truetype');
}


body.dark-theme {
    background-color: #1f1f1f;
    color: #e0e0e0;
}


body.dark-theme a {
    color: #58a6ff;
}

body.dark-theme a:hover {
    color: #79b8ff;
}

body.dark-theme .navbar,
body.dark-theme .dropdown-menu {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border: none;
}

body.dark-theme .dropdown-item {
    color: #e0e0e0;
    background-color: transparent;
}

body.dark-theme .dropdown-item:hover {
    background-color: #3a3a3a;
}


body.dark-theme .detail {
    background-color: #c2c2c2;
}

body.dark-theme button,
body.dark-theme .btn {
    background-color: #333333;
    color: #ffffff;
    border: 1px solid #444;
}

body.dark-theme button:hover,
body.dark-theme .btn:hover {
    background-color: #444444;
}

body.dark-theme input,
body.dark-theme select,
body.dark-theme textarea {
    background-color: #c2c2c2;
    color: #ffffff;
    border: 1px solid #555;
}



body {
    font-family: 'nino_mtavruli_bold', sans-serif;
    background: linear-gradient(309deg, #57b5b9bd, #005a9fde);
}

.Logo {
    display: inline-block;
    transition: transform 0.5s ease;
    margin-left: -10px;
}

.Logo:hover {
    transform: rotate(360deg) scale(1.1);
}

.navbar {
    background: linear-gradient(45deg, #0074be, #86deff);
    font-weight: 500;
    border: 1px solid #000000 !important;
    border-bottom: 1px solid #000000 !important;
}

.footer {
    background: linear-gradient(45deg, #0074be, #86deff);
    font-weight: 500;
    height: 53px;
    border: 1px solid #000000 !important;
}

.list-group {
    max-height: 200px;
    overflow-y: auto;
}

.category {
    background: linear-gradient(45deg, #0074be, #00a0dc);
    margin: auto;
    margin-top: 110px;
    padding: 15px;

    .category-container {
        position: relative;
        display: flex;
        align-items: center;
        border: 1px solid white;
        margin-bottom: 5px;
        transition: transform 0.3s ease;
        width: -webkit-fill-available;
        background-color: #ffffff00;
        height: 57px;
        color: #ffffff;
    }

    .category-container:hover {
        transform: translateY(-5px) rotate(5deg);
        transition: transform 0.3s ease;
        background: linear-gradient(45deg, #060a0d, #00b9ff);
    }

}

.list-group {
    position: absolute;
    z-index: 999999 !important;
}

.list-group-item {
    z-index: 999999999999999999999999;
}

.search-container {
    font-family: 'signature', sans-serif;
    position: relative;
}

#pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.page-btn:hover {
    background-color: #0056b3;
}

.page-btn.active {
    background-color: #0056b3;
    font-weight: bold;
}

.page-btn:disabled {
    background-color: #e0e0e0;
    color: #000000;
    cursor: not-allowed;
}

.page-btn:disabled:hover {
    background-color: #e0e0e0;
}

.page-btn:active {
    transform: scale(0.98);
}

.product-logo {
    position: absolute;
    right: 0;
    width: 60px;
    height: 60px;
    opacity: 0.5;
    z-index: 2;
}

.product-mechanisc {
    position: absolute;
    left: 0px;
    bottom: -1px;
    width: 87%;
    height: 123px;
    z-index: 0;
    opacity: 0.1;
}

.value {
    z-index: 1;
}

.product-container {
    background: linear-gradient(309deg, #4b87d9a1, #2bebff78);
    color: #ffffff;
    transition: transform 0.3s ease;
}

.product-container:hover {
    transform: translateY(-10px);
}

.icon-toggle {
    font-size: 45px !important;
    color: #ffff;
}

.page-btn {
    font-size: xx-small;
}

.category {
    display: block;
}

.icon-toggle {
    display: none;
}

@media (max-width: 1000px) {

    .navbar-nav .dropdown-menu {
        position: absolute;
        z-index: 99999999;
    }

    .dropdown-toggle {
        margin-left: 12px;
    }

    .nav-menu {
        flex-direction: row;

        .nav-menu-item {
            margin-right: 8px;
        }
    }

    .category {
        display: none !important;
    }

    .icon-toggle {
        display: inline-block !important;
        position: fixed !important;
    }

    .category {
        position: fixed;
        top: 0;
        width: 250px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        border: 1px solid #ffffff;
    }

    .search-input {
        width: 94% !important;
    }

    /* .category-container {
        background-color: rgb(255 255 255) !important;
        color: #000000 !important;
    } */

    .category.active {
        display: block !important;
        position: fixed;
        top: 111px;
        left: 0;
        width: 250px;
        z-index: 1000;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    }

    .icon-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
        margin: 10px;
        z-index: 1100;
        position: relative;
        color: #5e626c;
    }

}

#loadingAnimation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

#loadingAnimation img {
    width: 200px;
    height: 100vh;
}


@media (min-width: 1001px) {
    .icon-toggle {
        display: none !important;
    }

    .category {
        position: static;
        left: auto;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
    }

    .icon-toggle {
        display: none;
    }
}