/* =========================
   Base Styling
========================= */
body {
  font-family: 'VT323', monospace;
  background: linear-gradient(135deg, #ffeaf5, #ffd6eb);
  color: #4a2c35;
  margin: 0;
  padding: 0;
}
.portfolio-section {
  margin: 25px 0;
}

.project {
  display: flex;
  align-items: center;
  background-color: #ffeaf5;
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
  box-shadow: 0 2px 6px rgba(166,68,110,0.2);
  gap: 15px;
}

.project-info h3 {
  margin: 0 0 5px 0;
  color: #a6446e;
}

.project-info p {
  margin: 0 0 5px 0;
}

.project-info a {
  color: #a6446e;
  text-decoration: none;
}

.project-info a:hover {
  text-decoration: underline;
}

.portfolio-img {
  width: 120px; /* smaller, keeps it neat */
  height: auto;
  border-radius: 10px;
  border: 2px solid #ffcce3;
  box-shadow: 0 2px 4px rgba(166,68,110,0.2);
}

/* Container for About, Links, Portfolio pages */
.container {
  max-width: 900px;
  margin: auto;
  background-color: #fff0f8;
  padding: 20px;
  border: 3px solid #ffb6d6;
  border-radius: 20px;
  box-shadow: 0 6px 12px rgba(166,68,110,0.2);
}

/* Header and Navigation */
header {
  text-align: center;
  background-color: #ffddea;
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 20px;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
  color: #a6446e;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

nav ul li a {
  text-decoration: none;
  background-color: #ffb3d1;
  color: #fff;
  padding: 6px 14px;
  border-radius: 10px;
  transition: 0.2s ease;
}

nav ul li a:hover {
  background-color: #ffa4c0;
}

/* Section Headers */
h2, h3 {
  color: #a6446e;
}

ul {
  list-style: disc;
  padding-left: 20px;
}

/* Links */
a {
  color: #a6446e;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   Portfolio Cards
========================= */
.portfolio-card {
  background-color: #ffeaf5;
  padding: 12px;
  border-radius: 12px;
  margin: 12px 0;
  box-shadow: 0 3px 8px rgba(166,68,110,0.2);
  display: inline-block;
  width: calc(33% - 16px); /* 3 per row on desktop */
  box-sizing: border-box;
  vertical-align: top;
}

.portfolio-card img {
  width: 100%;
  height: 180px; /* uniform height */
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(166,68,110,0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .portfolio-card {
    width: calc(50% - 12px); /* 2 per row */
  }
}

@media (max-width: 480px) {
  .portfolio-card {
    width: 100%; /* 1 per row */
  }
}

/* About Me sections */
.about-likes, .about-dislikes, .games, .interests, .fun-facts {
  background: #fff5fa;
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(166,68,110,0.15);
}

/* =========================
   Desktop Home Screen Mode
========================= */
body.desktop-mode {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Desktop area */
.desktop {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  padding: 30px;
  gap: 50px;
}

/* Desktop icons */
.icon-item {
  text-align: center;
  color: #a6446e;
  width: 80px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.icon-item:hover {
  transform: scale(1.1);
}

.icon-img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 6px;
  border: 3px solid #ffcce3;
  background: #fff;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(166,68,110,0.2);
}

/* Taskbar */
.taskbar {
  background: #ffcade;
  border-top: 3px solid #ffa6c9;
  color: #6b2340;
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'VT323', monospace;
  position: relative;
  z-index: 900;
}

.start {
  background: #fff0f8;
  padding: 4px 10px;
  border: 2px solid #ffa6c9;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  user-select: none;
}

.start:hover {
  background: #ffe1ef;
}

.time {
  background: #fff0f8;
  padding: 3px 8px;
  border-radius: 6px;
  border: 2px solid #ffcce3;
  font-size: 1.1em;
}

/* Start Menu */
.start-menu {
  display: none;
  position: absolute;
  bottom: 40px;
  left: 10px;
  background: #fff0f8;
  border: 3px solid #ffb6d6;
  border-radius: 12px;
  width: 180px;
  box-shadow: 0 6px 12px rgba(166,68,110,0.3);
  padding: 10px;
  z-index: 1000;
}

.start-menu a {
  display: block;
  padding: 6px;
  color: #a6446e;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.1em;
}

.start-menu a:hover {
  background: #ffddea;
}

/* Modal windows */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.3);
}

.modal-content {
  position: absolute;
  background-color: #fff0f8;
  padding: 20px;
  border: 3px solid #ffb6d6;
  border-radius: 18px;
  width: 300px;
  top: 25%;
  left: 35%;
  box-shadow: 0 6px 12px rgba(166,68,110,0.3);
}

.modal-header {
  padding: 8px;
  cursor: move;
  background-color: #ffddea;
  font-weight: bold;
  border-bottom: 2px solid #ffa6c9;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  color: #a6446e;
  font-family: 'VT323', monospace;
}

.close {
  color: #a6446e;
  float: right;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}

.modal-img {
  width: 100%;
  border-radius: 8px;
  margin-top: 10px;
}

/* Calendar table */
table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  margin-top: 10px;
}

th, td {
  padding: 5px;
  border: 1px solid #ffcce3;
}

th {
  background-color: #ffddea;
  color: #a03e66;
}

.today {
  background-color: #ffa6c9;
  font-weight: bold;
  border-radius: 6px;
}