/* By Athlon Front-End Team */
/* Core variables */
/**
 * Variables
*/
/* Typography */
/* Breakpoints */
/* Paths */
/* Grid setup */
/* Colour palette */
/* Components */
/* CSS normalaze */
/*! normalize.css v8.0.1 | 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;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * 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 {
  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.
 */
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 {
  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] {
  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;
}

/* CSS print */
/**
 * Print Stylesheet
*/
@media print {
  @page {
    margin: 1cm;
  }
  body {
    background: #fff;
    color: #000;
  }

  a {
    page-break-inside: avoid;
  }

  blockquote {
    page-break-inside: avoid;
  }

  table,
pre {
    page-break-inside: avoid;
  }

  ul, ol, dl {
    page-break-before: avoid;
  }
}
/* Fonts */
/* Mixins, helpers and functions */
/**
 * Helper mixins
*/
/* Vendor */
/* Components */
/* Browser specific styles */
/**
 * Dirty hacks, yes internet explorer, we are looking at you
*/
header {
  background-color: #1c1d1c;
  height: 130px;
  display: flex;
  justify-content: space-between;
}

.logo-position {
  margin: 15px 0 15px 100px;
}
.logo-position img {
  transition: 0.5s;
  height: 100px;
  width: 100px;
}
.logo-position img:hover {
  transform: scale(1.1);
}

.double-border-button {
  max-height: 60px;
  line-height: 30px;
  width: 185px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 35px 30px 35px 0;
  padding: 10px 30px;
  position: relative;
  border: 2px solid #f9a81b;
  color: #f9a81b;
  font-family: "Montserrat", sans-serif;
  transition: 0.4s;
}
.double-border-button:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  border: 2px solid rgba(0, 0, 0, 0);
  transition: 0.4s;
}
.double-border-button:hover:after {
  border-color: #f9a81b;
  width: calc(100% - 10px);
  height: calc(100% + 10px);
}

.user_head {
  position: absolute;
  height: 60px;
  width: 100px;
  margin: 0;
  right: 0;
  left: calc(100% - 314px);
  top: 35px;
  cursor: pointer;
  color: #f9a81b;
  text-align: center;
  line-height: 54px;
  visibility: hidden;
}

body {
  background-color: #323435;
}

#containerAll {
  min-height: calc(100vh - 130px);
  position: relative;
}

#containerHomePage {
  margin: 0 50px;
}

#containerListMovie {
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1360px;
}

#sortForm {
  background-color: #494a49;
  border: 1px solid #494a49;
  height: 30px;
  width: 300px;
  margin: 20px 0 0 100px;
  color: white;
}

.item_movie {
  width: 200px;
  height: 319px;
  text-decoration: none;
  transition: 0.5s;
  color: #323435;
  position: relative;
  margin: 20px 20px;
  border-radius: 5px;
  cursor: pointer;
}
.item_movie:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.item_movie img {
  position: absolute;
  top: 0;
  z-index: -1;
  border-radius: 5px;
  width: 200px;
  height: 319px;
}
.item_movie img:hover {
  transform: scale(1.1);
}

.vote_item {
  position: absolute;
  top: calc(100% - 26px);
  left: 0;
  margin: 0;
  height: 26px;
  width: 46px;
  background-color: #f7ba33;
  border-radius: 0 3px 0 0;
  text-align: center;
  font-size: 16px;
  color: #1c1d1c;
  padding-top: 3px;
  padding-bottom: 2px;
  visibility: hidden;
}

.release_item {
  margin: 0;
  font-size: 18px;
  text-align: center;
  color: white;
  visibility: hidden;
  position: absolute;
  top: calc(100% + 5px);
}

.title_item {
  margin: 10px 0;
  text-align: center;
  min-height: 30px;
  line-height: 30px;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.deleteFilm {
  position: absolute;
  font-size: 43px;
  margin: 0;
  color: #f9a81b;
  top: calc(100% - 40px);
  left: calc(100% - 34px);
  width: 35px;
  height: 41px;
  visibility: hidden;
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.floating-button {
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  width: 40px;
  height: 30px;
  line-height: 30px;
  margin: 20px 0 0 20px;
  text-align: center;
  font-weight: 600;
  color: white;
  background-color: #22ae95;
  transition: 0.3s;
}
.floating-button:hover {
  background: #2EE59D;
  box-shadow: 0 15px 20px rgba(46, 229, 157, 0.4);
  color: white;
  transform: translateY(-7px);
}

.visable {
  visibility: visible;
}

.display-block {
  display: block !important;
}

.preloader-5 {
  display: block;
  position: absolute;
  top: calc(50vh - 150px);
  left: calc(50vw - 50px);
  width: 150px;
  height: 150px;
  margin: 30px auto;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #f9a81b;
  animation: preloader-5-spin 2s linear infinite;
  display: none;
}

.preloader-5:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #BFE2FF;
  animation: preloader-5-spin 3s linear infinite;
}

.preloader-5:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #20ad94;
  animation: preloader-5-spin 1.5s linear infinite;
}

@keyframes preloader-5-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.pagination {
  margin: 0 auto 20px 0;
  text-align: center;
  font-family: "Open Sans", sans-serif;
}
.pagination li {
  background: #1c1d1c;
  display: inline-block;
}
.pagination li a {
  color: white;
  display: block;
  padding: 7px 20px;
  text-decoration: none;
  cursor: pointer;
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.pagination li a:hover {
  background: #913f09;
}
.pagination li a.activ_page {
  background: #e0620d;
}

.exppages {
  position: relative;
}

/*.exppages::after{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    content: "";
    display: block;
    height: 10px;
    width: 10px;
    background: url('../images/design/black-triangle.png') no-repeat;
}
*/
#containerAboutFilm {
  margin: 100px 50px;
  display: flex;
  justify-content: space-evenly;
}

#about-film_poster {
  position: relative;
}
#about-film_poster img {
  width: 390px;
  height: 590px;
}

#about-film_info {
  max-width: 780px;
  width: 100%;
  padding: 0 0 0 80px;
  position: relative;
}

.deleteFilm_about {
  position: absolute;
  font-size: 40px;
  color: #f9a81b;
  left: calc(100% - -3px);
  top: -9px;
  cursor: pointer;
  width: 34px;
  height: 39px;
}

.redactFilm {
  position: absolute;
  top: 41px;
  left: 101%;
  color: #f9a81b;
  font-size: 33px;
  width: 33px;
  height: 35px;
  cursor: pointer;
}

.about_title {
  font-size: 32px;
  font-weight: 500;
  color: #eee;
  margin: 0;
}

.about_miniOverview {
  font-size: 16px;
  color: #a2a2a2;
  margin: 5px 0 40px 0;
}

.about_release, .about_genres, .about_vote, .about_overview, .about-vote_count {
  color: #a2a2a2;
  line-height: 1.5;
}

.white_color {
  color: white;
}

.container_come-in {
  width: 445px;
  margin: 0 auto 0 auto;
}

.form_Style {
  margin: 20px 0 0 0;
  height: 40px;
  width: 445px;
  background: #FFFFFF;
  border: 1px solid #D6D6D6;
  box-sizing: border-box;
  border-radius: 2px;
  padding: 10px 17px 10px 16px;
}

.controlLabel {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 140%;
  color: #B3B3B3;
  margin: 2px 0 0 0;
}

.control_btn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 32px 0 20px 0;
}
.control_btn .registration {
  height: 32px;
  width: 158px;
  border: 1px none white;
  cursor: pointer;
  position: relative;
  background: linear-gradient(180deg, #FBFBFB 0%, #F6F6F6 100%);
  box-shadow: 3px 3px 13px rgba(128, 128, 128, 0.25);
  border-radius: 58px;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
}
.control_btn .registration:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 53.12%, #EFECEC 100%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25), 3px 3px 13px rgba(128, 128, 128, 0.25);
}
.control_btn .form_button_come_in {
  height: 32px;
  width: 158px;
  border: 1px none white;
  cursor: pointer;
  position: relative;
  background: linear-gradient(180deg, #FFECB5 0%, #FFE69F 0.01%, #FFD45A 100%);
  box-shadow: 3px 3px 13px rgba(0, 0, 0, 0.25);
  border-radius: 58px;
}
.control_btn .form_button_come_in:hover {
  background: linear-gradient(180deg, #FFEEBC 0%, #FFE69F 36.46%, #FFCF48 68.23%, #FFC317 100%);
  box-shadow: 3px 3px 13px rgba(0, 0, 0, 0.25);
}
.control_btn .form_button_come_in span {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  margin: auto;
}
.control_btn .clear-newFilm {
  height: 32px;
  width: 158px;
  border: 1px none white;
  cursor: pointer;
  position: relative;
  background: linear-gradient(180deg, #FBFBFB 0%, #F6F6F6 100%);
  box-shadow: 3px 3px 13px rgba(128, 128, 128, 0.25);
  border-radius: 58px;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
}
.control_btn .clear-newFilm:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 53.12%, #EFECEC 100%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25), 3px 3px 13px rgba(128, 128, 128, 0.25);
}
.control_btn .addFilm-admin {
  height: 32px;
  width: 158px;
  border: 1px none white;
  cursor: pointer;
  position: relative;
  background: linear-gradient(180deg, #FFECB5 0%, #FFE69F 0.01%, #FFD45A 100%);
  box-shadow: 3px 3px 13px rgba(0, 0, 0, 0.25);
  border-radius: 58px;
}
.control_btn .addFilm-admin:hover {
  background: linear-gradient(180deg, #FFEEBC 0%, #FFE69F 36.46%, #FFCF48 68.23%, #FFC317 100%);
  box-shadow: 3px 3px 13px rgba(0, 0, 0, 0.25);
}
.control_btn .addFilm-admin span {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  margin: auto;
}

.formWrapper h2 {
  color: #eee;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 0;
}

#addOverview {
  resize: vertical;
  max-height: 100px;
  min-height: 40px;
}

#addGenres {
  margin: 20px 0 0 0;
  height: 100px;
  width: 445px;
  background: #FFFFFF;
  border: 1px solid #D6D6D6;
  box-sizing: border-box;
  border-radius: 2px;
  padding: 4px 17px 10px 10px;
}

.wrap {
  margin: 0 auto;
  width: 1000px;
}

.logoMistake h1 {
  font-size: 200px;
  color: #FF7A00;
  text-align: center;
  margin-bottom: 1px;
  text-shadow: 4px 4px 1px white;
}

.logoMistake p {
  color: #B1A18D;
  font-size: 20px;
  margin-top: 1px;
  text-align: center;
}

.logoMistake p span {
  color: lightgreen;
}

.sub a {
  color: #ff7a00;
  text-decoration: none;
  padding: 5px;
  font-size: 13px;
  font-family: arial, serif;
  font-weight: bold;
}

[id=toggle-heart] {
  position: absolute;
  left: -100vw;
}

[id=toggle-heart]:checked + label {
  color: #e2264d;
  filter: none;
  will-change: font-size;
  animation: heart 1s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

[id=toggle-heart]:checked + label:before, [id=toggle-heart]:checked + label:after {
  animation: inherit;
  animation-timing-function: ease-out;
}

[id=toggle-heart]:checked + label:before {
  will-change: transform, border-width, border-color;
  animation-name: bubble;
}

[id=toggle-heart]:checked + label:after {
  will-change: opacity, box-shadow;
  animation-name: sparkles;
}

[id=toggle-heart]:focus + label {
  text-shadow: 0 0 3px white, 0 1px 1px white, 0 -1px 1px white, 1px 0 1px white, -1px 0 1px white;
}

[for=toggle-heart] {
  align-self: center;
  position: absolute;
  top: 0;
  left: 745px;
  color: #888;
  font-size: 2em;
  filter: grayscale(1);
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}

[for=toggle-heart]:before, [for=toggle-heart]:after {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  content: "";
}

[for=toggle-heart]:before {
  box-sizing: border-box;
  margin: -2.25rem;
  border: solid 2.25rem #e2264d;
  width: 4.5rem;
  height: 4.5rem;
  transform: scale(0);
}

[for=toggle-heart]:after {
  margin: -0.1875rem;
  width: 0.375rem;
  height: 0.375rem;
  box-shadow: 0.32476rem -3rem 0 -0.1875rem #ff8080, -0.32476rem -2.625rem 0 -0.1875rem #ffed80, 2.54798rem -1.61656rem 0 -0.1875rem #ffed80, 1.84982rem -1.89057rem 0 -0.1875rem #a4ff80, 2.85252rem 0.98418rem 0 -0.1875rem #a4ff80, 2.63145rem 0.2675rem 0 -0.1875rem #80ffc8, 1.00905rem 2.84381rem 0 -0.1875rem #80ffc8, 1.43154rem 2.22414rem 0 -0.1875rem #80c8ff, -1.59425rem 2.562rem 0 -0.1875rem #80c8ff, -0.84635rem 2.50595rem 0 -0.1875rem #a480ff, -2.99705rem 0.35095rem 0 -0.1875rem #a480ff, -2.48692rem 0.90073rem 0 -0.1875rem #ff80ed, -2.14301rem -2.12438rem 0 -0.1875rem #ff80ed, -2.25479rem -1.38275rem 0 -0.1875rem #ff8080;
}
@keyframes heart {
  0%, 17.5% {
    font-size: 0;
  }
}
@keyframes bubble {
  15% {
    transform: scale(1);
    border-color: #cc8ef5;
    border-width: 2.25rem;
  }
  30%, 100% {
    transform: scale(1);
    border-color: #cc8ef5;
    border-width: 0;
  }
}
@keyframes sparkles {
  0%, 20% {
    opacity: 0;
  }
  25% {
    opacity: 1;
    box-shadow: 0.32476rem -2.4375rem 0 0rem #ff8080, -0.32476rem -2.0625rem 0 0rem #ffed80, 2.1082rem -1.26585rem 0 0rem #ffed80, 1.41004rem -1.53985rem 0 0rem #a4ff80, 2.30412rem 0.85901rem 0 0rem #a4ff80, 2.08305rem 0.14233rem 0 0rem #80ffc8, 0.76499rem 2.33702rem 0 0rem #80ffc8, 1.18748rem 1.71734rem 0 0rem #80c8ff, -1.35019rem 2.0552rem 0 0rem #80c8ff, -0.60229rem 1.99916rem 0 0rem #a480ff, -2.44865rem 0.22578rem 0 0rem #a480ff, -1.93852rem 0.77557rem 0 0rem #ff80ed, -1.70323rem -1.77366rem 0 0rem #ff80ed, -1.81501rem -1.03204rem 0 0rem #ff8080;
  }
}
* {
  font-family: "Roboto", sans-serif;
}

.none {
  display: none !important;
}

html {
  box-sizing: border-box;
}

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

main {
  position: relative;
  min-height: 100vh;
}
