@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.4/font/bootstrap-icons.css");

:root{
  --bg-color-1: #18122B;
  --bg-color-2: #08060e;
  --bg-color-3: #1c1533;

  --bg-black-2: #030303;

  --white-text-color: #FDF4F5;
  --white-text-color-2: #e9e9e9;
  --white-text-color-3: #b3b3b3;

  --blue-color: #4857ff;

  --red-color: #F15A59;
  --red-color-dark: #a63535;
}

body {
  display: flex;
  position: relative; /*adjust footer to bottom*/
  min-height: 100vh; /*adjust footer to bottom*/
  flex-direction: column;
  background-color: var(--bg-color-1);
}

.content { /*adjust footer to bottom*/
  padding-bottom: 200px; /* Set the height of your footer here */
}

/*
main {
  min-height: calc(100vh - 213px); /* adjust height based on header and footer height
}
*/

footer {
  position: absolute; /*adjust footer to bottom*/
  bottom: 0;
  width: 100%;
  background-color: #000000;
  /*height: 60px;*/ /* Set the height of your footer here */
}

footer .destacado {
  font-size: 16px; /* smaller font size */
  font-family: monospace;
  color: var(--white-text-color-3);
  padding-top: 0;
  margin: 0;
}

footer .links {
  font-size: 14px; /* smaller font size */
}

/*---------- <p> main page ----------*/
.main-page-movie-title {
  font-size: 14px;
  color: var(--white-text-color-2);
  line-height: 1.2;

  /*max 2 lineas de texto*/
  max-height: calc(2 * 1.2em);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  padding: 0px;
  margin: 0;

  max-width: 150px;
}
/*---------- <p> main page ----------*/

/*---------- <p> movie page ----------*/
.movie-page a:hover {
  color: var(--red-color);
}
/*---------- <p> movie page ----------*/

a{
  color: var(--white-text-color);
  text-decoration: none;
}

a:hover{
  color: var(--red-color);
}

/*---------- Img Banner Carousel ----------*/
.img-banner{
  height:50vh;
  width:100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%; /*antes estaba en 60vh*/
  max-height: 50vh;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(24, 18, 43, 1));
}

.banner-description {
  z-index: 2; /* Ensure it's above the banner-overlay */
  color: white;
  text-align: center;
  margin-left: -25px;
  margin-right: -25px;
}

.banner-description h2 {
  font-size: 2.2rem;
  margin-bottom: 0;
  display: -webkit-box; /*max lines per text*/
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.banner-description p {
  font-size: 1rem;
  margin-top: 0;
  margin-right: -50px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.banner-description a:hover {
  color: white;
}

/*Banner for Movie page*/
.movie-banner{
  height:30vh;
  width:100%;
  object-fit: cover;
  filter: opacity(75%);
}
/*---------- Img Banner Carousel ----------*/


/*---------- Img thumbnail (cover) ----------*/
.thumbnail {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.thumbnail:hover {
  filter: saturate(150%);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  transform: scale(1);
}

.thumbnail-2:hover > p {
  color: var(--red-color);
}
/*---------- Img thumbnail (cover) ----------*/


/*---------- Movie Horizontal Container v1 ----------*/
.movie-section {
  overflow-x: scroll;
  white-space: nowrap; /* prevents line breaks between movie items */
  /*padding-left: 1rem;
  padding-right: 1rem;*/
}
.movie-item {
  display: inline-block;
  margin-right: 1rem; /* spacing between movie items */
}
/*---------- Movie Horizontal Container v1 ----------*/


/*---------- Para posicionar el botón con el año de la película ----------*/
.movie-image-container {
  position: relative;
  width: 150px; /* Set the width of the container */
}

.release-year {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--red-color);
  color: #fff; /* Set the text color of the button */
  padding-top: 2px;
  padding-bottom: 3px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 12px;
  border: none; /* Remove the border of the button */
  border-radius: 5px;
}
/*---------- Para posicionar el botón con el año de la película ----------*/


/*----------------- utils ------------------*/
/*Bloquear clicks en imagenes*/
img.no-click {
  pointer-events: none;
}

.no-click {
  pointer-events: none;
}

/*Ocultar contenido*/
.inactive{
  display: none;
}
/*----------------- utils ------------------*/


/*----------------- scrollbar ------------------*/
/* Hide the scrollbar track */
::-webkit-scrollbar-track {
  display: none;
  background-color: #e9e9e9;
  border-radius: 10px;
}

/* Set the width of the scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* Set the color of the scrollbar thumb */
::-webkit-scrollbar-thumb {
  background-color: #aeaeae;
  border-radius: 10px;
}

/* Set the color of the scrollbar thumb when hovering */
::-webkit-scrollbar-thumb:hover {
  background-color: #aeaeae;
}
/*----------------- scrollbar ------------------*/


/*----------------- horizontal section arrows ------------------*/
.scroll-images {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.scroll-images::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #ccc;
  border-radius: 10px;
}

.scroll-images::-webkit-scrollbar-thumb {
  background-color: var(--red-color);
  border-radius: 10px;
}

.scroll-images::-webkit-scrollbar-thumb:hover {
  background-color: var(--red-color);
  border-radius: 10px;
}

/*arrows*/
.cover {
  position: relative;
}
.left {
  position: absolute;
  left: 0;
  top: 45%;
  transform: translateY(-50%);
}
.right {
  position: absolute;
  right: 0;
  top: 45%;
  transform: translateY(-50%);
}
.scroll-images::-webkit-scrollbar {
  -webkit-appearance: auto;
  display: auto;
}
/*----------------- horizontal section arrows ------------------*/


.fb-comments {
  background-color: var(--bg-color-1);
  color: var(--white-text-color);
}