@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

:root {
  --rojo: #e50914;
  --fondo: #141414;
}

* {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
  text-shadow: 2px 2px 2px black;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #111;
  text-shadow: 2px 2px 2px black;
}

::-webkit-scrollbar {
  width: 7px;
  background-color: #111;
}

::-webkit-scrollbar-thumb {
  background-color: white;
  border-radius: 10px;
}

.menu {
  position: fixed;
  right: 20px;
  display: flex;
  margin-right: 10px;
}

.nav {
  position: fixed;
  top: 0;
  padding: 20px 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  transition-timing-function: ease-in;
  transition: all 0.5s;
}

.nav.active {
  background-color: #111;
}

.nav__left {
  margin-left: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__left nav a {
  color: #aaa;
  text-decoration: none;
  /* margin-right: 20px; */
  margin-left: 20px;
  padding: 5px;
}

.nav__left nav a:hover,
.nav__left nav a.active {
  color: #fff;
  transition: all 400ms ease-in-out;
}

.nav_logo {
  font-family: "Bebas Neue", cursive;
  /* font-family: 'Bebas Neue', cursive; */
  /* font-weight: normal;
    color: var(--rojo);
    font-size: 40px; */
  width: 120px;
}

.nav__right {
  position: fixed;
  right: 20px;
  display: flex;
  margin-right: 10px;
}

.nav_avatar {
  width: 35px;
  cursor: pointer;
}

.nav_avatar:hover {
  color: white;
  background-color: red;
  background: 20px;
  transition: all 400ms ease-in-out;
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__menu > * {
  margin-right: 16px;
  cursor: pointer;
  top: -10px;
  color: #aaa;
}

.nav__menu > *:hover {
  color: #fff;
  transition: all 400ms ease-in-out;
}

.nav__menu > i:last-child {
  margin-right: 0;
}

.nav__menu__search {
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Solo en esta pagina  */
.nav__menu__search > #searchInput {
  border: 1px solid #fafafa;
  background-color: rgb(71, 71, 71);
  padding: 4px 8px;
  outline: none;
  color: #fff;
  border-radius: 4px;
  margin-right: 16px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s ease-in;
}

.search__list__container {
  position: absolute;
  top: 40px;
  left: 0;
  background: rgb(71, 71, 71);
  width: 100%;
  border-radius: 10px;
  display: none;
}

.search__list__container > ul {
  list-style: none;
}

.search__list__container > ul > li {
  padding: 16px 12px;
  border-bottom: 1px solid #fafafa;
}

.search__list__container > ul > li:last-child {
  border-bottom: 0;
}

/* .nav__menu__search,
.nav_gift,
.nav_notification {
    position: relative;
    margin-right: 10px;
    top: -10px;
    color: #aaa;
    flex: 1 0 auto;
    padding: 5px;
    cursor: pointer;
}

.nav__menu__search:hover,
.nav_gift:hover,
.nav_notification:hover {
    color: #fff;
    transition: all 400ms ease-in-out;
} */

/* @keyframes slidein {
    from {
        margin-left: 100%;
        width: 300%
    }

    to {
        margin-left: 0%;
        width: 100%;
    }
} */

#banner {
  color: white;
  object-fit: contain;
  height: 844px;
  background-position: center center;
  background-size: cover;
  transition: ease-in-out 500ms;
  animation-duration: 3s;
  animation-name: slidein;
}

#banner__video {
  position: relative;
  margin-top: 1px;
  height: 100%;
  width: 100%;
  transition: ease-in-out 500ms;
  animation-duration: 3s;
  animation-name: slidein;
  /* background-position: center center;
    background-size: cover; */
  /* width: 100%; */
  /* height: 100%; */
}

#banner > video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#banner__contents {
  margin-left: 70px;
  padding-top: 540px;
  height: 190px;
  transition: ease-in-out 500ms;
  animation-duration: 3s;
  animation-name: slidein;
  background: linear-gradient(rgba(0, 0, 0 0.5), rgba(0, 0, 0 0.5));
  background-position: center center;
}

#banner__title {
  /* font-family: 'Bebas Neue', cursive; */
  /* font-weight: 800; */
  font-weight: normal;
  color: #fff;
  /* font-size: 3rem; */
  font-size: 40px;
  padding-bottom: 0.3rem;
  text-shadow: 2px 2px 2px black;
  transition: ease-in-out 500ms;
  animation-duration: 3s;
  animation-name: slidein;
}

#banner__logo {
  position: cover;
  width: 450px;
  /* height: 150px; */
  height: 15rem;
  margin-top: -55rem;
}

#banner__credits {
  color: gray;
  padding-top: 1rem;
  font-size: 1rem;
  transition: ease-in-out 500ms;
  animation-duration: 3s;
  animation-name: slidein;
}

#banner__description {
  font-weight: normal;
  width: 45rem;
  line-height: 1.5;
  padding-top: 1rem;
  font-size: 1.1em;
  max-width: 50%;
  /* max-width: 360px; */
  height: 80px;
  margin-bottom: 1.25em;
  transition: ease-in-out 500ms;
  animation-duration: 3s;
  animation-name: slidein;
}

.banner__button__play,
.banner__button__info {
  font-size: 16px;
  /* min-height: 40.62em; */
  cursor: pointer;
  color: white;
  outline: none;
  border: none;
  font-weight: 700;
  border-radius: 0.2vw;
  padding-left: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-right: 2rem;
  margin-right: 1rem;
  padding-top: 0.5rem;
  background-color: rgba(51, 51, 51, 0.5);
  padding-bottom: 0.5rem;
  transition: ease-in-out 500ms;
  animation-duration: 3s;
  animation-name: slidein;
}

.banner__button__play:hover,
.banner__button__info:hover {
  color: white;
  background-color: red;
  transition: all 0.3s;
}

.banner__fadeBottom {
  height: 7.4rem;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(37, 37, 37, 0.61),
    #111
  );
  transition: ease-in-out 500ms;
  animation-duration: 3s;
  animation-name: slidein;
}

.banner__button__play i,
.banner__button__info i {
  margin-right: 1.25em;
}

.row {
  margin-left: 20px;
  color: white;
}

.row__title {
  font-family: "Local Sans", sans-serif;
}

.row__poster {
  object-fit: contain;
  width: 100%;
  max-height: 120px;
  margin-right: 10px;
  transition: transform 500ms;
}

.row__posters::-webkit-scrollbar {
  display: contents;
}

.row__posters {
  display: flex;
  /* overflow: hidden; */
  overflow-y: hidden;
  overflow-x: hidden;
  padding: 20px;
  scroll-behavior: smooth;
}

.row__poster:hover {
  transform: scale(1.08);
}

.row__posterLarge,
.row__posterLarge1,
.row__posterLarge2 {
  object-fit: contain;
  width: 100%;
  max-height: 250px;
  margin-right: 10px;
  transition: transform 500ms;
}

.row__posterLarge:hover,
.row__posterLarge1:hover,
.row__posterLarge2:hover {
  transform: scale(1.09);
  opacity: 1;
  cursor: pointer;
}

.indicators {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.indicators button {
  background: #fff;
  height: 3px;
  width: 10px;
  cursor: pointer;
  border: none;
  margin-right: 2px;
}

.indicators button:hover,
.indicators button.active {
  background: red;
}

.prev,
.next {
  position: absolute;
  margin: 0;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  font-size: 40px;
  /* height: 50%; */
  /* top: calc(50% - 25%); */
  line-height: 40px;
  width: 50px;
  color: #fff;
  cursor: pointer;
  z-index: 500;
  transition: .2s ease all;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, .9)
}

.prev {
  position: -webkit-sticky;
  margin-top: 6rem;
  left: 0;
}

.next {
  position: -webkit-sticky;
  margin-top: 5%;
  right: 0;
}

/* ---- ----- ----- Media Queries ----- ----- ----- */
@media only screen and (max-width: 600px) {
  .nav__left {
    margin-bottom: 10px;
    font-size: 30px;
  }

  .nav__right {
    flex-direction: column;
    text-align: center;
  }

  .row__posters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }

  #banner {
    font-size: 14px;
  }

  #banner__description {
    max-width: 100%;
  }

  .row__title {
    max-width: 100%;
  }
}
