/*
Theme Name: 2spee
Theme URI: https://earlyspider.com
Author: EarlySpider
Author URI: https://earlyspider.com
Description: A minimal WordPress starter theme.
Version: 1.0
License: MIT
Text Domain: 2spee
*/

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

.site-header {
    background: #222;
    color: white;
    padding: 1rem;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

.main-nav .main-menu-list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-nav .main-menu-list li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.main-nav .main-menu-list li a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        background: #111;
        padding: 1rem;
        animation-fill-mode: forwards;
        transform-origin: top;
    }

    .main-nav.open {
        display: flex;
        animation: slideFadeIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .main-nav.closing {
        animation: slideFadeOut 0.3s ease forwards;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav .main-menu-list {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animations */
@keyframes slideFadeIn {
    0% {
        transform: translateY(-20px) scaleY(0.95);
        opacity: 0;
    }
    60% {
        transform: translateY(5px) scaleY(1.02);
        opacity: 0.75;
    }
    100% {
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }
}

@keyframes slideFadeOut {
    0% {
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) scaleY(0.95);
        opacity: 0;
    }
}
