body {
    margin: 0;
    padding: 0;
    color: #ffffff;
    background-image: url("images/windows_xp.jpg");
    background-size: cover;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
canvas {
   display: block;
}
title {
    color: #0080ff;
}
header {
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    padding: 10px 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #dfdfdf;
}
section{
    font-family: "MS Sans Serif", Arial, sans-serif;
    width: 400px;
    border: 2px solid;
    border-color: #dfdfdf #555 #555 #dfdfdf;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    background-color: #c0c0c0;
    color: black;
}
h2 {
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    padding: 5px 5px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #dfdfdf;
    position: static;
    top: 0;
}

.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 20px;
    background-color: black;
    animation: blink 1s infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
#custom-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Send canvas to the back */
    display: block;
}
.xp-header {
    height: 30px; /* Adjust to your header height */
    background-color: #c0c0c0;
    border-bottom: 2px solid #808080;
    z-index: 1001;
}

.window-container {
    flex: 1; /* Takes up remaining space */
    overflow: hidden;
    position: relative;
}

/* Windows menu footer settings */
/* styles.css */
.xp-footer {
    position: fixed;
    height: 35px; /* Adjust as needed */
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #c0c0c0;
    padding: 2px 0;
    border-top: 2px solid #ffffff;
    box-shadow: inset 0 1px 0 #ffffff, inset 0 -2px 0 #808080;
    z-index: 2005;
    display: flex;          
    align-items: center;   
}

.start-button {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    cursor: pointer;
    font-family: "Microsoft Sans Serif", Arial, sans-serif;
    font-size: 12px;
}

.start-button:hover {
    background-color: #000080;
    color: white;
}

.start-logo {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.start-menu {
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 250px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    display: none;
    font-family: "Microsoft Sans Serif", Arial, sans-serif;
    font-size: 12px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.menu-header {
    padding: 8px;
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
}

.menu-items {
    display: flex;
    padding: 8px;
}

.menu-column {
    flex: 1;
    padding: 0 8px;
}

.menu-column a {
    display: block;
    padding: 4px 0;
    color: black;
    text-decoration: none;
}

.menu-column a:hover {
    color: #000080;
}

.menu-footer {
    padding: 8px;
    border-top: 1px solid #808080;
    text-align: center;
}

.logout-button, .shutdown-button {
    padding: 4px 8px;
    margin: 0 4px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    cursor: pointer;
    font-family: "Microsoft Sans Serif", Arial, sans-serif;
    font-size: 12px;
}

.logout-button:hover, .shutdown-button:hover {
    background-color: #000080;
    color: white;
}
.xp-window {
    position: absolute;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    display: none;
    z-index: 1001;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    font-family: "Microsoft Sans Serif", Arial, sans-serif;
    font-size: 12px;
    overflow: auto;
    resize: both;
}

.window-header {
    padding: 4px 8px;
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.window-buttons {
    display: flex;
}

.window-minimize,
.window-maximize,
.window-close {
    background: none;
    border: 1px solid #808080;
    margin-left: 2px;
    padding: 0 6px;
    color: white;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 14px;
}

.window-minimize:hover,
.window-maximize:hover {
    background-color: #000080;
}

.window-close:hover {
    background-color: #ff0000;
    color: white;
}

.window-content:not(.tools-dropdown, .dropdown-item) {
    padding: 10px;
}

.taskbar {
    display: flex;
    align-items: center;
    height: 30px;
    margin-left: 20px;
}

.taskbar-item {
    display: flex;
    align-items: center;
    padding: 2px 8px;
    margin-right: 2px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    cursor: pointer;
    font-family: "Microsoft Sans Serif", Arial, sans-serif;
    font-size: 12px;
}

.taskbar-item:hover {
    background-color: #000080;
    color: white;
}

.taskbar-item.active {
    background-color: #000080;
    color: white;
}

.menu-bar {
    position: relative;
    background-color: #c0c0c0;
    padding: 2px 5px;
    border-bottom: 1px solid #808080;
    border-top: 1px solid #fff;
}

.menu-item {
    display: inline-block;
    margin-right: 15px;
    padding: 2px 5px;
    cursor: pointer;
}

.menu-item:hover {
    background-color: #000080;
    color: white;
}

.address-bar {
    background-color: #c0c0c0;
    padding: 2px 5px;        
    border-bottom: 1px solid #808080;
    border-top: 1px solid #fff;                
 }       

.content {
    background-color: white;
    height: calc(100% - 60px);
    padding: 5px;
    overflow: auto;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 2px 5px;
    cursor: default;
    color: black;
}

.file-item:hover {
    background-color: #000080;
    color: white;
}

.file-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url("images/text-file.png");
    background-size: contain;
}

.status-bar {
    background-color: #c0c0c0;
    padding: 2px 5px;
    border-top: 1px solid #fff;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
}        
.tools-dropdown {
    display: none;
    position: absolute;
    top: 40px;
    left: 200px;
    background-color: white;
    border: 1px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    width: 120px;
    z-index: 10;
    color: black;
}

.dropdown-item {
    padding: 5px 10px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #000080;
    color: white;
}