#opinion {
  width: 100vw;
  height: 100vh;
  position: relative;
}

#containerVideoOpinion {
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

#containerVideoOpinion video {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

#contentVideoOpinion {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  padding: 0 50px;
  box-sizing: border-box;
}

#opinionBar {
  position: relative;
  width: 600px;
  max-width: 80vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

#user {
  font-weight: 500;
  font-size: 24px;
  padding-bottom: 10px;
  padding-left: 25px;
  margin-left: 25px;
  margin-right: 375px;
  border-bottom: 1px solid orange;
}

#userOpinion {
  padding-top: 10px;
}

#userRate {
  color: orange;
  margin-top: 25px;
}

.opinionArrow {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  background: transparent;
  color: orange;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  outline: none;
  border: none;
  background: none;
  box-shadow: none;
}

.opinionArrow:focus {
  outline: none;
  box-shadow: none;
}

#opinionPrev {
  left: -50px;
}

#opinionNext {
  right: -50px;
}

#opinionBar h5 {
  font-weight: 100;
  text-align: right;
  margin-right: 25px;
}

#opinionBar h5 a {
  position: relative;
  display: inline-block;
}

#opinionBar h5 a::after {
  position: absolute;
  content: '';
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: orange;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease-in-out;
}

#opinionBar h5 a:hover::after {
  transform: scaleX(1);
}

#starRating {
  display: flex;
  gap: 5px;
  font-size: 30px;
  cursor: pointer;
  margin-left: 25px;
}

.star {
  color: #444;
  transition: color 0.2s;
}

.star.hovered,
.star.selected {
  color: orange;
}

#opinion form {
  margin-top: 50px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
}

#opinion input {
  width: 85%;
  padding-left: 20px;
  margin: 10px 0 0 15px;
  height: 45px;
  border-radius: 0;
  color: white;
  background: none;
  border: none;
  border-bottom: 1px solid orange;
}

#opinion input:focus {
  outline: none;
}

#opinion textarea {
  margin-top: 10px;
  width: 90%;
  height: 100px;
  margin-left: 20px;
  background: none;
  padding-top: 5px;
  color: white;
  border: none;
  resize: none;
}

#opinion textarea:focus {
  outline: none;
}

.btn-smooth {
  position: relative;
  display: inline-block;
  margin: 25px 25px 0 0;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  float: right;
  color: white;
  background: transparent;
  border: 1px solid orange;
  border-radius: 30px;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.btn-smooth::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: orange;
  z-index: -1;
  transition: width 0.4s ease;
  border-radius: 30px;
}

.btn-smooth:hover::before {
  width: 100%;
}

.btn-smooth:hover {
  color: black;
}

@media (max-width: 950px) {
  #opinion {
    height: auto;
    margin-top: 80px;
    background-color: black;
  }

  #containerVideoOpinion {
    height: 750px;
  }

  #containerVideoOpinion video {
    height: 750px;
    object-fit: cover;
    filter: brightness(0.65);
  }

  #contentVideoOpinion {
    top: 0;
    padding-top: 30px;
    flex-direction: column;
    align-items: center;
  }

  #opinionBar {
    width: 80%;
    text-align: center;
    padding: 20px;
  }

  #user {
    font-size: 20px;
    padding-bottom: 8px;
    margin: 0 auto 10px;
    border-bottom: 1px solid orange;
    width: fit-content;
  }

  #userOpinion {
    font-size: 15px;
    line-height: 1.5em;
    padding: 10px 0;
  }

  #userRate {
    font-size: 12px;
    margin-top: 15px;
  }

  #opinionPrev {
    left: -65px;
  }

  #opinionNext {
    right: -55px;
  }

 .btn-smooth {
    float: none !important;
    display: inline-block;
    margin: 10px 5px;
    padding: 10px 20px;
    font-size: 14px;
    text-align: center;
  }

  #opinion form {
    text-align: center;
  }
}