@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

:root {
  --primary: #e50914;
  --grey: #222222;
}

* {
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

body {
  background: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

h1 {
  font-size: 4rem;
  line-height: 63px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.6rem;
}

input,
button {
  border: none;
}

button {
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
  background: var(--primary);
}

.sign-in-btn {
  font-size: 1rem;
  border-radius: 5px;
  padding: 7px 17px;
}

header {
  z-index: 1;
  height: 100px;
}

header img {
  width: 170px;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  height: 100%;
  margin: auto;
}

/* hero */
.hero {
  height: 65vh;
  margin-top: -100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(#00000063, #000000e3), url("./assets/cover.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.hero-content {
  max-width: 700px;
}

.hero-content h4 {
  margin: 25px 0;
  font-weight: 400;
}

.hero-content p {
  font-size: 1.15rem;
}

.form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px;
}

.form-container button {
  font-size: 1.5rem;
  padding: 14px 39px;
  position: relative;
  top: 5px;
}

.form-container input {
  border: 2px solid #fff;
  outline: none;
  width: 100%;
  padding: 19px;
  position: relative;
  top: 5px;
}

.form-container input:focus {
  border-color: #2b96ff;
}

/* sections */

section {
  border-top: 10px solid var(--grey);
  border-bottom: 10px solid var(--grey);
}

.section-wrapper {
  width: 60%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
}

.section-wrapper img {
  width: 100%;
}

section p {
  font-size: 22px;
}

.reverse-section {
  border-width: 0;
}

/* faq */

.faq {
  padding: 100px 30px;
}

.faq-wrapper {
  max-width: 900px;
  margin: auto;
  font-size: 1.3rem;
}

.faq h2 {
  text-align: center;
}

.faq-title {
  display: block;
  padding: 20px;
  background: #303030;
  text-decoration: none;
  margin: 5px 0;
  position: relative;
}

.faq-title::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  font-size: 2rem;
  line-height: 2rem;
  margin-top: -1rem;
  font-weight: bold;
}

.faq-item__content {
  display: none;
  padding: 20px;
  background: #303030;
  margin: 3px 0;
}

.faq-item__content:target {
  display: block;
}

/* footer form */

.footer-form {
  text-align: center;
  padding-bottom: 100px;
}

.footer-form .form-container {
  margin-top: 20px;
  max-width: 900px;
  margin: auto;
}

::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 1440px) {
  .section-wrapper {
    flex-direction: column;
    width: 80%;
    padding: 60px 0;
    text-align: center;
  }

  .section-wrapper p {
    font-size: 18px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 20px;
    height: 74vh;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 35px;
  }

  .hero h4 {
    font-size: 1.2rem;
    line-height: 35px;
  }

  header img {
    width: 120px;
  }

  .form-container {
    flex-direction: column;
  }

  .form-container button {
    margin: 7px;
  }

  .footer-form {
    padding: 50px;
  }
}
