body {
    font-family: 'Calibri', sans-serif;
    margin: 0;
    padding: 0;
}

.header-container {
    display: flex;
    background-color: #fefefe;
    margin: 0;
    padding: 0;
    width: 100%;
    position: fixed;
    box-shadow: 2px 2px #440455;
    top: 0; /* Add this line to position at the top */
}

.ul-header .profile-image {
    display: none;
}

.dark-mode .header {
    background-color: #333;
    color: #fff; /* Text color for dark mode */
}

.dark-mode .header a img {
    filter: brightness(0) invert(1); /* Image color inversion for dark mode */
}

.dark-mode .sidebar {
    background-color: #222;
    color: #fff;
}
.dark-mode .sidebar a{
    background-color: #222;
    color: #fff;
}


.header {    
    background-color: #fff;
    color: #333; /* Text color for white mode */
    display: flex;
    flex: 2;
    width: 100%;
    padding: 0;
    margin-right: 0;
}

.header img {
    height: 50px;
    margin-top: 0;
    margin-left: 10px;
}






.ul-header ul, .ul-header li {
    list-style: none;
    margin: 0;
    padding: 8px;
    color: #716e6e;
    display: flex;
    justify-content: space-between;
}

.ul-header a {
    text-decoration: none;
    color: #676464;
    display: block;
    font-size: 18px;
    
}

/* Style for the switch */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(20px);
}
.dark-mode {
    background-color: #333;
    color: #fff;
}
/* sidebar */
.sidebar {
    position: fixed;
    top: 0; /* Initial top value */
    left: 25px;
    bottom: 15px;
    margin-top: 260px;
    width: 270px;
    border: 1px solid #ccc;
    padding: 10px;
    color: #a5a3a3;
    height: fit-content;
    background-color: #ffffff;
    overflow-y: auto;
    transition: top 0.3s ease; /* Add smooth transition */
}


.scrolled-sidebar {
    top: -150px; /* Adjusted top value when scrolled */
}

.category {
    padding-bottom: -33px;
}

.category img {
    width: 25px;
}

.category span {
    vertical-align: middle;
}

.category a {
    text-align: start;
    text-decoration: none;
    color: #3c3c3c;
}

.category .specs p{
    color: #888686;
    margin-left: 45px;
    margin-top: -8px;
}
.element::-webkit-scrollbar {
    width: 0 !important;
}
.parent {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.child {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -17px; /* Adjust this value for cross-browser compatibility */
    overflow-y: scroll;
}


/* footer */
.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end; /* Align the footer to the end */
    padding: 15px;
    background-color: #ffffff; 
    box-shadow: 0px 5px 10px rgba(31, 1, 37, 0.2);
    position: fixed;
    bottom: 0;
    width: 100%;
}


.ul-footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: right; /* Align the list to the right */
}

.ul-footer li {
    display: inline;
    margin-left: 20px; /* Add space between list items if needed */
}

.ul-footer a {
    text-decoration: none;
    color: #333; /* Set your preferred link color */
    font-weight: bold;
}

.icons {
    display: none; /* Initially hide icons on larger screens */
}

.icons li {
    text-align: center;
}

.footer img {
    max-width: 100px; /* Set the maximum width for the logo */
    height: auto; /* Maintain aspect ratio */
}
.desktop-footer {
    position: fixed;
    bottom: -100px; /* Set this value to the height of your footer */
    left: 0;
    right: 0;
    transition: bottom 0.3s ease; /* Add a smooth transition effect */
}

/*.desktop-footer {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    justify-content: space-around;*/
/*    align-items: flex-end;*/
/*    padding: 15px;*/
/*    background-color: #ffffff;*/
/*    box-shadow: 0px 5px 10px rgba(31, 1, 37, 0.2);*/
/*    position: fixed;*/
/*    bottom: 0;*/
/*    height:55px;*/
/*    width: 100%;*/
/*}*/
.desktop-footer .footer-content .logo img {
    height: 70px;
    margin-top: 20px;
    filter: brightness(0) invert(1);
}


/*.desktop-footer .copyright{*/
/*    text-align: center;*/
/*}*/
/*.desktop-footer .ul-footer .footer-section h3{*/
/*text-align:center;*/
/*margin-left:15px;*/
/*}*/

/*.ul-footer .footer-section ul, h3{*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    margin-bottom:10px;*/
/*    align-items:start;*/
/*}*/

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}


@media only screen and (max-width: 768px) {
    .sidebar {
     display: none;
    }

    .ul-header .profile-image {
        display:show;
    }

    .ul-header .menu-item{
        display: none;
    }

    .ul-header ul {
        display: none;
    }

    .ul-header ul.show-mobile {
        display: flex;
        flex-direction: column;
    }

    .ul-header ul.show-mobile li {
        padding: 8px;
        color: #716e6e;
        text-align: center;
    }

    .icons {
        display: flex; /* Show icons on smaller screens */
        justify-content: space-around;
        align-items: center;
    }

    .icons a {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .desktop-footer {
        display: none;
    }
    
    .desktop-footer #footer{
         display: none;
    }

    .footer-container ul {
      display: flex;
      justify-content: space-around;
      width:100%;
    }


}
