@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --primary-color: #6366F1;
    --accent-color: #3f83f8;
    --text-color: #333333;
    --link-color: #2563eb;
    --background-color: #ffffff;
    --light-gray: #f0f0f0;
    --gray: #808080;
    --dark-gray: #555;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

body {
    height: 100vh;
    text-align: center;
    background-color: var(--background-color);
    padding: 0.1rem;
}

/* Sidebar Styling */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden initially */
    width: 300px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    transition: right 0.3s ease-in-out;
    z-index: 100;
}

.sidebar-menu .close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    align-self: flex-end;
    cursor: pointer;
}

.sidebar-menu .menu-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-menu .menu-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s;
}

.sidebar-menu .menu-link:hover {
    color: #718096;
}

/* Show sidebar when active */
.sidebar-menu.active {
    right: 0;
}

/* Responsive Adjustments */
@media screen and (max-width: 853px) {
    .nav {
        display: none;
    }

    .hamburgerButton {
        display: block;
    }
}

/* Sidebar Styling */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 200px;
    height: 100%;
    background-color: var(--light-gray);
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    overflow-y: auto;
}

/* Show Sidebar when active */
.sidebar.active {
    right: 0;
}

/* Close button styling */
.sidebar .close-btn {
    align-self: flex-end;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.sidebar .close-btn:hover {
    color: var(--primary-color);
}

/* Menu Styling */
.sidebar .menu-list {
    margin-top: 2rem;
    list-style: none; /* Remove default list-style */
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Increased gap between items */
}

.sidebar .menu-list li {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.sidebar .menu-list li:hover {
    background-color: var(--primary-color);
    transform: translateX(10px);
    cursor: pointer;
}

/* Menu Link Styling */
.sidebar .menu-list li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.3s ease;
}

.sidebar .menu-list li a:hover {
    color: var(--background-color);
}

/* Icon Styling */
.sidebar .menu-list li i {
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.sidebar .menu-list li:hover i {
    color: var(--background-color);
}

/* Social Media Styling */
.sidebar .social-media {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.sidebar .social-media a {
    font-size: 1.5rem;
    color: var(--gray);
    transition: color 0.3s ease, transform 0.2s ease;
}

.sidebar .social-media a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}
