/*:root {
    --background: #ffffff;
    --foreground: #1f2937;
    --muted: #f3f4f6;
    --muted-foreground: #6b7280;
    --card: #ffffff;
    --card-foreground: #1f2937;
    --border: #e5e7eb;
    --primary: #10b981;
    --primary-foreground: #ffffff;
    --secondary: #f3f4f6;
    --secondary-foreground: #1f2937;
    --accent: #f3f4f6;
    --accent-foreground: #1f2937;
}*/

:root {
/* .dark { */
    --background: #1f2937;
    --foreground: #f3f4f6;
    --muted: #374151;
    --muted-foreground: #9ca3af;
    --card: #1f2937;
    --card-foreground: #f3f4f6;
    --border: #374151;
    --primary: #10b981;
    --primary-foreground: #1f2937;
    --secondary: #374151;
    --secondary-foreground: #f3f4f6;
    --accent: #374151;
    --accent-foreground: #f3f4f6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    margin: 0;
    padding: 0;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: var(--card);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
}

.icon-sun, .icon-moon {
    width: 1.2rem;
    height: 1.2rem;
}

.dark .icon-sun {
    display: none;
}

.icon-moon {
    display: none;
}

.dark .icon-moon {
    display: inline;
}

nav ul {
    list-style-type: none;
    padding: 1rem;
}

nav ul li {
    margin-bottom: 0.5rem;
}

nav ul li a {
    display: flex;
    align-items: center;
    color: var(--foreground);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

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

nav ul li a i {
    margin-right: 0.5rem;
}

main {
    flex-grow: 1;
    padding: 2rem;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--muted-foreground);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background-color: var(--card);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 20px rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 4px 6px rgba(241, 240, 240, 0.1);
}

.category-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.category-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--muted-foreground);
}

@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
    }

    nav ul li {
        margin-right: 1rem;
    }
}

/* Estilo para posicionar a imagem */
.logo {
    position: absolute;
    top: -15px; /* Distância do topo */
    left: -8px; /* Distância da esquerda */
    width: 200px; /* Tamanho da imagem */
    height: auto;
}

.styled-button {
    width: 100%;
    padding: 12px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.styled-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.styled-button:active {
    transform: translateY(0);
    box-shadow: none;
}
