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

/* CSS Variables for Colors */
:root {
    --deep-blue: #1e3c72;
    --electric-purple: #2a5298;
    --neon-blue: #00ffff;
    --fluorescent-green: #00ff7f;
    --background-gradient: linear-gradient(135deg, #1e3c72, #2a5298);
    --font-color: #ffffff;
    --header-height: 60px;
}

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

body {
    font-family: 'Orbitron', sans-serif;
    background: var(--background-gradient);
    color: var(--font-color);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

header h1 {
    font-size: 1.5rem;
    color: var(--neon-blue);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--font-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--fluorescent-green);
}

.main-content {
    padding: calc(var(--header-height) + 20px) 20px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.section {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.section h2, .section h3, .section h4 {
    color: var(--neon-blue);
    margin-bottom: 10px;
}

.section p {
    margin-bottom: 15px;
    color: #e0e0e0;
}

.section pre {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.section code {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
}

.section table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.section table, .section th, .section td {
    border: 1px solid #444;
}

.section th, .section td {
    padding: 10px;
    text-align: left;
}

.section th {
    background: #3a3a3a;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.image-grid img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    margin-top: 20px;
    border-radius: 10px;
}

.footer p {
    color: var(--neon-blue);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dynamic-text {
    animation: fadeIn 2s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.page-transition {
    animation: slideIn 0.5s ease-in-out;
}

/* Responsive Design */
@media (min-width: 320px) and (max-width: 479px) {
    header h1 {
        font-size: 1.2rem;
    }
    nav ul li {
        margin-left: 10px;
    }
    .main-content {
        padding: calc(var(--header-height) + 10px) 10px 10px 10px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    header h1 {
        font-size: 1.3rem;
    }
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .main-content {
        grid-template-columns: 1fr 1fr;
    }
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .main-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .main-content {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (min-width: 1440px) {
    .main-content {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

