@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  background: #0c111b;
  position: relative;
  font-family: roboto, sans-serif;
}

.navbar {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 4%;
  background: #0c111b;
  z-index: 1;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 70px;
}

.nav-links {
  margin: 10px;
  display: flex;
  list-style: none;
}

.nav-items a {
  text-decoration: none;
  margin-left: 20px;
  text-transform: capitalize;
  color: #fff;
  opacity: 0.9;
}

.right-container {
  display: block;
  margin-left: auto;
}

.search-box {
  border: none;
  border-bottom: 1px solid #aaa;
  background: transparent;
  outline: none;
  height: 30px;
  color: #fff;
  width: 250px;
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 500px;
  transition: 0.5s;
}

.search-box::placeholder {
  color: #aaa;
}

.search-box:focus {
  width: 400px;
  border-color: #1f80e0;
}

.search-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 30px;
  width: 30px;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
}

.Subscribe {
  background: #1f80e0;
  height: 30px;
  padding: 0 20px;
  color: #fff;
  border-radius: 5px;
  border: none;
  outline: none;
  text-transform: uppercase;
  font-weight: 700px;
  font-size: 12px;
  margin: 0 10px;
}

.login-btn {
  color: #fff;
  opacity: 0.9;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700px;
  text-decoration: none;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 450px;
  padding: 20px 0;
  overflow-x: hidden;
  margin-top: 80px;
}

.carousel {
  display: flex;
  width: 92%;
  height: 100%;
  position: relative;
  margin: auto;
  overflow-x: visible;
  scroll-behavior: smooth;
}


/* banner */
.ban {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: red;
    overflow: hidden;
  }
  
  .banrap1 {
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, rgb(98, 97, 97) 6%,transparent,transparent, transparent,transparent); */
    position: absolute;
  }
  
  .banrap2 {
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to top, rgb(97, 95, 95) 1%, transparent); */
    position: absolute;
  }
  
  .ban-vid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  
  /* movie-body */
  .main-body {
    width: 99.5%;
    height: 100vh;
    margin-left: 0;
  }
  
  .ban-movie-det {
    width: 82%;
    position: absolute;
    top: 6%;
    left: 8%;
    z-index: 2;
   padding: 2px;
  }
  
  .movie-head {
    
    width: 32%;
    margin-left: 3%;
    padding-top: 4rem;
  }
  
  .img-heading {
    width: 43%;
    height: 19%;
  }
  
  .movie-detail h1 {
    color: blue;
    font-family: 'Times New Roman', Times, serif;
    font-size: 17px;
    align-items: center;
    column-gap: 15px;
  }
  
  .movie-detail p {
    margin-top: 5%;
    width: 100%;
    display: flex;
    font-family: 'Times New Roman', Times, serif;
    font-size: 15px;
    color: white;
    column-gap: 15px;
    align-items: center;
  
  }
  
  .movie-detail .movie-para {
    margin-top: 10%;
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
    color: rgb(206, 184, 184);
  
  }
  
  .movie-detail .genre {
    margin-top: 5%;
    font-size: 15px;
    font-family: 'Times New Roman', Times, serif;
    color: white;
    font-weight: 400;
  }
  
  .subs {
    margin-top: 5%;
    width: 100%;
    display: flex;
    column-gap: 18px;
  }
  
  .button1 {
    padding: 14px 50px;
    color: rgb(228, 217, 217);
    font-weight: bold;
    font-size: 15px;
    border-radius: 5px;
    border-color: transparent;
    background-color: hsla(0, 85%, 47%, 0.941);
    cursor: pointer;
    transition: .3s;
  }
  
  .button2 {
    padding: 14px;
    font-weight: bolder;
    color: rgb(239, 229, 229);
    font-size: 15px;
    border-radius: 5px;
    border-color: transparent;
    background-color: hsla(0, 85%, 48%, 0.678);
    cursor: pointer;
    transition: .3s;
  }
  
  .button1:hover, .button2:hover {
    background-color: hsla(0, 0%, 100%, 0.3);
    transform: scale(1.05);
  }
  

  .card-body {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(4, 8, 15, 0), #192133 90%);
    padding: 10px;
    transition: 0.5s;
  }
  
  .title {
    color: #fff;
    opacity: 0.9;
    padding-left: 4%;
    text-transform: capitalize;
    font-size: 22px;
    font-weight: 500;
  }
  
  .movies-list-container {
    width: 100%;
    margin-top: 20px;
  }
  
  .movies-list {
    width: 100%;
    height: 220px;
    position: relative;
    margin: 10px 0 20px;
    overflow-x: hidden;
    overflow-y: visible;
    scroll-behavior: smooth;
    padding-left: 10px;
  }
  
  .movies-list::-webkit-scrollbar-track {
    background-color: #0c111b;
  }
  
  .movies-list::-webkit-scrollbar {
    display: none;
  }
  
  .card-container {
    position: relative;
    width: 92%;
    padding-left: 10px;
    margin: auto;
    height: 220px;
    display: flex;
    margin: 0 auto;
    align-items: center;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
  }
  
  .card-container::-webkit-scrollbar-track {
    background-color: #0c111b;
  }
  
  .card-container::-webkit-scrollbar {
    display: none;
  }
  
  .card {
    position: relative;
    min-width: 150px;
    height: 200px;
    width: 150px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #030b17;
    margin-right: 10px;
    transition: 0.5s;
  }
  
  .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .card:hover {
    transform: scale(1.1);
  }
  
  .card:hover .card-body {
    opacity: 1;
  }
  
  .card-body {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(4, 8, 15, 0), #192133 90%);
    padding: 10px;
    transition: 0.5s;
  }
  
  .title {
    color: #fff;
    opacity: 0.9;
    padding-left: 4%;
    text-transform: capitalize;
    font-size: 22px;
    font-weight: 500;
  }
  
  .movies-list-container {
    width: 100%;
    margin-top: 20px;
  }
  
  .movies-list {
    width: 100%;
    height: 220px;
    position: relative;
    margin: 10px 0 20px;
    overflow-x: hidden;
    overflow-y: visible;
    scroll-behavior: smooth;
    padding-left: 10px;
  }
  
  .movies-list::-webkit-scrollbar-track {
    background-color: #0c111b;
  }
  
  .movies-list::-webkit-scrollbar {
    display: none;
  }
  
  .card-container {
    position: relative;
    width: 92%;
    padding-left: 10px;
    margin: auto;
    height: 220px;
    display: flex;
    margin: 0 auto;
    align-items: center;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
  }
  
  .card-container::-webkit-scrollbar-track {
    background-color: #0c111b;
  }
  
  .card-container::-webkit-scrollbar {
    display: none;
  }
  
  .card {
    position: relative;
    min-width: 150px;
    height: 200px;
    width: 150px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #030b17;
    margin-right: 10px;
    transition: 0.5s;
  }
  
  .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .card:hover {
    transform: scale(1.1);
  }
  
  .card:hover .card-body {
    opacity: 1;
  }
  
  .card-body {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(4, 8, 15, 0), #192133 90%);
    padding: 10px;
    transition: 0.5s;
  }
  
  .name {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    margin-top: 60%;
  }
  
  .des {
    color: #fff;
    opacity: 0.8;
    margin: 5px 0;
    font-weight: 500;
    font-size: 12px;
  }
  
  .rating {
    color: #fff;
    opacity: 0.8;
    font-weight: 500;
    font-size: 12px;
  }
  
  .watchlist-btn {
    position: relative;
    width: 100%;
    text-transform: capitalize;
    background: none;
    border: none;
    font-weight: 500;
    text-align: right;
    color: rgba(255, 255, 255, 0.5);
    margin: 5px 0;
    cursor: pointer;
    padding: 10px 5px;
    border-radius: 5px;
  }
  
  .watchlist-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -5px;
    height: 35px;
    width: 35px;
    background-image: url(images/add.png);
    background-size: cover;
    transform: scale(0.4);
  }
  
  .watchlist-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .pre-btn,
  .nxt-btn {
    position: absolute;
    top: 0;
    width: 5%;
    height: 100%;
    z-index: 2;
    border: none;
    cursor: pointer;
    outline: none;
    transition: 0.5s;
  }
  
  .pre-btn {
    left: 0;
    background: linear-gradient(to right, #0c111b 0%, #0c111b00);
  }
  
  .nxt-btn {
    right: 0;
    background: linear-gradient(to left, #0c111b 0%, #0c111b00);
  }
  
  .pre-btn img,
  .nxt-btn img {
    width: 15px;
    height: 20px;
    opacity: 0;
  }
  
  .pre-btn:hover img,
  .nxt-btn:hover img {
    opacity: 1;
  }
  
  .pre-btn:hover,
  .nxt-btn:hover {
    background: linear-gradient(to left, #0c111b 0%, #0c111b80);
  }
  
  .pre-btn:active,
  .nxt-btn:active {
    background: linear-gradient(to left, #0c111b 0%, #0c111b80);
  }
  
  .pre-btn:active img,
  .nxt-btn:active img {
    opacity: 1;
  }
  

/* footer */
.foot{
    width: 100%;
    background-color: rgb(21, 21, 21);
  }
  .footrap{
    width: 100%;
    margin: auto;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .top-section{
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin-bottom: 30px;
  }
  .lastimg p, .connect p{
    color: white;
    font-size: 15px;
    margin-bottom: 10px;
  }
  .lastimg img{
    width: 10%;
    height: 30%;
  }
  .connect ul{
    display: flex;
    list-style: none;
    padding: 20;
  }
  .connect ul li{
    margin-right: 50px;
        
  }
  .connect ul li a{
    color: white;
    font-size: 20px;
    text-decoration: none;
  }
  .bottom-section{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    width: 80%;
    gap: 20px;
  }
  .boxz ul{
    margin-top: 10px;
  }
  .boxz ul p{
    color: white;
    font-size: 15px;
    margin-bottom: 10px;
  }
  .boxz ul a{
    display: block;
    font-size: 12px;
    margin-top: 10px;
    color: white;
    text-decoration: none;
  }
  .foot-panel2{
    margin-top: 20px;
    background-color: rgb(21, 21, 21);
    color: white;
    border-top: 1px solid black;
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .copyright ul{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .copyright ul p{
    color: white;
    font-size: 12px;
    margin-right: 20px;
  }
  .copyright ul a{
    font-size: 12px;
    color: white;
    text-decoration: none;
  }
  