@font-face {
font-family: WindowsRegular;
src: url(WindowsRegular.ttf);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box; 
}

html, body {
height: 100%;
width: 100%;
overflow: hidden;
font-family: 'Segoe UI', sans-serif;
margin: 0;
padding: 0;
}

body {
background-color: #008080;
background-image: url('./images/windows98background.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: calc(100vh - 40px); /* Assuming your taskbar height is 40px */
overflow: hidden;
margin: 0;
}


.hidden {
display: none;
}
/*-----------------desktop shortcuts----------------------*/
.desktop-shortcuts {
position: absolute;
top: 20px;
left: 20px;
display: flex;
flex-direction: column;
gap: 20px;
z-index: 1;
margin-top: 10px;
}

.shortcut {
display: flex;
flex-direction: column;
align-items: center;
width: 80px;
text-align: center;
cursor: default;
border: 1px solid transparent;
}

.shortcut img {
width: 40px;
height: 40px;
padding: 3px;
}

.shortcut p {
margin: 5px 0 0;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: center;
font-family: WindowsRegular;
font-size: 14px;
color: white;
}
.shortcut.selected p {
white-space: normal;
overflow: visible;
text-overflow: unset;
}
.shortcut:hover,
.shortcut.selected {
background-color: #000080;
color: white;
border: 1px dotted white;
cursor: pointer;
}
/*text in window title*/
.title-text {
display: flex;
align-items: center; /* vertically center icon and text */
gap: 6px; /* space between icon and text */
}
/*icon in window title*/
.title-icon {
width: 16px;
height: 16px;
}

/*makes the window scrollable*/
#biographywindow .window-body {
max-height: 700px;        
overflow-y: auto; /* Enables vertical scrollbar */
overflow-x: hidden; /* Optional: hides horizontal scrollbar */
}
.biography-container {
margin-left: 12em;
margin-right: 12em;
/*background-color: #0f63fe73;*/
}
.window-body-section {
margin: 3em 0em;
}
.window-body-section p, h5 {
font-size: 16px
}
.window-body-section-title {
margin: 5em 0em 1em;
}

.window-body-section-country {
display: flex;
align-items: center; 
gap: 0.3em; 
}
.window-body-section-country p {
font-size: 15px;
}
.window-body-section-country img {
height: 16px;
width: 16px;
}
.window-body-projects-title {
margin: 3em 0em 1em;
}
.window-body-projects {
margin: 1em 0em 3em;
}
.window-body-projects p {
font-size: 16px;
word-wrap: break-word; /* Allows long words to break and wrap onto the next line */
}
.window-body-projects-image {
justify-content: center;
display: flex;
flex-direction: column;
gap: 1em; 
max-width: 100%;
}
.window-body-projects-image p {
font-size: 16px;
}
.window-body-projects-image img {
max-width: 100%;
border-top: 2px solid #fff;
border-bottom: 2px solid #808080;
border-left: 2px solid #fff;
border-right: 2px solid #808080;
}
.window.maximized {
border-top: 2px solid #fff;
border-bottom: 2px solid #808080;
border-left: 2px solid #fff;
border-right: 2px solid #808080;
box-shadow: none;
padding: 0;
width: 100% !important;
left: 0 !important;
box-sizing: border-box;
}

.skills {
display: flex;
flex-wrap: wrap;
gap: 5px;
margin-top: 5em;
justify-content: center;
}

.tag {
padding: 5px 10px;
border-radius: 8px;
font-size: 14px;
font-weight: bold;
color: white;
display: inline-block;
}

.html { background-color: #f18a29; }
.css { background-color: #f13629; }
.js{ background-color: #4db33d; }
.python { background-color: #3776ab; }
.react { background-color: #61dafb; color: #000; }
.vue { background-color: #42b883; }
.swift { background-color: #ffac45; }
.swiftui { background-color: #0f62fe; }
.flask { background-color: #095f0d; }
.mongodb { background-color: #4db33d; }
.git { background-color: #a259ff; }
.figma { background-color: #a259ff; }
.sqlite { background-color: #003b57; }
.sql { background-color: #e38c00; }
/*
.title-bar {
 padding: 2px 4px;
}

.title-bar-left {
 display: flex;
 align-items: center;
 gap: 4px;
}

.title-bar img {
 height: 16px;
 width: 16px;
 display: block;
}*/
.window {
width: 50%;
pointer-events: auto;
position: absolute;
z-index: 20;
cursor: default; /* Keeps cursor consistent over the window body*/
}
#drawingsWindow {
width: 40%;  /* starting width */
height: 250px; /* starting height */
}

.title-bar {
background: #000080;
color: white;
padding: 4px 8px;
font-weight: bold;
display: flex;
justify-content: space-between;
cursor: default; /* Keeps cursor consistent over the window body */
}

.window-content {
padding: 10px;
}
/*images folder ----------------------------------------------------------------------------------------------------------------------*/

.folder-container {
/* display: flex;
 flex-wrap: wrap;
 gap: 20px;
 padding: 20px;*/
flex: 1;  
overflow: auto;
background-color: #ffffff;
border-left: 1px solid #fff;
border-right: 1px solid #808080;
}

.folder {
width: 60px;
text-align: center;
cursor: pointer;
align-self: flex-start;
}

.folder img {
width: 32px;
height: 32px;
}

.folder p {
font-size: 12px;
margin-top: 4px;
font-family: WindowsRegular;
}
.image-style img {
width: 100%;
padding: 16px; 
object-fit: contain 
}
.filetoolbar {
display: flex;
margin-bottom: -1px;
border-top: 1px solid #fff;
border-bottom: 1px solid #808080;
border-left: 1px solid #fff;
border-right: 1px solid #808080;
padding: 6px;

}
.filetoolbar ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
gap: 2em;
}
.field-row {
border-top: 1px solid #fff;
border-bottom: 1px solid #808080;
border-left: 1px solid #fff;
border-right: 1px solid #808080;
padding: 5px;
}
.address {
line-height: 1;
transform: translateX(-6px); /* This is the key nudge! */
}
.divider {
width: 2px;
height: 12px;
border-top: 1px solid #fff;
border-bottom: 1px solid #808080;
border-left: 1px solid #fff;
border-right: 1px solid #808080;
background-color: #c9c9c9;
margin: 0 4px;
}
/* folder on click */
.folder.selected {
background-color: #000080;
color: white;
border: 1px dotted white;
}


.folder-status-bar {
display: flex;
justify-content: space-between;
padding: 4px 8px;
font-size: 12px;
font-family: WindowsRegular;
background-color: #c0c0c0;
border-top: 1px solid #fff;
border-bottom: 1px solid #808080;
border-left: 1px solid #fff;
border-right: 1px solid #808080;
}

.window.folder-window:not(.hidden) {
display: flex;
flex-direction: column;
}

#Images .window-body,
#drawingsfolder .window-body,
#ecommercefolder .window-body,
#portfolio1folder .window-body,
#portfolio2folder .window-body,
#fivemfolder .window-body,
#emailformfolder .window-body {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}

#Images .folder-container,
#drawingsfolder .folder-container,
#ecommercefolder .folder-container,
#portfolio1folder .folder-container,
#portfolio2folder .folder-container,
#fivemfolder .folder-container,
#emailformfolder .folder-container {
flex: 1;
display: flex;
flex-wrap: wrap;
gap: 20px;
padding: 20px;
overflow-y: auto;
}

#Images .folder-status-bar,
#drawingsfolder .folder-status-bar,
#ecommercefolder .folder-status-bar,
#portfolio1folder .folder-status-bar,
#portfolio2folder .folder-status-bar,
#fivemfolder .folder-status-bar,
#emailformfolder .folder-status-bar {
display: flex;
justify-content: space-between;
padding: 4px 8px;
font-size: 12px;
font-family: WindowsRegular;
background-color: #c0c0c0;
border-top: 1px solid #fff;
border-bottom: 1px solid #808080;
border-left: 1px solid #fff;
border-right: 1px solid #808080;
}

/* taskbar----------------------------------------------------------------------------------------------------------------------*/
.taskbar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 40px;
background-color: silver;
border-top: 2px solid #fff;
border-bottom: 2px solid #808080;
border-left: 2px solid #fff;
border-right: 2px solid #808080;
display: flex;
align-items: center;
justify-content: space-between;
padding: 2px 6px;
box-sizing: border-box;
z-index: 999;
}

.start-button {
padding: 2px 10px;
font-size: 14px;
cursor: pointer;
display: flex;
align-items: center;
gap: 6px; 
height: 32px;

}
.taskbar-button {
padding: 2px 10px;
width: 100px;
font-size: 14px;
cursor: pointer;
display: flex;
align-items: center;
gap: 6px; 
height: 32px;
font-family: WindowsRegular;
white-space: nowrap;         /* Don't wrap */
overflow: hidden;            /* Hide overflow */
text-overflow: ellipsis; 
}
.taskbar-label {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.taskbar-button img.start-icon {
width: 16px;
height: 16px;
}
.start-menu {
position: absolute;
bottom: 40px;
left: -0px;
background: #c0c0c0;
border: 2px solid #000;
border-top-color: #fff;
border-left-color: #fff;
list-style: none;
padding: 0;
margin: 0;
width: 200px;
box-shadow: 2px 2px #808080;
z-index: 10;
display: flex;
width: auto; /* allow content to size naturally */
}

.start-menu li {
display: flex;
align-items: center;
padding: 6px 10px;
border-bottom: 1px solid #a0a0a0;
font-size: 14px;
cursor: pointer;
font-family: WindowsRegular;
}
.start-menu li:hover {
background-color: #000080;
color: white;
}
.hidden {
display: none;
}


.menu-icon {
width: 34px;
height: 34px;
margin-right: 8px
}


.start-stripe img {
width: 70%;
}


.start-button img.start-icon {
width: 16px;
height: 16px;
display: inline-block;
}
.window.maximized {
border-radius: 0;
}

.start-button:hover {
background-color: #dcdcdc;
}

.taskbar-items {
display: flex;
flex: 1;
margin: 0 10px;
gap: 4px;
overflow-x: auto;
scrollbar-width: none;
-ms-overflow-style: none;
}

.taskbar-items {
background-color: silver;
font-size: 15px;
white-space: nowrap;
}

.taskbar-clock {
background-color: silver;
border: 2px inset #fff;
padding: 2px 8px;
font-size: 12px;
font-family: WindowsRegular;
}
/*-------------------------- max-width: 1280px --------------------------*/

@media (max-width: 1280px) {
.biography-container {
margin-left: 5em;
margin-right: 5em;
/*background-color: #0f63fe73;*/
}
}
/*-------------------------- max-width: 768px --------------------------*/

@media (max-width: 768px) {
body {
background-image: url('./images/windows98backgroundmobile.jpeg');
position: fixed;
width: 100%;
overflow: hidden;
touch-action: none; 
}


  .biography-container {
  margin-left: 1.5em;
  margin-right: 1.5em;
  
}
/*--------width of the windows when on smaller device --------*/
#biographywindow {
width: 90vw ;
}
#Images {
  width: 80vw ;
}

  #biographywindow .window-body {
    max-height: 500px;
    overflow-y: auto;
  }
 
 .image-style img {
    padding: 2px; /* optional: reduce padding for more image space */
  }

  .folder-container {
  align-content: flex-start !important;
  justify-content: flex-start !important;
}
.folder {
  margin: 5px !important;
}

}
  