body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #9e0059;
    color: #ffbd00;
}

.navbar {
    background-color: #390099;
    color: #ffffff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

  


.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.bar {
    background-color: #ffffff;
    height: 3px;
    width: 25px;
    margin: 5px 0;
}
.nav-links {
    list-style: none;
    display: flex;
}
.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}
.side-panel {
    position: fixed;
    width: 200px;
    background-color: #f1f1f1;
    top: 0;
    left: 0;
    height: 100%;
    padding: 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}
  .side-panel a {
    display: block;
    color: black;
    padding: 8px;
    text-decoration: none;
  }

  .side-panel a:hover {
    background-color: #ddd;
    color: black;
  }
.profile-icon img {
    height: 30px;
    border-radius: 50%;
}
.main-banner {
    background-color: #9e0059;
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}
.topic-buttons button {
    margin: 10px;
    padding: 15px 25px;
    background-color: #ff5400;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.topic-buttons button:hover {
    background-color: #ffbd00;
}

.container1 {
    padding: 20px;
    text-align: center;
}

.button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
  }
.button:hover {
    background-color: #0056b3;
  }
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px;
}

.card {
    background: #9e0059;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    color: white;
}

.card:hover {
    transform: scale(1.05);
    background-color: #ff0054;
}

.card img {
    width: 100%;
    height: auto;
    max-width: 400px;
    max-height: 300px;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.card-content p {
    margin: 10px 0 0;
    color: #ffffff;
    font-size: 0.9em;
}
.main-content {
    margin-left: 200px; /* Adjust based on the side panel width */
    padding: 20px;
  }
  .main-content h2 {
    color: #390099;
}

.main-content h3 {
    color: #ff5400;
}
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #390099;
        width: 100%;
        position: absolute;
        top: 50px;
        left: 0;
        padding: 10px;
    }

    .nav-links.active {
        display: flex;
    }
    .side-panel {
        width: 100%;
        height: auto;
        position: relative;
        box-shadow: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 10px;
    }
    .main-content {
        margin-left: 0;
        padding: 10px;
    }

}