@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap");

#content {
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

body {
  background-image: url("./03-Dashboard-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* ✅ This fixes the background in place */
  height: 100vh;
  margin: 0;
  overflow: hidden; /* Optional: removes page scroll entirely if not needed */
}

/* Hover Image */
.hover-image {
  position: fixed;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  transition: right 0.4s ease;
  z-index: 1000;
}

.hover-image img {
  height: 150px;
  display: block;
  cursor: pointer;
}

.hover-image:hover {
  right: -20px;
}

/* Top Bar */
.top-bar {
  height: 60px;
  background-color: #000e47;
  color: #fff;
  overflow: hidden;
  padding: 0 20px;
  box-sizing: border-box;
  border: 2px dotted #fedf08;
  border-radius: 4px;
  display: flex;
  align-items: center;
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 600;
  flex: 1;
}

.top-bar marquee {
  line-height: 24px;
}

/* Content Area */
.main-content {
  padding: 30px;
  margin-top: 40px;
}

/* Scrolling Text */
.scrolling-text-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 30s linear infinite;
  font-size: 16px;
  line-height: 60px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Exit Button */
.img-only-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 0px;
}

.img-only-button img {
  width: 85px;
  height: auto;
  display: block;
  border-radius: 0px;
}

.exit-button:hover {
  box-shadow: 0 0 12px 4px rgba(0, 255, 0, 0.6);
}

/* Grid + Cards */
.top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.cards-container {
  color: #fedf08;
  font-family: "AmericanTypewriter", sans-serif;
  font-weight: 600;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 65px;
  margin-top: 110px;
}

.top-wrapper {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  gap: 20px; /* spacing between bar and button */
}

.card {
  display: flex;
  justify-content: space-between;
  padding: 24px;
  background-color: #000e47;
  border-radius: 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 140px;
  width: 100%;
  box-sizing: border-box;
}

.card1 {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 35px;
  background-color: #000e47;
  border-radius: 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 24px;
  height: 140px;
  width: 100%;
  box-sizing: border-box;
}

.card.full-span {
  grid-column: 1 / -1;
  height: 140px;
}

/* Text Styles */
.song-name {
  font-size: 13px;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  width: 50%;
  margin-top: 5px;
}

.place-name {
  font-size: 13px;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  width: 50%;
  margin-top: 5px;
}

.scene {
  font-size: 11px;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  width: 100%;
  margin-top: 5px;
  text-align: justify;
}

/* ✅ Active Task List */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 0px; /* vertical spacing between tasks */
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.task {
  border-radius: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.task:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.task.done {
  text-decoration: line-through;
  color: #888;
  background-color: rgba(255, 255, 255, 0.08);
}

.movie-card {
  display: flex;
  flex-direction: column;
  padding: 15px;
  gap: 10px;
}

.movie-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding-bottom: 10px;
  padding-left: 20px;
  -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */

  scrollbar-width: none; /* Firefox */
}

.movie-scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.movie-images {
  display: inline-flex;
  gap: 10px;
}

.movie-images img {
  height: 90px;
  width: auto;
  border-radius: 4px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.card-c {
  display: flex;
  justify-content: space-between;
  padding: 24px;
  background-color: #000e47;
  border-radius: 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 140px;
  width: 100%;
  box-sizing: border-box;
  grid-column: 2 / span 1;
}

.exit-button {
  height: 60px;
  display: flex;
  align-items: center;
}
