/*-------------------------------------*\
  #iron_man.css
\*-------------------------------------*/

/* *************************************** */
/* VARIABLES */
/* *************************************** */
@import url(./variable.css);

:root {
  --color-blue: #0073ff;
  --color-dot: #1752f1;
}

/* *************************************** */
/* GLOBAL RESET */
/* *************************************** */

@import url(./reset.css);

body {
  position: relative;
}

/**********************************/
/*GENERAL CLASSES*/
/**********************************/

.container--global {
  font-family: "Poppins", serif;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}

.container--header {
  max-width: 1230px;
  margin: 0 auto;
}
.container--film {
  max-width: 1185px;
  margin: 0 auto;
}

.container--screenshot {
  max-width: 365px;
  margin: 0 auto;
}

.container--1 {
  max-width: 855px;
  margin: 0 auto;
}

.container--similar {
  max-width: 1160px;
  margin: 0 auto;
}

.iron__man-body {
  background-color: #111722;
}

.heading__primary {
  text-align: center;
  font-size: 49px;
  font-weight: 600;
  margin-bottom: 50px;
}

.heading__primary__colored {
  color: #297dfa;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* *************************************** */
/* IRON MAN HEADER*/
/* *************************************** */

.header {
  position: relative;

  width: 100%;
  overflow: hidden;
  z-index: 50;
  padding: 0;
}

.header .navbar {
  padding: 0;
  height: 100px;
}

.navbar-brand {
  margin-left: 45px;
}

.header__nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  background-color: #131720;
  top: -250px;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 250px;
  padding: 20px;
  transition: 0.5s;
  background: #131720;
  border-bottom: 1px solid #151f30;
}
.header__nav--active {
  top: 0;
}
.header__nav-link {
  font-size: 14px;
  color: #e0e0e0;
  line-height: 22px;
  height: 22px;
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  font-weight: 500;
}
.header__nav-link svg {
  stroke: #e0e0e0;
  fill: #e0e0e0;
  width: 4px;
  height: auto;
  transition: 0.5s;
  margin-left: 4px;
  margin-top: 1px;
}
.header__nav-link:hover,
.header__nav-link[aria-expanded="true"] {
  color: #2f80ed;
}
.header__nav-link:hover svg,
.header__nav-link[aria-expanded="true"] svg {
  stroke: #2f80ed;
  fill: #2f80ed;
}
.header__nav-link--more svg {
  width: 24px;
  margin: 0;
}
.header__nav-link--live svg {
  width: 12px;
  stroke: inherit;
  fill: inherit;
  margin-top: 3px;
}
.header__nav-link--live:hover svg,
.header__nav-link--live[aria-expanded="true"] svg {
  stroke: inherit;
  fill: inherit;
}
.header__nav-item {
  margin-bottom: 20px;
  position: relative;
}
.header__nav-item:last-child {
  margin-bottom: 0;
}
.header__nav-menu {
  display: block;
  position: absolute !important;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  top: 0;
  background-color: #151f30;
  border-radius: 16px;
  padding: 0 20px;
  width: 200px;
  transition: 0.5s;
  transform: translate3d(0px, 22px, 0px);
  margin-top: 10px;
  height: auto;
}
.header__nav-menu .header__nav-menu {
  margin-top: 5px;
  margin-left: 20px;
}
.header__nav-menu li {
  position: relative;
  margin-bottom: 15px;
}
.header__nav-menu li:first-child {
  padding-top: 20px;
}
.header__nav-menu li:last-child {
  margin-bottom: 0;
  padding-bottom: 20px;
}
.header__nav-menu a {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 400;
  transition: 0.5s;
  position: relative;
}
.header__nav-menu a svg {
  stroke: #2f80ed;
  fill: #2f80ed;
  width: 4px;
  height: auto;
  transition: 0.5s;
  margin-left: 4px;
  margin-top: 1px;
}
.header__nav-menu a:hover {
  color: #2f80ed;
}
.header__nav-menu a:hover:after {
  opacity: 1;
}
.header__nav-menu--scroll {
  max-height: 240px;
  overflow: hidden;
}
.header__nav-menu.show {
  z-index: 1000;
  pointer-events: auto;
  opacity: 1;
}

/* .header .navbar-menu-btn {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  transform: translateY(0);
} */

.header .navbar-form {
  margin-right: 0;
}

.header .navbar-form-search {
  background: rgba(29, 43, 64, 0.5);
  width: 270px;
  padding: 12px 20px;
  border-radius: 15px;
  color: var(--off-white);
  font-size: 13px;
  font-weight: var(--fw-4);
}


.film__genre {
  font-size: var(--fs-sm);
}

ul .film__genre:not(:last-child) {
  margin-bottom: 10px;
}

.film__genre:hover a {
  color: var(--light-azure);
}


/* 
.header .navbar-form-btn ion-icon {
  color: rgba(61, 61, 226, 1);
  font-size: 20px;
}

.header .navbar-form-btn:hover ion-icon {
  color: var(--off-white);
} */

/* *************************************** */
/* SECTION TRAILOR*/
/* *************************************** */

.section__film {
  padding: 35px 0 120px;
}

.film__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 50px;

  align-items: center;
}

.film__poster {
  width: 233px;
  height: 361px;
  border-radius: 31px;
}

.film__info__container {
  font-size: 13px;
  margin-bottom: 32px;
  padding-left: 48px;
}

.film__heading {
  font-size: 29px;
  font-weight: 600;
  margin-bottom: 30px;
}

.film__info__row--1 {
  display: flex;
  align-items: center;
  gap: 20px;

  margin-bottom: 35px;
}

.film__items {
  display: flex;
  align-items: center;
  gap: 13px;
}

.film__date__box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.film__lang__box {
  display: flex;
  align-items: center;
  gap: 20px;
}

.film__global__box {
  display: flex;
  align-items: center;
  gap: 5px;
}

.icon__global {
  width: 13.5px;
}

.film__item--1 {
  font-size: 11.5px;
  background-color: #0758e8;
  border-radius: 8px;
  width: 47px;
  height: 25px;
}
.film__item--2 {
  font-size: 10px;
  border: 2px solid #ffffff;
  border-radius: 5px;
  width: 60px;
  height: 23px;
}

.film__item--3 {
  font-size: 10px;
  font-weight: 800;
  background-color: #fff;
  color: #000;
  border-radius: 5px;
  width: 48px;
  height: 25px;
}

.film__item--4 {
  font-size: 11.5px;
  background-color: rgba(255, 0, 0, 0.9);
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.3);

  border-radius: 7px;
  width: 40px;
  height: 25px;
}

.film__item--5 {
  font-size: 11.5px;
  background-color: #0758e8;
  border-radius: 8px;
  width: 110px;
  height: 25px;
}

ul {
  list-style: none;
}

/*=============== DROPDOWN ===============*/

.dropdown {
  position: relative;
  width: max-content;
}

.dropdown__button,
.dropdown__item {
  display: flex;
  align-items: center;
}

.dropdown__button {
  border: none;
  outline: none;
  padding: 1.25rem;
  border-radius: 0.75rem;
  cursor: pointer;
}

.dropdown__icon,
.dropdown__icons {
  font-size: 1.25rem;
}

.dropdown__title {
  width: 3.5rem;
}

.dropdown__name {
  font-weight: 600;
}

.dropdown__icons {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.dropdown__arrow,
.dropdown__close {
  position: absolute;
  transition: opacity 0.1s, transform 0.4s;
}

.dropdown__close {
  opacity: 0;
}

.dropdown__menu {
  background-color: #181e35fa;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  display: grid;
  row-gap: 1.5rem;
  position: absolute;
  width: 100%;
  left: 0;
  top: 4.5rem;
  transform: scale(0.1);
  transform-origin: 10rem -2rem;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
  opacity: 0;
  z-index: 1000;
}

.dropdown__item {
  cursor: pointer;
  transition: color 0.3s;
}

.dropdown__item:hover {
  color: var(--main-color);
}

/* Rotate & hide icon */
.show-dropdown .dropdown__close {
  opacity: 1;
  transform: rotate(-180deg);
}

.show-dropdown .dropdown__arrow {
  opacity: 0;
  transform: rotate(-180deg);
}

/* Show dropdown menu */
.show-dropdown .dropdown__menu {
  opacity: 1;
  transform: scale(1);
  pointer-events: initial;
}

.film__item--6 {
  font-size: 11.5px;
  background-color: #16253e;

  border-radius: 8px;
  width: 99px;
  height: 25px;
}
.film__item--7 {
  font-size: 11px;
  font-weight: 800;
  background-color: #faff00;
  /* mix-blend-mode: lighten; */
  border-radius: 8px 11px 11px 8px;
  width: 68px;
  height: 25px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 6px;
}
.film__item--8 {
  font-size: 11.5px;
  font-weight: 500;
  background-color: #293850;
  color: #fff;
  border-radius: 8px;
  width: 32px;
  height: 25px;
  z-index: 1;
}
.film__description__container {
  margin-top: 70px;
  max-width: 573px;
  width: 100%;
  font-size: 11px;
  font-weight: 600;
  background-color: #0c1729;
  mix-blend-mode: color-dodge;
  color: #fff;
  border-radius: 30px;
  padding: 20px 20px 40px 48px;
}

.film__description {
  max-width: 513.75px;
  width: 100%;
}

/* *************************************** */
/* SECTION SCREENSHOTS*/
/* *************************************** */
.section__screenshots {
  padding: 0 0 145px;
}
.ss__heading {
  text-align: center;
  margin-bottom: 32px;
  font-size: 18px;
  color: var(--color-blue);
}

.ss__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 33px;
}

.ss__img {
  /* max-width: 364px; */
  width: 70%;
  height: 140px;
  border-radius: 15px;
}

/* *************************************** */
/* SECTION DETAILS*/
/* *************************************** */

.section__details .dot {
  margin-bottom: -2px;
}
.details__heading__box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.details__heading {
  font-size: 20px;
}

.dot {
  height: 5px;
  width: 5px;
  background-color: var(--color-dot);
  border-radius: 100px;
}

.details__text {
  font-size: 13px;
  font-weight: 200;
}

/* *************************************** */
/* SECTION TRAILOR*/
/* *************************************** */

.section__trailer {
  padding: 190px 0 220px;
  text-align: center;
}

.btn--trailer {
  font-size: 23px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-block;
  background-color: var(--color-dot);
  padding: 15px 17px;
  border-radius: 17px;
  text-align: center;

  margin-bottom: 105px;
}
.trailer__img__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30%;
  position: relative;
  margin: 0 auto;
}

.plyr {
  border-radius: 20px;
}
.trailer__img {
  max-width: 365px;
  height: 100%;
  width: 100%;
  border-radius: 27px;
  position: relative;
  z-index: 2;
}

.trailer__img__container {
  max-width: 365px;
  height: 100%;
  width: 100%;
  border-radius: 27px;
  position: relative;
  z-index: 2;
}
.trailer__img__container::after {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 37px;
  background-color: rgba(20, 29, 44, 0.5);
  transform: scale(1.145, 1.21);

  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.btn--youtube {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.icon__download {
  width: 20%;
}

/* *************************************** */
/* SECTION ASIDE*/
/* *************************************** */

.section__aside {
  padding: 0 0 170px;
  text-align: center;
}

.section__aside__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aside__heading {
  font-size: 37px;
  margin-bottom: 50px;
}

.aside__text__box--1 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 23px;

  margin-bottom: 80px;
}

.aside__text--1 {
  display: flex;
  align-items: center;
  gap: 25px;
}

.aside__text--2 {
  padding: 10px 15px;
  background-color: rgba(54, 58, 73, 1);
  border-radius: 14px;
}

.aside__text__box--2 {
  display: flex;
  align-items: center;
  gap: 40px;
}

.aside2__container--1 {
  display: flex;
  align-items: center;
  gap: 35px;
}

.aside2__link__box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.aside2__link__box p {
  font-size: 22px;
  font-weight: 600;
}

.btn--download {
  font-size: 16px;
  font-weight: 800;

  border: none;
  cursor: pointer;
  display: inline-block;
  background-color: rgba(216, 216, 217, 1);
  padding: 15px 17px;
  border-radius: 20px;
}

.btn--download p {
  background-image: linear-gradient(
    0deg,
    rgba(35, 100, 86, 0.69) -46.63%,
    #1752f1 123.26%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.aside2__container--2 {
  display: flex;
  align-items: center;
  gap: 30px;
}

.aside2__container--2 p {
  font-size: 20px;
  font-weight: 500;
}

.btn--click {
  font-size: 15px;
  font-weight: 500;
  background-color: rgba(26, 38, 59, 1);
  border: none;
  cursor: pointer;
  display: inline-block;

  padding: 10px 14px;
  border-radius: 15px;
}

.separator {
  height: 7px;
  width: 100%;
  background-color: rgba(68, 66, 66, 0.21);
}

/*==============================
	Modal
==============================*/

/* -------------------------- */
/*==============================*/
/* Modal */
/*==============================*/

/* Hidden state (initially hidden) */
.hidden {
  display: none;
  opacity: 0;
}

.no-scroll {
  overflow: hidden;
}

/* Modal container */
.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 700px;
  height: 248px;
  background-color: #151f30;
  padding: 30px;
  border-radius: 16px;
  overflow: hidden;
  z-index: 1200;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal close button */
.close-modal {
  position: absolute;
  top: 0px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--main-color); /* Change to white if you prefer a lighter button */
}

.close-modal:hover {
  color: rgb(255, 255, 255); /* Optional: Change color on hover */
}

/* Keyframe animation for scaling from 0 -> 0.8 -> 1 */
@keyframes modalPopIn {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@keyframes modalPopOut {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
}

.modal-video {
  width: 100%;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(19, 23, 32, 0.8);
  z-index: 110;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Show the overlay */
.overlay.show {
  display: block;
  opacity: 1;
}


/* Close button for the modal 
.close-modal {
  position: fixed;
  top: 1.2rem;
  right: 2rem;
  font-size: 5rem;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
}
  */

/*==============================
	Main
==============================*/
.main__table {
  width: 100%;
  /* width: 500px; */
  border-spacing: 0;
  position: relative;
}

.main__table thead th {
  font-size: 12px;
  color: #e0e0e0;
  font-weight: 400;
  padding: 0 10px 15px 0;
  line-height: 100%;
  margin-bottom: 0;
  border: none;
  text-align: left;
}

.main__table tbody tr {
  border-bottom: none;
  background-color: transparent;
}
.main__table tbody td {
  padding: 0;
  background-color: transparent;
  border: 0px solid transparent;

  overflow-wrap: break-word;
}
.main__table tbody td:first-child .main__table-text {
  border-radius: 16px 0 0 16px;
}
.main__table tbody td:last-child .main__table-text,
.main__table tbody td:last-child .main__table-btns {
  border-radius: 0 16px 16px 0;
}
.main__table tbody td .main__table-text {
  background-color: transparent;
  padding: 10px 15px 0 0;
}
.main__table tbody td .tb-col-last {
  padding-right: 0;
}

.main__table thead .tb-col-last {
  padding-right: 0;
}

.main__table-text {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  font-size: 14px;
  color: #fff;
  font-weight: 400;
  line-height: 30px;
  padding: 20px;
  background-color: #151f30;
  white-space: nowrap;
}
.main__table-text a {
  color: #fff;
}
.main__table-text a:hover {
  color: #2f80ed;
}
.main__table-text svg {
  margin-right: 6px;
  fill: #2f80ed;
  width: 16px;
  height: auto;
}
/* .main__table-text--rate {
  font-weight: 500;
  font-size: 14px;
}
.main__table-text--red {
  color: #eb5757;
}
.main__table-text--green {
  color: #29b474;
}
.main__table-text--grey {
  color: rgba(255, 255, 255, 0.5);
} */

.modal .main__table thead {
  border-bottom: 1px solid rgba(47, 128, 237, 0.1);
}

.separator-box {
  position: absolute;
  top: 23%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 30px;
}

.separator {
  height: 1px;
  width: 100%;
  background-color: rgba(47, 128, 237, 0.1);
}

/* *************************************** */
/* SECTION SIMILAR*/
/* *************************************** */

.section__similar {
  padding: 105px 0 10px;
}

.similar__heading {
  margin-bottom: 70px;
  margin-left: 20px;
  padding-left: 20px;
  font-size: 34px;
  font-weight: var(--fw-5);
  border-left: 5px solid var(--main-color);
  display: flex;
  align-items: center;
}

.similar__movies__container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 35px;
  row-gap: 110px;
}

.swiper-container {
  display: none;
}

.similar__show {
  font-size: 17.5px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.show__img {
  width: 100%;
  border-radius: 30px;
}

.similar__show figure {
  border-radius: 30px;
}

@media (min-width: 1200px) {
  .header__nav {
    flex-direction: row;
    align-items: center;
    top: auto;
    left: auto;
    position: relative;
    height: 100px;
    padding: 0;
    width: auto;
    z-index: 2;
    background-color: transparent;
    background: none;
    border-bottom: none;
  }
  .header__nav-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 100px;
    margin-bottom: 0;
    margin-right: 60px;
  }
  .header__nav-item:last-child {
    margin-right: 0;
  }
  .header__nav-menu {
    transform: translate3d(0px, 46px, 0px);
    margin-top: 25px;
  }
  .header__nav-menu .header__nav-menu {
    margin-top: 0;
    margin-left: 0;
    transform: translate3d(0px, 0px, 0px);
    left: 100%;
    padding-top: 30px;
    border-radius: 6px;
  }
  .header__nav-menu .header__nav-menu li:first-child {
    padding-top: 0;
  }
  .header__nav-menu .header__nav-menu:before {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    top: 10px;
    height: 1px;
    background-color: rgba(47, 128, 237, 0.16);
  }
}

@media screen and (max-width: 768px) {
  .dot {
    display: none;
  }
  .movies-grid {
    display: none !important;
  }
  .swiper-container {
    display: block;
    overflow: hidden;
  }

  .movie-card {
    width: 180px;
    /* height: 250px; */
  }

  .swiper-slide {
    display: flex;
    justify-content: center;
  }
  .trailer__img__box {
    width: 90%;
  }
  .modal-video {
    width: 100%;
  }
}
