* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

/* BODY  */

body {
  background-image: linear-gradient(to right, #1d1d1d, #111111);
  /* background-color: #1d1d1d; */
  font-family: "Oswald", sans-serif;
  position: relative;
  min-height: 100vh;
  padding-bottom: 4vw;
}

#logo img {
  padding-top: 3px;
  height: 59px;
  cursor: pointer;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4.3%;
}
/* ADIING BACKGROUND SHAPE SVG (CURRENTLY NOT RESPONSIVE) */
/* will make it hidden with media query and screen width */
/* Or will scale it according to screen width */

/* header::before {
    content: "";
    background-image: url(/images/backdrop-shape.svg) no-repeat center;
    position: absolute;
    width: 800px;
    height: 884px;
    left: 524px;
    top: -540px;
    background: #313131;
    box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.25);
    border-radius: 53px;
    transform: rotate(42.03deg) scale(1);
    z-index: -1;
  } */

#logo {
  display: flex;
  align-items: center;
}
#logo a {
  font-size: 1.5em;
  color: #ffdf46;
  font-weight: 700;
  text-decoration: none;
  margin-right: auto;
}

.nav_links {
  list-style: none;
}

.nav_links li {
  display: inline-block;
  padding: 0px 5px;
}
.nav_links li a {
  text-decoration: none;
  color: #ffdf46;
  font-size: 1.3em;
  border-radius: 20px;
  padding: 2px 22px;
}

.nav_links li .sidebar-btn {
  color: #ffdf46;
  font-size: 1.3rem;
  padding: 2px 22px;
  cursor: pointer;
  outline: none;
}
.nav_links li .sidebar-btn:hover {
  color: #1d1d1d;
  cursor: pointer;
  border-radius: 20px;
  background-color: white;
  outline: none;
}

.nav_links li a:hover {
  color: #1d1d1d;
  cursor: pointer;
  background-color: white;
  outline: none;
}

.header-wrapper .sidebar {
  z-index: 1;
  right: 0;
  color: #ffdf46;
  width: 0px;
  background-image: linear-gradient(to bottom, #1d1d1d, #111111);
  position: fixed;
  height: 80%;
  transition: 0.3s;
  transition-property: width;
  overflow-y: auto;
  border-radius: 20px 0 0 20px;
  box-shadow: 0px 4px 100px #000000;
}

.header-wrapper .sidebar .sidebar-menu {
  overflow: hidden;
}

.header-wrapper .sidebar .sidebar-menu .sidebar-profile span {
  font-size: 100px;
  margin: 20px 0;
}
.header-wrapper .sidebar .sidebar-menu .sidebar-profile p {
  font-size: 30px;
  margin: 20px 0;
}
.sidebar hr {
  width: 60%;
  background-color: #ffdf46;
  border: 0px solid #ffdf46;
  margin: auto;
  height: 1px;
}

.header-wrapper .sidebar .sidebar-menu .sidebar-close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  transition: 0.2s ease;
  cursor: pointer;
}
.header-wrapper .sidebar .sidebar-menu .sidebar-close-btn:hover {
  font-size: 20px;
}
.header-wrapper .sidebar .sidebar-menu .sidebar-items {
  width: 250px;
  overflow: hidden;
}

.header-wrapper .sidebar .sidebar-menu .sidebar-items .menu-btn {
  display: block;
  color: #ffdf46;
  padding: 25px 20px;
  margin-left: 20px;
}

.header-wrapper .sidebar .sidebar-menu .sidebar-items .menu-btn span {
  margin-left: 10px;
}
.header-wrapper .sidebar .sidebar-menu .sidebar-items .menu-btn:hover {
  color: #685600;
}
.header-wrapper.collapse .sidebar {
  width: 250px;
}
/* .header-wrapper.collapse .nav_links li .sidebar-btn {
    color: #ffdf46;
  } */

/* Header Home */

.search-home-title h2 {
  display: flex;
  justify-content: center;
  margin: 0px 20px;
  margin-top: 20px;
}
.search-home-title h3 {
  display: flex;
  justify-content: center;
}
.search-heading-main {
  color: #ffdf46;
  font-size: 2em;
  font-weight: 400;
}
.search-heading-sub {
  color: #ffdf46;
  font-weight: 400;
}
/* SEARC BOX START */
.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 20px;
}

.search-box input {
  border: 0;
  outline: none;
  color: #1d1d1d;
  height: 35px;
  border-radius: 50px;
  padding: 0px 50px;
  width: 45vw;
}

.search-box .search-icon {
  position: absolute;
  color: #1d1d1d;
  font-size: 140%;
  padding-left: 13px;
}

.search-box button {
  border: none;
  border-radius: 50px;
  padding-top: 1px;
  width: 35px;
  height: 35px;
  background-color: #ffdf46;
  cursor: pointer;
}

.search-box button:hover {
  background-color: #ffdf46;
  opacity: 0.7;
}

.search-box .btn {
  color: #1d1d1d;
  font-size: 15px;
  margin-left: 5px;
  outline: none;
}

#searchbox-form {
  display: flex;
}

/* SEARCH BOX END */

#searchValueDisplay {
  padding: 15px 0;
  color: #ffdf46;
  font-weight: 200;
}

/* HOME PAGE CATEGORY */
.main-wrapper {
  padding: 30px 5vw;
}
.main-wrapper .cat-heading {
  color: #ffdf46;
  font-weight: 400;
  font-size: 1.5vw;
}

.viewmore-btn {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  border: none;
  font-size: 1rem;
  text-decoration: none;
  color: #ffdf46;
}
.block-area .block-area-header .viewmore .viewmore-btn {
  color: #ffdf46;
  font-size: 1.2vw;
}

.block-area-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}
.filmlist-wrap .cards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.film-poster {
  overflow: hidden;
  border-radius: 5px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.filmlist-wrap .flw-item .film-poster a img {
  height: 24.5vw;
  width: 16.37vw;
  transition: 0.5s ease;
  object-fit: cover;
  background-position: center;
  display: block;
}

.filmlist-wrap .flw-item .film-poster a img:hover {
  transform: scale(1.1);
}

.flw-item {
  margin: 0 9px;
  width: 16.37vw;
  margin-bottom: 20px;
  /* background-color: white; */
  /* padding: 0px 10px; */
  padding-top: 10px;
  padding-bottom: 0px;
  cursor: pointer;
  /* border-radius: 5px;
    box-shadow: 10px 10px 20px #000000; */
}

.mr-film-detail {
  font-size: 1vw;
  height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  background-color: #ffffff;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  overflow: hidden;
}

.mr-film-detail h3 {
  padding-right: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.mr-film-detail a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  color: #2e2e2e;
  max-width: 50%;
}
.mr-film-detail a:hover {
  color: #000000;
  text-shadow: 1px 1px 4px #ffdf46;
}
.mr-film-detail .ex-film-info {
  padding-top: 2px;
}
.mr-film-detail .ex-film-info span {
  color: #000000a9;
}

/* POPUP MOVIE INFO CARD DESIGN */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: none;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 0;
  animation-name: modalbgblur;
  animation-duration: 2s;
}
@keyframes modalbgblur {
  from {
    backdrop-filter: blur(0px);
  }
  to {
    backdrop-filter: blur(5px);
  }
}

.modal-content {
  margin: 12% auto;
  background-image: linear-gradient(to right, #2b2b2b, #1d1d1d);
  box-shadow: 0px 4px 100px #000000;
  border-radius: 10px;
  padding: 50px;
  width: 50%;
  position: relative;
  animation-name: modalopen;
  animation-duration: 0.5s;
  display: flex;
  z-index: 1;
}

#mdOverview {
  text-overflow: ellipsis;
  overflow: auto;
  height: 6.5em;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#mdOverview::-webkit-scrollbar {
  display: none;
}

@keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.btn {
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #ffdf46;
  font-family: "Oswald", sans-serif;
  border: none;
  cursor: pointer;
}

.btn a {
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  color: #1d1d1d;
  font-weight: 600;
}

.btn:hover {
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
}

#closeBtn {
  position: absolute;
  top: -15px;
  right: 10px;
  font-size: 40px;
  cursor: pointer;
  color: #ffdf46;
  transition: 0.1s ease;
}

#closeBtn:hover {
  font-size: 45px;
}

/* MODAL(CARD) CONTENTS DESIGN */
.modal-poster img {
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-info {
  margin-left: 20px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.modal-info-sub .md-name {
  color: #ffdf46;
}
.modal-info-sub .md-genre {
  font-size: 15px;
  font-weight: 200;
}
.modal-info-sub .md-num-area {
  font-size: 35px;
}

.modal-info-sub .md-num-area .imdb-icon,
.imdb-rating {
  color: #ffdf46;
}

.modal-info-sub .md-num-area .md-numbers {
  font-size: 22px;
  background-color: #4a4a4a;
  border-radius: 5px;
  padding: 0px 15px;
}

.modal-info-sub .md-synopsis {
  font-weight: 300;
}

.modal-info-sub .md-btn button {
  width: 200px;
  border: none;
}

.modal-info-sub .md-subitems {
  padding-bottom: 10px;
}

/* --------------------------------- Gradient FOOTER with BG ----------------------------------------------- */

.footer {
  padding: 0px 5vw;
  position: absolute;
  width: 100%;
  bottom: 0px;
}
.footer hr {
  width: 100%;
  background-color: #ffdf46;
  border: 0px solid #ffdf46;
  margin: 20px auto;
  height: 1px;
}
.footer-content {
  background-image: linear-gradient(to right, #2b2b2b, #1d1d1d);
  box-shadow: 0px 4px 100px #000000;
  height: 4vw;
  padding: 0 10px;
  padding-top: 15px;

  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.footer .footer-cclogo {
  float: left;
  display: flex;
  align-content: center;
  align-items: center;
}
.footer .footer-cclogo img {
  height: 30px;
  margin-left: 2px;
}
.footer .footer-cclogo span {
  color: #ffdf46;
  font-size: 20px;
  font-family: "Open Sans";
}

.footer .footer-tmdblogo {
  float: right;
  margin-right: 8px;
}
.footer .footer-tmdblogo span {
  color: #ffffff41;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  padding: 0 10px;
}
.footer .footer-tmdblogo img {
  height: 15px;
}

/* ----------------------PAGINATION---------------------- */

/* Pagination links */
.pagination a {
  color: #ffdf46;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 0.3s;
  border-radius: 5px;
}

/* Style the active/current link */
.pagination a.active {
  background-color: #ffdf46;
  color: #1d1d1d;
  border-radius: 5px;
}

/* Add a grey background color on mouse-over */
.pagination a:hover:not(.active) {
  background-color: #ddd;
  color: #4a4a4a;
}
/* ---------------------- Simple FOOTER --------------------------- */

/* .footer {
    padding: 0px 8%;
    margin-bottom: 25px;
  }
  .footer hr {
    width: 100%;
    background-color: #ffdf46;
    border: 0px solid #ffdf46;
    margin: 20px auto;
    height: 1px;
  }
  .footer-content {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
  }
  .footer .footer-cclogo {
    display: flex;
    align-content: center;
    align-items: center;
  }
  .footer .footer-cclogo img {
    height: 40px;
    margin-left: 2px;
  }
  .footer .footer-cclogo span {
    color: #ffdf46;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  .footer .footer-tmdblogo {
    display: flex;
    align-content: center;
    align-items: center;
  }
  .footer .footer-tmdblogo span {
    color: #ffffff41;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    padding: 0 10px;
  }
  .footer .footer-tmdblogo img {
    height: 15px;
  } */
