@import url("https://fonts.googleapis.com/css2?family=Exo:ital,wght@1,100&display=swap");

:root {
    --effortless-blue: #6a8eff;
    --effortless-gray: #373737;
    --effortless-green: #8adbae;
    --effortless-white: #f4f4f4;
    --primary-color: #6a8eff;
    --header-color: #6a8eff;
    --secondary-color: #373737;
    --tertiary-color: #8adbae;
    --text-color: #373737;
    --hover-color: var(--effortless-green);
    --background-color: #f4f4f4;
    --navbar-color: #373737;
    --sidebar-width: 20%;
    --sidebar-collapsed-width: 0px;
    --feature-font: "Exo", sans-serif;
    --body-font: "Arial", sans-serif; /* Add your body font here */
}

* {
    /* Change colors smoothly for theme changes */
    transition: color 0.3s ease, background-color 0.3s ease;
    margin-right: auto;
    margin-left: auto;
}

body {
    font-family: var(--body-font); /* Use the body font */
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    text-align: center;
}

nav {
    background-color: var(--navbar-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: var(--hover-color);
}

main {
    margin: 5rem auto 2rem;
    padding: 0 1rem;
    margin-left: 0px;
}

h1,
h2,
h3 {
    color: var(--secondary-color);
    font-family: var(--feature-font);
    text-align: center;
}

.feature {
    font-family: var(--feature-font); /* Use the feature font */
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.feature i {
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.banner-logo {
    max-width: 80vw;
    height: auto;
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .banner-logo {
        width: 90vw !important;
        max-width: 90vw !important;
    }
}

#sidebarToggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

#sidebarToggle.open {
    transform: rotate(90deg);
}

#sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background-color: var(--navbar-color);
    color: var(--text-color);
    padding: 0px;
    padding-top: 5rem;
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 999;
    border-right: 2px solid var(--navbar-color);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

#sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
    padding: 0;
    border: none;
}

#sidebar.collapsed * {
    display: none;
}

#sidebar a {
    color: var(--background-color);
}

#sidebar ul {
    display: flex; /* Use flexbox for the ul */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

#sidebar ul li {
    width: 100%; /* Make li take full width */
    text-align: center; /* Center text within li */
    margin: 0.5rem 0; /* Add some vertical spacing between items */
    list-style: none;
}

main {
    padding: 1rem;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }

    #sidebar {
        transform: translateX(-100%);
        width: 100%;
        padding-top: 5rem;
    }

    #sidebar.active {
        transform: translateX(0);
    }

    main {
        margin-left: 0;
    }

    body.sidebar-active main {
        pointer-events: none;
    }
}

#themeToggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    margin-top: 1rem;
}

#themeToggle:hover {
    color: var(--primary-color);
}

/* Add this to your existing styles.css */
.dropdown {
    display: none;
    list-style-type: none;
    padding-left: 1rem;
}

.dropdown-toggle {
    cursor: pointer;
    color: var(--header-color);
    font-weight: bold;
}

.dropdown-toggle:hover {
    text-decoration: underline;
}

.no-transition {
    transition: none !important;
}
.tab {
    flex: 1;
    padding: 15px 20px;
    background-color: var(--navbar-color);
    color: var(--background-color);
    text-align: center;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 100px;
}

.tab.minimal {
    flex: 0 1 auto;
    min-width: fit-content;
    padding: 5px 10px;
    border-radius: 10px;
}

.tab a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.tab:hover {
    background-color: var(--hover-color);
    color: var(--effortless-gray);
}

.tab-back,
.tab-forward {
    position: relative;
}

.tab-back {
    padding-left: 40px !important;
}

.tab-forward {
    padding-right: 40px !important;
}

.tab-back::before,
.tab-forward::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transform: translateY(-50%);
}

.tab-back::before {
    left: 15px;
    border-right: 8px solid var(--background-color);
}

.tab-forward::after {
    right: 15px;
    border-left: 8px solid var(--background-color);
}

.tab-back:hover::before {
    border-right-color: var(--effortless-gray);
}

.tab-forward:hover::after {
    border-left-color: var(--effortless-gray);
}

.tab-highlight.tab-forward::after {
    border-left: 8px solid var(--hover-color);
}
.tab-highlight.tab-back::before {
    border-right: 8px solid var(--hover-color);
}

.tab-highlight.tab-forward:hover::after {
    border-left: 8px solid var(--primary-color);
}
.tab-highlight.tab-back:hover::before {
    border-right: 8px solid var(--primary-color);
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px auto;
    width: 100%;
    gap: 10px;
}

.button-container.minimal {
    width: fit-content;
}

.button-container:first-of-type {
    margin-top: 30px;
}

.button-container:not(:first-of-type) {
    margin-top: 10px;
}

.titled-container {
    background-color: color-mix(in srgb, var(--background-color) 90%, black);
    width: fit-content;
    margin: 0 auto;
    padding: 5px 20px;
    border-radius: 15px;
}