* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans-serif;
}

body, html {
  height: 100%;
}

.desktop {
  width: 100%;
  height: 100vh;
  background: url("images/background.jpg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* ------------------ FOLDERS ------------------ */
.folder {
  width: 110px;
  text-align: center;
  position: absolute;
  cursor: grab;
  user-select: none;
}

.folder:active {
  cursor: grabbing;
}

.folder-icon {
  width: 100px;
  height: 70px;
  background: var(--folder-color);
  border-radius: 10px;
  margin: auto;
  border: 2px solid rgba(0,0,0,0.2);
}

.folder-label {
  margin-top: 8px;
  font-size: 14px;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
}

/* Default starting positions */
#folder1 { top: 92px; top: 143px; }
#folder2 { left: 210px; top: 154px; }
#folder3 { left: 321 px; top: 471px; }
#folder4 { left: 1036px; top: 513px; }
#folder5 { left: 272px; bottom: 292px; }


/* Instagram icon */
.instagram {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.instagram img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0px 0px 5px #000);
  transition: transform .2s;
}

.instagram img:hover {
  transform: scale(1.15);
}
.back-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: 0.2s;
  text-decoration: none;
}

.back-button:hover {
  background: rgba(0,0,0,0.7);
}
/* ------------------ MOBILE RESPONSIVE ------------------ */
@media (max-width: 768px) {

  body, html {
    overflow-x: hidden;
    height: auto;
  }

  .desktop {
    height: auto;
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 100px;
    background-size: cover;
    background-position: center;
  }

  /* Disable dragging on mobile */
  .folder {
    position: relative;
    cursor: pointer;
    width: 90px;
    margin: 20px auto;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    right: auto !important;
    display: block;
  }

  .folder-icon {
    width: 80px;
    height: 55px;
  }

  .folder-label {
    font-size: 13px;
    margin-top: 6px;
  }

  /* Stack folders in a nice column */
  .desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Instagram icon */
  .instagram {
    position: fixed;
    bottom: 20px;
    right: 20px;
  }

  .instagram img {
    width: 35px;
    height: 35px;
  }

  /* Back button mobile style */
  .back-button {
    font-size: 13px;
    padding: 8px 12px;
    top: 10px;
    right: 10px;
  }
}



