@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;
}


.main2 {
  width: 100%;
  margin-left: 0%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 160vh;
  background: url('./premium.webp') ;
  animation: moveBackground 30s linear infinite;
  transition: margin-left 0.3s ease;
  flex-direction: column;
  position: relative;
}

@keyframes moveBackground {
  from {
      background-position: 0 0;
  }
  to {
      background-position: -1000px 0;
  }
}

.banner-img {
  width: 70%;
  height: auto;
  position: absolute;
  top: 0;
  z-index: 1;
  margin-top: 6%;
}

.ban {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2;
  padding-top: 20px;
}
.ban h1{
  color:white;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bolder;
  font-size: 25px;
  justify-content: center;
  padding: 5px;
}
.movie-detail {
  text-align: left;
  color: white;
  z-index: 3;
  padding: 0px;
  margin-top: 56%;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bolder;
  
}

.movie-detail h1 {
  margin-bottom: 25px;
  font-size: 40px;
  padding-left: 100px;
}

.movie-detail  p{
  margin-bottom: 10px;
  font-size: 15px;
  display: inline;
  justify-content: center;
  color: yellow;
  padding: 10px;
}
.subs {
  margin-top: 20px;
  
}

.button1 {
  background-color: blue;
  color: white;
  padding: 18px 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  font-weight: bolder;
  font-family: 'Times New Roman', Times, serif;
  width: 20%;
  height: 20%;
  margin-left: 40%;
  font-size: 17px;
}

.button1:hover {
  opacity: 0.8;
}