/* Sidebar Styling */
.sidebar {
    width: 5.25vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #343a40;
    color: white;
    padding-top: 20px;
    overflow-y: auto;
    background: linear-gradient(
        to bottom,
        rgba(90, 58, 27, 0.6) 0%,
        rgba(90, 58, 27, 0) 100%
    );
    z-index: 5;
}

.sidebar a {
    color: white;
    display: block;
    padding: 10px 0px;
    text-decoration: none;
    width: 100%;
}

.sidebar a:hover {
    background-color: #495057;
}

.main-icon {
    font-size: 1.8em;
}

.secondary-icon {
    font-size: 1.8em;
}

.middle-content {
    padding-top: 18vh;
}

@media (max-width: 991px) {
    .sidebar {
        max-width: 30px;
        width: 8vw;
        height: 20vh;
    }

    .middle-content {
        display: none;
    }
}

@media (max-width: 1200px) {
    .main-icon {
        font-size: 1.5em;
    }

    .secondary-icon {
        font-size: 1.5em;
    }
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #6a1e15;
    /* Adjust color to match the style */
    color: white;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 200;
}

/* Menu Content */
.menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    left: 10px;
    font-size: 40px;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* Menu Items */
.fullscreen-menu ul {
    list-style: none;
    padding: 0;
}

.fullscreen-menu ul li {
    margin: 15px 0;
}

.fullscreen-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 25px;
}

@media (max-width: 576px) {
    .fullscreen-menu ul li a {
        font-size: 18px;
    }
}


.horizontal-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
}

.horizontal-menu li {
    display: flex;
    align-items: center;
    white-space: nowrap; /* Prevents text from breaking */
}

/* Add pipe `|` separator between items */
.horizontal-menu li:not(:last-child)::after {
    content: " | ";
    margin-left: 15px;
    color: white;
}

/* Style links */
.horizontal-menu a {
    text-decoration: none;
}

/* On small screens, center-align and stack the menu */
@media (max-width: 576px) {
    .horizontal-menu {
        flex-direction: column;
        gap: 0px;
    }

    .horizontal-menu li:not(:last-child)::after {
        content: "";
        margin-left: 0px;
        color: white;
    }

    .fullscreen-menu ul li {
        margin: 5px 0;
    }
}
