/* Basic Body Styling */
body {
    background-color: #f8f9fa;
    color: #212529;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Layout Structure */
.layout {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: 250px;
    background-color: #f8f9fa;
    padding: 10px;
    border-right: 1px solid #ddd;
    flex-shrink: 0;
    overflow-y: auto; /* Add this to enable vertical scrolling */
    max-height: 100vh; /* Ensure the sidebar does not exceed viewport height */
}

.sidebar-section {
    margin-bottom: 10px;
}

.accordion {
    background-color: #f8f9fa;
    color: #333;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion i {
    transition: transform 0.3s ease;
}

.accordion.active i {
    transform: rotate(180deg);
}

.panel {
    display: none;
    background-color: #f8f9fa;
    overflow: hidden;
}

.panel a {
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    color: #333;
    font-size: 14px;
}

.panel a:hover {
    background-color: #e2e6ea;
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .sidebar {
        width: 100%;
        border-right: none;
        padding: 0;
    }

    .layout {
        flex-direction: column;
    }

    .main-content {
        padding: 10px;
    }
}


/* Main Content Styling */
.main-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.container {
    border: 1px solid gray;
    max-width: 1000px;
    padding: 0;
    margin-bottom: 20px;
}

.container1 {
    border: none;
}

.container1 p {
    font-size: 2rem;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 30px;
}

.title {
    margin-top: 20px;
    border: none;
}

.c1 {
    margin: 10px;
}

.code-container {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid gray;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
span{
    color: #e744a0 !important;
}

.code-header h1 {
    font-size: 1.5rem;
    margin: 0;
    padding: 0 15px;
}

textarea {
    width: 100%;
    height: 200px;
    padding: 15px;
    font-size: 1rem;
    font-family: monospace;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 5px;
    resize: none;
}

.copy:hover {
    cursor: pointer;
}





/* Sidebar Responsiveness */
@media (max-width: 992px) {
    .sidebar {
        width: 100%;
        border-right: none;
        padding: 0;
    }
    .sidebar-margin{
        margin-top: 1.125rem;
    }

    .layout {
        flex-direction: column;
    }

    .main-content {
        padding: 10px;
    }
}
/* side bar  */



/* --------navbar--------- */
header {
    background-color: #309794;
    margin: 0 auto;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensures navbar stays above other elements */
}

.navbar {
    padding: 10px;
}

.navbar-toggler {
    border-color: #ddd;
}

.navbar-toggler-icon {
    color: #333;
}

nav img {
    width: 3.5rem;
}

.support-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
    text-align: center;
}

.support-section h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #008080; /* Optional: match the color to the theme */
    letter-spacing: 0.1em;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.logo-item {
    flex: 2 2 250px; /* Flex-basis allows wrapping and ensures items are responsive */
    max-width: 200px; /* Maximum width for larger screens */
}

.logo-item img {
    width: 100%;
    height: auto;
}
.layout{
    margin-top: 5.5rem;
}


@media (max-width: 768px) {
    .container1 p {
        font-size: 1rem;

    }
}




