:root {
  /* COLOR PALETTE */
  --color1: #111138;
  --color2: #111111;
  --color3: #fff;
  --gradiante: linear-gradient(
    rgb(116, 9, 121),
    rgb(185, 8, 246),
    rgb(91, 28, 230)
  );
  /* BOTONES */
  --colorButton1: rgb(181, 53, 246);
  /* LETRA*/
  --colorText: #fff;
  /* FONDO IMG*/
  --background-img: url("../icons/marvel-avengers-infinity-war-poster-oficial-cover.jpg");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", "Arial Narrow", Arial, sans-serif;
}

a,
button {
  cursor: pointer;
}

body {
  background-color: var(--color2);
  overflow-x: hidden;
}

/* BOTON BACK */
.header-arrow {
  height: 30px;
  width: 30px;
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateZ(-10px);

  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background-color: var(--colorButton1);
  font-size: 20px;
  color: white;
}

/* NAVAR */
.navar {
  width: 100%;
  height: 50px;

  position: static;
  top: 0px;

  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-content: center;
  flex-wrap: nowrap;

  background-color: var(--color2);
}

/* ICONOS */
.icon {
  width: 30px;
  height: 30px;
  margin-right: 5px;
}

/* CONTENEDOR PRESENTACION */
.header-container {
  width: 100%;
  height: 300px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  background-size: cover;
  background-position: -110px;
}

/* CONTENEDOR GLASS*/
.container-glass {
  min-width: 300px;
  max-width: 800px;
  height: 370px;
  width: 85%;

  margin-top: 15px;
  margin-bottom: 15px;

  background: linear-gradient(
    180deg,
    rgba(217, 217, 217, 0.47) 2.19%,
    rgba(255, 252, 252, 0.12) 99.95%
  );
  box-shadow: 0px 4px 20px 17px rgba(0, 0, 0, 0.53);
  backdrop-filter: blur(8.5px);
  border-radius: 15px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  align-content: center;
}

/* TITULO DE GLASS */
.header-title {
  font-size: 2.6rem;
  text-align: center;
  line-height: 40px;
  max-width: 300px;
}

/* SEARCH CONTENEDOR*/
.header-searchForm {
  margin-top: 10px;
  width: 240px;
  display: flex;
}

/* SEARCH */
input {
  outline: none;
  border-style: none;
  height: 40px;
  width: 100%;

  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  padding-left: 10px;
}

/* ICON SEARCH */
#searchBtn {
  width: 40px;
  height: 40px;
  padding-top: 8px;
  padding-left: 6px;
  text-decoration: none;
  background: var(--gradiante);
  outline: none;
  border-style: none;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
}

/* ----------- */

/* CONTENEDOR PELICULAS Y TRENDS  */
.trendingPreview-container {
  background-color: var(--color2);
}

/* CONTENEDOR TRENDS */
.trendingPreview-header {
  height: 50px;

  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;

  background-color: var(--color2);
}

/* BACKGROUND TRENDS */
.container-trens {
  position: relative;
  top: -20px;

  width: 170px;
  height: 50px;

  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  color: var(--colorText);
  background: var(--gradiante);
}

/* TITULO TRENDS */
/* .trendingPreview-title{
} */

/* BOTON TRENDS */
.trendingPreview-btn {
  outline: none;
  border-style: none;
  margin-left: 5px;
  background-color: var(--color2);
  color: var(--colorText);
  padding: 5px;
  border-radius: 5px;
}

/* CONTENEDOR PELICULAS */
.trendingPreview-movieList {
  width: 100%;
  height: 210px;
  overflow-y: hidden;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  padding-left: 10px;
}

/* PELICULA */
.movie-img {
  margin: 0 5px;
  cursor: pointer;
  width: 300px;
  height: 170px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transition: all 600ms;
}

.movie-container {
  margin-top: 30px;
}

/*ANIMATION PELICULA*/
.movie-img:hover {
  border-radius: 10px;
  box-shadow: 0 0 10px 5px white;
}

/* CARD PELICULA */
.card-hover {
  width: 295px;
  height: 80px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  flex-wrap: nowrap;
  left: 7.5px;
  border-radius: 10px;
  position: relative;
  top: -87px;
  color: var(--colorText);
  background: var(--gradiante);
  opacity: 0;
  visibility: hidden;
  transition: all 500ms ease-in-out;
}

/* CARD TITULO */
.card-title {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: nowrap;
}
.card-hover > div > p {
  margin-top: 10px;
}

/* CARD PUNTOS */
.card-points {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-wrap: nowrap;
  position: relative;
  top: -10px;
}

/* CERRAR CARD */
.close-card {
  width: 30px;
  cursor: pointer;
  position: relative;
  top: -55px;
  left: 10px;
}

@media (min-width: 420px) {
  .close-card {
    top: -30px;
  }
}

/* ----------------- */

/* CATEGORY */

/* CONTAINER CATEGORY*/
.categoriesPreview-container {
  width: 100%;
  background-color: var(--color1);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* CONTAINER TITLE */
.categoriesPreview-title {
  margin-bottom: 25px;
  width: 200px;
  height: 50px;
  margin-top: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradiante);
  color: var(--colorText);
  border-bottom-left-radius: 50px;
  border-top-right-radius: 50px;
}

/* CONTAINER LIST CATEGORY */
.categoriesPreview-list {
  width: 100%;
  height: 400px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

/* CATEGORY */
.category-container {
  text-align: center;
  width: 120px;
  margin: 2px;
  padding: 5px;
  transition: all 500ms;
  color: var(--colorText);
  cursor: pointer;
}
/* CATEGORY HOVER */
.category-container:hover {
  background-color: var(--colorButton1);
  color: var(--colorText);
  border-radius: 5px;
  transform: scale(105%);
}

.category-container .ancla {
  text-decoration: none;
  color: var(--colorText);
}

.category-container:hover .ancla {
  color: var(--colorText);
}

/* ------------------- */

/* MOVIE CONTAINER (CATEGORY) */
.genericList-container {
  width: 100%;
  gap: 15px;
  display: grid;
  align-items: center;
  place-items: center;
  align-items: center;
}

@media (min-width: 660px) {
  .genericList-container {
    grid-template-columns: auto auto;
  }
}

.movie-category {
  width: 300px;
  margin-top: 10px;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.movie-name {
  width: 300px;
  height: 50px;
  background-color: var(--color1);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
  color: var(--colorText);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.movie-img-category {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.movie-description {
  position: relative;
  top: -7px;
}

/* ACTIVITY DETAIL MOVIES */
.inactive-details {
  width: 0;
  position: absolute;
  top: 50px;
  opacity: 0;
  transition: 600ms all;
}

.active-details {
  width: 100%;

  overflow-x: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  position: relative;
  top: 570px;
  transform: translateZ(1px);
  opacity: 1;
  visibility: visible;
  background-color: var(--color1);
  transition: 600ms all;
}

.categories-list {
  width: 90%;

  display: flex;
  justify-content: center;
  flex-direction: row;
  background-color: var(--color2);
  color: var(--colorText);
  border-radius: 5px;
}

.relatedMovies-scrollContainer {
  width: 100%;
  height: 300px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  flex-direction: row;

  padding-left: 10px;
  background-color: var(--color2);

  overflow-x: scroll;
}

.relatedMovies-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.movieDetail-title,
.movieDetail-description {
  padding: 20px;
}

.relatedMovies-title {
  background-color: var(--color2);
  color: var(--colorText);
  position: relative;
  top: 10px;
  padding: 10px;
  border-radius: 5px;
}

.header-container--long {
  position: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

.similarMovie {
  margin-top: 0px;
}

.movieDetail-title,
.movieDetail-score,
.movieDetail-description {
  color: var(--colorText);
  text-align: center;
}

/* MOVIE SEARCH */

.movie-search {
  margin-top: 20px;
  width: 300px;
}

.movie-search img {
  position: relative;
  top: 15px;
  width: 300px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.movie-search p {
  width: 300px;
  height: 60px;
  padding: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  text-align: center;
  color: var(--color-dark);
  background-color: var(--color1);
}

/* SCROLL CUSTOM*/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color2);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #484949;
}

::-webkit-scrollbar-thumb:hover {
  border-radius: 10px;
  background: var(--gradiante);
}

/*footer example*/

.ground {
  min-height: 100vh;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer {
  color: var(--color3);
  margin: 10px auto;
  background: var(--gradiante);
  padding: 20px 0;
}

.footer_container {
  display: grid;
  place-items: center;
  line-height: 40px;
}
@media (min-width: 550px) {
  .footer_container {
    grid-template-columns: auto auto;
  }
}
.logo {
  text-align: center;
  width: 180px;
  font-size: 16px;
  font-weight: bold;
}

.social_media {
  display: inline-flex;
  gap: 10px;
}

.social_media li {
  list-style: none;
  font-size: 24px;
  transition: 0.6s;
}
.social_media li a {
  color: var(--color3);
}

.inactiveStatus {
  height: 0;
  overflow-x: hidden;
}
