body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #141414;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.screen {
  width: 90%;
  max-width: 1200px;
  height: 700px;
  background: #2e2e2e;
  border: 16px solid #333;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  overflow: hidden;
  position: relative;
}

.carousel {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.project {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  padding: 40px 20px;
}

.project img {
  width: 80%;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.project p {
  color: #fff;
  margin-top: 15px;
  font-size: 1.2em;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2em;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
}

.nav.left { left: 10px; }
.nav.right { right: 10px; }

.nav:hover {
  background: rgba(255,255,255,0.3);
}

.thumbnails {
  margin-top: 20px;
  display: flex;
  overflow-x: auto;
  padding: 10px;
  gap: 10px;
  scrollbar-width: thin; /* Firefox */
}

.thumbnails::-webkit-scrollbar {
  height: 8px;
}

.thumbnails::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}


.thumbnails img {
  width: 100px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 6px;
  transition: border 0.3s;
}

.thumbnails img:hover {
  border: 2px solid #fff;
}

.thumbnails-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 1000px;
  margin: 20px auto 0;
  position: relative;
}

.thumb-nav {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 6px;
}

.thumb-nav:hover {
  background: rgba(0, 0, 0, 0.1);
}
