/* Basic layout settings */

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Subtract the navbar height from the total viewport height */
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #fefef4;
    
}

.main-content{
    background-color: #fefef4;
}

.top-navbar {
  background-color: #333;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.top-navbar ul {
    width: 50%;
    text-align: right;
}

.top-navbar ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

.top-navbar ul li a{
    color: #fff;
    text-decoration: none;
}


.profile-pic {
    max-height: 40px; /* Slightly less than the navbar height to maintain padding */
    width: auto; /* Maintain aspect ratio */
    border-radius: 50%;
    cursor: pointer;
    padding-left: 40px;
    padding-right: 300px;
    padding-top: 5px;
    object-fit: cover; /* Ensures the image covers the area properly */
    float: right
}

.sub-menu-wrap{
    position: absolute;
    top: 100%;
    right: 80px;
    width: 300px;
    max-height: 0px;
    overflow: hidden;
}

.sub-menu-wrap.open-menu{
    max-height: 400px;
}

.sub-menu{
    background: #fff;
    padding: 20px;
    margin: 10px;
}

.user-info{
    display: flex;
    align-items: center;
}

.user-info h3{
    font-weight: 500;
}

.user-info img{
    width: 60px;
    margin-right: 15px;
}

.sub-menu hr{
    border: 0;
    height: 1px;
    width: 100%;
    background: #ccc;
    margin: 15px 0 10px;
}

.sub-menu-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #525252;
    margin: 12 px 0;
}

.sub-menu-link p{
    width: 100%;
}

.sub-menu-link span{
    font-size: 22px;
}

.sub-menu-link:hover span{
    transform: translateX(5px);
}

.sub-menu-link:hover p{
    font-weight: 600;
}

/* Sidebar styles */
.sidebar {
    width: 20%;
    background-color: #f4f4f4;
    padding: 15px;
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;
    overflow-y: auto;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar li a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: #333;
}

.sidebar li a:hover {
    background-color: #ddd;
}


.breadcrumb {
    margin-bottom: 10px;
    padding: 5px 0;
    font-size: 0.9em;
    color: #666;
}

.breadcrumb a {
    text-decoration: none;
    color: #0066cc;
    margin-right: 5px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.category-header {
    font-size: 1.5em;
    margin-bottom: 20px;
}



.home-buttons-container {
    flex-grow: 1; /* Ensures it takes up the rest of the space */
    overflow-y: auto; /* Adds scroll to the content area if content overflows */
    padding: 20px;
    box-sizing: border-box; /* Includes padding in the height calculation */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height:100vh;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.home-main-button {
    padding: 10px 20px;
    margin: 10px 0;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #6C4E31;
    color: white;
    font-size: 16px;
    text-align: center;
    width: 200px;
    text-decoration: none;
}

.home-main-button:hover {
    background-color: #0056b3;
}

