*, *::before, *::after { box-sizing: border-box; }

body {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-image: url("waves_blue.png");
  background-size: cover;
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif;
}

.title-bar { 
  padding-top: 4px !important; 
  padding-right: 6px !important; 
  padding-bottom: 4px !important; 
  padding-left: 6px !important; 
}
.title-bar-text { 
  font-size: 14px !important; 
  letter-spacing: 0.5px; 
}
.title-bar-controls button { 
  width: 20px !important; 
  height: 20px !important; 
}

#desktop {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0;
  bottom: 35px;
  overflow: hidden;
}

#desktop-icons {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
  cursor: pointer;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  user-select: none;
}

.desktop-icon:hover {
  outline-width: 1px;
  outline-style: dotted;
  outline-color: white;
  background-color: rgba(0,0,128,0.4);
}

.desktop-icon.selected {
  background-color: rgba(0,0,128,0.6);
  outline-width: 1px;
  outline-style: dotted;
  outline-color: white;
}

.desktop-icon img {
  width: 60px;
  height: 60px;
  image-rendering: pixelated;
}

.desktop-icon p {
  margin-top: 4px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  font-size: 14px;
  color: white;
  text-align: center;
  text-shadow: 1px 1px 1px black;
  line-height: 1.2;
  word-break: break-word;
}

.win-window {
  position: absolute;
  min-width: 250px;
  min-height: 125px;
  display: none;
}

.win-window.visible {
  display: block;
}

.win-window .title-bar {
  cursor: move;
  user-select: none;
}

#browser-window {
  width: 850px;
  top: 50px;
  left: 150px;
}

#browser-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 5px;
  padding-right: 8px;
  padding-bottom: 5px;
  padding-left: 8px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #808080;
  font-size: 14px;
}

#browser-toolbar button {
  font-size: 14px;
  padding-top: 1px;
  padding-right: 8px;
  padding-bottom: 1px;
  padding-left: 8px;
}

#address-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
  padding-right: 8px;
  padding-bottom: 4px;
  padding-left: 8px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #808080;
  font-size: 14px;
}

#address-row label {
  white-space: nowrap;
  font-size: 14px;
}

#address-input {
  flex: 1;
  font-size: 14px;
  height: 25px;
}

#address-row button {
  font-size: 14px;
  padding-top: 1px;
  padding-right: 10px;
  padding-bottom: 1px;
  padding-left: 10px;
}

#browser-body {
  height: 525px;
  overflow-y: auto;
  padding-top: 20px;
  padding-right: 23px;
  padding-bottom: 20px;
  padding-left: 23px;
  background-color: white;
  font-size: 16px;
  line-height: 1.6;
}

#browser-status {
  display: flex;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: #808080;
  font-size: 14px;
}

.status-segment {
  padding-top: 3px;
  padding-right: 8px;
  padding-bottom: 3px;
  padding-left: 8px;
  border-right-width: 1px;
  border-right-style: solid;
  border-right-color: #808080;
  flex: 1;
}

.status-segment:last-child {
  border-right-width: 0;
  border-right-style: none;
  flex: 0 0 auto;
}

#blog-content h1 {
  font-size: 20px;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 5px;
  margin-left: 0;
  color: #000080;
}

#blog-content .blog-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #ddd;
  padding-bottom: 10px;
}

.blog-post {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #ccc;
}

.blog-post:last-child {
  border-bottom-width: 0;
  border-bottom-style: none;
}

.blog-post-header {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-bottom: 8px;
}

.blog-post h2 {
  font-size: 16px;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  color: #000080;
}

.blog-post h2 a {
  color: #000080;
  text-decoration: none;
}

.blog-post h2 a:hover {
  text-decoration: underline;
}

.blog-post .post-date {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}

.blog-post p {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  font-size: 15px;
  color: #333;
}

.post-tag {
  display: inline-block;
  background-color: #000080;
  color: white;
  font-size: 12px;
  padding-top: 1px;
  padding-right: 6px;
  padding-bottom: 1px;
  padding-left: 6px;
  margin-left: 5px;
}

#taskbar {
  position: fixed;
  bottom: 0; 
  left: 0; 
  right: 0;
  height: 35px;
  background-color: #c0c0c0;
  border-top-width: 2px;
  border-top-style: solid;
  border-top-color: white;
  display: flex;
  align-items: center;
  gap: 3px;
  padding-top: 0;
  padding-right: 5px;
  padding-bottom: 0;
  padding-left: 5px;
  z-index: 9999;
}

#start-button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 3px;
  padding-right: 8px;
  padding-bottom: 3px;
  padding-left: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  height: 28px;
  border-top-width: 2px;
  border-top-style: solid;
  border-top-color: white;
  border-left-width: 2px;
  border-left-style: solid;
  border-left-color: white;
  border-right-width: 2px;
  border-right-style: solid;
  border-right-color: #404040;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: #404040;
  background-color: #c0c0c0;
  white-space: nowrap;
}

#start-button:active {
  border-top-width: 2px;
  border-top-style: solid;
  border-top-color: #404040;
  border-left-width: 2px;
  border-left-style: solid;
  border-left-color: #404040;
  border-right-width: 2px;
  border-right-style: solid;
  border-right-color: white;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: white;
}

#start-button img {
  width: 20px;
  height: 20px;
}

.taskbar-divider {
  width: 2px;
  height: 28px;
  border-left-width: 1px;
  border-left-style: solid;
  border-left-color: #808080;
  border-right-width: 1px;
  border-right-style: solid;
  border-right-color: white;
  margin-top: 0;
  margin-right: 3px;
  margin-bottom: 0;
  margin-left: 3px;
}

.taskbar-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 3px;
  padding-right: 10px;
  padding-bottom: 3px;
  padding-left: 10px;
  font-size: 14px;
  cursor: pointer;
  height: 28px;
  min-width: 125px;
  max-width: 200px;
  border-top-width: 2px;
  border-top-style: solid;
  border-top-color: white;
  border-left-width: 2px;
  border-left-style: solid;
  border-left-color: white;
  border-right-width: 2px;
  border-right-style: solid;
  border-right-color: #404040;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: #404040;
  background-color: #c0c0c0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.taskbar-btn.active {
  border-top-width: 2px;
  border-top-style: solid;
  border-top-color: #404040;
  border-left-width: 2px;
  border-left-style: solid;
  border-left-color: #404040;
  border-right-width: 2px;
  border-right-style: solid;
  border-right-color: white;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: white;
  background-color: #b0b0b0;
}

.taskbar-btn img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  image-rendering: pixelated;
}

#taskbar-spacer {
  flex: 1;
}

#system-tray {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 0;
  padding-right: 8px;
  padding-bottom: 0;
  padding-left: 8px;
  height: 28px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: #808080;
  border-left-width: 1px;
  border-left-style: solid;
  border-left-color: #808080;
  border-right-width: 1px;
  border-right-style: solid;
  border-right-color: white;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: white;
  font-size: 14px;
}

#clock {
  font-size: 14px;
}

#start-menu {
  position: fixed;
  bottom: 39px;
  left: 30px;
  width: 150px;
  display: none;
  z-index: 10000;
}

#start-menu.visible {
  display: block;
}

#start-menu-inner {
  background-color: #c0c0c0;
  border-top-width: 2px;
  border-top-style: solid;
  border-top-color: white;
  border-left-width: 2px;
  border-left-style: solid;
  border-left-color: white;
  border-right-width: 2px;
  border-right-style: solid;
  border-right-color: #404040;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: #404040;
}

.start-menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 5px;
  font-size: 15px;
  cursor: pointer;
}

.start-menu-item:hover {
  background-color: #000080;
  color: white;
}

.start-menu-item img {
  width: 20px;
  height: 20px;
  image-rendering: pixelated;
}

.start-menu-separator {
  border-style: none;
  border-width: 0;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: #808080;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: white;
  margin-top: 5px;
  margin-right: 10px;
  margin-bottom: 5px;
  margin-left: 40px;
}

.resize-handle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
  cursor: se-resize;
}

.monthly-row .desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 75px; 
    text-align: center;
    cursor: pointer;
    margin: 0; 
}

#monthly-travel .desktop-icon {
    height: 75px; 
}

#monthly-travel .desktop-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-bottom: 4px;
}

#monthly-movies .desktop-icon {
    height: 120px; 
}

#monthly-movies .desktop-icon img {
    width: 50px;         
    height: 75px;        
    object-fit: cover;   
    margin-bottom: 4px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
}

.monthly-row .desktop-icon p {
    font-size: 12px; 
    font-family: inherit;
    line-height: 14px;
    margin: 0;
    padding: 0 2px;
    width: 100%;
    word-wrap: break-word; 
}