
@import url('https://fonts.googleapis.com/css2?family=Baskerville:wght@400;700&family=Roboto:wght@400;500&display=swap');

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #967158, #2e3a4f);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: linear-gradient(to right, #d4a373, #8b9467);
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
}

header h1 {
    font-family: 'Baskerville', serif;
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1rem;
    color: #f4f4f4;
    margin-top: 0.5rem;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem;
    gap: 1rem;
}

.module {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    width: calc(33% - 2rem);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.module:nth-child(odd) {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.9));
}

.module h3 {
    font-family: 'Baskerville', serif;
    font-size: 1.5rem;
    color: #d4a373;
    margin-bottom: 1rem;
}

.module p {
    font-size: 1rem;
    color: #555;
}

.module img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1rem;
}

article {
    margin: 2rem auto;
    padding: 1rem;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

article h2 {
    font-family: 'Baskerville', serif;
    font-size: 2rem;
    color: #d4a373;
    margin-bottom: 1rem;
}

article h3 {
    font-family: 'Baskerville', serif;
    font-size: 1.5rem;
    color: #8b9467;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

article p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

article pre {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1rem 0;
}

article code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #2e3a4f;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
}

table th {
    background: #d4a373;
    color: #fff;
}

footer {
    background: #2e3a4f;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .module {
        width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .module {
        width: 100%;
    }

    article {
        padding: 1rem;
    }
}

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

    header p {
        font-size: 0.9rem;
    }

    article h2 {
        font-size: 1.5rem;
    }

    article h3 {
        font-size: 1.2rem;
    }
}

