*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.home{
  height: 100vh;
  background-image: url(netflix.jpg);
  /* filter: brightness(50%); */
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: darken;
  /* border-bottom: 5px solid red; */
  border-bottom: 5px solid;
  border-image: linear-gradient(to right,rgba(0, 0, 0, 0),rgba(0, 0, 0, 0), red,red, rgb(3, 3, 105), red,red, rgba(0, 0, 0, 0),rgba(0, 0, 0, 0)) 1;
}
.header{
  display: flex;
  justify-content: space-between;
  padding: 20px 200px;
  background: linear-gradient(rgb(0, 0, 0),rgba(0, 0, 0, 0.59),rgba(10, 10, 10, 0.013));
}
.logo img{
  width: 180px;
  height: 45px;
}
.navbar-btn select{
  padding: 7px 20px;
  border-radius: 5px;
  font-size: 15px;
  background-color: transparent;
  color: white;
  border: 1px solid white;
}
.navbar-btn select:hover{
  cursor: pointer;
  background-color: rgba(214, 212, 212, 0.144);
}
.navbar-btn option{
  color: black;
}
.navbar-btn button{
  padding: 7px 20px;
  background-color: rgb(218, 5, 5);
  color: white;
  border: 3px solid red;
  border-radius: 5px;
  font-size: 15px;
  margin-left: 10px;
}
button:hover{
  cursor: pointer;
  background-color: rgb(176, 5, 5);
}

.home-content{
  height: 90%;
  /* background-color: aliceblue; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  color: white;
}
.home-content h1{
  font-size: 60px;
}
.home-content h4{
  font-size: 20px;
  margin-top: 20px;
}
.home-content p{
  font-size: 17px;
  margin-top: 40px;
  /* opacity: 0.9; */
}
.home-form{
  margin-top: 20px;
}
.home-form input{
  padding: 15px;
  width: 400px;
  font-size: 15px;
  background-color: rgba(120, 120, 120, 0.152);
  border: 1px solid white;
  color: white;
  border-radius: 5px;
}
.home-form input::placeholder{
  color: rgb(212, 210, 210);
}
.home-form button{
  padding: 12px 20px;
  background-color: red;
  border: 2px solid red;
  border-radius: 5px;
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-left: 10px;
}
.home-form button:hover{
  background-color: rgb(180, 5, 5);
}

.movie-cards{
  padding: 70px 150px 0px 150px;
  position: relative;
  /* background-color: black; */
  background: linear-gradient(rgb(1, 1, 93),rgb(1, 1, 51), black, black, black, black);
}
.movie-cards h2{
  font-family: sans-serif;
  font-size: 32px;
  font-family: 900;
  color: white;
}
.movie-card{
  display: flex;
  gap: 40px;
  overflow-x: scroll;
  /* position: relative; */
  margin-top: 25px;
}
.movie-card::-webkit-scrollbar {
  display: none;
}
.movie img{
  height: 300px;
  width: 200px;
  margin-left: 20px;
  border: 1px solid rgb(72, 71, 71);
  border-radius: 5px;
}
.movie h1{
  /* margin-left: 20px; */
  /* position: absolute; */
  transform: translate(-2%,-120%);
  color: black;
  font-size: 100px;
  -webkit-text-stroke: 2px white;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(81, 81, 81, 0.6);
  color: white;
  border: none;
  font-size: 30px;
  padding: 40px 7px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
  opacity: 0.5;
}
.arrow:hover{
  cursor: pointer;
  background-color: rgb(109, 109, 109);
}


.left {
  left: 7%;
}

.right {
  right: 7%;
}

.popular-cards{
  padding: 0px 150px 50px 150px;
  background-color: black;
}
.popular-cards h2{
  font-family: sans-serif;
  font-size: 32px;
  font-family: 900;
  color: white;
}
.card{
  width: 100%;
  /* background-color: antiquewhite; */
  display: flex;
  gap: 2%;
  margin-top: 20px;
}
/* @media screen and (max-width: 768px) {
  .popular-cards{
    padding: 10px;
  }
  .card{
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: antiquewhite;
  }
  .cards{
    width: 100%;
  }
} */
.cards{
  width: 24%;
  height: 270px;
  border: 1px solid black;
  padding: 20px 15px;
  color: white;
  border-radius: 15px;
  background: linear-gradient(140deg,rgb(0, 0, 50),rgb(0, 0, 26), rgba(122, 23, 41, 0.627));
}
.card h2{
  font-size: 25px;
  margin-bottom: 10px;
}
.card p{
  opacity: 0.8;
  font-family: sans-serif;
}
.cards img{
  margin-left: 160px;
  margin-top: 50px;
}

.faq-contents{
  padding: 50px 130px 50px 150px;
  background-color: black;
}
.faq-contents h2{
  font-family: sans-serif;
  font-size: 32px;
  font-family: 900;
  color: white;
  margin-bottom: 30px;
}
.faq-item {
  margin-bottom: 10px;
}

.faq-content {
  font-family: sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(51, 50, 50);
  color: white;
  padding: 28px 20px;
  cursor: pointer;
}

.faq-content:hover {
  background-color: rgb(76, 76, 76);
}

.plus {
  font-size: 35px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: rgb(35, 35, 35);
  color: white;
  padding: 0 20px;
  transition: all 0.4s ease;
  font-family: sans-serif;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 20px;
}

.faq-item.active .plus {
  transform: rotate(45deg);
  transition: 0.3s;
}
.mail-content{
  padding: 40px 150px 50px 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: black;
  border-bottom: 1px solid gray;
}
.mail-content p{
  font-family: sans-serif;
  margin-bottom: 20px;
  color: white;
}

.mail-form input{
  padding: 20px;
  width: 500px;
  font-size: 15px;
  background-color: rgba(170, 169, 169, 0.152);
  border: 1px solid white;
  color: white;
  border-radius: 5px;
}
.mail-form input::placeholder{
  color: rgb(212, 210, 210);
}
.mail-form button{
  padding: 12px 30px;
  background-color: red;
  border: 2px solid red;
  border-radius: 5px;
  font-size: 25px;
  font-weight: 600;
  color: white;
  margin-left: 15px;
}
.mail-form button:hover{
  background-color: rgb(180, 5, 5);
}

.footer{
  padding: 40px 150px 50px 150px;
  font-family: sans-serif;
  color: white;
  background-color: black;
}
.footer p{
  font-size: 20px;
  opacity: 0.6;
}
.links{
  margin-top: 25px;
  width: 80%;
  display: flex;
  justify-content: space-between;
}
.link li{
  list-style: none;
  margin-bottom: 15px;
  text-decoration: underline;
  opacity: 0.6;
}
.footer select{
  padding: 7px 20px;
  border-radius: 5px;
  font-size: 15px;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  margin-top: 40px;
  opacity: 0.6;
}
.footer select:hover{
  cursor: pointer;
  background-color: rgba(214, 212, 212, 0.144);
}
.footer h4{
  margin-top: 40px;
  opacity: 0.8;
}
.created{
  margin-top: 40px;
  margin-bottom: 40px;
}
.created p{
  font-size: 15px;
}















/* ========== Responsive Design ========== */

@media (max-width: 1024px) {
  .header {
    padding: 20px 60px;
  }

  .home-content h1 {
    font-size: 45px;
    text-align: center;
  }

  .movie-cards,
  .popular-cards,
  .faq,
  .mail-content,
  .footer {
    padding-left: 60px;
    padding-right: 60px;
  }

  .cards {
    height: auto;
  }

  .cards img {
    margin-left: 80px;
  }

  .faq-contents {
    padding: 45px 60px;
  }
}

@media (max-width: 768px) {
  .home {
    height: auto;
    min-height: 100vh;
  }

  .header {
    padding: 20px;
    align-items: center;
  }

  .logo img {
    width: 120px;
    height: auto;
  }

  .navbar-btn select {
    padding: 6px 10px;
    font-size: 13px;
  }

  .navbar-btn button {
    padding: 6px 12px;
    font-size: 13px;
  }

  .home-content {
    padding: 80px 20px;
    text-align: center;
  }

  .home-content h1 {
    font-size: 34px;
  }

  .home-content h4 {
    font-size: 18px;
  }

  .home-content p {
    font-size: 16px;
  }

  .home-form,
  .mail-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .home-form input,
  .mail-form input {
    width: 100%;
  }

  .home-form button,
  .mail-form button {
    width: 100%;
    margin-left: 0;
    font-size: 18px;
  }

  .movie-cards,
  .popular-cards,
  .faq,
  .mail-content,
  .footer {
    padding: 40px 20px;
  }

  .movie-cards h2,
  .popular-cards h2,
  .faq h2 {
    font-size: 25px;
  }

  .movie-card {
    gap: 20px;
  }

  .movie img {
    width: 150px;
    height: 230px;
  }

  .movie h1 {
    font-size: 70px;
  }

  .arrow {
    display: none;
  }

  .card {
    flex-direction: column;
    gap: 20px;
  }

  .cards {
    width: 100%;
    min-height: 230px;
  }

  .cards img {
    display: block;
    margin-left: auto;
    margin-top: 25px;
  }

  .faq-content {
    padding: 20px;
  }

  .faq-content p {
    font-size: 18px;
  }

  .mail-content p {
    text-align: center;
    font-size: 16px;
  }

  .links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .faq-content {
    padding: 20px;
  }

  .faq-content p {
    font-size: 18px;
  }

  .mail-content p {
    text-align: center;
    font-size: 16px;
  }

  .links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .faq-contents {
    padding: 40px 25px;
  }

  .faq-contents h2 {
    font-size: 26px;
  }

  .faq-content {
    padding: 22px 18px;
  }

  .faq-content p {
    font-size: 18px;
  }

  .plus {
    font-size: 32px;
  }

  .faq-answer {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 15px;
  }

  .logo img {
    width: 95px;
  }

  .navbar-btn {
    display: flex;
    gap: 6px;
  }

  .navbar-btn select,
  .navbar-btn button {
    padding: 5px 8px;
    font-size: 12px;
    margin-left: 0;
  }

  .home-content {
    margin-top: 200px;
  }

  .home-content h1 {
    font-size: 28px;
  }

  .home-content h4 {
    font-size: 16px;
  }

  .home-content p {
    font-size: 14px;
  }

  .movie img {
    width: 130px;
    height: 200px;
    margin-left: 10px;
  }

  .movie h1 {
    font-size: 55px;
  }

  .cards h2 {
    font-size: 22px;
  }

  .cards p {
    font-size: 14px;
  }

  .faq-content p {
    font-size: 16px;
  }

  .links {
    grid-template-columns: 1fr;
  }

  .footer p {
    font-size: 16px;
  }

  .faq-content p {
    font-size: 16px;
  }

  .links {
    grid-template-columns: 1fr;
  }

  .footer p {
    font-size: 16px;
  }

  .faq-contents {
    padding: 35px 15px;
  }

  .faq-contents h2 {
    font-size: 23px;
    margin-bottom: 20px;
  }

  .faq-content {
    padding: 18px 15px;
    gap: 15px;
  }

  .faq-content p {
    font-size: 16px;
  }

  .plus {
    font-size: 28px;
  }

  .faq-item.active .faq-answer {
    max-height: 300px;
    padding: 16px;
  }

  .faq-answer {
    font-size: 15px;
  }
}
