/* ======================= style.css ======================= */
body {
    margin: 0;
    padding-top: 60px;
    font-family: 'Calibri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #eaf2f8;
}

.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

.menu-bar a {
    color: white;
    padding: 10px 10px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
    font-weight: bold;
}

.menu-bar a:hover {
    background-color: #555;
}

.menu-bar a.active {
    background-color: #4682B4;
}

.slide {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
}

.header {
    background-color: #4682B4;
    color: white;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6em;
}

.slide-number {
    font-weight: bold;
    font-size: 0.9em;
}

.slide-title {
    font-weight: normal;
    text-align: right;
}

.content {
    display: flex;
    flex: 1;
    padding: 25px;
    overflow: hidden;
}

.text {
    flex: 1;
    padding-right: 25px;
    font-size: 1.2em;
    line-height: 1.6;
    color: black;
    overflow-y: auto;
    text-align: justify;
}

.text h3 {
    color: #FF0000;
    border-bottom: 10px solid #eaf2f8;
    padding-bottom: 5px;
}

.text ul {
    list-style-type: square;
    padding-left: 20px;
}

/* Bloki kodu jak w IDE */
pre, .ascii-art {
    background-color: #1e1e1e; /* ciemne tło IDE */
    color: #d4d4d4; /* jasny tekst */
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
    padding: 20px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 1.1em;
    border-radius: 5px;
    box-sizing: border-box;
    overflow-x: auto;
    width: 100%;
    border: 1px solid #333;
}

/* Podświetlenie Prism */
.token.comment { color: #6A9955; font-style: italic; }
.token.keyword { color: #569CD6; font-weight: bold; }
.token.string { color: #D69D85; }
.token.function { color: #DCDCAA; }
.token.variable { color: #9CDCFE; }
.token.number { color: #B5CEA8; }
