
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: black;
  color: white;
}

/* HEADER */

.header {
  background-image: url(/assets/images/Netflix-Background-Image.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 85vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.header .box {
  background-color: black;
  height: 100%;
  width: 100%;
  opacity: 0.6;
  position: absolute;
  top: 0;
  z-index: 0;
}

/* NAVIGATION */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80vw;
  margin: 0 auto;
  height: 93px;
  position: relative;
  z-index: 2;
}

.nav .image {
  width: 146px;
  position: relative;
  color: rgb(229, 9, 20);
}

.btn {
  font-size: 14px;
  border: none;
  background-color: rgb(229, 9, 20);
  color: white;
  font-weight: bold;
  /* position: relative; */
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
}

.nav .btn:hover {
  background-color: rgb(193, 25, 34);
}

/* MAIN TEXT */

.main-text {
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  text-align: center;
  width: 50vw;
  margin: 0 auto;
  gap: 20px;
}

.main-text h1 {
  font-size: 3.25rem;
  font-weight: 900;
  margin: 144px 0 6px 0;
  text-align: center;
}

.main-text p {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* FORM (input + button inline) */

.form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form h3 {
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 200;
}

.form input,
#search {
  min-width: 250px;
  max-width: 500px;
  padding: 18px 15rem 18px 18px;
  margin-right: 8px;
  font-size: 1rem;
  background-color: rgba(25, 25, 25, 0.5);
  border-radius: 4px;
  border: 1px solid grey;
  color: white;
  outline: none;
}

.btn-start {
  padding: 18px 41px;
  font-size: 20px;
  background-color: rgb(229, 9, 20);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.btn-start:hover {
  background-color: rgb(193, 25, 34);
}

/* CARDS CONTAINER */

.container,
.container2,
.container3,
.container4 {
  width: 100%;
  max-width: 1350px;
  margin: 60px auto;
  padding: 0 24px;
}

.container {
  height: 350px;
}

.section-title {
  margin-top: 50px;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 25px;
}

/* SLIDER */

.slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider::-webkit-scrollbar {
  display: none;
}



.card {
  position: relative;
  flex: 0 0 auto;
  width: 200px;
  height: 300px;
  scroll-snap-align: start;
  border-radius: 8px;
  padding: 15px 10px;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.1);
  z-index: 10;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.number {
  position: absolute;
  bottom: 5px;
  left: -18px;
  font-size: 85px;
  color: black;
  -webkit-text-stroke: 2px white;
  font-weight: 900;
}

/* COLORFUL CARDS */

.container2 {
  min-height: 400px;
  height: auto;
  margin-top: 0;
}

.colorful-card {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cards {
  flex: 1;
  min-width: 280px;
  max-width: 520px;
  min-height: 280px;
  height: auto;
  border-radius: 20px;
  background: linear-gradient(180deg, #1e1e3f 50%, #220222 100%);
  padding: 25px 16px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.cards h3 {
  margin-bottom: 21px;
  font-size: 24px;
}

.cards p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.cards .svg {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

/* FAQ */

.container3 {
  min-height: 659px;
  height: auto;
}

.faq {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 29px;
  font-weight: 400;
  font-size: 28px;
  margin: 10px auto;
  background-color: #2d2d2d;
  width: 100%;
}

.faq:hover {
  background-color: #4d4d4d;
}

/* fOOTER */

.section4{
  width: 100%;
  max-width: 1100px;
  margin: 40px auto;
}

.footer {
  background-color: black;
  color: #737373;
  padding: 50px 10% 208px;
  font-size: 14px;
}

.info a {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  text-decoration-color: rgba(255,255,255,0.7);
  display: inline-block;
  margin-bottom: 20px;
}

.list ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0 0 30px 0;
}

.list ul li {
  margin-bottom: 12px;
}

#langSelector {
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-weight: bold;
  border: 1px solid #333;
  padding: 10px 25px;
  border-radius: 2px;
  margin-top: 20px;
}

.footer p {
  margin: 20px 0 10px 0;
}

.footer-captcha a {
  color: #0071eb;
  text-decoration-color: #0071eb;
}

/* RESPONSIVE */

/* Tablet */
@media (max-width: 1024px) {
  .nav {
    width: 90vw;
  }

  .main-text {
    width: 70vw;
  }

  .main-text h1 {
    font-size: 3.2rem;
    margin-top: 120px;
  }

  .form input,
  #search {
    max-width: 500px;
  }

  .colorful-card {
    flex-wrap: wrap;
    gap: 20px;
  }

  .cards {
    min-width: 45%;
    max-width: 48%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header {
    min-height: 85vh;
  }

  .nav {
    width: 95vw;
    height: 80px;
  }

  .nav .image {
    width: 130px;
  }

  .btn {
    font-size: 14px;
    padding: 8px 16px;
  }

  .main-text {
    width: 90vw;
    padding: 20px;
  }

  .main-text h1 {
    font-size: 2.3rem;
    margin-top: 100px;
  }

  .main-text p {
    font-size: 18px;
  }

  .form {
    flex-direction: column;
  }

  .form input,
  .btn-start {
    width: 100%;
  }

  .cards {
    max-width: 100%;
  }

  .colorful-card {
    flex-direction: column;
    align-items: center;
  }

  .list ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .main-text h1 {
    font-size: 1.9rem;
  }

  .main-text p {
    font-size: 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .faq {
    font-size: 18px;
  }

  .list ul {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 6%;
  }
}
