:root {
  /* Netflix Fonts */
  --bold-font: netflix-bold;
  --light-font: netflix-light;
  --medium-font: netflix-medium;
  --regular-font: netflix-regular;
}

@font-face {
  font-family: netflix-bold;
  src: url("fonts/NetflixSans-Bold.otf");
}
@font-face {
  font-family: netflix-light;
  src: url("fonts/NetflixSans-Light.otf");
}
@font-face {
  font-family: netflix-medium;
  src: url("fonts/NetflixSans-Medium.otf");
}
@font-face {
  font-family: netflix-regular;
  src: url("fonts/NetflixSans-Regular.otf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mainContainer {
  width: 100%;
  background-color: #000;
}
/* === HERO SECTION === */
.heroSection {
  position: relative;
  width: 100%;
  height: 100%;
  background: url("assets/bg-image.jpg") center / cover no-repeat;
  box-shadow: inset 0px 0px 85px 55px hsl(0, 0%, 0%);
}
.heroSection::before {
  content: "";
  position: absolute;
  background: hsla(0, 0%, 0%, 0.7);
  inset: 0;
}

/* === NAVBAR SECTION === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 100px;
  opacity: 0.95;
}
.logoImg {
  width: 20%;
}

.logoImg img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}
.navContent {
  display: flex;
  gap: 5px;
}
.button {
  font-family: var(--light-font);
  padding: 6px 10px;
  font-size: 15px;
  background-color: transparent;
  border: 0;
  outline: 0;
  border-radius: 5px;
}
#langBtn {
  border: 1px solid #fff;
  background-color: hsla(0, 0%, 0%, 0.8);
  color: #fff;
}
#signBtn {
  background-color: hsl(0, 100%, 50%);
  color: #fff;
  cursor: pointer;
}
#signBtn:hover {
  background-color: hsl(0, 100%, 40%);
}

/* === MAIN SECTION === */
.mainHeading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 120px 0px;
  opacity: 0.95;
  gap: 10px;
}
#mainHead {
  width: 40%;
  font-size: 52px;
  color: #fff;
  text-align: center;
  font-family: var(--bold-font);
}
#mainPara {
  color: #fff;
  font-size: 18px;
  font-family: var(--medium-font);
}
#mainParagraph {
  color: #fff;
  font-size: 16px;
  margin-top: 20px;
  font-family: var(--light-font);
  margin-top: 2%;
}

.inputBtn {
  width: 38%;
  display: flex;
  gap: 10px;
  margin-top: 0.5%;
  padding: 0px 10px;
}
.inputBtn input {
  width: 100%;
  padding: 16px 15px;
  background-color: hsla(0, 0%, 8%, 0.6);
  border: none;
  outline: none;
  border: 1px solid hsl(0, 100%, 100%);
  color: hsl(0, 100%, 100%);
  border-radius: 5px;
  font-family: var(--light-font);
  font-size: 16px;
}
.inputBtn input::placeholder {
  color: hsl(0, 100%, 100%);
}
.btn {
  width: 60%;
  background-color: hsl(0, 100%, 50%);
  color: hsl(0, 100%, 100%);
  cursor: pointer;
}
button {
  width: 100%;
  border: none;
  outline: none;
  font-size: 22px;
  border-radius: 5px;
  font-weight: bold;
  font-family: var(--light-font);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
}
.btn:hover {
  background-color: hsl(0, 100%, 40%);
}
.btn i {
  font-size: 20px;
  margin-left: 10%;
}

/* === CURVE SECTION === */
.curve {
  position: relative;
  top: 50px;
  height: 100px;
  background-color: #851124;
  border-top-left-radius: 55% 27%;
  border-top-right-radius: 55% 27%;
  /* border: 1px solid white; */
}

.curve::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  height: 100px;
  background: #000;
  border-top-left-radius: 45% 20.2%;
  border-top-right-radius: 45% 20.2%;
}

/* === MOVIES SECTION === */
.movieList {
  /* border: 1px solid white; */
  /* position: absolute; */
  margin-top: 4%;
  width: 100%;
  height: 50vh;
  background-color: black;
  color: white;
  padding: 20px 0px;
  /* z-index: 1; */
}

.sectionHeading #sectionHead {
  font-family: var(--bold-font);
  width: 80%;
  margin: auto;
  font-size: 24px;
  text-transform: capitalize;
}
.mList {
  width: 80%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px 0px;
}
.sectionCard {
  width: 100%;
  position: relative;
  padding: 25px 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.sectionCard:hover {
  transform: scale(1.05);
}
.sectionCard img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 15px;
}
#sectionCont {
  position: absolute;
  top: 160px;
  left: 10px;
  font-size: 110px;
  font-family: var(--medium-font);
  color: #000;
  text-shadow: 0px 0px 5px #fff;
}

/* === JOIN SECTION === */
.join {
  /* border: 1px solid white; */
  width: 100%;
  /* height: 50vh; */
  margin-top: 2%;
  background-color: #000;
  padding: 20px 0px;
}
.joinHeading #joinHead {
  font-family: var(--bold-font);
  width: 80%;
  margin: auto;
}
#joinHead {
  font-size: 24px;
  color: #fff;
}
.joinCards {
  width: 80%;
  margin: auto;
  margin-top: 1%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.joinCard {
  position: relative;
  width: 28%;
  height: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 25px 12px;
  background-image:
    radial-gradient(
      circle at 85% 80%,
      rgba(255, 0, 120, 0.35),
      transparent 35%
    ),
    linear-gradient(135deg, #0b1c3d 0%, #0b1c3d 30%, #120a2a 65%, #1a0c1f 100%);
  border-radius: 20px;
}
#joinTitle {
  font-family: var(--medium-font);
  color: #f2f2fa;
  font-size: 24px;
  font-weight: 300;
}
#joinPara {
  font-family: var(--regular-font);
  color: #adabba;
  font-size: 16px;
}
.joinImg {
  position: absolute;
  top: 65%;
  left: 60%;
  width: 45%;
}
.joinImg img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  padding: 10px;
}

/* === FAQ SECTION === */
.question {
  /* border: 1px solid white; */
  width: 100%;
  /* height: 85vh; */
  margin-top: 20px;
  background-color: #000;
  padding: 20px 0px;
}
.questionHeading {
  width: 80%;
  margin: auto;
  font-family: var(--bold-font);
}
#questionHead {
  font-size: 24px;
  color: #f2f2fa;
}

.questionCards {
  width: 80%;
  margin: auto;
  margin-top: 1%;
  font-family: var(--regular-font);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.questionCard {
  /* border: 1px solid white; */
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #2d2d2d;
  cursor: pointer;
  transition: all 0.2s ease;
}
.questionCard:hover {
  background-color: #4a4a4a;
}
#questionTitle {
  font-size: 24px;
  font-weight: 400;
  color: #f2f2fa;
}
.questionCard i {
  font-size: 55px;
  font-weight: 300;
  color: #f2f2fa;
}
/* === FOOTER SECTION === */
.footer {
  width: 100%;
  height: 10vh;
  margin-top: 2%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footerHeading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--regular-font);
}

#footerHead {
  color: #fff;
}
#footerPara {
  color: #fff;
  font-weight: 300;
}

/* media query */
@media screen and (max-width: 1024px) {
  #mainHead {
    width: 50%;
  }
  .inputBtn {
    width: 50%;
  }
  .movieList {
    height: 50%;
    margin-top: 0;
  }
  .mList {
    width: 100%;
  }
  .sectionCard {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .mainContainer {
    height: 100%;
  }
  #mainHead {
    width: 100%;
  }

  .inputBtn {
    width: 100%;
  }
  .movieList {
    margin-top: 5%;
  }
  .mList {
    flex-wrap: wrap;
  }
  .sectionCard {
    width: 35%;
  }
  .joinCards {
    flex-direction: column;
  }
  .joinCard {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .navbar {
    flex-direction: column;
  }
  .logoImg {
    width: 100%;
  }
  #mainParagraph {
    text-align: center;
  }
  .inputBtn {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .movieList {
    margin-top: 8%;
  }
  .mList {
    flex-direction: column;
  }
  .sectionCard {
    width: 100%;
  }
}
