@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&display=swap');

/* Dark Theme (Default) */
body.dark {
    background-color: #1e1e1e;
    color: #ffffff;
}

.terminal.dark {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #333333;
}

.terminal-header.dark {
    background-color: #2d2d2d;
    border-bottom: 1px solid #333333;
}

.terminal-input.dark {
    background-color: #1a1a1a;
    border-top: 1px solid #333333;
}

/* Light Theme */
body.light {
    background-color: #f5f5f5;
    color: #000000;
}

.terminal.light {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #cccccc;
}

.terminal-header.light {
    background-color: #e0e0e0;
    border-bottom: 1px solid #cccccc;
}

.terminal-input.light {
    background-color: #f0f0f0;
    border-top: 1px solid #cccccc;
}

/* Common Styles */
body {
    font-family: 'Geologica', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    transition: background-color 0.3s, color 0.3s;
}

.terminal {
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    transition: background-color 0.3s, color 0.3s;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
}

.terminal-header .buttons {
    display: flex;
    gap: 6px;
}

.terminal-header .button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.terminal-header .button.close {
    background-color: #ff5f56;
}

.terminal-header .button.minimize {
    background-color: #ffbd2e;
}

.terminal-header .button.maximize {
    background-color: #27c93f;
}

.terminal-header .title {
    font-family: monospace;
    font-size: 14px;
    color: inherit;
}

.terminal-body {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    transition: background-color 0.3s, color 0.3s;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.animation-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #2d2d2d;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #555555;
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: #777777;
}

.terminal-input {
    display: flex;
    align-items: center;
    padding: 10px;
    transition: background-color 0.3s, border-color 0.3s;
}

.prompt {
    margin-right: 8px;
    font-weight: 600;
    transition: color 0.3s;
}

#command-input {
    width: 100%;
    padding: 5px;
    background-color: transparent;
    border: none;
    color: inherit;
    outline: none;
    font-family: monospace;
    caret-color: #ffffff;
}

#command-input::placeholder {
    color: #888888;
}

.command-line {
    opacity: 0.8;
    font-weight: 400;
    margin-bottom: 10px;
}

.response, .error {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 20px;
    padding-left: 20px;
}

.error {
    color: #ff4444;
    font-weight: 500;
}

.ascii-art {
    white-space: pre;
    font-family: monospace;
}

iframe {
    width: 100%;
    height: 500px;
    border: none;
    margin-top: 10px;
    background-color: transparent;
}

.terminal-text {
    margin-top: 0;
    color: #ffffff;
    font-family: 'Geologica', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    text-align: center; 
    transform: none;
    margin-bottom: 30px;
}

.terminal-text p {
    margin: 0 0 0px 0;
}

#static-text {
    text-align: center;
    color: #888; 
    font-size: 14px; 
    margin-top: 20px; 
    font-style: italic; 
    padding: 10px;
    width: 80%; 
    max-width: 800px; 
}

#navigation {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    z-index: 10;
}

#navigation a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
}

#navigation a:hover {
    text-decoration: underline;
}

/* girl */
.center {
    margin: auto;
    left: 0;
    right: 0;
}

.girl {
    background-color: #f4b596;
    height: 7.5em;
    width: 9.37em;
    border-radius: 0 0 1em 1em;
    position: absolute;
    top: 9.37em;
    z-index: 2;
}

.hijab {
    position: absolute;
    background-color: #5f2732; 
    height: 13.5em;
    width: 15.37em;
    border-radius: 50% 50% 20% 20%;
    top: 3.75em; 
    left: 0;
    z-index: 1; 
}

.hijab:after {
    position: absolute;
    content: "";
    height: 5em;
    width: 15.37em;
    background-color: #5f2732; 
    border-radius: 0 0 5em 5em;
    top: 10.75em; 
    left: 0;
}

.eye {
    position: absolute;
    background-color: #000000;
    height: 1.25em;
    width: 1.25em;
    border-radius: 50%;
    top: 1.25em;
    right: 2.87em;
    box-shadow: -2.5em 0 #000000;
}

.blush {
    position: absolute;
    background-color: #ec7177;
    height: 1.25em;
    width: 1.25em;
    border-radius: 50%;
    top: 3em;
    left: 1.50em;
    box-shadow: 5em 0 #ec7177;
}

.mouth {
    position: absolute;
    background-color: #ec7177;
    height: 0.5em;
    width: 1.75em;
    border-radius: 0 0 0 0;
    top: 3.75em;
    left: 3.75em;
}

.mouth.smile {
    position: absolute;
    background-color: #ec7177;
    height: 1.75em;
    width: 1.75em;
    border-radius: 0 0 0.5em 0.5em;
    top: 3.75em;
    left: 3.75em;
}

.clothes {
    position: absolute;
    height: 5.62em;
    width: 6.25em;
    background: linear-gradient(
        to right,
        #834f2c 33%,
        #834f2c 66%
    );
    top: 17.20em;
    z-index: 0;
}

.clothes:after {
    content: '';
    position: absolute;
    background-color: #5b3720;
    width: 1.25em;
    height: 5.15em;
    top: 0;
    left: -1.25em;
}

.clothes:before {
    content: '';
    position: absolute;
    background-color: #5b3720;
    width: 1.25em;
    height: 5.15em;
    top: 0;
    right: -1.25em;
}

.pants {
    position: absolute;
    height: 5.62em;
    width: 3.75em;  
    top: 22.8em;
}

.pants:before,
.pants:after {
    content: '';
    position: absolute;
    background-color: #58514c;
    width: 2.5em;
    height: 3.75em;
    top: 0;
}

.pants:before {
    left: -1.25em;
}

.pants:after {
    right: -1.25em;
}