/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF;
    color: #333;
}

/* Barra de navegación */
.navbar {
    background-color: #4CAF50;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #FFFFFF;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
}

.nav-links li a:hover {
    text-decoration: underline;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 2rem;
    background-color: #f4f4f4;
}

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

.cta-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #4CAF50;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: #45a049;
}

/* Article grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

article {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

article h3, .tutorial-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

article a, .tutorial-card a {
    color: #4CAF50;
    text-decoration: none;
}

article a:hover, .tutorial-card a:hover {
    text-decoration: underline;
}

.tutorial-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

/* Tutorial content */
.tutorial-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.tutorial-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.tutorial-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tutorial-content h2 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
}

.tutorial-content p, .tutorial-content ul, .tutorial-content ol {
    margin-bottom: 1rem;
}

/* Contacto */
.contact {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

.contact a {
    color: #4CAF50;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #4CAF50;
    color: #FFFFFF;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }
}