* {
  padding: 0;
  margin: 0;
  border: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

ul, ol {
  list-style-type: none;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 20px;
  max-width: 1440px;
  margin: 0 auto;
  background: #202124;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

*:focus {
  outline: none;
  box-shadow: 5px 5px 5px #393939;
}

a {
  text-decoration: none;
}

.block-theme-dark {
  background-color: #333333;
  border-radius: 15px;
}

.line {
  height: 2px;
  width: 30%;
  margin: 0 auto;
  background: #FAFAFA;
  margin-bottom: 25px;
}

.header-fieldset-dark-theme {
  text-align: center;
  color: #FAFAFA;
  font-size: 22px;
  font-weight: 700;
}

.line-star {
  text-align: center;
}
.line-star::before {
  content: "***";
  font-size: 25px;
}

.input-dark-theme {
  padding: 13px;
  font-size: 14px;
  border-radius: 8px;
  background: #444444;
}

.header {
  margin-bottom: 30px;
}
.header__text {
  color: #FAFAFA;
  text-transform: uppercase;
  font-size: 27px;
  font-weight: 700;
  text-align: center;
}

.films {
  margin-bottom: 25px;
}
.films .film {
  margin-bottom: 20px;
  padding: 20px 30px;
}
.films .film__header {
  font-size: 20px;
  color: #FAFAFA;
  margin-bottom: 5px;
}
.films .film__description {
  font-size: 16px;
  font-family: "Times New Roman", Times, Baskerville, Georgia, serif;
  color: #A5A5A5;
  line-height: 1.5;
}
.films .film:last-child {
  margin: 0 0 0 0;
}

.faq {
  padding: 15px 30px;
  margin-bottom: 40px;
}
.faq__header {
  font-size: 19px;
  color: #FAFAFA;
  margin-bottom: 5px;
}
.faq__list {
  color: #A5A5A5;
  font-size: 15px;
}
.faq__list li {
  line-height: 1.5;
  font-style: italic;
}
.faq__list li a {
  color: #A5A5A5;
}
.faq__list li:first-child:before {
  content: "1. ";
}
.faq__list li:nth-child(2)::before {
  content: "2. ";
}
.faq__list li:nth-child(3)::before {
  content: "3. ";
}
.faq__list li:last-child::before {
  content: "4. ";
}
.faq__list li:hover {
  text-decoration: underline;
  display: inline-block;
}

.form {
  max-width: 900px;
  margin: 0 auto;
}
.form .wrapper {
  padding: 30px 0;
  max-width: 70%;
  margin: 0 auto;
}
.form .wrapper .fieldset-info {
  margin-bottom: 20px;
}
.form .wrapper .fieldset-info__header {
  margin-bottom: 10px;
}
.form .wrapper .fieldset-info__input {
  color: #fafafa;
  margin-bottom: 15px;
}
.form .wrapper .fieldset-info__input::-moz-placeholder {
  color: #A5A5A5;
}
.form .wrapper .fieldset-info__input::placeholder {
  color: #A5A5A5;
}
.form .wrapper .fieldset-info .user-name-input {
  margin-left: 50px;
  width: 36.8%;
}
.form .wrapper .fieldset-info .user-last-name-input {
  margin-left: 10px;
  width: 36.8%;
}
.form .wrapper .fieldset-info .email-input {
  margin: 0 auto;
  width: 80%;
  display: block;
}
.form .wrapper .fieldset-rating {
  margin-bottom: 50px;
}
.form .wrapper .fieldset-rating__header {
  margin-bottom: 15px;
}
.form .wrapper .fieldset-rating .fieldset-film {
  width: 80%;
  margin: 0 auto;
}
.form .wrapper .fieldset-rating .fieldset-film__header {
  font-size: 20px;
  color: #FAFAFA;
  font-weight: 700;
  margin-bottom: 15px;
}
.form .wrapper .fieldset-rating .fieldset-film__header::before {
  content: "";
  padding-left: 20px;
  background: url(../../img/numerator.png) 0 50%/15px no-repeat;
}
.form .wrapper .fieldset-rating .fieldset-film__select {
  margin-bottom: 10px;
  color: #A5A5A5;
  display: block;
  width: 100%;
}
.form .wrapper .fieldset-rating .fieldset-film__review {
  color: #fafafa;
  margin-bottom: 25px;
  resize: none;
  display: block;
  width: 100%;
  height: 100px;
  box-sizing: border-box;
}
.form .wrapper .fieldset-rating .fieldset-film__review::-moz-placeholder {
  color: #A5A5A5;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.form .wrapper .fieldset-rating .fieldset-film__review::placeholder {
  color: #A5A5A5;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.form .wrapper .fieldset-rating .fieldset-film:last-child .fieldset-film__review {
  margin-bottom: 0;
}
.form .wrapper .button {
  cursor: pointer;
  display: block;
  width: 40%;
  margin: 0 auto;
  height: 50px;
  font-size: 16px;
  border-radius: 25px;
  background: #FD4648;
  text-transform: uppercase;
  color: #FAFAFA;
}
.form .wrapper .button:hover {
  background: #da3a3d;
  transition: 200ms;
}
.form .wrapper .button:active {
  background: #b32f31;
}

.scroll-up {
  display: block;
  width: 50px;
  height: 50px;
  background: #444444;
  box-shadow: 5px 5px 0px #111;
  border-radius: 10px;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  cursor: pointer;
  z-index: 10;
}
.scroll-up__arrow {
  position: fixed;
  bottom: 2.4rem;
  right: 2.55rem;
  z-index: 11;
  display: block;
  width: 2vh;
  height: 2vh;
  border: 3px solid #fafafa;
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
}
.scroll-up:hover .scroll-up__arrow {
  transition: 300ms;
  bottom: 2.8rem;
}