:root {
    --bg-black-900: #f2f2fc;
    --bg-black-100: #fdf9ff;
    --bg-black-50: #e8dfec;
    --text-black-900: #302e4d;
    --text-black-700: #504e70;
    --transition-speed: 0.5s;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

/* aside */
.aside {
    width: 270px;
    background: var(--bg-black-100);
    position: fixed;
    left: -350px;
    /* Start offscreen */
    top: 0;
    padding: 30px;
    height: 100%;
    border-right: 1px solid var(--bg-black-50);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
    transition: left var(--transition-speed) ease;
}

.aside.open {
    left: 0;
}

/* Logo Styles */
.aside .logo {
    position: relative;
    margin-top: 20px;
    margin-bottom: 0px;
    text-align: center;
}

.aside .logo a {
    color: var(--text-black-900);
    font-weight: 700;
    padding: 15px 20px;
    letter-spacing: 5px;
    position: relative;
    display: inline-block;
}

.aside .logo a span {
    font-family: 'Clicker Script', cursive;
    font-size: 40px;
}

.aside .logo a::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-bottom: 5px solid var(--skin-color);
    border-left: 5px solid var(--skin-color);
    bottom: 0;
    left: 0;
}

.aside .logo a::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-top: 5px solid var(--skin-color);
    border-right: 5px solid var(--skin-color);
    top: 0;
    right: 0;
}

/* Navigation Styles */
.aside .nav {
    width: 100%;
    list-style: none;
    margin-top: 30px;
    padding: 0;
}

.aside .nav li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.aside.open .nav li {
    opacity: 1;
    transform: translateX(0);
}

/* Add staggered delay for each nav item */
.aside .nav li:nth-child(1) {
    transition-delay: 0.1s;
}

.aside .nav li:nth-child(2) {
    transition-delay: 0.2s;
}

.aside .nav li:nth-child(3) {
    transition-delay: 0.3s;
}

.aside .nav li:nth-child(4) {
    transition-delay: 0.4s;
}

.aside .nav li:nth-child(5) {
    transition-delay: 0.5s;
}

.aside .nav li:nth-child(6) {
    transition-delay: 0.6s;
}

.aside .nav li:nth-child(7) {
    transition-delay: 0.7s;
}

.aside .nav li:nth-child(8) {
    transition-delay: 0.8s;
}

.aside .nav li a {
    font-size: 16px;
    font-weight: 600;
    display: block;
    border-bottom: 1px solid var(--bg-black-50);
    color: var(--text-black-900);
    padding: 5px 15px;
    transition: color 0.3s ease;
    width: 100%;
}


.aside .nav li a:hover {
    color: var(--skin-color);
}

.aside .nav li a i {
    margin-right: 15px;
}

/* Navigation Toggler Styles - Hamburger Menu */
.nav-toggler {
    height: 40px;
    width: 45px;
    border: 1px solid var(--bg-black-50);
    cursor: pointer;
    position: fixed;
    left: 30px;
    top: 20px;
    border-radius: 5px;
    background: var(--bg-black-100);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 101;
    transition: all var(--transition-speed) ease;
}

.nav-toggler.open {
    left: 300px;
}

.nav-toggler span {
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

/* Transform into X when open */
.nav-toggler.open span {
    background: transparent;
}

.nav-toggler span::before {
    content: '';
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    position: absolute;
    top: -6px;
    left: 0;
    transition: all 0.3s ease;
}

.nav-toggler.open span::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggler span::after {
    content: '';
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    position: absolute;
    top: 6px;
    left: 0;
    transition: all 0.3s ease;
}

.nav-toggler.open span::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Overlay for closing the menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Content area */
.main-content {
    background-color: var(--bg-black-900);
    padding: 20px;
    padding-left: 20px;
    transition: padding-left var(--transition-speed) ease;
}

/* Email icon style */
.email-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--skin-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.email-icon i {
    color: #fff;
}

/* Media Queries */
@media (max-width: 767px) {
    .aside {
        width: 100%;
        padding-top: 70px;
    }

    .nav-toggler.open {
        left: auto;
        right: 30px;
    }
}