@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Rajdhani:wght@500;700&display=swap');

:root {
    --accent: #0080ff;
    --bg: #0b0b0e;

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-system: Segoe UI, Segoe UI Variable Text, -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Arial, sans-serif;

}

body {
    background: var(--bg);
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    display: flex;
    height: 300vh;
}

#main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.base-functions-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    width: 850px;
}

.step-card {
    flex: 1;
    background: #121217;
    border: 1px solid #1a1a20;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: 0.3s;
    text-align: left;
}

.step-card:hover {
    border-color: var(--accent);
    background: #16161d;
    transform: translateY(-2px);
}

.step-card h3 {
    margin: 0 0 5px 0;
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-card p {
    margin: 0;
    font-size: 10px;
    color: #555c70;
}

#canvas {
    width: 600px;
    height: 450px;
    border: 1px solid #1a1a20;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 128, 255, 0.2);
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#canvas.PullDown {
    transform: translateY(20px);
}

#terminal {
    width: 0;
    background: #0a0a0f;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 0 solid var(--accent);
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#terminal.open {
    width: 850px;
    border-left: 2px solid var(--accent);
    height: 100vh;
}

#visual-preview {
    width: 600px;
    height: 0;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
    margin-bottom: 0;
    opacity: 0;
}

#visual-preview.show {
    min-height: 300px; 
    margin-bottom: 20px;
    opacity: 1;
    border: 1px solid var(--accent);
}

#visual-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.header {
    padding: 15px 20px;
    font-family: monospace;
    font-size: 11px;
    color: var(--accent);
    background: #121217;
    border-bottom: 1px solid #1a1a20;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    cursor: pointer;
    color: #555c70;
    font-size: 26px;
    transition: 0.2s;
    padding: 5px;
}

.close-btn:hover {
    color: #ff4444;
}

.code-area {
    padding: 25px;
    font-family: 'Consolas', monospace;
    font-size: 13px;
    color: #8892b0;
    line-height: 1.6;
    overflow-y: auto;
    white-space: pre;
}

.MenuInfo {
    padding-top: 23px;
    font-family: 'Consolas', monospace;
    font-size: 16px;
    color: #8892b0;
    line-height: 1.6;
}

.content-sections {
    width: 55vw;
    margin-top: 50px;
    padding-bottom: 100px;
    color: #edeff3;
}

.text-block {
    font-family: var(--font-system);
    font-size: 22px;
    line-height: 1.7; 
    color: #e2e8f0;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--accent);
    margin-bottom: 20px;
}
.link {
    color: white;
}

h2, h3 {
    font-family: var(--font-heading); 
    letter-spacing: 2px;
}

.file-card {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background-color: #1e1e24;
    border: 1px solid #2a2a32;
    border-radius: 8px;
    text-decoration: none;
    color: #edeff3;
    font-family: var(--font-system);
    transition: all 0.3s ease;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.file-card:hover {
    transform: translateY(-2px);
    background-color: #25252d;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 128, 255, 0.25);
}

.file-icon {
    font-size: 24px;
    margin-right: 15px;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 128, 255, 0.4);
}

.file-info {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: bold;
    font-size: 14px;
    color: #ffffff;
}

.file-meta {
    font-size: 11px;
    color: #8892b0;
    margin-top: 2px;
}

.s-title {
    font-weight: 600;
}

.HowTo {
    background-color: #25252d;
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(0, 128, 255, 0.25);
}

.stretched-video {
    object-fit: fill;
    aspect-ratio: 16 / 9; 
    border: 1px solid var(--accent);
    border-radius: 4px;
    margin-top: 10px;
}