
:root {
    --primary-color: #f5deb3;
    --secondary-color: #8fbc8f;
    --accent-color: #4682b4;
    --text-color: #333;
    --code-bg: #f0f0f0;
    --code-text: #d73a49;
    --hover-effect: scale(1.05);
    --transition-speed: 0.3s;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    width: 100%;
    background: linear-gradient(to right, var(--accent-color), #008080);
    color: white;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin: 0;
}

main {
    max-width: 1200px;
    width: 95%;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background-color: #fffdf5;
    border: 1px solid #8b4513;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.card:hover {
    transform: var(--hover-effect);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card h3 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 10px;
}

.card p {
    font-size: 1rem;
    margin: 0;
}

.code-block {
    background: var(--code-bg);
    color: var(--code-text);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

footer {
    width: 100%;
    background: #4682b4;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: auto;
}

button {
    background: linear-gradient(to right, var(--accent-color), #008080);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: transform var(--transition-speed) ease;
}

button:hover {
    transform: var(--hover-effect);
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    main {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 15px;
    }
}

@media (max-width: 400px) {
    header h1 {
        font-size: 1.5rem;
    }

    .code-block {
        font-size: 0.8rem;
    }
}

