:root {
    --primary-color: #051b46;
    --secondary-color: #5f383f;
    --background-color: #f7f7e8;
    --card-background: #ffffff;
    --text-color: #333333;
    --header-background: #051b46;
    --header-text: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

header {
    background-color: var(--header-background);
    color: var(--header-text);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.subtitle a {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.subtitle a:hover {
    opacity: 0.8;
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.tutorial-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.tutorial-card h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tutorial-card h2 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tutorial-card h2 a:hover {
    color: var(--primary-color);
}

.tutorial-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.tutorial-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
}

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

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

@media (max-width: 768px) {
    header {
        padding: 40px 0;
    }

    header h1 {
        font-size: 2rem;
    }

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