* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  font-family: "Times New Roman", Times, serif;
    /* font-family: "Lucida Console", "Courier New", monospace; */
  font-family: Arial, Helvetica, sans-serif;

}

/* html {
  overflow: hidden;
} */

body {
  background-color: hsl(0, 0%, 0%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.desktop {
  transform: scale(0.95);
  width: 100%;
  height: 100%;
  /* overflow: hidden; */
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* padding: 1rem; */
  
  /* background-color: aliceblue; */

}

.monitor {
  /* transition: all 500ms ease-in-out; */
  width: 95vw;
  height: 95vh;
  max-width: 1500px;
  /* background-color: rgb(207, 200, 181); */
  background-color: hsl(0, 0%, 68%);
  border: 3px solid hsl(0, 0%, 20%);
  border-radius: 25px;
  position: relative;
  box-shadow: 0 0 50px hsla(0, 0%, 100%, 0.1);
  /* border-radius: 50% 50% 50% 50% / 1% 1% 1% 1%; */

}

.monitor-brand {
  position: absolute;
  bottom: 12px;
  color: white;
  /* background-color: white; */
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: large;
  font-weight: 600;
}

.screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    transparent,
    hsla(0, 0%, 0%, 0.5)
    );
    pointer-events: none;
    /* Ensures it doesn't interfere with click events */
    z-index: 5000;
  }
  
  .screen-border-hack {
    height: 100%;
    border-radius: 50% 50% 50% 50% / 1% 1% 1% 1%;
    /* border: solid 5px red; */
    width: 95%;
    height: 88%;
    margin: 2.5% auto;
    overflow: hidden;
  }
  .screen {
    width: 95%;
    height: 88%;
    width: 100%;
    height: 100%;
    /* margin: 2.5% auto; */
    position: relative;
    overflow: hidden;
    cursor: url("/assets/SolarCursorBold.svg"), auto;
    
    /* border-radius: 100%/2%; */
    border-radius: 1% 1% 1% 1% / 50% 50% 50% 50%;
    /* border-radius: 50% 50% 50% 50% / 1% 1% 1% 1%; */
    filter: brightness(90%) contrast(110%) saturate(120%);
    box-shadow: 0 0 25px hsla(0, 0%, 0%, 0.6) inset;
    background-image: repeating-linear-gradient(
      0deg,
      hsla(0, 6%, 7%, 0.2),
      hsla(0, 6%, 7%, 0.2) 2px,
      transparent 4px,
      transparent 1px
      );
      transition: background 500ms ease-in-out;
    }
/* .screen {
  position: relative;
  border: 30px solid transparent;
  border-image-source: url(/assets/TmqR-bezel_gray.png);
  border-image-slice: 30 fill;
  border-image-outset: 0;
  overflow: hidden;
} */

.screen-turned-on {
  background-color: hsl(97, 100%, 93%);
}

/* .screen::after {
  content: "";
  position: absolute;
  width: 40%;
  height: 60%;
  left: 10%;
  top: 5%;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: rotate(10deg);
  pointer-events: none;
  z-index: 4;
  // Below the vignette effect but above the screen content
}
*/

.boot-animation {
  width: 50%;
  height: 50%;
  /* background: black; */
  /* color: lime; */
  font-family: "Courier New", Courier, monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10; /* To ensure it's above other content */
}

.icon {
    /* display: inline-block; */
    /* width: 50px; */
    /* display: inline; */
    /* height: 70px; */
    /* background-color: #000; */
    /* height: 80px; */
    text-align: center;
    display: flex;
    align-self: flex-start;
    flex-direction: column;
    /* place-content: center; */
    /* margin: 10px; */
    cursor: url("/assets/ClarityCursorHandSolid.svg"), auto;
    align-items: center;
}
.icon img {
  /* width: 100%; */
}

.icon p {
  margin-top: 5px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 600;
}

.window {
  position: absolute;
  top: 10%;
  left: 15%;
  width: 70%;
  height: 70%;
  background: hsl(0, 0%, 100%);
  border: 2px solid hsl(0, 0%, 0%);
  z-index: 20;
  display: none;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0;
  overflow: hidden;
  /* transform: scale(0.9) translate(-50%, -50%); */
  /* Initially hidden */
  /* height: 90%;
    left: 0;
    top: 0;
    text-align: center; */
}

.close-btn {
  float: right;
  cursor: url("/assets/ClarityCursorHandSolid.svg"), auto;
  width: 20px;
}

.window-header {
  /* background: hsl(0, 0%, 20%); */
  /* color: hsl(0, 0%, 100%); */
  padding: 8px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  cursor: grab;

  background: hsl(200, 50%, 20%); /* Use colors like cyan or magenta */
  color: hsl(60, 10%, 90%); /* off-white text */
}

.window-header:active {
  cursor: grabbing;
}

.window-header-dark-mode {
  background-color: hsl(0, 0%, 66%);
  color: hsl(0, 0%, 0%);
}

.window-content {
  padding: 2rem;
  overflow: auto;
  height: 100%;
  scrollbar-width: thick;
  scrollbar-color: hsl(0, 0%, 53%) hsl(0, 0%, 95%);
  color: hsl(0, 0%, 20%);
  border: 2px inset hsl(0, 0%, 80%);
}

.window-content-dark-mode {
  background-color: hsl(0, 0%, 0%);
  color: hsl(0, 0%, 100%);
}

.window-content::-webkit-scrollbar {
  width: 15px; /* Adjust width for vertical scrollbar */
  height: 15px; /* Adjust height for horizontal scrollbar */
}

.window-content::-webkit-scrollbar-track {
  background: hsl(0, 0%, 95%); /* Color of the track */
  border-radius: 0; /* Makes the track edges squared, can be adjusted if needed */
}

.window-content::-webkit-scrollbar-thumb {
  background: hsl(0, 0%, 53%); /* Color of the thumb */
  border-radius: 0; /* Makes the thumb edges squared, can be adjusted if needed */
}

.window-content::-webkit-scrollbar-thumb:hover {
  background: hsl(0, 0%, 33%); /* Color of the thumb on hover */
}

.window-quick-info {
  width: 20%;
  height: auto;
}

.window-quick-info-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.window-quick-info-content img {
  background-color: hsl(0, 0%, 100%);
  border: 1px solid hsl(0, 0%, 0%);
  padding: 5px;
  box-shadow: 2px 2px hsl(0, 0%, 53%);
}

.taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10%; /* You can adjust the height as needed */
  background-color: hsl(200, 50%, 20%); /* Background color of the taskbar */
  display: flex;
  align-items: center;
  justify-content: space-between; /* This separates the start button, running apps, and system tray */
  padding: 0 16px; /* Adds a little spacing on the left and right of the taskbar */
  box-shadow: 0px -2px 5px hsla(0, 0%, 0%, 0.2); /* Adds a slight shadow at the top of the taskbar */
}

.start-button,
.system-tray,
.running-apps {
  display: flex;
  align-items: center;
  gap: 10px; /* Creates a little space between items */
}

#theme-switch {
  width: 22px;
  height: 22px;

  cursor: url("/assets/ClarityCursorHandSolid.svg"), auto;
}

.start-button {
  padding: 8px 16px; /* Adds a little padding to the start button */
  border-radius: 5px; /* Rounds the corners of the start button */
  transition: background-color 0.3s; /* Smoothens the hover effect */
  cursor: url("/assets/ClarityCursorHandSolid.svg"), auto;
  color: hsl(0, 0%, 100%);
}

.start-button:hover {
  background-color: hsl(200, 50%, 30%); /* Background color of the taskbar */
}

.start-button-dark-mode:hover {
  background-color: hsl(0, 0%, 27%);
}

#clock {
  font-family: "Courier New", Courier, monospace;
  color: hsl(0, 0%, 70%); /* off-white for the clock text */
  font-size: 12px; /* Size of the clock text */
}

.start-menu {
  position: absolute;
  bottom: 100%; /* height of the taskbar */
  left: 0;
  width: 250px; /* You can adjust the width as per your design */
  /* background-color: hsl(0, 0%, 20%); */
  /* background-color: hsl(0, 0%, 0%); */
  /* border: 1px solid hsl(0, 0%, 13%); */
  display: none; /* Initially hidden */
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  /* box-shadow: 0px 0px 10px hsla(0, 0%, 0%, 0.5); */
  z-index: 25; /* To ensure it's above other content */
  /* color: hsl(230, 100%, 70%); off-white text color */
  background-color: inherit; /* Background color of the taskbar */
}

.menu-header {
  display: flex;
  flex-direction: row;
  place-items: center;
  gap: 1rem;
  color: white;
  border-bottom: solid 1px white;
  padding: 1rem 0;
  margin-bottom: 1rem;
}

#my-logo {
  /* border: solid 2px; */
  /* padding: 0.5rem; */
}

.taskbar-dark-mode {
  background-color: hsl(0, 0%, 20%);
}

.menu-item {
  padding: 5px 10px;
  cursor: url("/assets/ClarityCursorHandSolid.svg"), auto;
  transition: background-color 0.3s;
  color: hsl(0, 0%, 80%); /* off-white text color */
}

.menu-item:hover {
  background-color: hsl(200, 50%, 30%); /* Background color of the taskbar */
}

.menu-item-dark-mode:hover {
  background-color: hsl(0, 0%, 27%);
}

.skills-category {
  margin-bottom: 2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(100px, 1fr)
  ); /* This creates a responsive grid */
  gap: 0.5rem; /* This provides space between the grid items */
}

.skills-category h3 {
  font-weight: bold;
  margin-bottom: 1rem;
  color: inherit;
}

.skills-subcategory {
  margin-bottom: 0.5rem;
}

.skills-subcategory h4 {
  margin-bottom: 1rem;
  font-weight: normal;
  color: inherit;
}

.skill-tag {
  display: inline-block;
  margin-right: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: inherit;
  border: solid 1px;
  font-size: 14px;
  text-align: center; /* To center the text in grid items */
  align-self: center;
}

.skill-tag-large {
  font-size: 16px;
  background-color: hsl(0, 0%, 82%);
  grid-column: span 2; /* Makes the tag span two grid columns for emphasis */
  /* border: none; */
}

.skill-tag-medium {
  font-size: 15px;
  background-color: hsl(0, 0%, 85%);
  /* border: none; */
}

.skill-tag-large-dark-mode {
  background-color: hsl(0, 0%, 75%);
  color: hsl(0, 0%, 0%);
  /* font-weight: 700; */
}

.skill-tag-medium-dark-mode {
  color: hsl(0, 0%, 90%);
  background-color: hsl(0, 0%, 41%);
}

.intro-section {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  text-align: justify;
}

.intro-section p {
  align-self: center;
}

.intro-image {
  max-width: 100px; /* Adjust as necessary */
  margin-right: 1rem;
  /* height: auto; */
  border: 1px solid hsl(0, 0%, 0%);
  padding: 5px;
  box-shadow: 2px 2px hsl(0, 0%, 53%);
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsl(0, 0%, 80%);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  background-color: hsl(
    200,
    50%,
    70%
  ); /* slider can be in a muted cyan or other palette color */
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: hsl(0, 0%, 100%);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: hsl(207, 90%, 54%);
}

input:focus + .slider {
  box-shadow: 0 0 1px hsl(207, 90%, 54%);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

#about-me-window-content {
  display: flex;
  flex-direction: column;
}

#about-me-content-header {
  display: flex;
  flex-direction: row;
  width: 100%;
  /* background-color: rebeccapurple; */
  justify-content: space-between;
}

#welcome-message {
  align-self: center;
}

#hi-there {
  font-size: 48px;
}

#name,
#humor {
  font-size: 36px;
  color: inherit;
}

#profile-image {
  width: 350px;
}

#about-me-content-body {
  /* padding: 1rem; */
}

.section {
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
  color: inherit;
  font-size: 22px;
}
.section-content {
  text-align: justify;
  font-size: 18px;
}

/* .intro-section {
  display: flex;
  align-items: flex-start;
} */

.category-list {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(240px, 1fr)
  ); /* This will make it responsive */
  gap: 2rem; /* Space between items */
  /* padding-bottom: 1rem; */
  justify-items: center;
}

.project-list-item {
  border: 1px solid hsl(0, 0%, 50%);
  padding: 15px;
  background-color: hsl(0, 0%, 96%);
  /* border-radius: 5px; Optional: For slightly rounded corners */
  transition: transform 0.3s; /* Optional: For a hover effect */
  cursor: url("/assets/ClarityCursorHandSolid.svg"), auto;
  max-width: 275px;
}

.project-list-item:hover {
  transform: scale(1.05); /* Optional: Slightly enlarges the project on hover */
}

.project-icon {
  width: 100%; /* Will occupy the full width of the grid item */
  height: 150px;
  background-color: hsl(0, 0%, 80%);
  margin-bottom: 10px;
  border: 1px solid hsl(0, 0%, 0%);
  box-shadow: 2px 2px hsl(0, 0%, 53%);
}

.project-list-item h4 {
  margin-top: 0;
  font-size: 18px;
}

.project-list-item p {
  margin-top: 5px;
  font-size: 14px;
}

/* Categories */
.project-category {
  border: 1px solid hsl(0, 0%, 50%);
  margin-bottom: 20px;
  padding: 10px;
  background-color: hsl(0, 0%, 96%); /* A light grey */
}

.category-title {
  font-family: "Arial", sans-serif;
  font-size: 18px;
  /* border-bottom: 1px solid #808080; */
  margin-bottom: 10px;
  padding-bottom: 8px;
  color: inherit;
}

.tech-stack {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap; /* To wrap tags to the next line if they exceed the parent's width */
}

.tech-stack span {
  background-color: hsl(0, 0%, 75%); /* Classic gray */
  color: hsl(0, 0%, 0%);
  border: 1px solid hsl(0, 0%, 50%); /* Darker border for that 3D effect */
  padding: 2px 6px;
  margin-right: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  font-family: "Arial", sans-serif; /* Classic Arial font, very '90s */
  white-space: nowrap; /* To ensure tech stack names aren't broken up */
  box-shadow: 1px 1px 0 hsl(0, 0%, 100%), -1px -1px 0 hsl(0, 0%, 0%); /* Simulate a "raised" effect */
}

.tech-stack .flutter {
  background-color: hsl(214, 60%, 76%);
}

.tech-stack .nuxtjs {
  background-color: hsl(117, 60%, 76%);
}

.tech-stack .nextjs {
  background-color: hsl(232, 60%, 76%);
}

.tech-stack .threejs {
  background-color: hsl(299, 60%, 76%);
}

.tech-stack .scss {
  background-color: hsl(350, 60%, 76%);
}

.tech-stack .golang {
  background-color: hsl(182, 60%, 76%);
}

.tech-stack .supabase {
  background-color: hsl(63, 60%, 76%);
}

.tech-stack .firebase {
  background-color: hsl(22, 60%, 76%);
}

.tech-stack .svelte {
  background-color: hsl(53, 60%, 76%);
}

.tech-stack .blender {
  background-color: hsl(45, 60%, 76%);
}

.tech-stack .storybook {
  background-color: hsl(0, 60%, 76%);
}

.tech-stack .gcp {
  background-color: hsl(159, 60%, 76%);
}

.tech-stack .unity {
  background-color: hsl(237, 60%, 76%);
}

.tech-stack .net {
  background-color: hsl(237, 60%, 76%);
}
.tech-stack .postgresql {
  background-color: hsl(254, 60%, 76%);
}
.tech-stack .spring {
  background-color: hsl(105, 60%, 76%);
}

#contact-window {
  /* max-height: auto; */
  max-width: 75ch;
}

.contact-methods {
  margin-top: 3rem;
  display: grid;
  width: 100%; /* Ensures the grid takes up the full width of its container */
  grid-template-columns: repeat(
    3,
    1fr
  ); /* Adjust the number based on the number of contact items you have */
  gap: 1rem; /* Spacing between grid items */
  justify-content: space-between; /* Space items evenly */
}

.contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none; /* Remove default anchor styling */
  width: fit-content;
  justify-self: center;
}

.contact-icon {
  max-width: 60px; /* Adjust as necessary based on your design preferences */
  /* Incorporating your current image styling */
  border: 1px solid hsl(0, 0%, 0%);
  padding: 5px;
  box-shadow: 2px 2px hsl(0, 0%, 53%);
  transition: transform 0.3s ease; /* Optional: For hover effect */
}

.contact-item:hover .contact-icon {
  transform: scale(1.1); /* Optional: Slight scale effect on hover */
}

#terminal-window {
  height: 400px;
}

.terminal-content {
  background-color: hsl(0, 0%, 0%);
  /* overflow: hidden; */
  padding: 2rem;
  
}

/* #terminal {
  overflow: hidden;
  
  height: 100% !important;
}
.terminal .xterm .xterm-dom-renderer-owner-1 {
  overflow: hidden;
  
  height: 100% !important;
}

.xterm-screen {
  overflow: hidden;
  height: 100% !important;
  
} */


#crt {
    min-width: 80ch;
    height: calc(80ch * 0.8);
    font-size: max( 1rem, 2.2vmin );
    position: relative;
    background: var(--bg);
    background-image: radial-gradient( ellipse, var(--bg) 0%, var(--off) 90% );
    animation: on 2s linear;
    transition: all 0.5s;
    overflow: hidden;
}

.scanline {
    width: 100%;
    height: 20px; /* Reduced height for a thinner scanline */
    z-index: 8;
    background: linear-gradient(0deg, rgba(37, 17, 17, 0.05) 0%, rgba(37, 17, 17, 0.07) 50%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0.6; /* Reduced opacity for a more subtle effect */
    position: absolute;
    bottom: 100%;
    pointer-events: none;
    animation: scanline 10s linear infinite; /* Reduced duration for more frequent scanning */
}

@keyframes scanline {
	0%, 75% {
		bottom: 100%;
	}
	100% {
		bottom: -20%;
	}
}

.hobbies-category {
  margin-bottom: 2rem;
}

/* #custom-cursor {
  width: 80px;
  height: 80px;
  background-color: brown;
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  transform: translate(-350%, -350%);
  pointer-events: none;
  z-index: 1000000;
  background: url("/assets/SolarCursorBold.svg"),;
} */

/* .monitor {
    position: relative;
    border: 30px solid transparent;
    border-image-source: url(/assets/TmqR-bezel_gray.png);
    border-image-slice: 30 fill;
    border-image-outset: 0;
    overflow: hidden;
} */

@media screen and (max-width: 400px) {
.category-list {
  /* justify-items: flex-start; */
  grid-template-columns: repeat(
    auto-fill,
    minmax(130px, 1fr)
  ); /* This will make it responsive */
}
/* .project-list-item {
    max-width: 80%;
} */


}
@media screen and (max-width: 768px) {
  body {
    align-items: unset !important;
    margin-top: 1rem !important;
  }
  .screen {
    height: 95% !important;
    /* padding: 1rem; */
  }
  .monitor {
    height: 85vh;
  }
  .icon {
    width: 30px;
    margin-left: 2rem;
  }
  .window {
    height: 90%;
    width: 100%;
    left: 0 !important;
    top: 0 !important;
  }
  .window-header {
    text-align: center;
  }
  .intro-section {
    flex-direction: column;
    align-items: start;
  }

  .intro-image {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .window-quick-info {
    width: 80% !important;
    height: fit-content;
    top: 25% !important;
    left: 10% !important;
    /* transform: translate(50%, 50%) !important; */
  }
  .contact-methods {
    grid-template-columns: repeat(
      auto-fill,
      minmax(130px, 1fr)
    ); /* 80px can be adjusted based on icon size and spacing */
  }
  .is-hidden {
    display: none;
  }
  .intro-section p {
  align-self: flex-start;
}

.monitor-brand {
  bottom: -12px;
}
}

@media screen and (max-height: 500px) {
  .monitor-brand {
    bottom: -20px;
    width: 30px;
    height: 50px;
  }
}

.screen-dark-mode {
  background-color: hsl(60, 10%, 90%);
}

.dark-mode-container-bg {
  background-color: hsl(0, 0%, 82%);
}
.dark-mode-container-bg-dark {
  background-color: hsl(0, 0%, 0%);
}


.blog-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  .blog-post {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid hsl(0, 0%, 50%);
    padding: 1rem;

    .blog-title {
      font-size: 1.5rem;
      font-weight: 600;
    }

    .blog-date {
      font-size: 1rem;
      color: hsl(0, 0%, 50%);
    }

    .blog-excerpt {
      font-size: 1rem;
    }

    .read-more {
      font-size: 1rem;
      color: hsl(200, 50%, 50%);
      background-color: hsl(200, 50%, 20%);
      padding: 0.5rem 1rem;
      border-radius: 5px;
      cursor: pointer;
      width: fit-content;
      text-decoration: none;
    }
  }
}
