body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevents body from scrolling */
}

.code-container {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto; /* Adds scroll inside the container if content is too long */
    overflow-x: hidden;
}

p {
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.5;
}

.code-block {
    position: relative;
    display: block;
    background-color: #2d2d2d;
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    text-align: left;
    overflow-x: auto; /* Ensures code blocks scroll horizontally if necessary */
}

.copy-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    display: none;
}

.code-block:hover .copy-icon {
    display: inline;
}

pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #4ec9b0;
    font-size: 14px;
    line-height: 1.5;
}

.placeholder {
    color: #ce9178;
    font-style: italic;
}

code {
    color: #4ec9b0;
}
