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

:root {
    --soft-green: #88C057;
    --earth-tone: #D4A5A5;
    --deep-blue: #2E3A59;
    --metallic-gray: #BFC0C0;
    --gold: #FFD700;
    --purple: #6C5CE7;
}

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

body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    background: linear-gradient(to right, var(--soft-green), var(--deep-blue));
    color: #333;
    padding: 20px;
}

header {
    text-align: center;
    padding: 40px 0;
    color: white;
}

header h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--gold);
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.section {
    flex: 1 1 300px;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
}

.section img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.button {
    position: relative;
    overflow: hidden;
    background-color: var(--deep-blue);
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: var(--purple);
}

.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
}

.button:hover::after {
    width: 200px;
    height: 200px;
    opacity: 1;
}

.article-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.article-section h2, .article-section h3, .article-section h4 {
    font-family: 'Roboto', sans-serif;
    color: var(--deep-blue);
    margin-bottom: 15px;
}

.article-section p {
    margin-bottom: 15px;
}

.article-section pre {
    background: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}

.article-section code {
    font-family: 'Courier New', Courier, monospace;
}

.footer {
    text-align: center;
    color: white;
    font-size: 0.9em;
    margin-top: 40px;
}

@media (max-width: 1440px) {
    header h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }
    header h1 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    header p {
        font-size: 1em;
    }
    .button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 320px) {
    body {
        padding: 10px;
    }
}

