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

body {
    margin: 0;
    font-family: 'Poppins', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0074D9, #808080);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.split-screen {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    height: 100vh;
}

.split-screen .left, .split-screen .right {
    width: 50%;
    padding: 40px;
    box-sizing: border-box;
}

.split-screen .left {
    background: linear-gradient(135deg, #0074D9, #0056b3);
    border-right: 2px solid rgba(255, 255, 255, 0.1);
}

.split-screen .right {
    background: radial-gradient(circle, #FFA500, transparent);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .split-screen {
        flex-direction: column;
        height: auto;
    }
    .split-screen .left, .split-screen .right {
        width: 100%;
        height: auto;
    }
    .split-screen .left {
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }
}

.split-screen h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

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

.split-screen img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.article-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.article-container h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #FFA500;
}

.article-container pre {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
    margin: 10px 0;
}

.article-container code {
    color: #FFA500;
    font-weight: bold;
}

.article-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.article-container th, .article-container td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    text-align: left;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    transition: background 0.3s ease;
}

.navbar.hidden {
    background: transparent;
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #FFA500;
}

.right::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    animation: rotate-bg 15s infinite linear;
    pointer-events: none;
}

@keyframes rotate-bg {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 20px;
}

