@charset "UTF-8";
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */ }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent; }

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */ }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none; }

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */ }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible; }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none; }

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
input {
  border-radius: 0;
  -webkit-box-shadow: none;
          box-shadow: none; }

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline; }

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */ }

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */ }

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block; }

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item; }

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none; }

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none; }

:root {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; }

html {
  -webkit-text-size-adjust: none;
     -moz-text-size-adjust: none;
      -ms-text-size-adjust: none;
          text-size-adjust: none;
  -ms-touch-action: manipulation;
      touch-action: manipulation; }

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
  outline: none; }

body {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 19px;
  line-height: 23px;
  color: #000000;
  background-color: #ffffff;
  margin: 0;
  min-width: 1000px;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent; }

main {
  display: block; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%); }

.add-review {
  padding-top: 62px;
  width: 520px;
  margin: 0 auto; }

.add-review__text {
  background: #E8C3C4;
  border-radius: 8px; }

.add-review__textarea {
  display: block;
  width: 100%;
  border: none;
  background: none;
  resize: vertical;
  height: 150px;
  min-height: 150px;
  padding: 25px;
  font-size: 17px;
  color: #252525;
  line-height: 24px; }
  .add-review__textarea::-webkit-input-placeholder {
    opacity: 1;
    color: #252525; }
  .add-review__textarea:-ms-input-placeholder {
    opacity: 1;
    color: #252525; }
  .add-review__textarea::-ms-input-placeholder {
    opacity: 1;
    color: #252525; }
  .add-review__textarea::placeholder {
    opacity: 1;
    color: #252525; }

.add-review__submit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding: 10px 20px; }

.add-review__btn {
  display: block;
  padding: 0;
  border: none;
  background: none;
  font-size: 17px;
  color: #866866;
  letter-spacing: 0;
  line-height: 27px;
  font-weight: bold;
  cursor: pointer;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s; }
.add-review__btn:hover,
.add-review__btn:disabled {
  opacity: 0.5;
}
.add-review__btn:disabled {
  cursor: default;
}

.breadcrumbs {
  margin: 0 20px; }

.breadcrumbs__list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; }

.breadcrumbs__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; }
  .breadcrumbs__item:not(:last-child)::after {
    content: '/';
    margin-left: 5px;
    margin-right: 5px;
    font-size: 17px;
    line-height: 20px; }

.breadcrumbs__link {
  display: block;
  text-decoration: none;
  color: #EEE5B5;
  font-size: 17px;
  line-height: 20px;
  -webkit-transition: color 0.2s;
  transition: color 0.2s; }
  .breadcrumbs__link[href]:hover {
    color: #DFCF77; }

.btn {
  display: inline-block;
  vertical-align: top;
  padding: 0;
  text-decoration: none;
  border: 0;
  background: none;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.26);
  border-radius: 8px;
  color: #EEE5B5;
  font-size: 17px;
  line-height: 20px;
  padding: 13px 30px;
  -webkit-transition: 0.2s background-color, 0.2s -webkit-transform;
  transition: 0.2s background-color, 0.2s -webkit-transform;
  transition: 0.2s background-color, 0.2s transform;
  transition: 0.2s background-color, 0.2s transform, 0.2s -webkit-transform;
  will-change: transform;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-width: 128px; }
  .btn:hover {
    background: rgba(0, 0, 0, 0.51);
    -webkit-transform: scale(1.1);
            transform: scale(1.1); }
  .btn img,
  .btn svg {
    vertical-align: top;
    margin-right: 9px; }

.btn--more {
  min-width: 0;
  width: auto;
  justify-content: center; }

.catalog {
  margin-bottom: 115px;
  max-width: 1300px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 75px; }
  .catalog--like-this {
    padding-top: 30px;
    margin-bottom: 160px; }

.catalog__title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 26px;
  color: #DFCF77;
  font-weight: 400; }

.catalog__genres-list {
  padding: 25px 0;
  margin: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap; }

.catalog__genres-item {
  margin-right: 20px;
  margin-bottom: 20px; }
  .catalog__genres-item--active .catalog__genres-link {
    font-weight: bold; }
    .catalog__genres-item--active .catalog__genres-link::after {
      display: block; }
  .catalog__genres-item:last-child {
    margin-right: 0; }

.catalog__genres-link {
  display: block;
  color: #DFCF77;
  text-decoration: none;
  position: relative;
  padding-bottom: 15px;
  -webkit-transition: font-weight;
  transition: font-weight; }
  .catalog__genres-link::after {
    content: '';
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    height: 1px;
    bottom: 0;
    background: #D9CD8D;
    display: none; }
  .catalog__genres-link:hover::after {
    display: block; }

.catalog__films-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-bottom: 60px; }
  .catalog__films-list:last-child {
    margin-bottom: 0; }

.catalog__films-card {
  width: calc((100% - 30px) / 4);
  margin-right: 10px;
  margin-bottom: 55px; }
  .catalog__films-card:nth-child(4n) {
    margin-right: 0; }
  .catalog__films-card:nth-last-child(-n + 4) {
    margin-bottom: 0; }

.catalog__button {
  display: block;
  width: 100%;
  padding: 29px 40px;
  background: none;
  border: 1px solid rgba(217, 202, 116, 0.2);
  border-radius: 8px;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
  font-size: 22px;
  line-height: 26px;
  text-align: center;
  color: #D9CA74;
  cursor: pointer; }
  .catalog__button:hover {
    border-color: rgba(217, 202, 116, 0.5); }

.copyright {
  text-align: center;
  font-size: 14px;
  line-height: 16px;
  color: #54503E; }
  .copyright p {
    margin: 0; }

.logo__link {
  border: 1px solid rgba(223, 207, 119, 0.36);
  border-radius: 8px;
  width: 93px;
  height: 54px;
  color: #D9CD8D;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: bold;
  text-decoration: none;
  -webkit-transition: color 0.2s, border-color 0.2s;
  transition: color 0.2s, border-color 0.2s; }
  .logo__link[href]:hover, .logo__link[href]:focus {
    border-color: rgba(84, 80, 62, 0.36);
    color: #54503E; }
  .logo__link--light {
    border: 1px solid rgba(84, 80, 62, 0.36);
    margin: 0 auto 24px;
    color: #54503E; }
    .logo__link--light[href]:hover, .logo__link--light[href]:focus {
      border-color: rgba(223, 207, 119, 0.36);
      color: #D9CD8D; }

.logo__letter {
  font-size: 26px; }
  .logo__letter--1 {
    -webkit-transform: rotate(-9deg) translateY(5px);
            transform: rotate(-9deg) translateY(5px); }
  .logo__letter--2 {
    font-size: 30px; }
  .logo__letter--3 {
    -webkit-transform: rotate(8deg) translateY(5px);
            transform: rotate(8deg) translateY(5px); }

.film-card {
  position: relative;
  z-index: 1;
  color: #EEE5B5;
  padding-bottom: 78px;
  background: #E1B0B2; }
  .film-card--full {
    padding-bottom: 45px;
    min-height: 100vh; }

.film-card__hero {
  position: relative;
  z-index: 1;
  min-height: 555px;
  padding-bottom: 210px; }

.film-card__bg {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0; }
  .film-card__bg::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4); }
  .film-card__bg img {
    vertical-align: top;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       font-family: "object-fit:cover;object-position:center top";
       object-fit: cover;
    -o-object-position: center top;
       object-position: center top; }

.film-card__head {
  margin-bottom: 40px; }

.film-card__wrap {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 75px; }

.film-card__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start; }

.film-card__poster {
  border-radius: 5px;
  overflow: hidden;
  -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.4);
          box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.4);
  width: 218px;
  height: 327px;
  margin-right: 40px;
  -ms-flex-negative: 0;
      flex-shrink: 0; }
  .film-card__poster--big {
    width: 273px;
    height: 410px; }
  .film-card__poster--small {
    width: 132px;
    height: 198px;
    margin-left: auto;
    margin-right: auto;
    -webkit-transform: translateY(40px);
            transform: translateY(40px); }
  .film-card__poster img {
    vertical-align: top;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       font-family: "object-fit:cover";
       object-fit: cover; }

.film-card__desc {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1; }

.film-card__title {
  font-family: "Arial Black", sans-serif;
  font-size: 32px;
  line-height: 45px;
  margin: 0 0 7px; }

.film-card__meta {
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 17px;
  line-height: 20px;
  margin: 0 0 20px; }

.film-card__genre::after {
  content: '·';
  margin-left: 4px;
  margin-right: 4px; }

.film-card__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; }

.film-card__button {
  margin-right: 14px; }
  .film-card__button:last-child {
    margin-right: 0; }

.film-card__translate-top {
  margin-top: -170px;
  position: relative;
  z-index: 2; }

.film-card__nav {
  height: 170px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end; }

.film-card__text {
  color: #252525;
  width: 635px;
  font-size: 19px;
  line-height: 27px; }

.film-card__director {
  line-height: 21px;
  color: rgba(0, 0, 0, 0.4); }

.film-card__starring {
  line-height: 24px;
  color: rgba(0, 0, 0, 0.4); }

.film-card__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start; }

.film-card__text-col {
  width: 155px;
  margin-right: 35px; }
  .film-card__text-col:last-child {
    margin-right: 0; }

.film-card__details-item {
  font-size: 19px;
  line-height: 30px; }

.film-card__details-name {
  display: block;
  color: #252525;
  font-weight: bold; }

.film-card__details-value {
  color: #131313; }

.film-card__reviews {
  padding-top: 20px; }

.film-card__reviews-col {
  width: calc((100% - 60px) / 2);
  margin-right: 60px;
  max-width: 380px; }
  .film-card__reviews-col:last-child {
    margin-right: 0; }

.film-card__header {
  position: relative; }

.film-nav__list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap; }

.film-nav__item {
  margin-right: 35px; }
  .film-nav__item--active .film-nav__link {
    font-weight: bold; }
    .film-nav__item--active .film-nav__link::after {
      display: block; }
  .film-nav__item:last-child {
    margin-right: 0; }

.film-nav__link {
  display: block;
  color: #EEE5B5;
  text-decoration: none;
  position: relative;
  padding-bottom: 19px; }
  .film-nav__link::after {
    content: '';
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    height: 4px;
    bottom: 0;
    background: #EEE5B5;
    display: none; }
  .film-nav__link:hover::after {
    display: block; }

.film-rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 35px;
  padding-bottom: 25px; }

.film-rating__score {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  font-size: 30px;
  line-height: 36px;
  color: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  margin-right: 9px; }

.film-rating__meta {
  margin: 0;
  font-size: 19px;
  color: rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; }

.film-rating__level {
  font-weight: bold; }
  .film-rating__level::after {
    content: '·';
    margin-left: 4px;
    margin-right: 4px;
    font-weight: 400; }

.film-rating__count {
  color: #382C2A; }

.page-content {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#180202), to(#000000));
  background-image: linear-gradient(-180deg, #180202 0%, #000000 100%);
  color: #C9B37E;
  padding: 15px;
  padding-bottom: 70px; }

.page-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 22px 75px; }

.page-title {
  margin: 0;
  font-size: 30px;
  line-height: 36px;
  color: #DFCF77;
  font-weight: 300;
  margin-left: auto;
  margin-right: auto; }

.player {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  /* &::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.40);
  } */ }

.player__video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     font-family: "object-fit:cover";
     object-fit: cover; }

.player__exit {
  display: block;
  position: absolute;
  z-index: 2;
  background: rgba(255, 249, 217, 0.12);
  border-radius: 8px;
  top: 37px;
  right: 32px;
  border: none;
  font-size: 17px;
  line-height: 26px;
  color: #EEE5B5;
  padding: 10px 20px;
  cursor: pointer;
  width: 93px;
  text-align: center;
  cursor: pointer; }

.player__controls {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 25px; }

.player__controls-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 15px; }
  .player__controls-row:last-child {
    margin-bottom: 0; }

.player__time {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  margin-right: 20px;
  position: relative; }

.player__progress {
  -webkit-appearance: none;
  width: 100%;
  background: rgba(255, 251, 231, 0.35);
  border-radius: 1px;
  border: none;
  height: 4px;
  display: block; }
  .player__progress::-moz-progress-bar {
    background: #D9CD8D; }
  .player__progress::-webkit-progress-bar {
    background: rgba(255, 251, 231, 0.35); }
  .player__progress::-webkit-progress-value {
    background: #D9CD8D; }

.player__time-value {
  width: 60px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  text-align: right;
  font-size: 14px;
  color: #FFF9D9; }

.player__full-screen {
  margin-left: auto; }

.player__toggler {
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #D9CD8D;
  font-size: 0;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%); }

.player__play {
  display: block;
  width: 26px;
  height: 26px;
  font-size: 0;
  border: none;
  padding: 0;
  cursor: pointer;
  background: none;
  -webkit-transition: 0.2s -webkit-transform;
  transition: 0.2s -webkit-transform;
  transition: 0.2s transform;
  transition: 0.2s transform, 0.2s -webkit-transform; }
  .player__play img,
  .player__play svg {
    vertical-align: top; }
  .player__play:hover {
    -webkit-transform: scale(1.1);
            transform: scale(1.1); }

.player__name {
  font-size: 17px;
  line-height: 20px;
  font-weight: bold;
  color: #B3AE98;
  margin: 0 30px; }

.player__full-screen {
  font-size: 0;
  display: block;
  border: none;
  padding: 0;
  width: 27px;
  height: 27px;
  cursor: pointer;
  background: none;
  -webkit-transition: 0.2s -webkit-transform;
  transition: 0.2s -webkit-transform;
  transition: 0.2s transform;
  transition: 0.2s transform, 0.2s -webkit-transform; }
  .player__full-screen img,
  .player__full-screen svg {
    vertical-align: top; }
  .player__full-screen:hover {
    -webkit-transform: scale(1.1);
            transform: scale(1.1); }

.rating__stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 15px; }

.rating__input {
  display: none; }

.rating__label {
  font-size: 0;
  line-height: 0;
  display: block;
  padding-right: 10px;
  cursor: pointer; }
  .rating__label:first-child {
    padding-right: 0; }
  .rating__label::after {
    content: '★';
    display: block;
    font-size: 32px;
    line-height: 36px;
    color: rgba(56, 44, 42, 0.36);
    -webkit-transition: color 0.2s;
    transition: color 0.2s; }
  .rating__label--active::after,
  .rating__label:hover::after {
    color: rgba(56, 44, 42, 0.7); }

.review {
  border-bottom: 2px solid #E8C3C4;
  font-size: 17px;
  color: #252525;
  line-height: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 75px;
  position: relative;
  margin-bottom: 10px; }
  .review:last-child {
    margin-bottom: 0px;
    border-bottom: none; }

.review__quote {
  margin: 0;
  font-size: 17px;
  line-height: 24px; }

.review__text {
  margin: 0;
  margin-bottom: 15px;
  overflow: hidden;
  text-overflow: ellipsis; }

.review__details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 16px;
  line-height: 27px;
  color: rgba(0, 0, 0, 0.4); }

.review__author {
  font-style: normal;
  font-weight: bold; }

.review__date {
  -ms-flex-negative: 0;
      flex-shrink: 0; }
  .review__date::before {
    content: '·';
    margin-left: 4px;
    margin-right: 4px; }

.review__rating {
  position: absolute;
  right: 0;
  top: 22px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  width: 55px;
  text-align: center;
  font-size: 19px;
  color: #353535;
  font-weight: 500;
  line-height: 25px;
  padding: 5px; }

.sign-in {
  max-width: 480px;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 165px; }

.sign-in__form {
  margin-bottom: 37px; }

.sign-in__fields {
  margin-bottom: 23px; }

.sign-in__field {
  margin-bottom: 3px;
  position: relative; }
  .sign-in__field:last-child {
    margin-bottom: 0; }
  .sign-in__field--error .sign-in__input,
  .sign-in__field--error .sign-in__input:focus {
    border-color: #A8421E; }
  .sign-in__field--error .sign-in__error-message {
    display: block; }

.sign-in__label {
  display: block;
  margin-bottom: 10px;
}

.sign-in__input {
  display: block;
  width: 100%;
  background: #2B1B1B;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 30px;
  color: #DFCF77;
  line-height: 44px;
  font-weight: 300;
  padding: 25px 20px;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s; }
  .sign-in__input::-webkit-input-placeholder {
    opacity: 1;
    color: rgba(223, 207, 119, 0.27); }
  .sign-in__input:-ms-input-placeholder {
    opacity: 1;
    color: rgba(223, 207, 119, 0.27); }
  .sign-in__input::-ms-input-placeholder {
    opacity: 1;
    color: rgba(223, 207, 119, 0.27); }
  .sign-in__input::placeholder {
    opacity: 1;
    color: rgba(223, 207, 119, 0.27); }
  .sign-in__input:focus {
    border-color: #DFCF77; }

textarea.sign-in__input {
  resize: vertical;
}

.sign-in__btn {
  display: block;
  width: 100%;
  padding: 24px 40px;
  background: none;
  border: 1px solid rgba(217, 205, 141, 0.41);
  border-radius: 8px;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
  font-size: 30px;
  line-height: 44px;
  text-align: center;
  color: #D9CD8D;
  cursor: pointer; }
  .sign-in__btn:hover, .sign-in__btn:focus {
    border: 1px solid rgba(217, 205, 141, 0.7); }

.sign-in__reset-password {
  text-align: center; }

.sign-in__link {
  font-size: 22px;
  line-height: 26px;
  color: #574427;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s; }
  .sign-in__link:hover, .sign-in__link:focus {
    color: #DFCF77; }

.sign-in__message {
  text-align: center;
  font-size: 22px;
  color: #DFCF77;
  text-align: center;
  line-height: 26px;
  margin-bottom: 42px; }
  .sign-in__message p {
    margin: 0; }

.sign-in__error-message {
  font-size: 22px;
  line-height: 26px;
  color: #A8421E;
  position: absolute;
  z-index: 1;
  left: calc(100% + 16px);
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 200px; }

.small-film-card {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  -webkit-transition: 0.2s -webkit-transform;
  transition: 0.2s -webkit-transform;
  transition: 0.2s transform;
  transition: 0.2s transform, 0.2s -webkit-transform; }
  .small-film-card:hover {
    z-index: 3;
    -webkit-transform: scale(1.2);
            transform: scale(1.2); }
  .small-film-card img {
    vertical-align: top;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       font-family: "object-fit:cover";
       object-fit: cover; }

.small-film-card__image {
  position: relative;
  z-index: 1;
  height: 175px; }
  .small-film-card__image::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(25%, rgba(0, 0, 0, 0)), color-stop(97%, rgba(0, 0, 0, 0.63)));
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.63) 97%); }

.small-film-card__title {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 15px;
  margin: 0;
  font-size: 17px;
  line-height: 20px;
  font-weight: 500; }

.small-film-card__link {
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
  color: inherit; }

.user-block {
  display: flex;
  align-items: center;
  margin-left: auto;
  list-style-type: none; }

.user-block__item:not(:last-child) {
  margin-right: 15px;
}

.user-block__avatar {
  width: 63px;
  height: 63px;
  overflow: hidden;
  border-radius: 50%; }
  .user-block__avatar img {
    vertical-align: top;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       font-family: "object-fit:cover";
       object-fit: cover; }

.user-block__link {
  display: block;
  font-size: 20px;
  line-height: 24px;
  color: #DFCF77;
  font-weight: bold;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s; }
  .user-block__link:hover {
    color: #C9B37E; }

.user-block__avatar,
.user-block__link {
  cursor: pointer; }

.user-page {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#170202), to(#0c0101));
  background-image: linear-gradient(-180deg, #170202 0%, #0c0101 100%);
  color: #C9B37E;
  padding: 15px;
  padding-bottom: 70px;
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; }

.user-page__head {
  margin-bottom: 40px;
  width: 100%;
  position: relative; }

.user-page__content {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  width: 100%; }

.user-page__title {
  position: absolute;
  left: 200px;
  right: 200px;
  text-align: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%); }

.react-select__control {
  min-height: 96px !important;
  background-color: #2b1b1b !important;
  color: #dfcf77 !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  line-height: 44px !important;
  font-weight: 300 !important;
  font-family: inherit !important;
  font-size: 24px !important;
  outline-color: #dfcf77 !important;
  padding: 15px 10px !important;
}

.react-select__control:hover,
.react-select__control--is-focused {
  border-color: #dfcf77 !important;
  box-shadow: 0 0 0 1px #dfcf77 !important;
}

.react-select__indicator,
.react-select__placeholder {
  color: rgba(223, 207, 119, 0.3) !important;
}

.react-select__placeholder {
  font-size: 30px !important;
}

.react-select__menu-list,
.react-select__single-value,
.react-select__option--is-selected {
  background-color: #2b1b1b !important;
}

.react-select__option:hover,
.react-select__option:focus,
.react-select__option--is-focused {
  background-color: #170202 !important;
}

.react-select__single-value {
  color: #dfcf77 !important;
}

.react-select__indicator-separator {
  background-color: rgba(223, 207, 119, 0.3) !important;
}

.react-select__option--is-selected {
  color: rgba(223, 207, 119, 0.5) !important;
}

.register-form__avatar-wrapper {
  margin-bottom: 24px;
  background-color: #2b1b1b;
  padding: 15px;
}

.register-form__avatar-label {
  display: block;
  min-height: 40px;
  padding: 10px;
  text-align: center;
  color: rgba(223, 207, 119, 0.3);
  border: dashed 1px rgba(223, 207, 119, 0.3);
  border-radius: 5px;
  cursor: pointer;
}

.register-form__avatar-preview {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 50%;
}

.spinner {
  display: grid;
  place-content: center;
  z-index: 1000;
  cursor: wait;
  background-color: rgba(255, 255, 255, 0.5);
}

.spinner::before {
  content: "";
  display: block;
  border-radius: 50%;
  border: 6px solid #4285F4;
  box-sizing: border-box;
  animation: sweep 1s linear alternate infinite,
             rotate 0.8s linear infinite;
  width: 65px;
  height: 65px;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes sweep {
  0% {
    clip-path: polygon(0% 0%, 0% 0%, 0% 0%, 50% 50%, 0% 0%, 0% 0%, 0% 0%);
  }
  50% {
    clip-path: polygon(0% 0%, 0% 100%, 0% 100%, 50% 50%, 100% 0%, 100% 0%, 0% 0%);
  }
  100% {
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 50% 50%, 100% 100%, 100% 0%, 0% 0%);
  }
}

.film-card--full {
  background: #f0e6cf !important;
}

.film-card--full .film-card__text,
.film-card--full .film-card__details-name,
.film-card--full .film-card__details-value,
.film-card--full .review,
.film-card--full .review__quote,
.film-card--full .review__text {
  color: #252525;
}

.film-card--full .film-card__director,
.film-card--full .film-card__starring,
.film-card--full .film-rating__meta,
.film-card--full .review__details {
  color: rgba(37, 37, 37, 0.72);
}

.film-card--full .film-rating__score {
  background: rgba(255, 255, 255, 0.62);
  color: #252525;
}

.film-card--full .film-rating__count {
  color: rgba(37, 37, 37, 0.72);
}
