@import url('https://fonts.googleapis.com/css2?family=Lexend&display=swap');

:root {
  --blue: #47B5FF;
  --black: #26282B;
  --grey: #353941;
  --yellow: #FFC107;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

.lexend {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

a {
  text-decoration: none;
}
/* HOME PAGE */

.slider-container {
  /* padding-top: 100px; */
  height: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* width: 100%; */
}

.slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.slide.active img {
  transform: scale(1.1);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--white);
  font-size: 48px;
  user-select: none;
  transition: all 0.2s ease;
  filter: drop-shadow(0px 0px 10px #1f1f1f);
}

.arrow:hover {
  color: var(--blue);
}

.left-arrow {
  left: 50px;
}

.right-arrow {
  right: 50px;
}

.dots-container {
  text-align: center;
  transition: opacity 0.3s ease;
  background-color: var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-bottom: 30px;
}

.dot {
  display: inline-block;
  width: 55px;
  height: 5px;
  margin: 0 5px;
  background-color: var(--white);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
  top: -50px;
}

.dot:hover {
  background-color: var(--blue);
}

.dot.active {
  background-color: var(--blue);
}

.all-movies-section {
  background-color: var(--black);
}

.all-movie-list {
  background-color: var(--black);
  overflow-x: hidden;
  /* border: 1px solid red; */
}

.main-category-title-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  cursor: pointer;
  /* border: 1px solid red; */
  width: fit-content;
}

.main-category-title-container:hover .main-category-more{
  margin-left: 30px;
}

.main-category-more {
  color: var(--blue);
  font-size: 22px;
  transition: all 0.3s ease;
  filter: drop-shadow(0px 0px 10px #1f1f1f);
}

.main-category-title {
  color: var(--blue);
  font-size: 24px;
  margin-bottom: 10px;
  margin-left: 10px;
  /* border: 1px solid red; */
  width: fit-content;
}

.movie-category-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.movie-category-container::-webkit-scrollbar {
  display: none;
}

.movie-card-container {
  flex: 0 0 auto;
  padding: 10px;
  border-radius: 15px;
  /* border: 1px solid red; */
  width: 272px;
  position: relative;
  transition: all 0.3s ease;
}

.movie-card-container:hover {
  background-color: var(--grey);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.movie-card-container:hover .movie-card-poster {
  filter: brightness(0.7);
}

.movie-card-container:hover .movie-card-button, .movie-card-container:hover .movie-card-play {
  visibility: visible;
}

.movie-card-poster {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.movie-card-play {
  visibility: hidden;
  width: 35px;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  top: 75px;
  right: 120px;
  /* border: 1px solid red; */
}

.movie-card-rating-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: var(--yellow);
  width: 50px;
  padding: 2px 3px;
  border-radius: 5px;
  position: absolute;
  z-index: 10;
  top: 150px;
  right: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.movie-card-rating-section img {
  width: 15px;
  margin-right: 5px;
}

.movie-card-title {
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  margin-bottom: 15px;
  /* border: 1px solid red; */
  max-width: 272px;
  overflow: hidden;
  margin-top: 3px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.movie-card-button {
  visibility: hidden;
  display: flex;
  flex-direction: row;
  margin: 0px;
  /* border: 1px solid red; */
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.1s ease;
  color: var(--white);
}

.movie-card-button p {
  font-size: 15px;
}

.movie-card-button img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.movie-card-button.clicked p {
  color: var(--blue);
}

.movie-card-button:hover {
  color: var(--blue);
}

.movie-card-button:hover img {
  content: url('../Assets/Icon/bookmark\ \(2\).png');
}


/* WATCH PAGE */

.movie-container {
    width: 100%;
    background-color: var(--black);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.video-container {
  width: 100%;
  background-color: var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container iframe {
  width: 100%;
  height: 500px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 1);
}

.movie-detail {
  margin: 50px 50px;
  display: flex;
  flex-direction: row;
  font-size: 16px;
}

.movie-detail p {
  color: var(--white);
}

.rating {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.rating img {
  width: 16px;
}

#movie-title {
  color: var(--blue);
  font-size: 50px;
  margin-bottom: 10px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  width: 700px;
  /* border: 1px solid red;  */
}

#movie-poster {
  width: 200px;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
}

.right-detail {
  /* border: 1px solid yellow; */
  width: 100%;
  margin-left: 40px;
  margin-top: -10px;
}

.small-detail {
  width: 220px;
  /* border: 1px solid red; */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}

.small-detail p {
  color: var(--yellow);
}

#movie-synopsis {
  margin: 20px 0px;
}

.other-detail {
  display: flex;
  flex-direction: row;
  line-height: 25px;
}

.detail-description {
  margin-left: 20px;
}

.top-detail {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.add-button {
  display: flex;
  flex-direction: row;
  /* border: 1px solid red; */
  justify-content: center;
  align-items: center;
  height: 30px;
  padding: 25px 15px;
  border-radius: 10px;
  background-color: var(--grey);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-button img {
  width: 25px;
  height: 25px;
  margin-right: 5px;
}

.add-button.clicked p {
  color: var(--blue);
  transition: all 0.5s ease;
}

.add-button:hover {
  background-color: #2b3039;
}

.detail-container {
  /* border: 1px solid red; */
  display: flex;
  flex-direction: row;
}

.detail-children-left {
  width: calc(100% - 300px);
  /* border: 1px solid var(--blue); */
  margin-right: 20px;
}

.detail-children-right {
  /* border: 1px solid yellow; */
  /* margin-top: 20px; */
  width: 300px;
  height: 400px;
}

.episode-container {
  width: 100%;
  height: 100%;
  background-color: var(--grey);
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  /* overflow: hidden; */
}

.season {
  padding: 20px;
  text-align: center;
  font-size: 20px;
  /* overflow: hidden; */
}

.total-episode {
  height: 320px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: auto;
  scrollbar-color: var(--blue) var(--black);
  scrollbar-width: thin;
  /* border: 1px solid red; */
  margin: 0px 15px;
  border-radius: 5px;
}

.episode {
  background-color: var(--black);
  margin-right: 5px;
  border-radius: 5px;
  cursor: pointer;
  padding: 15px;
  transition: all 0.3s ease;
}

.episode:hover {
  background-color: var(--blue);
}

.episode:hover p {
  color: var(--black);
}

.rating-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}

.stars img {
  width: 25px;
  margin: 0px 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.stars img:hover {
  transform: scale(1.2);
}

.stars .rated {
  content: url('../Assets/Icon/star\ \(3\).png');
}

.rating-section p {
  margin-top: 5px;
  text-align: center;
  font-size: 15px;
}

.trailer-section {
  display: flex;
  flex-direction: column;
  margin: 0px 50px;
}

.trailer-section p {
  color: var(--blue);
  font-size: 25px;
  margin-bottom: 20px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.trailer-section iframe {
  width: 400px;
  height: 250px;
  border-radius: 10px;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
}

.more-like-this {
  background-color: var(--black);
  /* border: 1px solid red; */
}

.more-section {
  display: flex;
  flex-direction: column;
  margin: 0px 50px;
  margin-top: 50px;
  /* border: 1px solid red; */
}

.more-section-title {
  color: var(--blue);
  font-size: 25px;
  margin-bottom: 10px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.comment-section {
  display: flex;
  flex-direction: column;
  margin: 0px 50px;
  margin-top: 10px;
}

.comment-title {
  color: var(--blue);
  font-size: 25px;
  margin-bottom: 10px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.comment-count {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 5px;
}

.comment-section hr {
  width: 100%;
  background-color: var(--blue);
  border: none;
  height: 1px;
}

.flex-row {
  display: flex;
  flex-direction: row;
  /* border: 1px solid red; */
  /* width: 100%; */
}

.flex-column {
  display: flex;
  flex-direction: column;

  width: 100%;
}

.create-comment-section {
  margin: 0px 100px;
  margin-top: 30px;
  /* border: 1px solid red; */
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

.create-comment-section img {
  width: 50px;
  height: 50px; 
  filter: drop-shadow(0px 0px 10px #1f1f1f);
}

.create-comment-section textarea {
  margin-left: 15px;
  width: 100%;
  background-color: var(--grey);
  font-size: 16px;
  color: var(--white);
  border: none;
  outline: 0;
  padding: 18px 20px;
  margin-top: 0px;
  min-height: 80px;
  resize: none;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.create-comment-section textarea::-webkit-scrollbar {
  display: none;
}

.create-comment-section textarea::placeholder {
  position: absolute;
  top: 18px;
  color: var(--white);
  opacity: 1;
}

.create-comment-section button {
  width: 80px;
  font-size: 18px;
  padding: 5px 20px;
  border-radius: 8px;
  border: 0;
  background-color: var(--blue);
  color: var(--black);
  margin-left: calc(100% - 80px);
  margin-top: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  /* border: 1px solid red; */
}

.create-comment-section button:hover {
  background-color: var(--grey);
  color: var(--blue);
}

.before-comment {
  margin-bottom: 30px;
}

.comment-1 {
  margin-bottom: 10px;
  /* border: 1px solid red; */
}

.posted-comment-section {
  padding: 15px;
  margin: 0px 80px; 
  /* margin-top: 30px; */
  /* border: 1px solid red; */
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  background-color: var(--grey);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 15px;

  /* width: 100%; */
}

.posted-reply-section {
  padding: 15px;
  margin: 0px 80px 0px 180px; 
  /* margin-top: 30px; */
  /* border: 1px solid red; */
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  background-color: var(--grey);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}

/* Initially hide all posted-reply-sections */
.posted-reply-section {
  display: none;
  opacity: 0;
  transition: all 0.3s ease;
}

/* Show the replies when the 'show' class is added */
.posted-reply-section.show {
  display: block;
  opacity: 1;
}

.posted-comment-section img, .posted-reply-section img {
  width: 45px;
  height: 45px;
  filter: drop-shadow(0px 0px 5px var(--black));
}

.comment-description {
  font-size: 16px;
  color: var(--white);
  padding: 0px 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  /* border: 1px solid red; */
  width: 100%;
  height: auto;
}

.replying-to {
  color: var(--blue);
}

.comment-author {
  font-size: 16px;
  color: var(--white);
  padding: 0px 20px;
  margin-bottom: 5px;
  margin-top: 1px;
}

.comment-date {
  padding: 0px 20px;
  color: var(--white);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  opacity: 0.4;
  font-size: 15px;
}

.comment-details img {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.comment-details {
  margin-left: 65px;
  align-items: center;
  gap: 50px;
}

.comment-like-count, .comment-reply-count, .reply-comment {
  color: var(--white);
  opacity: 1;
  font-size: 15px;
}

.reply-comment {
  cursor: pointer;
  transition: all 0.3s ease;
}

.reply-comment:hover {
  color: var(--blue);
}

.comment-like-section, .comment-reply-section {
  display: flex;
  flex-direction: row;
  cursor: pointer;
  transition: all 0.3s ease;
  /* border: 1px solid red; */
}

.comment-like-section:hover .comment-like-icon {
  content: url('../Assets/Icon/like\ \(1\).png');
}

.comment-like-section:hover p {
  color: var(--blue);
}

.comment-reply-section:hover .comment-reply-icon {
  content: url('../Assets/Icon/comment\ \(1\).png');
}

.comment-reply-section:hover p {
  color: var(--blue);
}

.reply-comment-section {
  padding-left: 15px;
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0px 80px 0px 180px; 
  /* border: 1px solid red; */
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.reply-comment-section img {
  width: 45px;
  height: 45px; 
  filter: drop-shadow(0px 0px 10px #1f1f1f);
}

.reply-comment-section textarea {
  margin-left: 15px;
  width: 100%;
  background-color: var(--grey);
  font-size: 16px;
  color: var(--white);
  border: none;
  outline: 0;
  padding: 18px 20px;
  margin-top: 0px;
  min-height: 80px;
  resize: none;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.reply-comment-section textarea::-webkit-scrollbar {
  display: none;
}

.reply-comment-section textarea::placeholder {
  position: absolute;
  top: 18px;
  color: var(--white);
  opacity: 1;
}

.reply-buttons {
  display: flex;
  flex-direction: row;
  /* border: 1px solid red; */
  margin-left: calc(100% - 170px);
  gap: 10px;
}

#reply-button {
  width: 80px;
  font-size: 18px;
  padding: 5px 0px;
  border-radius: 8px;
  border: 0;
  background-color: var(--blue);
  color: var(--black);
  /* margin-left: calc(100% - 80px); */
  margin-top: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  /* border: 1px solid red; */
}

#reply-button:hover {
  background-color: var(--grey);
  color: var(--blue);
}

#cancel-button {
  width: 100px;
  font-size: 18px;
  padding: 5px 0px;
  border-radius: 8px;
  border: 0;
  background-color: var(--grey);
  color: var(--white);
  /* margin-left: calc(100% - 80px); */
  margin-top: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  /* border: 1px solid red; */
}

#cancel-button:hover {
  background-color: red;
  color: var(--black);
}

/* CATEGORY PAGE */

/* SEARCH PAGE */

.search-content {
  padding-top: 140px;
  width: 100%;
  height: auto;
  background-color: var(--black);
  /* border: 1px solid yellow; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* overflow-x: hidden; */
  padding-bottom: 65px;
}

.search-result-title {
  margin: 0px;
  color: var(--white);
  font-size: 30px;
  /* border: 1px solid red; */
  margin-bottom: 80px;
}

.searched-movie-container {
  width: 1150px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* justify-content: center; */
  /* border: 1px solid red; */
}

.not-found-description {
  color: var(--white);
  text-align: center;
  /* border: 1px solid red; */
  width: 100%;
  padding-top: 100px;
  padding-bottom: 120px;
  font-size: 18px;
  display: none;
}

/* HISTORY PAGE */

/* WATCHLIST PAGE */

/* COMMUNITY PAGE */

/* MOBILE */

@media screen and (max-width: 767px) {
  /* HOME PAGE */

  .slider-container {
    margin-top: 65px;
  }
  
  .slide img {
    height: 240px;
  }

  .arrow {
    font-size: 30px;
    padding: 5px 15px;
  }
  
  .left-arrow {
    left: 0px;
  }
  
  .right-arrow {
    right: 0px;
  }
  
  .dots-container {
    gap: 0px;
    padding-bottom: 30px;
  }
  
  .dot {
    width: 40px;
    height: 3px;
    top: -25px;
  }
  
  .main-category-title-container {
    gap: 10px;
  }
  
  .main-category-title-container:hover .main-category-more{
    margin-left: 30px;
  }
  
  .main-category-more {
    font-size:  18px;
  }
  
  .main-category-title {
    font-size: 20px;
  }
  
  .movie-category-container {
    gap: 5px;
  }
  
  .movie-card-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  /* WATCH PAGE */

  .video-container {
    margin-top: 65px;
  }

  .video-container iframe {
    height: 240px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 1);
  }

  .movie-detail {
    margin: 25px 15px;
    font-size: 16px;
    /* border: 1px solid red; */
    flex-direction: column-reverse;
  }

  #movie-title {
    color: var(--blue);
    font-size: 32px;
    margin-bottom: 10px;
    width: fit-content;
    /* border: 1px solid red;  */
    line-height: 32px;
  }

  #movie-poster {
    width: 200px;
  }

  .left-detail {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .right-detail {
    margin-left: 0px;
    margin-top: 0px;
  }

  #movie-synopsis {
    margin: 15px 0px;
  }

  .other-detail {
    display: flex;
    flex-direction: row;
    line-height: 21px;
  }

  .detail-description {
    margin-left: 10px;
  }

  .top-detail {
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: baseline;
    margin-bottom: 20px;
  }

  .add-button {
    margin-top: 5px;
    padding: 20px 12px;
  }

  .add-button p {
    font-size: 15px;
  }

  .add-button img {
    width: 20px;
    height: 20px;
  }

  .detail-container {
    flex-direction: column;
  }

  .detail-children-left {
    width: 100%;
    margin-right: 0px;
  }

  .detail-children-right {
    margin-top: 50px;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .episode-container {
    width: 320px;
    height: 100%;
    border-radius: 10px;
  }

  .season {
    padding: 20px;
    font-size: 18px;
  }

  .total-episode {
    height: 320px;
    margin: 0px 10px;
    padding-left: 5px;
  }

  .rating-section {
    margin-top: 20px;
  }

  .rating-section p {
    margin-top: 10px;
  }

  .trailer-section {
    display: flex;
    flex-direction: column;
    margin: 0px 15px;
    margin-top: 50px;
    /* border: 1px solid red; */
  }

  .trailer-section p {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .trailer-section iframe {
    width: 100%;
    height: 225px;
  }

  .more-section {
    margin: 0;
    margin-top: 50px;
  }

  .more-section-title {
    margin: 0px 15px;
    color: var(--blue);
    font-size: 24px;
    margin-bottom: 8px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  }

  .comment-section {
    margin: 0px 15px;
    margin-top: 10px;
  }

  .comment-title {
    font-size: 24px;
    margin-bottom: 0px;
  }

  .comment-count {
    font-size: 16px;
  }

  .create-comment-section {
    margin: 0px 0px;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .create-comment-section img {
    width: 40px;
    height: 40px; 
  }

  .create-comment-section textarea {
    margin-left: 8px;
    padding: 12px;
    margin-top: 0px;
    min-height: 80px;
    border-radius: 10px;
    font-size: 15px;
  }

  .create-comment-section textarea::placeholder {
    top: 12px;
  }

  .create-comment-section button {
    font-size: 16px;
    margin-top: 8px;
  }

  .before-comment {
    margin-bottom: 20px;
  }

  .comment-1 {
    margin-bottom: 10px;
  }

  .posted-comment-section {
    padding: 10px;
    margin: 0px; 
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .posted-reply-section {
    padding: 10px;
    margin: 0px 0px 0px 45px; 
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .posted-comment-section img, .posted-reply-section img {
    width: 40px;
    height: 40px;
  }

  .comment-description {
    font-size: 15px;
    padding: 0px 10px;
    margin-top: 15px;
    margin-bottom: 20px;
  }

  .comment-author {
    font-size: 15px;
    padding: 0px 10px;
    margin-bottom: 2px;
    margin-top: 1px;
  }

  .comment-date {
    padding: 0px 10px;
  }

  .comment-details img {
    width: 15px;
    height: 15px;
    margin-right: 8px;
  }

  .comment-details {
    margin-left: 50px;
    gap: 30px;
  }

  .reply-comment-section {
    padding-left: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin: 0px 0px 0px 45px; 
    margin-bottom: 10px;
  }

  .reply-comment-section img {
    width: 40px;
    height: 40px; 
  }

  .reply-comment-section textarea {
    margin-left: 8px;
    padding: 12px;
    margin-top: 0px;
    min-height: 80px;
    border-radius: 10px;
    font-size: 15px;
  }

  .reply-comment-section textarea::placeholder {
    top: 12px;
  }

  .reply-buttons {
    margin-left: calc(100% - 165px);
    gap: 5px;
  }

  #reply-button {
    font-size: 15px;
    margin-top: 5px;
  }

  #cancel-button {
    font-size: 15px;
    margin-top: 5px;
  }

  /* CATEGORY PAGE */

    /* SEARCH PAGE */

  .search-content {
    margin-top: 0px;
    width: 100%;
    height: auto;
    /* background-color: var(--black); */
    /* border: 1px solid yellow; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 110px;
  }

  .search-result-title {
    margin: 0px;
    color: var(--white);
    font-size: 22px;
    margin-bottom: 40px;
    /* border: 1px solid red; */
  }

  .searched-movie-container {
    margin-top: 10px;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    /* border: 1px solid red; */
  }

  .not-found-description {
    /* border: 1px solid red; */
    color: var(--white);
    text-align: center;
    align-self: center;
    width: 100%;
    height: calc(50vh);
    padding: 20vh 30px;
    font-size: 16px;
    /* padding-bottom: 140px; */
  }

  /* CATEGORY PAGE */

  /* HISTORY PAGE */

  /* WATCHLIST PAGE */

  /* COMMUNITY PAGE */
}

/* TABLET */

@media (min-width: 768px) and (max-width: 1023px){
  /* HOME PAGE */

  .slider-container {
     margin-top: 65px;
  }
  
  .left-arrow {
    left: 25px;
  }
  
  .right-arrow {
    right: 25px;
  }
  
  .dots-container {
    gap: 5px;
  }

  /* WATCH PAGE */

  .movie-container {
    margin-top: 65px;
  }

  .video-container iframe {
    height: 500px;
  }

  .movie-detail {
    margin: 50px 25px;
    margin-bottom: 25px;
    /* border: 1px solid red; */
  }

  .top-detail {
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: baseline;
    margin-bottom: 20px;
  }

  #movie-title {
    font-size: 36px;
    width: fit-content;
    /* border: 1px solid red;  */
  }

  #movie-poster {
    width: 175px;
  }

  .right-detail {
    /* border: 1px solid yellow; */
    width: 100%;
    margin-left: 25px;
  }

  #movie-synopsis {
    margin: 15px 0px;
  }

  .other-detail {
    line-height: 22px;
  }

  .detail-description {
    margin-left: 10px;
  }

  .detail-children-left {
    width: calc(100% - 200px);
    margin-right: 15px;
  }

  .detail-children-right {
    margin-top: 10px;
    width: 200px;
  }

  .episode-container {
    border-radius: 10px;
  }

  .season {
    padding: 15px;
    font-size: 18px;
  }

  .total-episode {
    height: 338px;
    margin: 0px 10px;
  }

  .rating-section {
    margin-top: 20px;
  }

  .stars img {
    width: 25px;
  }

  .rating-section p {
    font-size: 13px;
  }

  .trailer-section {
    margin: 0px 25px;
  }

  .trailer-section p {
    margin-bottom: 15px;
  }

  .trailer-section iframe {
    width: 360px;
    height: 225px;
  }

  .more-section {
    margin: 0px 25px;
    margin-top: 30px;
   
  }

  .comment-section {
    margin: 0px 25px;
    margin-top: 5px;
  }

  .comment-title {
    margin-bottom: 5px;
  }

  .comment-count {
    margin-bottom: 0px;
  }

  .create-comment-section {
    margin: 0px 25px;
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .create-comment-section img {
    width: 45px;
    height: 45px; 
  }

  .create-comment-section textarea {
    margin-top: 0px;
    border-radius: 10px;
  }

  .create-comment-section button {
    margin-top: 10px;
  }
  
  .before-comment {
    margin-bottom: 25px;
  }

  .posted-comment-section {
    margin: 0px 25px; 
    margin-bottom: 10px;
  }

  .posted-reply-section {
    margin: 0px 25px 0px 100px; 
    margin-bottom: 10px;
  }

  /* Initially hide all posted-reply-sections */
  .posted-reply-section {
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
  }

  /* Show the replies when the 'show' class is added */
  .posted-reply-section.show {
    display: block;
    opacity: 1;
  }

  .comment-description {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .reply-comment-section {
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0px 25px 0px 100px; 
    margin-bottom: 10px;
  }

  .reply-comment-section textarea {
    border-radius: 10px;
  }

  .reply-buttons {
    margin-left: calc(100% - 165px);
    gap: 5px;
  }

  /* SEARCH PAGE */

  .search-content {
    padding-top: 10px;
    margin-top: 65px;
    width: 100%;
    height: auto;
    background-color: var(--black);
    /* border: 1px solid yellow; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .search-result-title {
    margin: 50px 0px;
    color: var(--white);
    font-size: 30px;
  }

  .searched-movie-container {
    margin-top: 20px;
    width: 100%;
    /* border: 1px solid red; */
    justify-content: center;
    display: grid;
    /* gap: 0; */
    /* column-gap: 10px; */
    grid-template-columns: auto auto;
    padding: 0px 30px;
  }

  .not-found-description {
    color: var(--white);
    text-align: center;
    width: 100%;
    height: calc(70vh);
    padding: 30vh 30px;
    font-size: 16px;
    /* padding-bottom: 140px; */
  }

  /* CATEGORY PAGE */

  /* HISTORY PAGE */

  /* WATCHLIST PAGE */

  /* COMMUNITY PAGE */
}

