
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #e0e0e0;
    background: linear-gradient(to bottom, #1a1a1a, #0074d9);
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 116, 217, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background 0.5s ease;
}

header.scrolled {
    background: rgba(0, 116, 217, 1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #39ff14;
}

main {
    margin-top: 80px;
    padding: 20px;
}

section {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

section:nth-child(odd) {
    background: linear-gradient(to right, #0074d9, #1a1a1a);
}

section:nth-child(even) {
    background: linear-gradient(to left, #1a1a1a, #0074d9);
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

p {
    line-height: 1.6;
    text-align: justify;
    max-width: 800px;
    margin: 20px auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.grid-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.05);
}

pre {
    background: #1a1a1a;
    color: #39ff14;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

button {
    background: #39ff14;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.parallax {
    height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

@media (max-width: 768px) {
    section {
        min-height: 80vh;
    }

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

@media (max-width: 480px) {
    nav {
        flex-direction: column;
    }

    pre {
        font-size: 12px;
    }
}

