@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
:root {
  --live-indicator-shadow: hsla(0, 79%, 63%, 0.5);
  --rich-black-fogra-30: hsl(219, 32%, 10%);
  --rich-black-fogra-29: hsl(222, 25%, 10%);
  --live-indicator: hsl(0, 79%, 63%);
  --oxford-blue-50: hsla(218, 39%, 14%, 0.8);
  --oxford-blue: hsl(218, 39%, 14%);
  --light-azure: hsl(214, 84%, 56%);
  --off-white: hsl(0, 0%, 88%);
  --yellow: hsl(45, 100%, 54%);
  --white: hsl(0, 0%, 100%);
  --azure: hsl(211, 100%, 50%);
  --ff-inter: 'Inter', sans-serif;
  --section-heading: 40px;
  --fs-lg: 22px;
  --fs-md: 17px;
  --fs-sm: 14px;
  --fs-x-sm: 12px;
  --fw-7: 700;
  --fw-6: 600;
  --fw-5: 500;
  --px: 120px;
}


html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}


body {
  margin: 0;
}


main {
  display: block;
}


h1 {
  font-size: 2em;
  margin: 0.67em 0;
}


hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}


pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}


a {
  background-color: transparent;
}


abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}


b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}


small {
  font-size: 80%;
}


sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}


img {
  border-style: none;
}


button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}


button,
input {
  /* 1 */
  overflow: visible;
}


button,
select {
  /* 1 */
  text-transform: none;
}


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


button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}


button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}


fieldset {
  padding: 0.35em 0.75em 0.625em;
}


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 */
}

progress {
  vertical-align: baseline;
}


textarea {
  overflow: auto;
}


[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  padding: 0;

}


[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}


[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}


[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}


details {
  display: block;
}


summary {
  display: list-item;
}


template {
  display: none;
}


[hidden] {
  display: none;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: #131720;
}

::-webkit-scrollbar {
  background: transparent;
  border-left: 1px solid #162032;
}

::-webkit-scrollbar-thumb {
  background: #3182ed;
  border-radius: 5em;
  border: 3px solid #131720;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -o-object-fit: cover;
     object-fit: cover;
}

input,
select,
button {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

.header {
  position: relative;
  padding: 30px 0px;
}

.header .header__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: relative;
}

.header .header__box-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header .header__logo-link {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}

.header .header__logo-text {
  color: dodgerblue;
  -webkit-transition: color 0.5s;
  transition: color 0.5s;
}

.header .header__logo-text:hover {
  color: rgba(255, 0, 0, 0.815);
}

.header .header__nav {
  margin-left: 100px;
}

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

.header .header__item + .header__item {
  margin-left: 60px;
}

.header .header__link {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.header .header__link:hover {
  color: dodgerblue;
}

.header .header__link:active {
  opacity: 0.6;
}

.header .header__sing {
  position: relative;
  margin-right: 40px;
}

.header .header__sing::after {
  position: absolute;
  content: '';
  right: -30px;
  width: 25px;
  height: 25px;
  color: dodgerblue;
  background-image: url("https://cf-movie.netlify.app/img/enter-outline1.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.header .header__bookmark-btn {
  position: absolute;
  top: 10px;
  right: 130px;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
}

.header .header__bookmark-img {
  width: 23px;
  height: 23px;
}

.header .header__bookmark-btn::after {
  position: absolute;
  top: -5px;
  right: -4px;
  content: '';
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #1e90ff;
}

.header .bookmark__length {
  position: absolute;
  top: -6px;
  right: -1px;
  font-size: 12px;
  font-weight: 700;
  color: #fa0000;
  z-index: 1;
}

.container {
  max-width: 1152px;
  margin: 0px auto;
  padding: 0px 20px;
}

.hero {
  padding-bottom: 55px;
}

.hero .hero__wrap {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 20px;
}

.hero .hero__wrap:hover .hero__img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.hero .hero__img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-position: top;
     object-position: top;
  pointer-events: none;
  -o-object-fit: cover;
     object-fit: cover;
}

.hero .hero__containt {
  position: absolute;
  right: 80px;
  bottom: 60px;
  left: 80px;
}

.hero .hero-info {
  position: relative;
  margin-left: 35px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.hero .hero-info + .hero-info {
  margin-left: 50px;
}

.hero .hero-info::before {
  position: absolute;
  content: '';
  width: 25px;
  height: 25px;
  background-size: contain;
}

.hero .hero-info:nth-last-child(3)::before {
  left: -30px;
  background-image: url("https://cf-movie.netlify.app/img/movie_icon.svg");
}

.hero .hero-info:nth-last-child(2)::before {
  left: -30px;
  background-image: url("https://cf-movie.netlify.app/img/calendar-outline.svg");
}

.hero .hero-info:nth-last-child(1)::before {
  left: -30px;
  background-image: url("https://cf-movie.netlify.app/img/time-outline.svg");
}

.hero .hero-info:nth-last-child(1)::after {
  content: '4K';
  font-size: 16px;
  padding: 4px;
  margin-left: 15px;
  border-radius: 5px;
  background-color: dodgerblue;
}

.hero .hero__header {
  margin: 0;
  margin-top: 10px;
  font-size: 50px;
  color: #fff;
  text-shadow: 2px 0 2px #0007;
}

.movie .movie__filter-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 20px 30px;
  border-radius: 20px;
  margin-bottom: 30px;
  background: #162032;
}

.movie .movie__filter-bar select {
  margin-right: 15px;
  padding: 12px 15px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  background-color: #131720;
}

.movie .form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

.movie .movie__filter-bar .form__input {
  width: 100%;
  padding: 12px 35px 12px 20px;
  border-radius: 15px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  background: #131720;
}

.movie .form__btn {
  position: absolute;
  top: 13px;
  right: 12px;
  width: 20px;
  height: 20px;
  background-image: url("https://cf-movie.netlify.app/img/search-outline%20.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.movie .movie__filter-radios {
  position: relative;
  padding: 10px;
  border-radius: 15px;
  background: #131720;
}

.movie .movie__filter-radios input {
  display: none;
}

.movie .movie__filter-radios label {
  position: relative;
  margin: 0 10px;
  font-size: 14px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
  z-index: 10;
}

.movie .movie__filter-radios input:checked + label,
.movie .movie__filter-radios label:hover {
  color: #3182ed;
}

.movie .movie__filter-radios input ~ .checked-radio-bg {
  position: absolute;
  top: 5px;
  left: 7px;
  bottom: 5px;
  width: 81px;
  border-radius: 10px;
  background: #162032;
}

.movie #popular:checked ~ .checked-radio-bg {
  width: 68px;
  left: 90px;
}

.movie #newest:checked ~ .checked-radio-bg {
  width: 68px;
  left: 163px;
}

.movie .movie__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(140px, 1fr))[auto-fill];
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  margin: 0px;
  padding: 0px;
  list-style: none;
}

.movie .movie__item {
  margin: 0px;
}

.movie .movie__card {
  position: relative;
  --scale: 0.8;
  cursor: pointer;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

.movie .movie__card-header {
  position: relative;
  height: 250px;
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
}

.movie .movie__card-img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -o-object-fit: cover;
     object-fit: cover;
}

.movie .movie__card-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.movie .movie__card:hover .movie__card-overlay {
  opacity: 1;
}

.movie .movie__card:hover .movie__card-img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.movie .bookmark,
.movie .rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  padding: 5px;
  border-radius: 10px;
  color: #3182ed;
  -webkit-transform: scale(var(--scale));
          transform: scale(var(--scale));
}

.movie .bookmark {
  top: 13px;
  left: 13px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background-color: #131720;
  background-image: url("https://cf-movie.netlify.app/img/bookmark1-outline.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 18px;
}

.movie .bookmark:hover {
  background-color: rgba(19, 23, 32, 0.3);
}

.movie .bookmark:active {
  background-color: #131720;
}

.movie .rating {
  top: 13px;
  right: 13px;
  width: 50px;
  height: 28px;
  background-color: #131720;
  background-image: url("https://cf-movie.netlify.app/img/star-icon.svg");
  background-position: 4px 7px;
  background-repeat: no-repeat;
  background-size: 14px;
}

.movie .movie__rating {
  margin-left: 15px;
  color: #fff;
  font-weight: 500;
  font-size: 13px;
}

.movie .play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background-image: url("https://cf-movie.netlify.app/img/play.svg");
  background-repeat: no-repeat;
  background-size: 60px;
  -webkit-transform: translate(-50%, -50%) scale(var(--scale));
          transform: translate(-50%, -50%) scale(var(--scale));
}

.movie .play:hover {
  opacity: 0.6;
}

.movie .play:active {
  opacity: 0.3;
}

.movie .film-info {
  position: absolute;
  right: 13px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background-color: #131720;
  background-image: url("https://cf-movie.netlify.app/img/book-outline%20.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 18px;
  -webkit-transform: scale(var(--scale));
          transform: scale(var(--scale));
}

.movie .film-info:hover {
  background-color: rgba(19, 23, 32, 0.3);
}

.movie .film-info:active {
  background-color: #131720;
}

.movie .movie__card:hover :is(.bookmark, .rating, .play, .film-info) {
  --scale: 1;
}

.movie .movie__card-title {
  margin: 0;
  color: #fff;
}

.movie .movie__card:hover .movie__card-title {
  color: #3182ed;
}

.movie .movie__card-info {
  width: 50px;
  color: rgba(255, 255, 255, 0.4);
}

.hidden {
  display: none;
}

.movie__over {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  z-index: 15;
}

.movie__panel {
  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-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 15;
  padding: 30px;
  width: 700px;
  min-height: 350px;
  border-radius: 15px;
  background-color: #0a0c10;
}

.movie__panel-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 25px;
  height: 25px;
  cursor: pointer;
  background-image: url("../../img/close_icon 1.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.movie__panel-btn:hover {
  opacity: 0.8;
}

.movie__panel-btn:active {
  opacity: 0.6;
}

.movie__panel-img {
  width: 300px;
  height: 300px;
  border-radius: 10px;
}

.movie-header {
  color: #fff;
}

.movie-info {
  color: rgba(255, 255, 255, 0.4);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  z-index: 13;
}

.bookmar__modal {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  z-index: 15;
}

.bookmar__modal .bookmark__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1110px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 15;
}

.bookmar__modal .bookmark__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  z-index: 13;
}

.bookmar__modal .bookmark__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(140px, 1fr))[auto-fill];
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
  margin: 0px;
  padding: 30px;
  overflow: auto;
  max-height: 500px;
  border-radius: 15px;
  background-color: #0a0c10;
  list-style: none;
}

.bookmar__modal .bookmark__item {
  width: 160px;
}

.bookmar__modal .bookmark__img {
  width: 160px;
  height: 250px;
  border-radius: 15px;
}

.bookmar__modal .bookmark__header {
  margin: 0;
  text-align: center;
  color: #fff;
}

.bookmar__modal .bookmark__delit-btn {
  position: relative;
  top: 0px;
  cursor: pointer;
}

.bookmar__modal .bookmark__delit-btn:hover {
  top: -4px;
}

.bookmar__modal .bookmark__delit-btn::before {
  position: absolute;
  top: -5px;
  left: 62px;
  content: '';
  width: 25px;
  height: 25px;
  background-image: url("../../img/trash-outline.svg");
  background-size: contain;
}

.category {
  margin: 70px 0px 70px 0px;
}

.category .category__title {
  margin: 0;
  margin-bottom: 65px;
  font-size: 35px;
  color: #fff;
  text-align: center;
}

.category .category__list {
  display: -ms-grid;
  display: grid;
  --ms-grid-columns: (1fr)[4];
      grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category .category__item {
  position: relative;
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.category .category__item:hover .category__img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.category .category__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: --webkit-gradient(linear, left top, left bottom, color-stop(20%, transparent), to(#000a));
  background: linear-gradient(180deg, transparent 20%, #000a);
}

.category .category__item .name,
.category .category__item .total {
  position: absolute;
  bottom: 20px;
  color: var(--white);
  z-index: 20;
}

.category .name {
  left: 20px;
  font-size: 20px;
}

.category .total {
  right: 20px;
  font-size: 18px;
  background: var(--oxford-blue-50);
  padding: 5px 8px;
  border-radius: 8px;
}

.live .live__title {
  margin: 0;
  margin-bottom: 65px;
  font-size: 35px;
  color: #fff;
  text-align: center;
}

.live .live__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(250px, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.live .live__item {
  width: 350px;
  cursor: pointer;
}

.live .live__item:hover .live-card__img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.live .live-card__header {
  position: relative;
  width: 350px;
  height: 250px;
  border-radius: 20px;
  margin-bottom: 15px;
  overflow: hidden;
}

.live .live-card__header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, transparent), to(#000a));
  background: linear-gradient(180deg, transparent 20%, #000a);
}

.live .live-card__img {
  width: 350px;
  height: 250px;
}

.live .live__item .live-card__badge,
.live .live__item .live-card__viewers {
  position: absolute;
  left: 30px;
  color: #fff;
  border-radius: 10px;
  padding: 5px 10px;
  z-index: 10;
}

.live .live-card__badge {
  top: 30px;
  font-size: 12px;
  font-weight: 500;
  background: #eb5656;
}

.live .live-card__viewers {
  bottom: 30px;
  font-size: 15px;
  font-weight: 600;
  background: #162032;
}

.live .live-card__title {
  margin: 0;
  color: #fff;
  font-size: 25px;
}

.live .live__item:hover .live-card__title {
  color: #3182ed;
}
