.specific-movie-details {
  display: flex;
  flex-wrap: wrap;
  padding: 44px 32px 0 32px;
  position: relative;
  width: 73%;
  margin: 0px auto 40px auto;
  background-color: #f5f5f5;
  border-radius: 12px;
}

.details-header {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}


.movie-poster {
  flex: 1 1 23%;
  margin-right: 3%;
  margin-left: -1%;
  margin-top: 2%;
}

.movie-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;

}

.details-watchlist {

  top: 5%;
  right: 2%;
}

#details-bookmark-unchecked {
  background: #f5f5f5;
  color: #1c1c1c;
}

.add-to-watchlist-details {
  border: none;
  position: absolute;
  top: 3%;
  right: 2%;
  font-size: 0.9rem;
  background-color: initial;
}


#details-bookmark-checked {
  background: inherit;
  color: rgb(10 151 27 / 67%);
}


.specific-movie-info {
  flex: 1 1 63%;
  padding-top: 16px
}

.specific-movie-info * {
  font-size: 14px;
  color: rgba(41, 41, 43, 0.753);
  text-align: justify;
  letter-spacing: 0.2px;
  width: 85%;
}

.details-movie-specifics {
  color: rgb(41, 41, 43);
  font-size: 14px;
  font-weight: 600;
}

.specific-movie-title,
.trailer-section h3 {
  color: rgb(41, 41, 43);
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 0px;
}

.trailer-section h3 {
  margin-top: 6%;
  margin-bottom: 8%;
}


.specific-movie-genre {
  margin-bottom: 4px;
  width: 100%
}

.specific-movie-runtime,
.specific-movie-release-year {
  margin-bottom: 4px;
}

.specific-movie-description {
  line-height: 1.4;
  width: 83%;
}

.trailer-section {
  margin: 2% auto;
  width: 1024px;
  height: 768px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trailer-video {
  width: 90%;
  height: 52vh;
  border: none;
  border-radius: 10px;
}

.specific-movie-reviews {
  background-color: #F4F4F4;
  padding: 20px;
  border-radius: 10px;
}

.specific-movie-reviews {
  padding: 1.35rem;
  padding-bottom: 16px;
  background-color: #f5f5f5;
  border-radius: 12px;
  width: 73%;
  margin: 0 auto;
}

.movie-score {
  font-size: 1rem;
}

.review-body p {
  font-size: 0.85rem;
  margin: 0.35rem 0;
}

.reviews-title {
  font-size: 1.6rem;
  font-weight: bold;
}

.review {
  position: relative;
  margin-bottom: 2.5rem;
  border: 1px solid #ddd;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
}

.review:last-of-type {
  margin-bottom: 5rem;
}

.review * {
  color: rgb(106 109 114);
}


.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px solid #cbcbcb;
  padding-bottom: 10px;
}

.review-header img:hover,
.reviewer-name:hover {
  cursor: pointer;
}

.review-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.review-info {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-size: 0.9rem;
  font-weight: bold;
  color: rgb(55, 55, 56);
}


.review-body {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 16px;
}


.add-review-form {
  background-color: #F4F4F4;
  margin-bottom: 88px;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.edit-review-form {
  background-color: #fefefe;
  margin: 1% 0;
  padding: 20px;
  position: relative;
}

.edit-review-form h3 {
  text-align: center;
  font-size: 1.5rem;
  color: rgb(55, 55, 56);
}

.add-review-form h3 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
  color: rgb(55, 55, 56);
  text-align: center;
}

.specific-form-group {
  margin-bottom: 15px;
}

.submit-review-btn-wrapper {
  display: flex;
  justify-content: center;
  margin: 16px 0 0 0;
}

.specific-form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: bold;
  color: rgb(115 117 120);
}


.specific-form-group input,
.specific-form-group select,
.specific-form-group textarea {
  width: 100%;
  height: 120px;
  padding: 6px 8px;
  ;
  border-radius: 5px;
  font-size: 16px;
  background-color: #ebe7e7;
  border: 2px solid rgba(128, 128, 128, 0.842);
  color: rgb(55, 55, 56);
}

.specific-form-group textarea:focus,
.specific-form-group textarea:hover,
.specific-form-group input:focus,
.specific-form-group input:hover {
  border-color: #8e47f8;
  outline: none;
}

.review-title-details {
  padding: 0 20%;
  font-size: 1rem;
  text-align: center;
  color: rgb(55, 55, 56);
  margin-bottom: 5%;
}


.specific-form-group input {
  width: 50%;
  height: auto;
}

.submit-review-btn {
  background-color: #8e47f8;
  color: #FFF;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.4s ease;
  margin-top: 16px;
  padding: 14px 18px;
}

.submit-review-btn:hover {
  background-color: #7126e0;
}


.select-menu {
  width: 240px;
  cursor: pointer;
  position: relative;
}

.select {
  background-color: #8e47f8;
  padding: 6px 8px;
  ;
  font-weight: 500;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.select span {
  color: #fff;
  font-size: 14px;
}

.options-list {
  visibility: hidden;
  position: absolute;
  width: 100%;
  background-color: #f9f9f9;
  padding: 2px 20px;
  max-height: 180px;
  overflow-y: auto;
  transition: .4s linear .2s;
  height: 0;
}

.option {
  padding: 8px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  transition: .3s ease-in-out;
}

.option:hover,
.option.selected {
  color: #e3e3f1;
  background-color: #8e47f8;
}

.options-list::-webkit-scrollbar {
  width: 4px;
  background-color: #eee;
}

.options-list::-webkit-scrollbar-thumb {
  background-color: #8e47f8;
}

.options-list.active {
  visibility: visible;
  height: 180px;
  border: 2px solid;
  border-radius: 8px;
}

.invalid-rating {
  font-weight: bold;
  text-align: center;
  color: #e10808;
}



@media only screen and (max-width:1200px) {
  .specific-movie-details {
    width: 86%;
  }
}

@media only screen and (max-width:1000px) {

  .specific-movie-details,
  .specific-movie-reviews {
    width: 100%;
  }
}

@media only screen and (max-width:850px) {
  .specific-movie-description {
    line-height: 1.3;
    width: 99%;
  }

  .specific-movie-info * {
    width: auto;
  }

  .movie-poster {
    flex: 2 1 23%;
    margin-top: 9%;
  }

  .trailer-section {
    width: 800px;
    height: 600px;
  }

}

@media only screen and (max-width:740px) {
  .details-header {
    display: block;
  }

  .movie-poster img {
    display: block;
    width: 200px;
    /* height: auto; */
    height: 26vh;
    border-radius: 10px;
    margin: 0 auto;
  }

  .specific-movie-details {
    padding-top: 0;
  }

  .movie-poster {
    margin: 0;
    padding: 0;
    margin: 5% 0 0 0;
  }

  .add-to-watchlist-details {
    border: none;
    position: absolute;
    top: 1.5%;
    right: 1.5%;
    font-size: 0.8rem;
  }

  .trailer-section {
    width: 640px;
    height: 480px;
  }

  .specific-form-group input {
    width: 70%;
  }
}

@media only screen and (max-width:520px) {
  .movie-poster img {
    width: 182px;
  }

  .trailer-section {
    width: 480px;
    height: 360px;
  }

  .review-title-details {
    padding: 0px 11%;
    font-size: 0.9rem;
  }

  .review-header img {
    width: 36px;
    height: 36px;
  }

  .review:last-of-type {
    margin-bottom: 4rem;
  }

  #star-review {
    margin: 0 0 2% 2%;
  }

  .movie-score {
    width: 100%;
  }
}

@media only screen and (max-width:420px) {
  .movie-poster img {
    width: 168px;
  }

  .trailer-section {
    width: 360px;
    height: 280px;
  }

  .add-review-form {
    background-color: #F4F4F4;
    margin-bottom: 7%;
    padding: 8px;
    border-radius: 10px;
    margin-top: 5px;
  }

  .review:last-of-type {
    margin-bottom: 2.2rem;
  }

  .review {
    padding: 1rem;
  }

  .specific-movie-reviews {
    padding: 1.1rem;
    padding-bottom: 0px;
  }

  .specific-form-group input {
    width: 80%;
  }
}

@media only screen and (max-width:320px) {
  .movie-poster img {
    width: 160px;
  }

  .add-to-watchlist-details {
    font-size: 0.7rem;
    right: 0%;
  }
}