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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
    background-color: #3498db;
    color: white;
    text-align: center;
    padding: 20px 0;
    border-radius: 5px 5px 0 0;
}

header h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

/* Main Content Styles */
main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    color: #333;
    margin-top: 0;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

/* Code Editor Styles */
#codeEditor {
    font-size: 14px;
    padding: 10px;
    width: 100%;
    height: 300px;
    resize: vertical;
    background-color: #f8f8f8;
    border-radius: 5px;
    overflow-x: auto;
}

/* Console Output Styles */
#consoleOutput {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow-x: auto;
}

/* Button Styles */
button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #2980b9;
}

/* Footer Styles */
footer {
    background-color: #3498db;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: auto;
    border-radius: 0 0 5px 5px;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    .container {
        padding: 10px;
    }

    #codeEditor {
        height: 200px;
    }
}