:root {
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary: #ffd166;
    --accent: #ef476f;
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --light: #ffffff;
    --gray: #8d99ae;
    --gray-light: #f8f9fa;
    --gold: #ffd700;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle .hamburger,
.menu-toggle .close {
    position: absolute;
    width: 20px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-toggle .hamburger span {
    width: 100%;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle .hamburger span:nth-child(1) {
    transform-origin: top left;
}

.menu-toggle .hamburger span:nth-child(3) {
    transform-origin: bottom left;
}

.menu-toggle .close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.menu-toggle .close span {
    width: 100%;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    position: absolute;
    top: 50%;
    left: 0;
}

.menu-toggle .close span:first-child {
    transform: rotate(45deg);
}

.menu-toggle .close span:last-child {
    transform: rotate(-45deg);
}

.menu-toggle.active .hamburger {
    opacity: 0;
    transform: rotate(90deg);
}

.menu-toggle.active .close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding-top: 100px;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar.active {
    left: 0;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.sidebar nav a {
    color: var(--light);
    text-decoration: none;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0.8;
    transform: translateX(-20px);
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar.active nav a {
    opacity: 1;
    transform: translateX(0);
}

.sidebar.active nav a:nth-child(1) { transition-delay: 0.1s; }
.sidebar.active nav a:nth-child(2) { transition-delay: 0.2s; }
.sidebar.active nav a:nth-child(3) { transition-delay: 0.3s; }
.sidebar.active nav a:nth-child(4) { transition-delay: 0.4s; }

.sidebar nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar nav a:hover::before {
    transform: scaleY(1);
}

.sidebar nav a:hover {
    color: var(--secondary);
    padding-left: 30px;
    background: rgba(255, 255, 255, 0.02);
}

.sidebar nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray);
    margin-top: 10px;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.6)),
        url('./assets/bg.png');
    background-size: cover;
    background-position: center;
    animation: backgroundPan 30s linear infinite;
}

@keyframes backgroundPan {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.fade-in {
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(40px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.slide-up {
    animation: slideUp 1.2s ease-out 0.3s both;
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--light) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: var(--light);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    letter-spacing: 1px;
    gap: 10px;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--light);
}

.pulse {
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-icon {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--secondary);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0); 
    }
    100% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(15px); 
    }
}

.menu-section {
    background: var(--light);
    color: var(--dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
        url('./assets/pizza.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.menu-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.menu-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    animation: reveal 1s ease-out forwards;
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.menu-item {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    opacity: 0;
    animation: menuItemAppear 0.6s ease-out forwards;
}

@keyframes menuItemAppear {
    to { opacity: 1; }
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }

.menu-item:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.menu-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.menu-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--light), transparent);
}

.menu-content {
    padding: 25px;
}

.menu-content h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.menu-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
}

.badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.badge.premium {
    background: rgba(255, 209, 102, 0.1);
    color: #d4a017;
}

.badge.vegetarian {
    background: rgba(111, 207, 151, 0.1);
    color: #2ecc71;
}

.about-section {
    background: var(--dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.9)),
        url('./assets/bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.about-section h2 {
    font-size: 2.5rem;
    color: var(--light);
    font-weight: 800;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.about-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 53, 0.3);
}

.about-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    color: var(--light);
    transition: var(--transition);
}

.about-icon svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
}

.about-card:hover .about-icon {
    transform: scale(1.2) rotate(10deg);
}

.about-card h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 60px;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 2rem;
    color: var(--light);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-section {
    background: var(--light);
    color: var(--dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
        url('./assets/about.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-main {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 40px 0;
}

.contact-card {
    background: var(--light);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: var(--light);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.contact-card-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 700;
}

.contact-card-body {
    padding-top: 15px;
}

.contact-address {
    margin-bottom: 25px;
}

.highlight {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.subdued {
    color: #666;
    font-size: 1rem;
}

.contact-features {
    display: grid;
    gap: 12px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    transition: var(--transition);
}

.feature:hover {
    background: rgba(255, 107, 53, 0.05);
    transform: translateX(5px);
}

.feature-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.hours-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hour-row.highlight-row {
    background: rgba(255, 107, 53, 0.05);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.day {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.time {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.hours-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 209, 102, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 209, 102, 0.2);
}

.note-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    animation: bounce 2s infinite;
}

.note-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.contact-info {
    margin-bottom: 30px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    font-weight: 500;
}

.contact-link:hover {
    background: rgba(255, 107, 53, 0.05);
    transform: translateX(8px);
    color: var(--primary);
}

.link-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    color: var(--primary);
}

.link-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.social-section {
    margin-top: 30px;
}

.social-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
    text-align: center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    text-decoration: none;
    color: var(--dark);
    border-radius: 12px;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.02);
}

.social-item:hover {
    transform: translateY(-5px);
}

.social-item.instagram:hover {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
}

.social-item.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-item.twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: var(--transition);
}

.social-item:hover .social-icon {
    color: white;
}

footer {
    background: var(--darker);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.footer-logo h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--light) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--light);
}

.footer-links a:hover::after {
    width: 100%;
}

.hour-row.current-day {
    background: rgba(255, 107, 53, 0.1) !important;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
}

@keyframes subtlePulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.1);
    }
    50% { 
        box-shadow: 0 0 0 5px rgba(255, 107, 53, 0);
    }
}

.hour-row.current-day::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    animation: subtlePulse 3s infinite;
}

.hour-row.current-day::after {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.hour-row:hover {
    transform: translateX(8px);
    background: rgba(255, 107, 53, 0.05);
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .sidebar {
        width: 300px;
        left: -300px;
        max-width: 80%;
    }
    
    .sidebar.active {
        left: 0;
        width: 300px;
    }
    
    .sidebar {
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .sidebar.active + main {
        margin-left: 300px;
        transition: margin-left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }

    main {
        transition: margin-left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }
}