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

/* Font Face Declaration */
@font-face {
  font-family: 'w95fa';
  src: url('Fonts/PO.ttf') format('truetype');
}

@font-face {
  font-family: '04B_30';
  src: url('Fonts/PO.ttf');
}

/* Body Style */
body {
  background-image: url('Images/bg.png');
  background-size: cover;
  font-family: '04B_30', sans-serif;
  overflow: hidden;
  position: relative;
  height: 100vh;
}

/* Desktop Icons */
.icon {
  width: 50px;
  text-align: center;
  position: absolute;
  cursor: pointer;
  left: 20px;
  transition: all 0.1s ease;
}

.icon img {
  width: 100%;
}

.icon span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #000;
  font-family: 'w95fa', sans-serif;
}

.icon:hover {
  border: 2px solid #000;
  background-color: #e0e0e0;
  padding: 2px;
}

/* Taskbar */
.taskbar {
  background-color: lightskyblue;
  border: 3px solid #000000;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.taskbar-left {
  display: flex;
  gap: 10px;
}

.start-button {
  background-color: #FFFFFF;
  border: 2px solid #000000;
  padding: 5px 10px;
  cursor: pointer;
  font-weight: bold;
}

.taskbar-icons {
  display: flex;
  gap: 10px;
  margin-left: 10px;
}

.taskbar-icons img {
  width: 20px;
  height: 20px;
}

.time {
  background-color: #FFFFFF;
  border: 2px solid #000000;
  padding: 6px 5px;
  font-size: 14px;
  font-weight: bold;
}

/* Pop-up Style */

.popup {
  position: absolute;
  display: none;
  width: 600px;
  height: 400px;
  background-color: #FDF5E6;
  border: 3px solid black;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  resize: both;
  max-height: calc(100% - 100px); 
  overflow-y: auto;
  z-index: 1000;
}

.popup-header {
  width: 100%;
  height: 30px;
  background-color: black;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
  cursor: move;
}

.popup-content {
  padding: 10px;
  box-sizing: border-box;
}
.popup-buttons {
  display: flex;
  gap: 5px;
}

.popup-button {
  width: 24px;
  height: 24px;
  background-color: #ccc;
  border: none;
  color: black;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.controls {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.controls button {
  margin-right: 5px;
}

.controls input {
  flex-grow: 1;
}

.folder-view, .thumbnails {
  display: flex;
  flex-wrap: wrap;
}

.folder, .thumbnail {
  width: 72px;
  margin: 5px;
  text-align: center;
  cursor: pointer;
}

.folder img, .thumbnail img {
  width: 48px;
  height: 48px;
}

.lightbox {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
}

.lightbox img, .lightbox video {
  display: none;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* Contact Pop-up Specific Styles */
.contact-popup .popup-content p {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: skyblue;
  margin-bottom: 20px;
}

.contact-popup .popup-content ul {
  list-style-type: none;
  padding: 0;
  text-align: center;
}

.contact-popup .popup-content li {
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-popup .popup-content a {
  text-decoration: none;
  color: skyblue;
}

.contact-popup .popup-content a:hover {
  text-decoration: underline;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .popup {
    width: 100%;
    height: 100%;
    max-height: calc(100% - 50px);
  }
  
  .popup-content {
    padding: 5px;
  }
  
  .folder, .thumbnail {
    width: 60px;
  }

  .folder img, .thumbnail img {
    width: 40px;
    height: 40px;
  }
}

/* Update Log Styles */
.update-log {
  text-align: center;
  margin-top: 20px;
}

.update-log h1 {
  font-size: 24px;
  color: purple;
  font-weight: bold;
}

.update-log h2 {
  font-size: 20px;
  color: black;
  margin-top: 10px;
  letter-spacing: 2px;
}

/* Resume Link Styling */
.resume-link {
  display: inline-block;
  background-color: skyblue;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  border: 2px solid black;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.resume-link:hover {
  background-color: dodgerblue;
}

