body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

#menubar {
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    background-color: rgba(0,0,0,0.25);
    color: #fff;
    padding-inline: 10px;
}

.desktopApp.selected {
    background-color: rgba(0, 0, 0, 0.15);
}

.desktopApp {
    width: 96px;
    height: 96px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px;
    text-align: center;
}

.desktopApp p {
    margin: 0;
}

.windowHeader {
    position: sticky;
    top: 0;
    z-index: 10;

    display: flex;
    background-color: transparent;
    width: 100%;
    cursor: grab;
    justify-content: flex-start;
    align-items: center;
    height: 40px;
}


.windowCloseBtn {
  width: 16px;
  height: 16px;
  cursor: pointer;
  background-color: #ec6b5e;
  border-radius: 16px;
  border: solid 1px rgba(0, 0, 0, 0.25);
  margin: 6px;
}

.window{
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    border: solid;
    border-radius: 16px;
    background-color: #EEEFF0;
    overflow: hidden;
    height: 600px;
    width: 750px;

    display: flex;
    flex-direction: column;
}

.window[hidden] {
    display: none;
}

.windowContent {
    overflow-y: auto;
    flex-grow: 1;
    min-height: 0;
}

#projectsApp {
    height: 450px;
    width: 650px;
}

.expCard {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 16px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border: 1px solid rgba(139,116,88,0.12);
    border-radius: 16px;
    background-color: #ffff;
    margin: 20px;
    align-items: center;
}

.expCard:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.expImg {
    border-radius: 5px;
}

.expContainer {
    padding: 2px 2px;
    display: flex;
    flex-direction: column;
}
.expContainer * {margin: 0px;}

.expContainer .expPosition {
    margin: 0 0 4px;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.3;
    color: black;
}

.expContainer .expCompany {
    margin: 0 0 4px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #374151;
}

.expContainer .expDate {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #6b7280;
}

.expContainer .expDesc {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

.projectCarousel {
  display: flex;
  width: 100%;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;

  scroll-marker-group: after;
}

.projectCarousel > .projectContainer {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.projectCarousel::scroll-marker-group {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
}

.projectCarousel > .projectContainer::scroll-marker {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
}

.projectCarousel > .projectContainer::scroll-marker:target-current {
  background-color: #000;
}

.projectContainer {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.projectTitle {
    font-size: 30px;
    text-align: center;
    margin: 0;
}

.projectBody {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
}

.projectBody > div:first-child {
    width: 250px;
    height: 250px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}

.projectImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projectBody > div:last-child {
    flex: 1;
    min-width: 0;
}

.projectLink {
    margin-left: 8px;
    margin-right: 8px;
}

#appsContainer {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(auto-fill, 96px);
    grid-auto-columns: 96px;
    align-content: space-around;
    gap: 8px;
    min-height: 0;
    padding: 8px;
    box-sizing: border-box;
    overflow: hidden;
}
