:root {
    --primary-color: #2962FF;
    --secondary-color: #0D47A1;
    --light-bg: #F5F7FA;
    --dark-text: #263238;
    --light-text: #F5F7FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .logo {
    display:flex;
    flex-direction:row;
    gap:1rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.navbar ul {
    
    display: flex;
    flex-direction: row;
    gap: 1rem;
    list-style: none;
}

.navbar ul li a {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
}

.navbar ul li a:hover {
    color: var(--light-text);
    background-color: var(--secondary-color);
    transform: scale(1.1);
    border-radius: 10px;
}

.hero {
    /*background: url('hero-bg.jpg') no-repeat center center/cover;*/
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    background-color: var(--primary-color);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.compiler-section {
    padding: 2rem 5%;
}

.compiler-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
}

.code-editor textarea {
    width: 100%;
    height: 300px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    resize: none;
}

.compiler-controls {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
}

.compiler-controls select,
.compiler-controls button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.compiler-controls select {
    background: var(--light-bg);
}

.compiler-controls button {
    background: var(--primary-color);
    color: white;
}

.compiler-controls button:hover {
    background: var(--secondary-color);
}

.output-container {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.output-container pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.about-section{
    height: 100%;
    padding: 2rem 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-direction: column;
}

.about-content h2{
    color: var(--secondary-color);
}

.hidden {
    display: none;
}

footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}