
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #000046, #1cb5e0);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(90deg, #4b6cb7, #182848);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    opacity: 0;
    animation: fadeInText 2s ease-in-out forwards;
}

@keyframes fadeInText {
    from { opacity: 0; }
    to { opacity: 1; }
}

main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

h2, h3, h4 {
    color: #ff6f61;
    margin-top: 0;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

code {
    color: #ffeb3b;
    font-family: 'Courier New', monospace;
}

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

.geometric-shape {
    width: 100px;
    height: 100px;
    background-color: #ff6f61;
    transform: rotate(45deg);
    margin: 20px auto;
}

.button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 25px;
    font-size: 1rem;
}

.button:hover {
    transform: scale(1.1);
}

footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(90deg, #182848, #4b6cb7);
    color: #ffffff;
    font-size: 0.9rem;
}

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

    section {
        padding: 15px;
    }

    pre {
        font-size: 0.8rem;
    }

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

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

    p {
        font-size: 0.9rem;
    }
}

