body {
    font-family: 'Fira Mono', monospace;
    line-height: 1.6;
    color: #eeeeee;
    background-color: #202020;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
}

body a {
    color: #208cff
}

body a:hover {
    color: #1d5ea3;
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #161616;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

header a {
    margin-right: 15px;
    text-decoration: none;
    color: #eeeeee;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

header a:hover {
    color: #208cff;
}

header div.title {
    display: flex;
    align-items: center;
}

header h1 {
    font-size: 1.8em;
    margin: 0;
}

header img {
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.1);
}

header a.profile-pic img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 20px;
}

header a.social-icon img {
    width: 20px;
    height: 20px;
}

header a.social-icon:last-child img {
    margin-right: 20px;
}

main {
    padding: 50px;
    padding-top: 100px;
}

.window {
    background-color: #252525;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: absolute;
}

.window-title {
    font-size: 1.2em;
    background-color: #161616;
    border-radius: 6px 6px 0 0;
    display: flex;
    text-align: center;
    position: relative;
    padding: 5px;
    cursor: move;
    height: 1.4em;
    z-index: 0;
}

.window-title h1 {
    flex: 1;
    text-align: left;
    margin: 0;
    margin-left: 0.8em;
    font-size: 1.0em;
    z-index: 1;
}

.window-title-buttons {
    display: flex;
    margin-left: auto;
    z-index: 2;
}

.window-title-button {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-left: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 0;
}

.window-title-button.close {
    background-color: #ff4d4d;
}

.window-title-button.minimize {
    background-color: #ffc300;
}

.window-title-button.maximize {
    background-color: #00b8ff;
}

.window-title-button:hover {
    opacity: 0.8;
}

.window p {
    margin: 0;
    margin-left: 0.8em;
    margin-right: 0.8em;

}

.window p.author {
    margin: 0;
    margin-left: 0.8em;
    margin-right: 0.8em;
    text-align: right;

}

.window q {
    font-style: italic;
}

.window div.same-line {
    display: flex;
    align-items: center;
    margin-left: 0.8em;
}

.window-content {
    line-height: 1.5;
    padding: 10px;
    overflow-y: auto;
    flex-grow: 1;
}

.window-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.contact {
    width: 15px;
    height: 15px;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 3px;
    background-color: #161616;
    color: #eeeeee;
    font-size: 0.9em;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer img {
    width: 15px;
    height: 15px;
    padding-left: 5px;
    padding-right: 5px;
}

.footer-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-left .commit {
    display: flex;
    align-items: center;
}

.footer-right .bongo-cat {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.resize-handle {
    position: absolute;
    z-index: 101;
    /* Above title bar and window content */
}

.resize-handle.top,
.resize-handle.bottom {
    height: 10px;
    width: 100%;
    cursor: ns-resize;
    left: 0;
}

.resize-handle.top {
    top: -5px;
}

.resize-handle.bottom {
    bottom: -5px;
}

.resize-handle.left,
.resize-handle.right {
    width: 10px;
    height: 100%;
    cursor: ew-resize;
    top: 0;
}

.resize-handle.left {
    left: -5px;
}

.resize-handle.right {
    right: -5px;
}

.resize-handle.top-left,
.resize-handle.top-right,
.resize-handle.bottom-left,
.resize-handle.bottom-right {
    width: 15px;
    height: 15px;
}

.resize-handle.top-left {
    top: -7px;
    left: -7px;
    cursor: nwse-resize;
}

/* Language Selector (Footer) */
.language-status {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 10px;
    position: relative;
    user-select: none;
}

.language-status:hover {
    background-color: #333;
}

.lang-icon {
    margin-right: 5px;
    font-size: 0.8em;
}

.lang-popup {
    position: absolute;
    bottom: 100%;
    /* Above the footer */
    left: 50%;
    transform: translateX(-50%);
    background-color: #252525;
    border: 1px solid #444;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    min-width: 120px;
    z-index: 1000;
    margin-bottom: 5px;
}

.lang-option {
    padding: 8px 16px;
    cursor: pointer;
    color: #cccccc;
    transition: background-color 0.1s;
}

.lang-option:hover {
    background-color: #094771;
    /* VS Code blue-ish hover */
    color: white;
}

.lang-option.active {
    background-color: #333;
    font-weight: bold;
    color: white;
}

.resize-handle.top-right {
    top: -7px;
    right: -7px;
    cursor: nesw-resize;
}

.resize-handle.bottom-left {
    bottom: -7px;
    left: -7px;
    cursor: nesw-resize;
}

.resize-handle.bottom-right {
    bottom: -7px;
    right: -7px;
    cursor: nwse-resize;
}

@font-face {
    font-family: 'BongoCat';
    src: url('bongocat.woff') format('woff');
    font-display: block;
}

.bongo-cat {
    font-family: 'BongoCat';
    font-size: 1.0rem;
    cursor: pointer;
    user-select: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    /* min-width removed to prevent wide gap */
}