.textbook-image-container {
    width: 60%;
    max-width: 400px;
    margin: 2rem auto;
    text-align: center;
}

.typewriter-text {
    margin-right: 0;
    padding-right: 0;
}

.textbook-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(77, 166, 255, 0.5);
}

@media (max-width: 768px) {
    .textbook-image-container {
        float: none;
        margin: 2rem auto;
        width: 80%;
        max-width: 300px;
        text-align: center;
    }
    
    .textbook-image {
        width: 100%;
    }
}

/* New styles for curriculum content display */
.curriculum-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.curriculum-column {
    flex: 1;
    min-width: 300px;
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.curriculum-column h3 {
    color: #0056b3;
    margin-top: 0;
}

.keyword-highlight {
    background-color: #fff9c4; /* Light yellow background */
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
    color: #d32f2f; /* Dark red color for keywords */
}

.code-block {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 14px;
    overflow-x: auto;
    margin: 15px 0;
    line-height: 1.5;
}

.code-comment {
    color: #6a737d; /* GitHub gray */
    font-style: italic;
}

.code-keyword {
    color: #d32f2f; /* Dark red */
    font-size: 16px;
    font-weight: bold;
}

.code-string {
    color: #2e8b57; /* Sea green */
}

.code-number {
    color: #ae81ff; /* Purple */
}
