@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

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

body {
  background-color: #1e1e1e;
  color: #ffffff;
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  width: 250px;
  padding: 30px;
  background-color: #2d2d2d;
  border-right: 1px solid #3a3a3a;
  height: 100vh;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #00ff00;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  cursor: pointer;
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-item:hover {
  background-color: #3a3a3a;
  color: #00ff00;
}

.nav-item.active {
  background-color: #00ff00;
  color: #1e1e1e;
}

.nav-item i {
  margin-right: 15px;
  font-size: 18px;
}

.nav-bottom {
  margin-top: auto;
  position: absolute;
  bottom: 30px;
  width: 190px;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  padding: 30px 30px 0px 30px;
}

.search-bar {
  background-color: #2d2d2d;
  border-radius: 5px;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.search-bar input {
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  margin-left: 10px;
  border: none;
  outline: none;
}

.search-bar i {
  color: #00ff00;
}

.scrollable-content {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}

.scrollable-content::-webkit-scrollbar {
  display: none;
}

.featured-comic {
  position: relative;
  margin-bottom: 50px;
  height: 400px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #00ff00;
}

.slideshow-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

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

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.featured-comic h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #00ff00;
}

.featured-comic h3 {
  font-size: 36px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 255, 0, 0.8);
}

.dots {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #00ff00;
}

.read-now-btn {
  background-color: #00ff00;
  color: #1e1e1e;
  padding: 12px 30px;
  border-radius: 5px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  width: fit-content;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.read-now-btn:hover {
  background-color: #ffffff;
}

.section-title {
  font-size: 24px;
  margin-bottom: 30px;
  color: #00ff00;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comics-grid {
  /* display: grid;
  grid-template-columns: repeat(4, 1fr); */
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth; /* Smooth scrolling */
  white-space: nowrap; /* Prevent wrapping of items */

}

.comic-card {
  min-width: 200px; /* Adjust as needed to control card width */
  background-color: #2d2d2d;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #3a3a3a;
}

.comic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
  border-color: #00ff00;
}

.comic-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.comic-info {
  padding: 15px;
}

.comic-title {
  color: #00ff00;
  margin-bottom: 8px;
  font-weight: 500;
}

.comic-author {
  color: #b0b0b0;
  font-size: 14px;
}

.right-sidebar {
  width: 300px;
  padding: 30px;
  background-color: #2d2d2d;
  border-left: 1px solid #3a3a3a;
  height: 100vh;
}

.profile-section {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.notification-icon {
  font-size: 22px;
  color: #00ff00;
  cursor: pointer;
}

.profile-pic {
  width: 60px;
  height: 60px;
  cursor: pointer;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 255, 0, 2);
  border: 2px solid #00ff00;
}

.continue-reading {
  background-color: #3a3a3a;
  border-radius: 5px;
  padding: 25px;
  border: 1px solid #4a4a4a;
}

.continue-reading h3 {
  margin-bottom: 25px;
  color: #00ff00;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.progress-card {
  position: relative;
  text-align: center;
}

.progress-card img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 15px;
}

.progress-circle {
  position: absolute;
  top: 0px;
  right: 0px;
  border-radius: 5px;
  padding: 5px;
  width: 68px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #00ff00;
  border: 0.6rem solid #00ff00;
  border-radius: 50%;
  border-left-color: #00ff00;
  border-top-color: #00ff00;
  border-right-color: white;
  border-bottom-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.notification-container {
  position: relative;
  display: inline-block;
}

.notification-icon {
  font-size: 30px;
  color: #00ff00;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background: #ff0000;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
  border: 2px solid #fff; /* Optional: To add a border around the badge */
}
