/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #222;
    color: white;
    height: 100vh;
    padding: 20px;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    z-index: 10;
}

.sidebar h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Sidebar Menu */
.menu {
    list-style: none;
    padding: 0;
}

.menu li {
    margin-bottom: 10px;
}

.dropdown-btn {
    width: 100%;
    background: #444;
    color: white;
    border: none;
    padding: 10px;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.dropdown-btn:hover {
    background: #555;
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    background: #333;
    padding-left: 20px;
}

.dropdown-content li {
    padding: 8px;
    cursor: pointer;
    color: white;
    transition: 0.3s;
}

.dropdown-content li:hover {
    background: #555;
}

/* Main Content */
.main-content {
    margin-left: 270px;
    padding: 20px;
    flex-grow: 1;
    width: calc(100% - 270px);
    height: 50px;
}

/* 📌 Fixed Navbar Alignment */
.top-nav {
    width: 100%;
    background: #6f3dee;
    padding: 10px;
    height: 100%;
    display: flex;
    justify-content:space-evenly; /* Center-aligns buttons */
    gap: 20px;
    border-radius: 8px;
    position: center;
    text-align: center;
    margin-left: 80px;
    box-shadow: #222;
}

/* 🏆 Stylish Navigation Buttons */
.nav-btn {
    background: white;
    color: #007BFF;
    border: none;
    padding: 12px 18px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
    min-width: 160px; /* Ensures equal width for all buttons */
}

.nav-btn:hover {
    background: #43ea62;
    color: white;
}

/* Course Material Display */
#content-display {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    margin-left: 155px;
    max-width: 900px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Centers content */
}

#content-display h2 {
    color: #222;
}

.logo{
    font-family:cursive
}

.virtual-class {
    width: 100%;
    background: #444;
    color: white;
    border: none;
    padding: 10px;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}