body {
    background-color: #c0c0c0; 
    font-family: 'Chicago', sans-serif; 
}

.window {
    position: absolute;
    width: 500px;
    height: 350px;
    background-color: white;
    border: 1px solid black;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
    z-index: 100;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    
    top: 100px;
    left: 100px;
}

.window.hidden {
    display: none;
}

.window-header {
    height: 20px;
    background-color: white;
    border-bottom: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 0;
    cursor: move;
    user-select: none;
    flex-shrink: 0;
}

.window-title {
    font-weight: normal;
    text-align: center;
    flex-grow: 1;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 10px;
}

.window-controls {
    position: absolute;
    right: 5px;
    display: flex;
    gap: 5px;
}

.window-close, .window-minimize, .window-maximize {
    width: 16px;
    height: 16px;
    cursor: pointer;
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.window-close:hover, .window-minimize:hover, .window-maximize:hover {
    background-color: black;
    color: white;
}

.window-content {
    padding: 15px !important;
    flex: 1 !important;
    overflow: auto !important;
    box-sizing: border-box !important;
    min-height: 0 !important;
    height: auto !important;
}

.window-content h2 {
    margin-bottom: 15px;
    font-size: 14px;
    text-decoration: underline;
}

.window-content p {
    margin-bottom: 10px;
    line-height: 1.4;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.project-item {
    border: 1px solid black;
    padding: 15px;
    text-align: center;
}

ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

ul li:before {
    content: '•';
    position: absolute;
    left: 0;
}



.folder-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0;
}

.folder-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 80px;
    text-align: center;
}

.folder-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.folder-icon img {
    width: 48px;
    height: 48px;
}

.folder-name {
    background-color: white;
    padding: 2px 5px;
    border-radius: 0;
    border: 1px solid black;
}

.folder-item:hover .folder-name {
    background-color: black;
    color: white;
}

.window-toolbar {
    padding: 5px 10px;
    border-bottom: 1px solid black;
    margin-bottom: 10px;
}

.back-button {
    font-family: 'Chicago', monospace;
    background-color: white;
    border: 1px solid black;
    padding: 2px 8px;
    cursor: pointer;
}

.back-button:hover {
    background-color: black;
    color: white;
}

.project-content {
    padding: 10px 0;
}

.project-image {
    max-width: 10%;
    margin-bottom: 15px;
    border: 1px solid black;
}


.window.minimized {
    height: 30px !important;
    overflow: hidden;
}

.window.minimized .window-content {
    display: none;
}


.window.maximized {
    width: calc(100% - 40px) !important;
    height: calc(100% - 60px) !important;
    top: 30px !important;
    left: 20px !important;
    transform: none !important;
}


.window.active {
    z-index: 200;
}

@keyframes windowOpen {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.window:not(.hidden) {
    animation: windowOpen 0.2s ease-out;
}


.resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    cursor: nwse-resize;
    z-index: 101;
    background-color: white;
    border-top: 1px solid black;
    border-left: 1px solid black;
}

.resize-handle::before {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 7px;
    height: 7px;
    background-image: linear-gradient(135deg, 
        transparent 0%, transparent 40%, 
        black 40%, black 60%, 
        transparent 60%, transparent 100%);
}

.resize-handle::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
    background-image: linear-gradient(135deg, 
        transparent 0%, transparent 40%, 
        black 40%, black 60%, 
        transparent 60%, transparent 100%);
}