/* global */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui;
    background: #000000;
    color: #e2e8f0;
    overflow-x: hidden;
    user-select: none;
    font-family: "JetBrains Mono", monospace;
}

.desktop {
    position: relative;
    width: 100%;
    height: 200vh;
    background: #000000;
}

/* windows global */

.window {
    position: absolute;

    width: 40vw; 
    height: 20vw;
    max-width: 600px;
    max-height: 600px;
    min-width: 100px;
    min-height: 100px;

    background: rgba(0, 0, 0, 1);
    border: 3px solid rgba(255, 255, 255, 1);
    border-radius: 0px;

    overflow: hidden;
    user-select: none;
    display: flex;
    flex-direction: column;
    opacity: 0; 
    top: 50%; 
    left: 50%;
}
.animate {
    transition: all 2s cubic-bezier(0.33, 1, 0.68, 1);
}
.window-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.99);
    border-bottom: 3px solid rgba(255, 255, 255, 1);
    cursor: grab;
}

.window-bar:active {
    cursor: grabbing;
}

.window-title {
    font-size: 1rem;
    letter-spacing: 0.3px;
    color: #cbd5e1;
}


.window-controls {
    display: flex;
    gap: 6px;
}

.window-content {
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ffffff;
    user-select: text;

    flex: 1 1 auto;
    display: flex;
    flex-direction: row; 
    gap: 1rem;
    padding: 0.7rem;
}

.window-prompt {
    font-size: 1rem;
    color: #ffffff;
    user-select: text;
    padding: 0.5rem;
}


/* windows specific */

#window-skills {

    width: 40vw; 
    height: 25vw;
    max-width: 600px;
    max-height: 600px;
    min-width: 300px;
    min-height: 200px;
}

#window-projects {
    width: 50vw; 
    height: 40vw;
    max-width: 800px;
    max-height: 00px;
    min-width: 600px;
    min-height: 600px;
}

#window-fetch {
    width: 30vw; 
    height: 20vw;
    max-width: 600px;
    max-height: 600px;
    min-width: 300px;
    min-height: 300px;
}


#fetch-picture {
    image-rendering: pixelated;
    width: 90%;
    max-height: 240px;
    height: auto;
    object-fit: contain;
}


#window-about {
    width: 60vw; 
    height: 20vw;
    max-width: 900px;
    max-height: 600px;
    min-width: 500px;
    min-height: 300px;
}